/* Import Google Fonts */
@font-face {

     font-family: Cairo ExtraBold ;
   
     src: url(../fonts/Cairo-ExtraBold.ttf);
   
   }
   
   @font-face {
   
   font-family: Cairo Black ;
   
   src: url(../fonts/Cairo-Black.ttf);
   
   }
   
   @font-face {
   
   font-family: Cairo Bold ;
   
   src: url(../fonts/Cairo-Bold.ttf);
   
   }
   
   @font-face {
   
   font-family: Cairo SemiBold ;
   
   src: url(../fonts/Cairo-SemiBold.ttf);
   
   }
   ul li{
    font-family: Cairo semibold ; 
   }
   
   h1{
   
   font-family: Cairo Black ; 
   
   }
   h2{
   font-family: Cairo Bold;
   }
   h3{
    font-family: Cairo Bold;
   }
   p{
   
   font-family: Cairo SemiBold;
   
   }
   span{
    font-family: Cairo SemiBold;   
   }

/* General Reset */
body,
h1,
h2,
h3,
p,
ul,
li,
input,
button,
textarea {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

/* Global Font Settings */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    /* Semi-bold for headings */
    /*color: #393185;*/
    color:#004d40;
    /* Dark purple for headings */
    margin: 0;
}

/* Paragraphs */
p {
    font-weight: 400;
    /* Light weight for paragraphs */
    /* font-size: 1rem; */
    color: #555;
    margin: 0 0 1rem;
}

/* Global Styles */
section {
    padding: 3rem 2rem;
}

ul {
    list-style: none;
}

/* Container Class */
.container {
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    /* Optional: Adds padding for small screens */
    padding-right: 1rem;
    /* Optional: Adds padding for small screens */
}

/* Header Section */
.site-header {
    /* Light grey background */
    padding: 1rem 0;
    /* text-align: center; */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    /* width: 490px; */
    /* Adjust height as needed */
    width:200px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 767px) {
    .header-logo {
        height: 80px;
        margin: 0 auto;
        display: block;
        width: 100%;
    }
    .intr{
        width:100%;
        border-radius:3%;
    }
    table{
        /*margin: 20px -20px;*/
    }
}


/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #004d40;
    /* Purple background */
    color: white;
    padding: 3rem;
    gap: 2rem;
    position: relative;
}

.hero-section:after {
    position: absolute;
    right: 0px;
    top: 0px;
    background: url(../images/background-pattern.png);
    background-size: 150px;
    content: "";
    width: 300px;
    height: 220px;
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-section .container {
    padding: 2rem;
    gap: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #fff;
}

.hero-content .highlight {
     font-size: 2.8rem;
     color: #fff;
     margin: 4rem 0;
     font-weight: 600;
     /* line-height: 2.8rem; */
     margin-bottom: 30px;
 }

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content var {
    font-style: normal;
    font-weight: 300;
}

.highlight b {
    color: #fff;
}

.hero-form {
    max-width: 600px;
}

.features {
    /*display: grid;*/
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.24);
    /* Light purple */
    /*padding: 0.8rem;*/
    padding: 1rem;
    border-radius: 8px;
}

.feature img {
    width: 90px;
    height: 90px;
}

.feature p {
    /* max-width: 267px; */
    margin-bottom: 0px;
    font-weight: 500;
}

