/* Custom CSS */
:root {
    --primary: #27a2db;
    --primary-dark: #27a2db;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #212529;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #27a2db, #27a2db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Simple Hero Slider */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-content {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 80%;
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: auto;
        padding: 0;
        margin: 0;
    }

    .hero-slide {
        height: auto;
        min-height: auto;
        padding: 0;
        margin: 0;
    }

    .hero-slide-bg {
        width: 100vw; /* Full viewport width */
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .hero-slide-content {
        position: relative;
        bottom: auto;
        top: auto;
        left: auto;
        transform: none;
        margin: 1rem auto 0 auto;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-slide-title {
        font-size: 1.6rem;
    }

    .hero-slide-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .hero-slide {
        height: auto;
        min-height: auto;
    }

    .hero-slide-title {
        font-size: 1.4rem;
    }

    .hero-slide-subtitle {
        font-size: 0.85rem;
    }
}


/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: white;
    border-color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark);
    transform: translateY(-2px);
}

/* Custom styles for Bootstrap */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Navbar brand alignment */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Navbar brand icon */
.brand-icon {
    width: 160px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.brand-icon img {
    width: 200px;
    height: 170px;
    object-fit: contain;
}

/* Navbar links styling */
.nav-link {
    position: relative;
    padding: 8px 15px;
    /* Adds spacing between items */
    white-space: nowrap;
    /* Prevents text from breaking */
    font-weight: 600;
}

/* Navbar hover effect */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown menu styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item:active {
    background-color: var(--primary);
}

/* 🔹 Responsive Fixes */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        /* Adds spacing between nav items */
    }

    .nav-item {
        width: 100%;
        /* Full width on smaller screens */
    }

    .navbar-collapse {
        background: white;
        /* Ensure visibility on collapse */
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        /* Spacing for larger screens */
    }
}

