/* 
===================
General Styles
===================
*/
:root {
    --primary-color: #1a3c8a;
    --primary-hover: #2c5ebd;
    --secondary-color: #20b2aa;
    --dark-color: #15233e;
    --light-color: #f4f9ff;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
    --gradient-primary: linear-gradient(135deg, #1a3c8a 0%, #2c5ebd 100%);
    --gradient-secondary: linear-gradient(135deg, #20b2aa 0%, #5ce0d8 100%);
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #444444;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

section {
    padding: 50px 0;
    overflow: hidden;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.section-header p {
    font-size: 16px;
    color: var(--gray-color);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    color: #000000;
    border-color: white;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
    background: #ffff;
}

.btn-outline-light:hover {
    background: #1a3c8a;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 
===================
Top Bar
===================
*/
.top-bar {
    background: var(--dark-color);
    padding: 10px 0;
    font-size: 14px;
    color: white;
}

.top-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-info li {
    margin-right: 20px;
}

.top-info li i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.top-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.top-social li {
    margin-left: 15px;
}

.top-social li a {
    color: white;
    transition: var(--transition);
}

.top-social li a:hover {
    color: var(--secondary-color);
}

/* 
===================
Navigation
===================
*/
.navbar {
    background: white;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 28px;
}

.logo-text {
    color: var(--dark-color);
    font-family: 'Poppins', sans-serif;
}

.logo-text span {
    color: var(--primary-color);
}

.navbar-nav .nav-item {
    padding: 0 10px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    bottom: -2px;
    left: 25%;
}

.navbar-nav .btn-apply {
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    margin-left: 10px;
}

.navbar-nav .btn-apply:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 
===================
Hero Section
===================
*/
.hero {
    background: var(--gradient-primary);
    padding: 50px 0 200px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.form-container h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* 
===================
Featured Universities
===================
*/
.featured-universities {
    padding: 20px 0;
    background: #ffffff;
}

.university-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.university-card:hover {
    transform: translateY(-10px);
}

.card-img {
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.country-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

.card-body {
    padding: 25px;
}

.university-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.location {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.location i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.features span {
    font-size: 13px;
    color: var(--gray-color);
    margin-right: 15px;
    margin-bottom: 5px;
}

.features span i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* 
===================
Why Choose Us
===================
*/
.why-choose-us {
    padding: 40px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: var(--transition);
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.feature-box .icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box .icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--gray-color);
}

/* 
===================
Countries Section
===================
*/
.countries-section {
    padding: 30px 0;
    background: #ffffff;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.country-box {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 227px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.country-box:hover {
    transform: translateY(-10px);
}

.country-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.country-box:hover .country-image {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.country-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: white;
}

.country-overlay span {
    font-size: 14px;
    opacity: 0.9;
}

/* 
===================
Testimonials
===================
*/
.testimonials {
    padding: 50px 0;
}

.testimonial-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.profile {
    text-align: center;
    flex-shrink: 0;
    width: 200px;
}

.profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.profile p {
    font-size: 13px;
    color: var(--gray-color);
}

.quote {
    flex-grow: 1;
    position: relative;
}

.quote i {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.2;
    margin-right: 10px;
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* 
===================
Call to Action
===================
*/
.cta {
    padding: 15px 0;
    background: var(--gradient-primary);
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 15px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* 
===================
Footer
===================
*/
footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 0 0;
}

.footer-about h3 {
    color: white;
    margin-bottom: 25px;
}

.footer-about h3 span {
    color: var(--secondary-color);
}

.footer-about p {
    margin-bottom: 11px;
}

.social-links {
    display: flex;
    margin-bottom: 0px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact p i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 15px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--secondary-color);
}

/* 
===================
Back to Top Button
===================
*/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-5px);
}

/* 
===================
Page Headers
===================
*/
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 24px 0;
    position: relative;
}

.page-header h1 {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.breadcrumb-item, .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* 
===================
About Page Styles
===================
*/
.about-section {
    padding: 50px 0;
}

.about-img {
    position: relative;
    margin-bottom: 30px;
}

.experience {
    position: absolute;
    right: -20px;
    bottom: 20px;
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience h3 {
    font-size: 28px;
    margin: 0;
    color: white;
}

.experience p {
    font-size: 14px;
    margin: 0;
}

.about-content h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.stat {
    flex: 1 1 33.333%;
    min-width: 120px;
    text-align: center;
    margin-bottom: 20px;
}

.stat h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat p {
    color: var(--gray-color);
    margin: 0;
}

.mission-vision {
    padding: 50px 0;
    background: #f9f9f9;
}

.mission-box, .vision-box {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.mission-box .icon, .vision-box .icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mission-box .icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.vision-box .icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.mission-box h3, .vision-box h3 {
    margin-bottom: 20px;
}

.our-process {
    padding: 40px 0;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    left: 50px;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    top: 0;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.team-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-img {
    position: relative;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 50px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.social {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    transition: var(--transition);
}

.team-member:hover .social {
    bottom: 0;
}

.social a {
    color: white;
    margin: 0 10px;
    font-size: 16px;
}

.social a:hover {
    color: var(--secondary-color);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.member-info span {
    color: var(--gray-color);
    font-size: 14px;
}

.partners-section {
    padding: 20px 0 55px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partner {
    flex: 0 0 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
    display: flex;
    justify-content: center;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
    height: 50px;
}

.partner:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* 
===================
Country Page Styles
===================
*/
.country-hero {
    padding: 50px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.country-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 60, 138, 0.8);
}

.country-hero .container {
    position: relative;
    z-index: 2;
}

.country-hero-content h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
}

.country-hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.country-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.country-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.country-highlights li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

.country-info {
    padding: 50px 0;
}

.country-info-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.country-stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
}

.stat-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
}

.stat-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.country-map-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.country-map {
    flex-grow: 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.country-facts {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
}

.country-facts h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.country-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.country-facts ul li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.country-facts ul li i {
    color: var(--primary-color);
    margin-right: 5px;
}

.universities-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.university-detail {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    padding: 30px;
}

.university-image img {
    width: 100%;
    border-radius: 10px;
}

.university-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.university-content .location {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.university-content p {
    margin-bottom: 20px;
}

.university-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.feature {
    text-align: center;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    margin-bottom: 15px;
}

.feature i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

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

.university-actions {
    display: flex;
    gap: 15px;
}

.student-life {
    padding: 50px 0;
}

.life-detail {
    margin-bottom: 30px;
}

.life-detail h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.student-gallery {
    margin-top: 50px;
}

.student-gallery img {
    height: 50px;
    width: 100%;
    object-fit: cover;
}

.admission-process {
    padding: 50px 0;
    background: #f9f9f9;
}

.process-steps {
    margin-bottom: 50px;
}

.process-step {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.process-step h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    color: var(--gray-color);
    margin: 0;
}

.required-documents {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.required-documents h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.document-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.faq-section {
    padding: 50px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion-button {
    background: white;
    border-radius: 10px !important;
    box-shadow: var(--box-shadow);
    font-weight: 500;
    padding: 20px 25px;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3c8a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
}

/* 
===================
Gallery Page Styles
===================
*/
.gallery-header {
    text-align: center;
}

.gallery-filter {
    padding: 20px 0 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-buttons .btn {
    padding: 8px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.filter-buttons .btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--box-shadow);
}

.gallery-section {
    padding: 50px 0 50px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 50px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(26, 60, 138, 0.8);
    color: white;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    bottom: 0;
}

.gallery-info h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.apply-section {
    padding: 50px 0;
    background: var(--light-color);
}

.apply-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.apply-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.apply-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.apply-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 
===================
Contact Page Styles
===================
*/
.contact-header {
    text-align: center;
}

.contact-info {
    padding: 50px 0;
    margin-top: 0px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card .icon {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-card .icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    margin-bottom: 5px;
    color: var(--gray-color);
}

.contact-form-map {
    padding: 50px 0 50px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-map {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.office-hours {
    padding: 0 0 50px;
}

.hours-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.hours-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.day-hours {
    margin-bottom: 15px;
}

.day {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.hours {
    color: var(--gray-color);
}

.note {
    margin-top: 20px;
    font-style: italic;
    color: var(--gray-color);
}

.global-offices {
    padding: 50px 0;
    background: #f9f9f9;
}

.office-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-10px);
}

.flag {
    width: 60px;
    height: 40px;
    margin: 0 auto 20px;
    border-radius: 5px;
    overflow: hidden;
}

.flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.office-card p {
    margin-bottom: 10px;
    color: var(--gray-color);
}

.office-card p i {
    color: var(--primary-color);
    margin-right: 5px;
}

.contact-faqs {
    padding: 50px 0;
}

.newsletter {
    padding: 0 0 50px;
}

.newsletter-box {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: 10px;
    color: white;
    box-shadow: var(--box-shadow);
}

.newsletter-box h3 {
    color: white;
    margin-bottom: 10px;
}

.newsletter-box p {
    margin-bottom: 0;
    opacity: 0.9;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form .input-group {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    padding: 15px 25px;
}

.newsletter-form button {
    border-radius: 0 50px 50px 0;
    padding: 0 25px;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form button:hover {
    background: darken(var(--secondary-color), 5%);
    border-color: darken(var(--secondary-color), 5%);
}

/* 
===================
Responsive Styles
===================
*/
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .feature {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 50px 0 50px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .testimonial-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile {
        margin-bottom: 20px;
    }
    
    .country-hero {
        padding: 50px 0;
    }
    
    .country-hero-content {
        margin-bottom: 40px;
    }
    
    .country-map-container {
        margin-top: 30px;
    }
    
    .university-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .top-info, .top-social {
        justify-content: center;
    }
    
    .top-info {
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .stat {
        flex: 1 1 100%;
    }
    
    .experience {
        right: 0;
    }
    
    .feature {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    .carousel-control-prev {
        left: -10px;
    }
    
    .carousel-control-next {
        right: -10px;
    }
    
    .country-facts ul {
        columns: 1;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .country-hero-content h1 {
        font-size: 32px;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
.university-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    height: 460px;
}
@media (max-width: 1200px) and (min-width: 768px) {
    .university-card {
    height: 520px;
    }
    }



    /* Floating Buttons and Mobile Contact Bar */
.quick_contact {
    position: fixed;
    right: 20px;
    bottom: 60px; /* Moved higher from 20px to 40px */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.quick_contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 18px;
}

.quick_contact a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qwhtsapp {
    background-color: #075e54;
    color: #fff;
}

.qcall {
    background-color: #007bff;
    color: #fff;
}

.quick_contact_icon {
    font-size: 30px;
}

.mobile-contact-bar {
    position: fixed;
    bottom: 0px; /* Moved higher from 0px to 20px */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    transition: background-color 0.3s ease;
}

.whatsapp-btn {
    background-color: #075e54;
}

.whatsapp-btn:hover {
    background-color: #064c43;
}

.call-btn {
    background-color: #007bff;
}

.call-btn:hover {
    background-color: #0056b3;
}

.mobile-contact-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .quick_contact {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-contact-bar {
        display: none !important;
    }
}


/* Add to style.css without modifying existing styles */
.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    min-width: 200px;
    padding: 10px 0;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-item {
    padding: 8px 15px;
    color: var(--dark-color);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu .dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}


/* Add to style.css */
.countries-grid .country-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.country-box .country-overlay {
    transition: var(--transition);
}

.country-box:hover .country-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}