.hero-form {
    background-color: white;
    color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.hero-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-form .form-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.radio-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.hero-form button {
    width: 100%;
    padding: 1rem;
    background-color: #393185;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.hero-form button:hover {
    background-color: #3326b3;
}

/* Why Attend Section */
.why-attend {
    text-align: center;
    padding: 3rem 2rem;

    /* Light grey background */
}

.why-attend h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6rem;
    color: #161616;
    text-align: left;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.card {
    background-color: #fff;
    /* White card background */
    /*border: 1px solid #393185;*/
    border: 2px solid #004D40;
    /* Light grey border */
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: calc(20% - 1rem);
    /* Adjust width for 5 cards in a row */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /*min-height: 350px;*/
    min-height:303px;
    width: 100%;
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 90px;
    height: 90px;
    margin-bottom: 1rem;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    text-align: center;
    margin: 0 auto;
    z-index: 22;
    margin-top: -45px;
    background: #fff;
}

.card h3 {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 0.5rem;
    padding-top: 45px;
    min-height: 86px;
}

.card p {
    font-size: 1rem;
    color: #000000;
    /* Medium grey text */
    line-height: 1.4;
}
@media (min-width: 768px) {
    .future-europe-image {
        /* margin-top: 2rem; */
        margin-top: -6rem;
    }
}

/* Responsive Design */
@media (max-width:767px) {
    .cards-container {
        flex-direction: column;
    }

    .card {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Why Study Section */
.why-study {
    text-align: center;
    padding: 3rem 2rem;

    /* Light grey background */
}

.why-study .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.why-study-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #161616;
    max-width: 485px;
    line-height: 3.5rem;
}

.why-study-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-study-card {
    background-color: #fff;
    color: #000;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid green;
}

.why-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.why-study-card h3 {
    font-size: 1.2rem;
    color: #fff;
    /* Yellow heading */
    margin-bottom: 1rem;
}

.why-study-card p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #fff;
    font-weight: 300;
    line-height: 1.8rem;
}

.why-study-cta {
    margin-top: 2rem;
}

.why-study-button {
    background-color: #393185;
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    border-radius: 5px;
}

.why-study-button:hover {
    background-color: #3326b3;
}

.study-columns {
    text-align: left;
}


/* Future Europe Section */
.future-europe-section {
    /* padding: 4rem 1rem; */
    /* padding: 4rem 5rem; */

}

.future-europe-section .container {
    display: flex;
    justify-content: space-around;
}

.future-europe-content-wrapper {
    /* max-width: 700px; */
    flex: 1;
}

.future-europe-title {
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
    color: #393185;
}

.future-europe-content-wrapper p {
    font-size: 1.2rem;
    color: #161616;
    margin-bottom: 40px;
}

.future-europe-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.future-europe-steps {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding-left: 2rem;
    margin-right: 2rem;
}

.future-europe-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    gap: 30px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00695c;
    margin-right: 1rem;
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 25px;
    border-radius: 50%;
    border: 2px solid #009688;;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #161616;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 1rem;
    color: #161616;
}

.future-europe-cta {
    margin-top: 2rem;
}

.cta-button {
    background-color: #393185;
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #372fa3;
}

.future-europe-image {
    flex: 1;
    text-align: center;
    margin-left: auto;
}

.future-europe-image img {
    max-width: 100%;
    height: auto;
}


.future-europe-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 28px;
    width: 2px;
    height: 100%;
    /* background-color: #393185; */
    z-index: -1;
}

.future-europe-steps .future-europe-step:nth-child(3):before {
    display: none;
}

h2.future-europe-title {
    color: #161616;
}
@media (min-width:768px){
    .trust-esc-card{
    min-width: 326px;
    }
}
/* Responsive Design */
@media (max-width: 767px) {
    .future-europe-content {
        flex-direction: column;
        align-items: center;
    }
    .trust-esc-card{
        min-width: 276px;
    }
    .future-europe-steps {
        margin-right: 0;
        padding-left: 0;
        padding-top: 2rem;
    }



    .step-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .future-europe-image {
        /*margin-top: 2rem;*/
        margin-top: -4rem;
        height: 100%;
        width: 100%;
    }
}

/* Trust ESC Section */
.trust-esc-section {
    padding: 3rem 2rem;

    /* Light background */
}

.trust-esc-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    /* Dark grey text */
    margin-bottom: 2rem;
}

.trust-esc-cards {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #00695C;
    padding: 30px;
    border-radius: 15px;
}

