/* Custom Font Import (Optional: Inter matches the clean look well) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Color Variables */
:root {
    --primary-blue: #2B357B; 
    --btn-blue: #2B357B; 
    --badge-bg: #E7F6EC;
    --badge-text: #24A148;
    --btn-green: #6EBF6B;
    --nav-text: #4b5563;
    --nav-hover-bg: #f3f4f6;
    --section-bg: #f2f8f9;
    --brand-dark-green: #3a6245;
    --brand-light-grey: #e9f1eb;
}

/* Navbar Customizations */
.text-primary-dark {
    color: var(--primary-blue) !important;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}
.logo{
    height: 2rem;
}
.btn-primary-dark {
    background-color: var(--btn-blue);
    border: none;
    border-radius: 6px;
}

.btn-primary-dark:hover {
    background-color: var(--primary-blue);
}

.badge-verified {
    background-color: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.65rem;
    padding: 0.4em 0.8em;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.btn-lang {
    border-color: #E0E0E0;
    color: #4A4A4A;
}

/* Hero Section Gradient Background */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #2D3D6A 0%, #204153 50%, #224E3F 100%);
}

.hero-title {
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.top_swiper_image{
    border-radius: 10px;
    max-height: 14rem;
    width: 100%;
}


/* Custom Buttons */
.btn-success-custom {
    background-color: var(--btn-green);
    color: white;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success-custom:hover {
    background-color: #5BA858;
    color: white;
}

.btn-light-custom {
    background-color: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-light-custom:hover {
    background-color: #f1f1f1;
}

/* Media Query Adjustments */
@media (max-width: 991px) {
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}



/* Nav bar */
.custom-nav {
    background-color: var(--section-bg);
    padding: 7px;
    border-radius: 15px;
    margin-top: .4rem;
}

.brand-text {
    color: var(--brand-color);
    letter-spacing: -0.5px;
}

/* Main Navigation Links */
.navbar-nav .nav-link {
    color: var(--nav-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus {
    background-color: var(--nav-hover-bg);
    color: #111827;
}

/* Custom Buttons matching your brand */

/* 
.btn-outline-brand {
    color: var(--brand-color);
    background-color: transparent;
    border: 1px solid var(--brand-color);
    border-radius: 50px;
    padding: 0.4rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-outline-brand:hover {
    background-color: var(--brand-color);
    color: #ffffff;
} */

/* Custom Mega Dropdown Menu */
.mega-dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
    min-width: 380px;
    margin-top: 10px;
}

.dropdown-card {
    display: flex;
    align-items: flex-start;
    background-color: var(--nav-hover-bg);
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.dropdown-card:hover {
    background-color: #e5e7eb;
}

.dropdown-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.dropdown-text {
    display: flex;
    flex-direction: column;
}

.dropdown-text .title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.dropdown-text .subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}



/* Counter Card Styling */
.counter-section {
    background-color: var(--section-bg);
}
.counter-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}
.counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.counter-card:hover .icon-box {
    background-color: rgba(43, 53, 123, 0.15); /* Slightly darker on hover */
}
.counter-value {
    font-variant-numeric: tabular-nums;
}


/* how probashi works */
.section-title {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.step-badge {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0; /* Prevents the badge from squishing on small screens */
    margin-right: 1.25rem;
    margin-top: 0.2rem;
}

.badge-green {
    background-color: var(--badge-text); 
}
.badge-gold {
    background-color: var(--btn-blue); 
}
.step-item {
    transition: transform 0.2s ease;
    padding: 10px;
    border-radius: 8px;
    margin-left: -10px;
}
.step-item:hover {
    background-color: var(--badge-bg);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    cursor: move;
}
.step-item h5 {
    color: #212529;
}
.step-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* seekers-employers-section */
.seekers-employers-section{
    background-color: var(--section-bg);
}
.header-prefix {
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .header-prefix {
        justify-content: flex-start;
    }
}

.prefix-line {
    width: 20px;
    height: 1px;
    background-color: var(--brand-dark-green);
    margin-right: 8px;
    display: inline-block;
}
.custom-pills {
    border-radius: 50px;
    overflow: hidden;
    padding: 0;
}

.custom-pills .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    color: #4b5563; /* Inactive text color */
    border-radius: 50px;
    margin: 0;
    transition: all 0.2s ease;
}
.custom-pills .nav-link:not(.active) {
    background-color: var(--brand-light-grey);
}
.custom-pills .nav-link.active {
    background-color: var(--brand-dark-green) !important;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(58, 98, 69, 0.25);
}

.news-feed-container {
    border-color: rgba(0,0,0,0.06);
}
.scrollable-news-feed {
    height: 380px; /* Fixed height for the news content */
    overflow-y: scroll; /* Enable vertical scrolling */
}

/* Clean up scrollbar aesthetics (optional) */
.scrollable-news-feed::-webkit-scrollbar {
    width: 6px;
}

.scrollable-news-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-news-feed::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

.scrollable-news-feed::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
}
.news-item .news-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0; /* Prevents the image from squishing */
}

.news-item .news-title {
    color: #374151;
    line-height: 1.4;
    font-size: 0.95rem;
}

.news-item .news-time {
    font-size: 0.8rem;
    color: var(--nav-text);
}
.text-brand {
    color: var(--primary-blue); /* Sampled from original banner */
}



/* brand */

.partnerSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.partnerSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto; 
}
.partner-logo {
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.partner-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05); /* Slight zoom on hover */
}


/* country */
.country-jobs-section {
    background-color: var(--section-bg);
}

.overline {
    color: #4b7d62;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.overline::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #4b7d62;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 3rem;
    margin-bottom: 15px;
}