/* Service Card */
.service-card {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
            background-color: white;
            position: relative;
            border: none;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
        }

        .service-img-container {
            height: 180px;
            overflow: hidden;
            position: relative;
        }

        .service-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.8s ease;
        }

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

        .service-icon-container {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 60px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
            z-index: 2;
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon-container {
            background-color: var(--primary-dark);
            transform: translateX(-50%) scale(1.1);
        }

        .service-icon {
            color: white;
            font-size: 24px;
            transition: transform 0.6s ease;
        }

        .service-card:hover .service-icon {
            transform: rotate(360deg);
        }

        .service-content {
            padding: 2.5rem 1.5rem 1.5rem;
            text-align: center;
        }

        .service-title {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.75rem;
            font-size: 1.25rem;
            transition: color 0.3s ease;
        }

        .service-card:hover .service-title {
            color: var(--primary-dark);
        }

        .service-description {
            color: #64748b;
            margin-bottom: 1rem;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .service-footer {
            display: flex;
            justify-content: center;
            padding-top: 1rem;
            border-top: 1px solid var(--light-gray);
        }

        .service-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .service-link:hover {
            color: var(--primary-dark);
        }

        .service-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .service-link:hover i {
            transform: translateX(5px);
        }

        @media (max-width: 768px) {
            .service-img-container {
                height: 160px;
            }
        }

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card-header {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    display: flex;
    align-items: center;
}

.testimonial-card-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-card-content {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    position: relative;
}

.testimonial-card-quote {
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    color: rgba(13, 110, 253, 0.2);
    font-size: 1.5rem;
}

/* Stats */
.stat-item {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #212529;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Fix for dropdown menu */
.dropdown-menu {
    display: none;
}

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

/* Centered navbar */
.navbar-centered .navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

.navbar-centered .navbar-brand {
    position: absolute;
    left: 15px;
}

.navbar-centered .navbar-actions {
    position: absolute;
    right: 15px;
}

@media (max-width: 991.98px) {

    .navbar-centered .navbar-brand,
    .navbar-centered .navbar-actions {
        position: static;
    }

    .navbar-centered .navbar-nav {
        margin: 1rem 0;
    }
}

.dropdown1-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
}

.contact-section {
    position: relative;
    padding: 80px 0;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    /* Remove or modify this for mobile */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Add a media query for mobile devices */
@media (max-width: 767px) {
    .contact-form {
        backdrop-filter: none;
        /* Disable blur effect on mobile */
    }
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid #dee2e6;
}

/* Fix for dropdown menu */
.dropdown-menu {
    display: none;
}

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

/* Centered navbar */
.navbar-centered .navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

.navbar-centered .navbar-brand {
    position: absolute;
    left: 15px;
}

.navbar-centered .navbar-actions {
    position: absolute;
    right: 15px;
}

@media (max-width: 991.98px) {

    .navbar-centered .navbar-brand,
    .navbar-centered .navbar-actions {
        position: static;
    }

    .navbar-centered .navbar-nav {
        margin: 1rem 0;
    }
}

@media (min-width: 992px) {
    .navbar-centered .navbar-nav .nav-item {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}

/* Page header */
.page-header {
    background-color: var(--light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://source.unsplash.com/random/1920x600/?office");
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

/* Contact info card */
.contact-info-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.contact-info-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Map container */
.map-container {
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Social media links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

/* FAQ section */
.faq-item {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--secondary);
}

/* Breadcrumb Section */
.breadcrumb-section {
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.breadcrumb-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.breadcrumb-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

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

@media (min-width: 768px) {
    .breadcrumb-section {
        text-align: left;
    }
}

/* Enhanced Footer */
.footer {
    background-color: #212529;
}

.footer-widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white !important;
    padding-left: 5px;
}

.hover-white:hover {
    color: white !important;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(11, 15, 247, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
    padding: 0.75rem 1rem;
}

/* Blog Styles */
.blog-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.blog-card-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
}

/* Featured Post */
.featured-post {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-bottom: 2rem;
}

.featured-post-img {
    height: 400px;
    overflow: hidden;
}

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

.featured-post:hover .featured-post-img img {
    transform: scale(1.05);
}

.featured-post-content {
    padding: 2rem;
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.featured-post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: var(--primary);
}

.featured-post-excerpt {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.sidebar-search .form-control {
    border-radius: 2rem 0 0 2rem;
    border-right: none;
}

.sidebar-search .btn {
    border-radius: 0 2rem 2rem 0;
}

.sidebar-categories-list,
.sidebar-recent-posts-list,
.sidebar-tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories-list li,
.sidebar-recent-posts-list li {
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
}

.sidebar-categories-list li:last-child,
.sidebar-recent-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-categories-list li:first-child,
.sidebar-recent-posts-list li:first-child {
    padding-top: 0;
}

.sidebar-categories-list a,
.sidebar-recent-posts-list a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-categories-list a:hover,
.sidebar-recent-posts-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.sidebar-categories-count {
    background-color: var(--light);
    color: var(--secondary);
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-categories-list a:hover .sidebar-categories-count {
    background-color: var(--primary);
    color: white;
}

.sidebar-recent-post {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-recent-post-img {
    width: 60px;
    height: 60px;
    border-radius: 0.25rem;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-post-content {
    flex-grow: 1;
}

.sidebar-recent-post-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.sidebar-recent-post-date {
    font-size: 0.75rem;
    color: var(--secondary);
}

.sidebar-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tag {
    background-color: var(--light);
    color: var(--secondary);
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-tag:hover {
    background-color: var(--primary);
    color: white;
}

/* Pagination */
.pagination .page-link {
    border-radius: 0.25rem;
    margin: 0 0.25rem;
    color: var(--dark);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link:hover {
    background-color: var(--light);
    color: var(--primary);
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--primary);
    color: white;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge-study {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary);
}

.category-badge-study:hover {
    background-color: var(--primary);
    color: white;
}

.category-badge-work {
    background-color: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.category-badge-work:hover {
    background-color: #6f42c1;
    color: white;
}

.category-badge-immigration {
    background-color: rgba(32, 201, 151, 0.1);
    color: #20c997;
}

.category-badge-immigration:hover {
    background-color: #20c997;
    color: white;
}

.category-badge-visa {
    background-color: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.category-badge-visa:hover {
    background-color: #fd7e14;
    color: white;
}

.category-badge-tips {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.category-badge-tips:hover {
    background-color: #dc3545;
    color: white;
}

.country-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.country-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.country-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.country-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Custom Styling for Course Card */
    .card-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }

    .card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        flex: 0 0 300px;
    }

    .card-container {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .image-container {
        overflow: hidden;
    }

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

    .card-container:hover .image-container img {
        transform: scale(1.05);
    }

    .card-body {
        padding: 20px;
    }

    .card-title {
        font-size: 1.4rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
        text-align: center;
    }

    .card-description {
        font-size: 1rem;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.5;
        text-align: center;
    }

    .card-button {
        display: block;
        width: fit-content;
        margin: 0 auto;
        padding: 10px 18px;
        background-color: #e51e2b;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-size: 0.95rem;
        transition: background-color 0.3s ease;
    }

    .card-button:hover {
        background-color: #22a9e0;
    }
/*** Team Start ***/
.team .team-item {
    position: relative;
    text-align: center;
    border-radius: 10px;
    margin-top: 100px;
    background: #27a2db;
    transition: 0.5s;
    z-index: 1;
    color: white;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #e51e2b;
    z-index: 2;
    transition: 0.5s;
}

.team .team-item:hover::after {
    height: 100%;
}

.team .team-item .team-content {
    position: relative;
    z-index: 5;
}

.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-content p {
    color: var(--bs-white);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    top: -100px;
    margin-bottom: -100px;
    border-radius: 10px;
    z-index: 3;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

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

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 4;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

/*** Team End ***/
.dark1 {
    color: #212529;
}

.dark2 {
    color: #6c757d;
}

.btn-outline-primary {
    --bs-btn-color: #27a2db;
    --bs-btn-border-color: #27a2db;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #27a2db;
    --bs-btn-hover-border-color: #27a2db;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #27a2db;
    --bs-btn-active-border-color: #27a2db;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #27a2db;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #27a2db;
    --bs-gradient: none;
}

.custom-hover:hover {
    background-color: #e51e2b;
    border-color: #e51e2b;
    color: #fff;
    /* Optional: Change text color on hover */
}

.redbutton {
    background-color: #e51e2b;
    border-color: #e51e2b;
    color: #fff;
}

.redbuttonhover:hover {
    background-color: #e51e2b;
    border-color: #e51e2b;
    color: #fff;
}

.bluebutton {
    background-color: #27a2db;
    border-color: #27a2db;
    color: #fff;
}

.bluebutton1:hover {
    background-color: #27a2db;
    border-color: #27a2db;
    color: #fff;
}

.btn-primary {
    background-color: #e51e2b;
    border-color: #e51e2b;
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    /* Optional: Change text color on hover */
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: white;
}

.footer-contact li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.footer-contact li a:hover {
    color: #e51e2b;
}

.footer-contact i {
    font-size: 1.25rem;
    color: white;
    margin-right: 10px;
}

.footer-widget-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.bluetext:hover {
    color: #27a2db !important;
}

.abovehead {
    background-color: #e51e2b;
    padding: 8px 0;
    color: white;
}

.abovehead a {
    text-decoration: none;
}

.abovehead .info {
    border-right: 1px solid white;
    padding-right: 10px;
}

.abovehead .info p {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}
.abovehead .info p:hover {
    color: #27a2db;
}
.abovehead .info2 p {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}
.abovehead .info2 p :hover {
    color: #27a2db;
}

.abovehead .social-icon {
    color: white;
}
.abovehead .social-icon:hover {
    color: #27a2db;
}
.modal-body img {
    /* height: 44vh; */
    width: 100%;
    object-fit: contain;
}
.form-label {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 17px;
    line-height: 14.19px;
    color: #2b292a;
}
.form-control {
    background-color: #e2e2e2;
}
label {
    margin-bottom: 0.7rem;
}
.registration-text {
    font-size: 28px;
    font-weight: 600;
    color: #27a2db;
}
.bg-primary{
    background-color: #27a2db !important;
}

/* popups */
@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 612px !important;
    }
}
.modal-headerpopup {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem !important;
    margin-left: 90%;
}
.red-close-btn {
    font-size: 1.5rem;
    color: white;
    margin-bottom: -15px;
}
 .whatsapp-float {
        position: fixed;
        bottom: 80px;
        right: 20px;
        background-color: #25D366;
        color: white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 33px;
        z-index: 100;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .whatsapp-float:hover {
        background-color: #1ebe5d;
        color: white;
    }
/* for the mobile view for about image */
@media (max-width: 768px) {
    .scholarship-image-wrapper {
        margin-bottom: -1rem;
    }
}

@media (min-width: 769px) {
    .margintb {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}


