html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: roboto, sans-serif;
    overflow-x: hidden;
}

/* html{
  scroll-behavior: smooth;

} */

:root {
    --primary-color: #003DA5;
    --secondary-color: #C8102E;
    --tertiary-color: #FFFFFF;
}

/* study in spain */
/**the spain web page start*/
.bg-spain {
    background-image: url(../images/spain.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.spain-global-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-direction: column;
}

.bg-spain-color {
    background: rgba(0, 0, 0, 0.6)
}

.hero-back-space {
    padding-top: 150px;
    padding-bottom: 20px;
}

/*the spain web page end*/


/* form section */

.bg-color {
    background: rgba(0, 0, 0, .65);
}

.hero-section {
    background-image: url('../images/bulgaria-hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 50px;
}

.hero-back-space {
    padding: 30px 0;
}

.left-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    color: var(--tertiary-color);

}

.right-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    background-color: var(--tertiary-color);
    color: #000;
    padding: 12px 12px;
    border-radius: 4px;
}

.form-control {
    padding: 12px 8px;
}

.form-select {
    padding: 6px 8px;
}

.invalid-feedback {
    display: none;
}

.bg-hero {
    background-image: url("../images/netherlands.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-global-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-direction: column;
    height: 400px;
}

.error {
    color: var(--primary-color);
}

.bg-hero-color {
    background: rgba(0, 0, 0, 0.6)
}

.form-label {
    font-size: 1.65rem;
}

.active-form {
    background-color: #f58220;
}

.text-one {
    font-size: 1.3rem;
    height: 2rem;
    width: 2rem;
    background-color: #f58220;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
}

.text-two {
    font-size: 1.3rem;
    height: 2rem;
    width: 2rem;
    background-color: #ffffff;
    border-radius: 50%;
    text-align: center;
}

.text-three {
    font-size: 1.3rem;
    height: 2rem;
    width: 2rem;
    background-color: #ffffff;
    border-radius: 50%;
    text-align: center;
}

.form-heading {
    color: var(--primary-color);
    text-align: center;
    margin: 8px 0;
    font-weight: 600;
}

.native-form-p {
    font-size: 1.3rem;
    color: #fff;
}

.native-heading {
    font-size: 1.6rem;
}

#eligibilityForm {
    padding: 0 12px;
}

#eligibilityForm div {
    margin: 2px 0;
    width: 100%;
}

.form-select {
    margin-left: 10px;
}

.submit-btn {
    width: 100%;
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1.45rem;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 10px;
}







/* form section end */





body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
}

.spain-heading {
    font-size: 2.4rem;
    color: #000;
    font-weight: 600;
    margin: 0;
}

.about-spain {
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.jumbotron {
    background-color: #f4511e;
    color: #fff;
    padding: 100px 25px;
    /* font-family: Montserrat, sans-serif; */
}

.container-fluid {
    padding: 60px 50px;
}

.bg-grey {
    background-color: #f6f6f6;
}

.logo-small {
    color: #f4511e;
    font-size: 50px;
}

.logo {
    color: #f4511e;
    font-size: 200px;
}

.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}

.carousel-control.right,
.carousel-control.left {
    background-image: none;
    color: #f4511e;
}

.carousel-indicators li {
    border-color: #f4511e;
}

.carousel-indicators li.active {
    background-color: #f4511e;
}

.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}

.item span {
    font-style: normal;
}

.panel {
    border: 1px solid #f4511e;
    border-radius: 0 !important;
    transition: box-shadow 0.5s;
}

.panel:hover {
    box-shadow: 5px 0px 40px rgba(0, 0, 0, .2);
}

.panel-footer .btn:hover {
    border: 1px solid #f4511e;
    background-color: #fff !important;
    color: #f4511e;
}

.panel-heading {
    color: #fff !important;
    background-color: #f4511e !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panel-footer {
    background-color: white !important;
}

.panel-footer h3 {
    font-size: 32px;
}

.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}

.panel-footer .btn {
    margin: 15px 0;
    background-color: #f4511e;
    color: #fff;
}