.sub-heading {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.job-card {
    background-color: #ffffff;
    border: 1px solid var(--nav-text);
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* New Flag Styling */
.country-flag {
    font-size: 2.5rem; /* Controls the size of the flag */
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Slight shadow for depth */
    display: inline-block;
    line-height: 1;
}

.country-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.job-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b7d62;
    margin: 0;
}

/* Custom Grid Adjustments */
@media (min-width: 1200px) {
    .row-cols-xl-7 > * {
        flex: 0 0 auto;
        width: 14.285714%;
    }
}

/* Review Swiper Styles */
.testimonial-card {
    background-color: #fcfdfc;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 4rem;
    color: #eef2ef;
    line-height: 1;
    font-family: serif;
    pointer-events: none;
}

.stars {
    color: #c49a45;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.avatar-mr { background-color: #3b6b4b; } /* Dark Green */
.avatar-sk { background-color: #bfa15f; } /* Golden Brown */
.avatar-ar { background-color: #6a4cdd; } /* Purple */

.user-details h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 3px 0;
}

.user-details p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #2D3D6A 0%, #204153 50%, #224E3F 100%);
    padding: 100px 20px;
    color: #ffffff;
    text-align: center;
}

/* Typography */
.cta-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-subheading {
    font-size: 1.1rem;
    color: #d1e2d6; /* Soft light green-tinted white for readability */
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Mobile responsive tweaks */
@media (max-width: 1199px) {
    .mega-dropdown-menu {
        min-width: 100%;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }
    .dropdown-card {
        background-color: transparent;
        padding: 0.5rem 1rem;
    }
}

/* Buttons Styling */
.btn-custom {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom {
    background-color: #ffffff;
    color: #315e3c;
    border: 2px solid #ffffff;
}

.btn-primary-custom:hover {
    background-color: #f1f1f1;
    color: #24472d;
    border-color: #f1f1f1;
}

.btn-outline-custom {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-custom:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}


 /* Footer Base Styling */
.site-footer {
    background-color: #152c1e; 
    padding: 25px ;
    color: white;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}
.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #243d2e; /* Slightly lighter green for button backgrounds */
    color: #d1dfd5;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-btn:hover {
    background-color: #31523e;
    color: #ffffff;
}

.footer-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

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

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

.footer-links a {
    color: #d1dfd5;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0 10px 0;
}

.bottom-bar {
    font-size: 0.85rem;
    color: #aebdb3;
}

.contact-info {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: #8c739e; /* Purple tint matching the phone/email icons in image */
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .contact-info {
        justify-content: flex-start;
        margin-top: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .footer-title {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .bottom-bar {
        text-align: center;
    }
    .contact-info {
        justify-content: center;
    }
}

#scrollToTopBtn {
    display: none; 
    position: fixed; 
    bottom: 30px;
    right: 30px;
    z-index: 99; 
    border: none;
    outline: none; 
    background-color: #315e3c; 
    color: white; 
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollToTopBtn:hover {
    background-color: #152c1e; 
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


/* About us */
.about-section {
    background-color: var(--section-bg);
}
 .about-content-collapsed {
    max-height: 22rem;
    overflow: hidden;
    position: relative;
    transition: max-height 0.35s ease;
}

.about-content-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    /* background: linear-gradient(to bottom, rgba(248, 249, 250, 0), rgba(248, 249, 250, 1)); */
    pointer-events: none;
}
.about-content-expanded {
    max-height: 5000px;
}
.about-content-expanded::after {
    display: none;
}

.about-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    border: none;
    background: transparent;
    color: var(--brand-dark-green);
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.about-read-more-btn i {
    transition: transform 0.25s ease;
}

.about-read-more-btn.expanded i {
    transform: rotate(180deg);
}


.vision-card{
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--primary-blue);
    border-left: 8px solid #008ba3; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out; 
    text-align: justify;
}

.icon-circle {
    background-color: #008ba3;
    color: #ffffff;
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease-in-out;
}

.card-heading {
    color: #125b70;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
    text-align: center;
}

.card-body-text {
    font-style: italic;
    color: #5c6c75;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease-in-out;
}

.vision-card:hover {
    background: linear-gradient(135deg, #2D3D6A 0%, #204153 50%, #224E3F 100%);;
    border-left-color: var(--btn-blue);
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(166, 159, 159, 0.3); 
}

.vision-card:hover .card-heading,
.vision-card:hover .card-body-text {
    color: #ffffff; 
}

.vision-card:hover .icon-circle {
    background-color: #ffffff; 
    color: var(--btn-blue);
}

@media (max-width: 576px) {
    .custom-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

.tiktok-section{
    background-color: var(--section-bg);
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.16);
}

.gallery-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .col-lg-4 .gallery-photo {
        height: 280px;
    }

    .col-lg-3 .gallery-photo {
        height: 230px;
    }
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 48px 72px;
}

.photo-lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 18px;
    right: 18px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-photo {
        height: 220px;
    }

    .photo-lightbox {
        padding: 24px 12px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 8px;
        right: 8px;
    }
}

/* global info */
 .news-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?q=80&w=2000&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    height: 40vh;
    min-height: 300px;
}

/* Card Hover Effect */
.news-card {
    transition: transform 0.2s ease-in-out;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.sidebar-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.scrollable-list {
    max-height: 400px;
    overflow-y: auto;
}
.scrollable-list::-webkit-scrollbar {
    width: 6px;
}
.scrollable-list::-webkit-scrollbar-track {
    background: #f8f9fa;
}
.scrollable-list::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 10px;
}
.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}