.trust-esc-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    /* min-width: 250px; */
    /*min-width: 326px;*/
    /*max-width: calc(25% - 1rem);*/
    /* Adjust for 4 cards per row */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-esc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.trust-esc-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.trust-esc-card h3 {
    font-size: 1.4rem;
    color: #000;
    /* Purple text */
    margin-bottom: 1rem;
}

.trust-esc-card p {
    font-size: 1rem;
    color: #000;
    /* Medium grey text */
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width:767px) {
    .trust-esc-cards {
        flex-direction: column;
        align-items: center;
    }

    .trust-esc-card {
        max-width: 100%;
    }
}

/* Students Work Section */
.students-work-section {
    padding: 3rem 2rem;

    /* Light grey background */
}

.students-work-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    /* Dark grey text */
    margin-bottom: 1rem;
}

.students-work-section p {
    font-size: 1.3rem;
    color: #161616;
    margin-bottom: 2rem;
}

.students-work-logos {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.students-work-swiper {
    max-width: 1500px;
    margin: 0 auto;
}

.students-work-swiper .swiper-slide img {
    opacity: 1;
    box-shadow: none;
    max-width: 220px;
    object-fit: cover;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.2);
    max-height: 185px;
    width: 100%;
}

.students-work-logos.swiper {
    padding: 5px;
}

/* Responsive Design */
@media (max-width:767px) {
    .students-work-logos {
        flex-direction: column;
        align-items: center;
    }

    .students-work-logo {
        width: 80%;
        /* Adjust logo size for smaller screens */
        height: auto;
    }
}

/* Offer Letters Section */
.offer-letters-section {
    padding: 3rem 2rem;

    /* Light background */
    text-align: center;
}

.offer-letters-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #161616;
    /* Dark grey text */
    margin-bottom: 2rem;
}