.navbar {
    margin-bottom: 0;
    background-color: var(--tertiary-color);
    z-index: 9999;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 2px;
    border-radius: 0;
    /* font-family: Montserrat, sans-serif; */
    padding: 5px 5px;
}

.navbar li a,
.navbar .navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-nav li a:hover,
.navbar-nav li.active a {
    color: var(--tertiary-color) !important;
    background-color: var(--primary-color) !important;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
}

footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
}

.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
}



/* table section */

table {
    border-collapse: collapse;
    width: 80%;
    margin: 20px auto;
    /* font-family: Arial, sans-serif; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: center;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: var(--secondary-color);
}

/* .dual-capital {
            white-space: nowrap;
        } */

/* table Section End */



/* universities Section */

.spain-heading::before {
    content: '';
    height: 4px;
    width: 100px;
    position: absolute;
    left: 0;
    bottom: -5px;
    background-color: var(--primary-color);
}

.spain-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    position: relative;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0;
}

.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.header p {
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.university-card {
    background: var(--tertiary-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    margin-bottom: 30px;
}

.university-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(158, 50, 17, 0.507);
}

.logo-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.university-logo {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.university-card:hover .university-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.university-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 16px;
}

.university-country {
    color: #718096;
    font-size: 14px;
}

@media (max-width: 768px) {
    .logo-container {
        height: 120px;
        padding: 20px;
    }
}

/* universities Section End */





/* Academics Section Start */

/* .academic-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 40px;
        background-color: var(--tertiary-color);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    } */

/* .academic-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: var(--secondary-color);
    } */

/* .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    } */

/* .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
    } */

/* .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
    } */

/* .section-header p {
        font-size: 1.5rem;
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        text-align: left;
    } */

/* .academic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    } */

.university-card {
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.university-card:nth-child(even) {
    border-top-color: var(--primary-color);
}

.university-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 25px 25px 15px;
    position: relative;
}

.card-header h3 {
    margin: 0;
    color: #263238;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 30px;
}

.card-body {
    padding: 0 25px 25px;
}

.card-body p {
    color: #546e7a;
    font-size: 1.45rem;
    line-height: 1.7;
    margin: 0;
}

.university-meta {
    display: flex;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #cfd8dc;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: #607d8b;
    font-size: 1.25rem;
}

.meta-item i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.university-card:nth-child(even) .meta-item i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .academic-section {
        padding: 40px 30px;
        margin: 40px auto;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .academic-section {
        padding: 30px 20px;
        margin: 30px 15px;
        border-radius: 12px;
    }

    .academic-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Academics Section End */

/* Visa Section Start */

.visa-section {
    /* font-family: 'Roboto', 'Open Sans', sans-serif; */
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px 40px;
    background-color: var(--light-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.visa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.visa-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.visa-header h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: #000;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.visa-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -12px;
    left: 40px;
    transform: translateX(-50%);
    border-radius: 2px;
}

.visa-header p {
    font-size: 1.75rem;
    color: #000;
    margin-top: 10px;
    font-weight: 300;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.visa-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.visa-card {
    background: var(--light-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border-top: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    text-align: left;
}

.visa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.visa-card h3 {
    font-size: 2.4rem;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    text-align: left;
}

.visa-card h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -2px;
    left: 0;
}

.visa-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.visa-card li {
    padding: 0px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: flex-start;
    /* font-size: 1.65rem; */
}

.visa-card li:last-child {
    border-bottom: none;
}

.visa-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 2rem;
    min-width: 25px;
}

.partner-card {
    background: linear-gradient(135deg, #f5f5f5 0%, var(--light-color) 100%);
    border-top: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    grid-column: 1 / -1;
}

.partner-card h3 {
    color: #000;
    border-bottom-color: var(--secondary-color);
    font-size: 2.25rem;
}

.partner-card h3::after {
    background: var(--primary-color);
}

.partner-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.partner-text {
    flex: 1;
}

.partner-text p {
    color: var(--medium-color);
    font-size: 1.75rem;
    line-height: 1.7;
    margin-bottom: 2 0px;
}

.partner-highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.note-primary {
    color: var(--secondary-color);
    font-weight: 500;
}

.note-secondary {
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 992px) {
    .visa-section {
        padding: 40px 30px;
        margin: 40px auto;
    }

    .visa-header h2 {
        font-size: 2.4rem;
    }

    .visa-content {
        grid-template-columns: 1fr;
    }

    .partner-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .visa-section {
        padding: 30px 20px;
        margin: 30px 15px;
        border-radius: 12px;
    }

    .visa-header h2 {
        font-size: 2.6rem;
    }

    .visa-header p {
        font-size: 1.65rem;
        text-align: left;
    }

    .visa-card {
        padding: 25px;
    }
}

/* Visa Section End */

/* FAQ Section  Start*/
.faq-section {
    /* font-family: 'Roboto', 'Open Sans', sans-serif; */
    max-width: 1200px;
    margin: 60px auto;
    padding: 30px 40px;
    background-color: var(--light-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.faq-header h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.faq-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -12px;
    left: 40px;
    transform: translateX(-50%);
    border-radius: 2px;
}

.faq-header p {
    font-size: 1.75rem;
    color: var(--medium-color);
    margin-top: 25px;
    font-weight: 300;
    /* max-width: 800px;
        margin-left: auto;
        margin-right: auto; */
    line-height: 1.6;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.75rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.faq-item:nth-child(even) .faq-question {
    border-left-color: var(--primary-color);
}

.faq-question:hover {
    background-color: var(--highlight-color);
}

.faq-question::after {
    content: '+';
    font-size: 2.2rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item:nth-child(even) .faq-question::after {
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    background-color: var(--highlight-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.55rem;
}

.faq-item.active .faq-answer {
    max-height: 500px !important;
    padding: 20px 30px;
}

.faq-answer p {
    color: var(--medium-color);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .faq-section {
        padding: 40px 30px;
        margin: 40px auto;
    }

    .faq-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 30px 20px;
        margin: 30px 15px;
        border-radius: 12px;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 1.75rem;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1.75rem;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 30px 20px;
        margin: 30px 15px;
        border-radius: 12px;
    }

    .faq-header h2 {
        font-size: 2rem;
        text-align: left;
    }

    .faq-header p {
        font-size: 1.75rem;
        text-align: left;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1.55rem;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}


/* FAQ Section End *Thank you for your business! We look forward to working with you again.


        /* academic intake section */

.section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.intake {
    display: flex;
    margin: 15px 0;
}

.intake-number {
    background: #d52b1e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

/* ul {
            padding-left: 20px;
        }
        
        li {
            margin-bottom: 8px;
        } */

.highlight {
    background-color: #fffacd;
    padding: 2px 5px;
    border-radius: 3px;
}

.cost-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.cost-item {
    flex: 1;
    min-width: 200px;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.cost-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #d52b1e;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    color: #666;
}


/* academic intake section end */
/* footer */

.footer {
    background-color: var(--primary-color);
    padding: 15px 25px;
    color: var(--tertiary-color)
}

.footer a {
    color: var(--tertiary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-left: 0;
}

.social-links li {
    list-style: none;
}

.social-links li a i {
    font-size: 18px;
    color: var(--tertiary-color)
}


/* top university */
.spain-heading h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -12px;
    left: 40px;
    transform: translateX(-50%);
    border-radius: 2px;
}





@media (min-width:320px) and (max-width:480px) {
    .spain-heading {
        font-size: 2rem;
        text-align: left;
    }

    .about-spain {
        font-size: 1.7rem;
        text-align: left;
    }

    .why-para {
        font-size: 1.5rem;
        text-align: left;
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    .visa-header {
        text-align: left;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
        text-align: left;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        max-width: 800px;
        /* margin-left: auto;
        margin-right: auto; */
        line-height: 1.6;
        text-align: left;
    }

    /* Academics Section Start */

    .academic-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 40px;
        background-color: var(--tertiary-color);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .academic-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: var(--secondary-color);
    }

    .section-header {
        text-align: left;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
        text-align: left;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        /* max-width: 800px; */
        /* margin-left: auto;
        margin-right: auto; */
        line-height: 1.6;
        text-align: left;
    }

    .academic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }

    .faq-header {
        text-align: left;
        margin-bottom: 50px;
        position: relative;
    }

    .footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    }
}


@media (min-width:481px) and (max-width:576px) {
    .spain-heading {
        font-size: 2.3rem;
        text-align: left;
    }

    .about-spain {
        font-size: 1.9rem;
        text-align: left;
    }

    .why-para {
        font-size: 1.6rem;
        text-align: left;
    }

    .faq-header {
        text-align: left;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header {
        text-align: left;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        /* max-width: 800px; */
        /* margin-left: auto;
        margin-right: auto; */
        line-height: 1.6;
        text-align: left;
    }

    .visa-header {
        text-align: left;
        margin-bottom: 50px;
        position: relative;
    }
    .footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    }
   
}

@media (min-width:577px) and (max-width:767px) {
    .spain-heading {
        font-size: 2.3rem;
        text-align: center;
    }

    .about-spain {
        font-size: 1.9rem;
    }

    .why-para {
        font-size: 1.6rem;
    }
    .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }
}


@media (min-width:768px) and (max-width:991px) {
    .spain-heading {
        font-size: 2.5rem;
        text-align: center;
    }

    .about-spain {
        font-size: 2.1rem;
    }

    .why-para {
        font-size: 1.7rem;
    }

    .spain-heading-2 {
        font-size: 2.5rem;
        text-align: center
    }

    .navbar-spacing{
        padding: 0 12px;
    }

    /* Academics Section Start */

    .academic-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 40px;
        background-color: var(--tertiary-color);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .academic-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: var(--secondary-color);
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        text-align: left;
    }

    .academic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}


@media (min-width:992px) and (max-width:1439px) {
    .spain-heading {
        font-size: 2.7rem;
    }

    .about-spain {
        font-size: 2.3rem;
    }

       .navbar-spacing{
        padding: 0 16px;
    }

    .why-para {
        font-size: 1.8rem;
    }

    /* Academics Section Start */

    .academic-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 40px;
        background-color: var(--tertiary-color);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .academic-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: var(--secondary-color);
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        /* max-width: 800px;
        margin-left: auto;
        margin-right: auto; */
        line-height: 1.6;
        text-align: left;
    }

    .academic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (min-width:1440px) and (max-width:1600px) {
    .spain-heading {
        font-size: 2.9rem;
    }

        .navbar-spacing{
        padding: 0 24px;
    }


    .about-spain {
        font-size: 2.5rem;
    }

    .why-para {
        font-size: 1.9rem;
    }

    /* Academics Section Start */

    .academic-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 40px;
        background-color: var(--tertiary-color);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .academic-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: var(--secondary-color);
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        /* max-width: 800px;
        margin-left: auto;
        margin-right: auto; */
        line-height: 1.6;
        text-align: left;
    }

    .academic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (min-width:1601px) {
    .spain-heading {
        font-size: 3.1rem;
    }


         .navbar-spacing{
        padding: 0 32px;
    }

    .about-spain {
        font-size: 2.7rem;
    }

    .why-para {
        font-size: 1.9rem;
    }

    /* Academics Section Start */

    .academic-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 60px 40px;
        background-color: var(--tertiary-color);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    .academic-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: var(--secondary-color);
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    .section-header h2 {
        font-size: 3.4rem;
        margin-bottom: 15px;
        color: #263238;
        position: relative;
        display: inline-block;
        font-weight: 700;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        bottom: -12px;
        left: 40px;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .section-header p {
        /* font-size: 1.5rem; */
        color: #000;
        margin-top: 25px;
        font-weight: 300;
        /* max-width: 800px; */
        /* margin-left: auto;
        margin-right: auto; */
        line-height: 1.6;
        /* text-align: left; */
    }

    .academic-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}



/* section 2 */

.reason-para {
    padding-left: 15px;
    line-height: 35px;
    text-align: left;
    padding-top: 20px;
    /* font-size: 1.6; */
}

/* Section 2 end */