/* Swiper Container */
.offer-letters-slider {
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.offer-letters-slider .swiper-slide.swiper-slide-active {
    border: 3px solid #393185;
    padding: 22px;
    border-radius: 4px;
}

.offer-letters-slider .swiper-slide img {
    max-height: initial;
    box-shadow: none;
}

.offer-letters-slider p.title {
    color: #393185;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0px;
    margin-top: 20px;
    visibility: hidden;
    line-height: 43px;
}

.offer-letters-slider .swiper-slide.swiper-slide-active p.title {
    visibility: visible;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 400px;
    /* Limit image height */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: #393185;
    /* Purple */
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #3326b3;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

/* Dim non-active slides */
.swiper-slide img {
    opacity: 0.5;
}

/* Highlight the active slide */
.swiper-slide-active img {
    /* Slight zoom effect */
    opacity: 1;
}

.offer-letters-section .swiper-button-next:after,
.offer-letters-section .swiper-button-prev:after {
    font-size: 20px;
}

.offer-letters-section .swiper-button-next,
.offer-letters-section .swiper-button-prev {
    width: 50px;
    height: 50px;
    color: #fff;
}

/* Top Universities Section */
.top-universities-section {
    padding: 3rem 2rem;
    background-color: #393185;
    /* Purple background */
    color: white;
    text-align: center;
}



.top-universities-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 3.5rem;
}

.university-card p.top-universities-subtitle {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: #fff;
    /* Light grey subtitle */
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.university-card {
    background-color: white;
    color: #333;
    /* Dark grey text */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.university-card.transparent-card {
    background: transparent;
    text-align: left;
    box-shadow: none;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.university-card img {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
    max-width: 180px;
}

.university-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.university-card p {
    font-size: 1rem;
    color: #393185;
    font-weight: 600;
    /* Medium grey text */
}

/* Responsive Design */
@media (max-width:767px) {
    .universities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Students Love ESC Section */
.students-love-esc-section {
    padding: 3rem 2rem;

    /* Light grey background */
    text-align: center;
}

.students-love-esc-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #161616;
}

.students-love-esc-header p {
    font-size: 1.2rem;
    color: #161616;
    margin-bottom: 2rem;
}

a.cta-button.white-button {
    background: #fff;
    font-size: 1.2rem;
    color: #000;
}

/* Grid Layout */
.students-love-esc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.bg-box {
    background: #F5F8FA;
    padding: 2.5rem 3.5rem;
}

.review-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 0.1rem solid #004D40;
    
}

.star-rating {
    color: #FFC850;
    /* Gold color for stars */
    margin-bottom: 15px;
    display: inline-block;
}

.star-rating span {
    font-size: 1.2rem;
    font-weight: 800;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.review-card h3 {
    font-size: 1rem;
    color: #161616;
    /* Purple */
    margin: 1rem 0 0.5rem;
}

.review-card p {
    font-size: 0.9rem;
    color: #161616;
    line-height: 1.5;
    margin-bottom: 0px;
}

.author-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the container without distortion */
}

/* Call-to-Action Card */
.cta-card {
    background-color: #00695c;;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
}

.cta-card p {
    font-size: 1rem;
    margin-top: 1.5rem;
    color: #fff;
}

/* Responsive Design */
@media (max-width:767px) {
    .students-love-esc-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq-section {
    padding: 3rem 2rem;

    /* Light grey background */
}



.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    /* Dark grey text */
}

.faq-section p {
    font-size: 1.2rem;
    color: #161616;
    margin-bottom: 2rem;
}

/* Accordion Styles */
.faq-accordion {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 7px solid #fff;
    padding: 1rem;
    background: #FAFAFA;
}

.faq-question {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 400;
    color: #161616;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    /*display: none;*/
    /* Initially hidden */
    padding-top: 1rem;
    font-size: 1rem;
    color: #161616;
    /* Medium grey text */
    line-height: 1.5;
}

.faq-answer p {
    font-size: 1rem;
    color: #161616;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

/* Active State */
.faq-item.active .faq-answer {
    display: block;
    /* Show answer */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* Rotate "+" to "Ã—" */
}

/* Contact and Webinar Section */
.contact-webinar-section {
    padding: 3rem 2rem;

}

.contact-webinar-container {
    display: flex;
    justify-content: center;
    gap: 0px;
    max-width: 1430px;
    margin: 0 auto;
    box-shadow: 0px 0px 60px 30px rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

/* Contact Info Styles */
.contact-info {
    flex: 1;
    /* background-color: #00695c;;; */
    /* Purple background */
    color: white;
    padding: 2rem;
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
}

.contact-info li i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Webinar Form Styles */
.webinar-form {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    /*margin-top: 3rem;*/
}

.right-button {
    display: flex;
    justify-content: end;
}

.webinar-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 20px;
}

.form-group.column-group {
    flex-direction: column;
}

.webinar-form label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.webinar-form input[type="text"],
.webinar-form input[type="email"],
.webinar-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 0px;
    border-bottom: 1px solid #000;
    border-radius: 0px;
}

.radio-group {
    display: flex;
}

.radio-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.submit-button {
    display: inline-block;
    background-color: #393185;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #3326b3;
}

/* Responsive Design */
@media (max-width:767px) {
    .contact-webinar-container {
        flex-direction: column;
    }
}

/* Study Countries Section */
.study-countries-section {
    padding: 2rem 1rem;
    text-align: center;
}

.study-countries-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #161616;
}

.study-countries-section .swiper-slide img {
    opacity: 1;
    max-width: 200px;
    object-fit: cover;
    min-height: 135px;
}

.study-countries-section .swiper-slide p {
    color: #161616;
}

.countries-flags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.flag-swiper {
    max-width: 1400px;
    margin: 0 auto;
}

.flag-item {
    flex: 0 1 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flag-item img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flag-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width:767px) {
    .flag-item {
        flex: 0 1 60px;
    }

    .flag-item img {
        width: 60px;
    }
}

/* Branches Section */
.branches-section {
    padding: 3rem 2rem;
    background-color: #000;
    /* Purple background */
    color: white;
    text-align: center;
}

.branches-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fff;
}

.branches-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.branch {
    flex: 1;
    max-width: 300px;
    text-align: left;
}

.branch h3 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.branch p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #fff;
}

.branch ul {
    list-style: none;
    padding: 0;
}

.branch ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
}

.branch ul li i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 300;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons i {
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icons i:hover {
    transform: scale(1.2);
}

/* Ensure the video container scales responsively */

/* Hide mobile video by default */
.mobile-video {
    display: none;
}

/* Display appropriate video based on screen size */
@media only screen and (max-width: 767px) {

    /* For mobile devices */
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
        width: 100%;
    }

    .mobile-video video {
        width: 100%;
    }
}

.video-container {
    width: 100%;
    /* max-width: 480px; */
    /* position: relative; */
    /* padding-top: 107.78%; */
    /* aspect-ratio: 9 / 16; */
    /* margin-left: auto; */
    margin-left: 3rem;
    /* 9:16 Aspect Ratio (100 / 9 * 16) */
}

/* Style the video element */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.branch li a,
.branch li a:hover,
.branch li a:focus,
.contact-info li a,
.contact-info li a:hover,
.contact-info li a:focus {
    color: #fff;
    text-decoration: none;
}

.call-block {
    display: flex;
    gap: 10px;
    flex-direction: column;
}


/* Responsive Design */
@media (max-width: 767px) {
    .branches-container {
        flex-direction: column;
        align-items: center;
    }

    .branch {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .footer-bottom p {
        font-size: 1.1rem;
        order: 2;
    }

    .social-icons i {
        font-size: 1.2rem;
    }
}

/* Media Query */
/* Responsive Design */
@media (max-width: 1600px) {
    html {
        font-size: 15px;
    }

}

@media screen and (min-width: 768px) and (max-width: 1100px) {
    .hero-section .container {
        flex-direction: column;
    }

    .cards-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 90px;
    }

    .card {
        min-height: 300px;
    }

    .future-europe-step::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 25px;
        width: 2px;
        height: 100%;
        background-color: #393185;
        z-index: -1;
        margin-top: -37px;
    }

    .trust-esc-cards {
        justify-content: center;
    }

    .bg-box {
        padding: 30px;
    }

    .students-love-esc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {

    html {
        font-size: 10px;
    }

    .hero-section,
    .hero-section .container {
        flex-direction: column;
        padding: 0px;
    }


    .hero-section {
        padding: 15px;
    }

    .hero-section .container {
        width: 100%;
    }

    .features {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .feature img {
        width: 60px;
        height: 60px;
        margin-left: 0;
    }

    .hero-form input {
        width: 100%;
    }

    .hero-form button {
        font-size: 14px;
        padding: 1.5rem;
    }

    .cards-container {
        /*display: grid;*/
        grid-template-columns: 1fr 1fr;
    }

    .container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .cards-container {

        grid-template-columns: 1fr 1fr;
        row-gap: 33px;
    }

    .card img {
        width: 50px;
        height: 50px;
        margin-top: -25px;
    }

    .why-attend h2 {
        margin-bottom: 3rem;
    }

    .why-study .container {
        flex-direction: column;
        gap: 30px;
    }

    .why-study-title {
        text-align: center;
    }

    .why-study-button {
        font-size: 14px;
        padding: 1.5rem;
    }

    .why-study-cta {
        text-align: center;
    }

    .why-study-cards {
        grid-template-columns: 1fr 1fr;
    }

    .why-study-card p {
        font-size: 1.4rem;
        line-height: 2.4rem;
    }

    .why-study-card h3 {
        line-height: 2.3rem;
        font-size: 1.7rem;
    }

    .why-study {
        padding: 15px;
    }

    .card p {
        font-size: 1.4rem;
    }

    .future-europe-section .container {
        flex-direction: column;
    }

    .future-europe-content-wrapper p {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .future-europe-title {
        margin-bottom: 15px;
        text-align: center;
    }

    .future-europe-content-wrapper p {
        text-align: center;
    }

    .future-europe-section {
        padding: 15px;
    }

    .step-content p {
        text-align: left;
    }

    .step-number {
        padding: 25px;
    }

    .future-europe-step::before {
        left: 28px;
    }

    .future-europe-cta {
        text-align: center;
    }

    .cta-button {
        background-color: #393185;
        padding: 2rem;
        font-size: 14px
    }

    .trust-esc-section {
        padding: 15px;
        padding-top: 0px;
    }

    .trust-esc-card h3 {
        font-size: 1.7rem;
    }

    .trust-esc-card p {
        font-size: 1.4rem;
    }

    .trust-esc-cards {
        gap: 30px;
    }

    .students-work-section {
        padding: 15px;
    }

    .students-work-section p {
        font-size: 1.5rem;
    }

    .students-work-logos {
        display: grid;
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .offer-letters-slider {
        width: 100%;
    }

    .offer-letters-section .swiper-button-next,
    .offer-letters-section .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .offer-letters-section .swiper-button-next:after,
    .offer-letters-section .swiper-button-prev:after {
        font-size: 15px;
    }

    .top-universities-section {
        padding: 15px;
    }

    .university-card p.top-universities-subtitle {
        font-size: 1.5rem;
        font-weight: 400;
    }

    .university-card img {
        width: 100%;
    }

    .university-card h3 {
        font-size: 1.6rem;
        font-weight: 600;
    }

    .university-card p {
        font-size: 1.5rem;
    }

    .card {
        min-height: 250px;
    }

    .card h3 {
        font-size: 1.7rem;
        line-height: 2rem;
        margin-bottom: 1rem;
    }

    .students-love-esc-section {
        padding: 15px;
    }

    .bg-box {
        padding: 15px;
    }

    .students-love-esc-header p {
        font-size: 1.5rem;
    }

    .review-card p {
        font-size: 1.4rem;
    }

    .review-card h3 {
        font-size: 1.6rem;
    }

    .star-rating span {
        font-size: 1.6rem;
    }

    .cta-card {
        min-height: 250px;
        gap: 20px;
    }

    a.cta-button.white-button {
        font-size: 1.4rem;
    }

    .faq-section {
        padding: 15px;
    }


    .faq-question {
        font-size: 1.5rem;
    }

    .faq-answer p {
        font-size: 1.4rem;
    }

    .faq-icon {
        font-size: 21px;
    }

    .contact-webinar-section {
        padding: 15px;
    }

    .contact-info h2 {
        font-size: 1.9rem;
        font-weight: 600;

    }

    .contact-info li {
        font-size: 1.5rem;
    }

    .contact-info {
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .webinar-form {
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
    }

    .webinar-form label {
        font-size: 1.4rem;
    }

    .right-button {
        justify-content: center;
    }

    .study-countries-section .swiper-slide p {
        font-size: 1.4rem;
    }

    .branches-section {
        padding: 15px;
    }

    .study-countries-section .swiper-slide img {
        max-width: 120px;
        object-fit: cover;
        width: 100%;
        min-height: auto;
    }

    .branches-container {
        align-items: flex-start;
        grid-template-columns: 1fr;
        display: grid;
        gap: 10px;
    }

    .branch p {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .branch ul li {
        font-size: 1.4rem;
    }

    .students-work-swiper .swiper-slide img {
        max-width: 120px;
    }

    .offer-letters-section {
        padding: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .social-icons {
        order: 1;
    }

    .faq-section p {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .offer-letters-slider p.title {
        font-size: 22px;
        line-height: 32px;
    }
}