:root {
    --primary: #00B074;
    --secondary: #2B9BFF;
    --background: #2959B7;
    --light: #e5f3fd;
    /* --light: #EFFDF5; */
    --dark: #2B3940;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
    /* Fix mobile navbar transparency and spacing */
    .navbar {
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-brand img {
        height: 30px !important;
    }
    
    /* Remove right margin/padding from navbar */
    .navbar-nav.ms-auto {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    
    .navbar-nav.ms-auto .btn {
        margin-right: 0 !important;
        margin-left: 0.5rem !important;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    .display-6 {
        font-size: 1.25rem !important;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 1rem !important;
    }
    
    .service-item {
        padding: 1rem !important;
        margin-bottom: 1rem;
    }
    
    .service-item i {
        font-size: 2rem !important;
    }
    
    .cta-content-box {
        padding: 1.5rem !important;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .dropdown-menu {
        border: none !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 576px) {
    /* Additional mobile navbar fixes */
    .navbar {
        background-color: #ffffff !important;
        opacity: 1 !important;
    }
    
    .navbar .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Remove any transparency from navbar elements */
    .navbar-brand,
    .navbar-toggler,
    .navbar-nav {
        background-color: white !important;
    }
    
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .service-item h6 {
        font-size: 0.875rem !important;
    }
    
    .service-item p {
        font-size: 0.75rem !important;
    }
    
    .btn {
        font-size: 0.875rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
    }
}

/* Beautiful Navbar Button Styles */
.navbar .btn {
    border-radius: 0.5rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-width: 1px;
    text-decoration: none;
}

.navbar .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.navbar .btn-primary:hover {
    background-color: #008a5c;
    border-color: #008a5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 176, 116, 0.3);
}

.navbar .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
    background-color: transparent;
}

.navbar .btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.navbar .btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Mobile navbar button adjustments */
@media (max-width: 576px) {
    .navbar .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .navbar .btn i {
        font-size: 0.9rem;
    }
}

/* body {
    background-color: var(--light-green); */
/* } */

.btn,
.job-item,
.cat-item,
.filter-panel, /* Add this class to your filter div if you haven't */
.bg-light.rounded,
.form-control,
.form-select {
    border-radius: 0.5rem !important; /* Use !important to override template defaults */
}



.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.form-control, .form-select {
    /* border: 1px solid #ced4da; */
    border-radius: 0.375rem;
    padding: 0.6rem 1rem;
    box-shadow: none !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: var(--grey-text);
    background-color: #f8f9fa; /* Light grey for filter inputs */
}

.input-group {
  background-color: #ffffff !important; /* White background */
  color: #000000;                      /* Text color black */
}

/* Custom green focus glow */
/* .form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 130, 90, 0.20) !important;
} */

/* Custom dropdown arrow for filters */
/* .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
} */

/* --- Styles for the main search bar --- */
.search-bar-container {
    background-color: var(--light); /* White background for the panel */
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Style the entire input group as one unit */
.search-bar-container .input-group {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    background-color: var(--light); /* White background for the group */
    overflow: hidden; /* Ensures rounded corners are clean */
}
.search-bar-container .input-group:hover {
    border-color: #adb5bd; /* Darker border on hover */
}
.search-bar-container .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 130, 90, 0.15);
}

/* Style the icon part (span) */
.search-bar-container .input-group-text {
    background-color: transparent; /* Transparent background */
    border: none;
    color: var(--primary); /* Use primary green for the icon color */
    padding-left: 1rem;
}

/* Style the input field part */
.search-bar-container .input-group .form-control {
    background-color: transparent; /* Transparent background */
    border: none;
    padding-left: 0.75rem;
}

.filter-panel {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    /* border: 1px solid #dee2e6; */
    padding: 1.5rem;
    background-color: var(--light); /* White background for the filter panel */
}

.filter-panel .form-select {
    background-color: #ffffff; /* Light grey for filter inputs */
    color: #2B3940; /* Dark grey text */
    /* border: 1px solid #ffffff; */
    padding: 0.75rem 1rem;
}
/* 6. Improve Job Card appearance */
.job-item {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: .5s;
    border-radius: 0.5rem !important;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

/*** Form Elements ***/
/* .form-control, .form-select {
    border-radius: 0.5rem !important;
}

.form-control.border-0 {
    background-color: #EFFDF5;
    padding: 0.75rem 1rem;
}

.btn-dark.border-0 {
    background-color: var(--primary) !important;
    border: none;
    padding: 0.75rem;
} */

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light  {
    height: 75px;
}

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

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.header-carousel .owl-carousel-item {
    height: 450px; 
    min-height: 450px;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

.header-carousel .display-3 {
    font-size: 2.8rem;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 300px;
        min-height: 300px;
    }
    .header-carousel .display-3 {
        font-size: 2rem;
    }
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../img/profile.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.category-section, .student-info {
    background-color: #e5f3fd; /* Your desired light blue color */
}

/* Optional: Improve the look of the category cards on the new background */
.category-section .cat-item {
    background-color: #ffffff; /* Ensure cards are white */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
    border-radius: 1rem !important;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}

/*** Filter Section ***/
.bg-light.rounded {
    border-radius: 1rem !important;
}

.student-info {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 1rem !important;
}

#program, #company, #deadline, #job-type {
    background-color: #f8f9fa;
    color: #2B3940; /* Dark grey text */
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 1rem !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    overflow: hidden;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}

/*** Footer ***/
.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: #fff;
    font-weight: 600;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 0.5rem;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
    text-transform: none;
    transition: all 0.3s;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 0;
    box-shadow: none;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.footer .btn.btn-social:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer .copyright {
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a {
    color: #fff;
}

/* Button hover effects */
.btn-primary:hover {
    background-color: #008a5c;
    border-color: #008a5c;
}

/* Search Section Background */
        .search-section {
            background: linear-gradient(135deg, var(--primary) 0%, #007c5e 100%) !important;
            padding: 35px;
            margin-bottom: 30px;
        }


        /* ============================================= */
/* 8. MODERN STAT CARD STYLES (from Admin Panel) */
/* ============================================= */

.stat-card {
    /* border: 1px solid #e9ecef; */
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background-color: #fff;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.stat-card .card-body {
    padding: 1.5rem;
}
.stat-card h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem; /* Add a little space below the number */
}

/* Styles for the chart card to match */
.chart-card {
    /* border: 1px solid #e9ecef; */
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #fff;
}
.chart-card .card-header {
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

 .card-header {
    padding: padding: 1.5rem !important;;
}



/* --- custom-styles.css --- */

/* --- Hero Section --- */
.hero-section {
    background: url('img/carousel-1.jpg') center center no-repeat;
    background-size: cover;
    padding: 80px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background); /* Light overlay using your --light color */
}

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

.hero-section .nforce-logo {
    max-width: 280px;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-weight: 700;
    color: var(--dark);
}

.hero-section p {
    color: var(--dark);
    font-size: 1.25rem;
}


/* --- Services Section --- */

/* --- Updated Services Section --- */
.services-section {
    background-color: #2959B7; /* The dark blue background color */
}

.service-item {
    display: block;
    padding: 1.5rem;
    color: #FFFFFF; /* Default text and icon color is white */
    transition: all 0.3s ease-in-out;
}

/* Styling for the icon inside the service item */
.service-item i {
    color: #FFFFFF;
}

/* Styling for the heading inside the service item */
.service-item h6 {
    color: #FFFFFF;
    font-weight: 600;
}

/* Styling for the paragraph text, slightly transparent for better hierarchy */
.service-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Hover Effect --- */
.service-item:hover {
    transform: translateY(-8px); /* Lifts the item on hover */
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background highlight */
    border-radius: 0.5rem; /* Match your site's border-radius */
}

/* Make the icon and title slightly brighter on hover for feedback */
.service-item:hover i,
.service-item:hover h6 {
    color: #FFFFFF; 
}

/* --- custom-styles.css (REPLACE previous news item styles with this block) --- */

/* --- Latest News Carousel Section (This part remains the same) --- */
.latest-news-section {
    background-color: #f0fdf8;
}

/* --- New Card Styling --- */
.news-item-card-link {
    text-decoration: none; /* Removes underline from the link */
}

.news-item-card {
    background-color: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.news-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Styles for the new image */
.news-item-image {
    width: 100%;
    height: 180px; /* Fixed height for all cards */
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

/* Padding for the text content below the image */
.news-item-content {
    padding: 1rem 1.25rem;
}

.news-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
}

.news-item-summary {
    font-size: 0.9rem;
    color: #6c757d; /* Standard muted text color */
}

/* Ensure text color doesn't change on hover (since the card lifts) */
.news-item-card-link:hover .news-item-title,
.news-item-card-link:hover .news-item-summary {
    color: initial; /* Or specify var(--dark) and #6c757d again if needed */
}

/* --- Owl Carousel Navigation Styling --- */
.news-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Allows clicks to go through to the iframe */
}

.news-carousel .owl-nav .owl-prev,
.news-carousel .owl-nav .owl-next {
    pointer-events: all; /* Make only the buttons clickable */
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #333333 !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.news-carousel .owl-nav .owl-prev {
    margin-left: -30px; /* Position half outside the container */
}

.news-carousel .owl-nav .owl-next {
    margin-right: -30px; /* Position half outside the container */
}

.news-carousel .owl-nav .owl-prev:hover,
.news-carousel .owl-nav .owl-next:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.news-carousel .owl-nav .owl-prev:active,
.news-carousel .owl-nav .owl-next:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

/* --- Request Letter Image Responsive Styling --- */
.request-letter-image {
    max-width: 100%;
    height: auto;
}

/* Responsive sizing for request letter image */
@media (max-width: 1200px) {
    .request-letter-image {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .request-letter-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .request-letter-image {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .request-letter-image {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .request-letter-image {
        max-width: 200px;
    }
}

/* --- Owl Carousel Dots Styling --- */
.news-carousel .owl-dots {
    margin-top: 20px !important;
    text-align: center;
}

.news-carousel .owl-dot {
    background: #d1d1d1 !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.news-carousel .owl-dot.active {
    background: var(--primary) !important;
}

/* --- Partner Companies Logo Wall --- */
.partner-logo-section {
    background-color: #FFFFFF;
}

.logo-slider-container h2 {
    font-weight: 700;
    color: var(--dark);
}

/* Main container that hides the overflow */
.logo-slider {
    overflow: hidden;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

/* Add fading effect on the sides */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

/* The track that contains and animates the logos */
.logo-slide-track {
    display: flex;
    white-space: nowrap;
    /* Animation speed: Adjust the duration (e.g., 40s) to make it faster or slower */
    animation: scroll 40s linear infinite;
}

.logo-slide-track.reverse {
    animation-name: scroll-reverse;
}

/* Pause animation on hover */
.logo-slider:hover .logo-slide-track {
    animation-play-state: paused;
}

/* Individual logo container */
.slide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px; /* Controls the height of the rows */
    width: 200px; /* Controls the spacing between logos */
    margin: 0 20px;
}

.slide img {
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
    /* filter: grayscale(100%);
    opacity: 0.7; */
    padding-left: 40px;
    transition: all 0.4s ease;
}

.slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* The CSS animation keyframes */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* --- Search for a Job / Call to Action Section --- */
/* --- Find Your Next Opportunity (CTA) Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;  Creates a nice parallax scroll effect */
    background-image: url('../img/maincontent2.jpg'); 
    /* background-image: url('../img/image.png');  */
}

/* The overlay adds a dark tint to the image, making the white box pop */
.cta-section .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 57, 64, 0.4); /* Your --dark color at 40% opacity */
    z-index: 1;
}

/* Ensure the main container content is above the overlay */
.cta-section .container {
    position: relative;
    z-index: 2;
}

/* The white, semi-transparent content box */
.cta-content-box {
    background-color: rgba(255, 255, 255, 0.9); /* White but slightly see-through */
    padding: 3rem;
    border-radius: 1rem; /* Rounded corners like your example */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    
    /* This creates the "frosted glass" effect for modern browsers */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cta-content-box h2 {
    color: var(--dark);
    font-weight: 700;
}

/* --- Request Letter & Record Book Section --- */
.feature-card {
    background-color: var(--light);
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

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

.feature-card img {
    max-width: 120px;
}

.record-book-cta {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */

    background-image: url('../img/profile.jpg'); 
}


/* --- Book a Session & Contact Us Section --- */
.action-card {
    background-color: #f8f9fa; /* A slightly different light gray */
    padding: 2.5rem;
    border-radius: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.action-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* --- Book a Session CTA Section --- */
.book-session-cta {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    
    /* 
       ===========================================================
       === IMPORTANT: REPLACE THIS PATH WITH YOUR ACTUAL IMAGE ===
       ===========================================================
    */
    background-image: url('../img/3-jpg.webp'); 
}

/* 
   NOTE: This section reuses the .cta-overlay and .cta-content-box classes
   that we created earlier. No need to add them again! This keeps your
   code consistent and clean.
*/


/* --- Contact Us CTA Section --- */
.contact-cta {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    
    /* 
       ===========================================================
       === IMPORTANT: REPLACE THIS PATH WITH YOUR ACTUAL IMAGE ===
       ===========================================================
    */
    background-image: url('../img/contact-us.webp'); 
    /* background-image: url('../img/contact-us-background.jpg');  */
}



/****************************request letter page************************/

/* --- Form Page Wrapper --- */
.form-page-wrapper {
    background-color: #f4f7f6; /* A soft, light gray background for the whole page */
    min-height: 100vh;
}

.form-page-header h1 {
    color: var(--dark);
}

/* --- Main Form Panel --- */
.form-panel {
    background-color: #ffffff;
    border-radius: 1rem; /* Softer, more modern corners */
    padding: 2rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border: none;
}

@media (min-width: 768px) {
    .form-panel {
        padding: 3rem;
    }
}

/* --- Accordion Customization --- */
.accordion {
    --bs-accordion-border-width: 0; /* Remove all default borders */
}

.accordion-item {
    background-color: transparent;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
    background-color: transparent;
    box-shadow: none !important; /* Remove the ugly blue glow on click */
    padding: 1.5rem 0.5rem;
}

/* Style for when the accordion section is collapsed */
.accordion-button.collapsed {
    border-bottom: 1px solid #e9ecef;
}

/* Change the default chevron icon to a plus/minus sign */
.accordion-button::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f068"; /* Minus sign for expanded state */
    background-image: none;
    transform: none;
    font-size: 1rem;
    color: var(--primary);
}

.accordion-button.collapsed::after {
    content: "\f067"; /* Plus sign for collapsed state */
}

.accordion-body {
    padding: 2rem 0.5rem;
}


/* --- Form Field Styling --- */
.col-form-label {
    font-weight: 500;
    color: #6c757d;
}

.form-control[readonly], .form-control:disabled {
    background-color: #f8f9fa; /* A slightly off-white for readonly fields */
    opacity: 1;
}

.form-control, .form-select {
    border-radius: 0.5rem !important;
    padding: 0.8rem 1rem;
    border-color: #e9ecef;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 176, 116, 0.15); /* Soft green glow */
}


/* --- custom-styles.css (Add to the end) --- */

/* --- Request Letter Page --- */
.filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-bar .input-group {
    flex: 1 1 300px;
}
.filter-bar .form-select {
    flex: 1 1 200px;
}

.request-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.request-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.request-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.4em 0.8em;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
}

.status-approved { background-color: var(--primary); /* Green */ }
.status-pending { background-color: #ffc107; /* Yellow */ }
.status-rejected { background-color: #dc3545; /* Red */ }

/* --- Modal Styling --- */
.modal-content {
    border: none;
    border-radius: 1rem;
}
.modal-header {
    border-bottom: 1px solid #e9ecef;
}
.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* --- custom-styles.css (Add to the end) --- */

.rejection-reason-box {
    background-color: rgba(220, 53, 69, 0.05); /* Light red background */
    border-left: 4px solid #dc3545; /* Red left border */
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}


/**********request record book page****/


/* This wrapper turns the entire page light green and centers the card vertically */
.status-display-container {
    background-color: #f0fdf8; /* Light green-gray background from your image */
    min-height: calc(100vh - 200px); /* Adjust height as needed to fit your header/footer */
    padding: 2rem 1rem;
}

/* The main white card */
.status-card {
    background-color: #ffffff;
    border-radius: 1.5rem; /* Softer, larger corners */
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 600px; /* Controls the card width */
    width: 100%;
}

@media (min-width: 768px) {
    .status-card {
        padding: 2.5rem 3rem;
    }
}

/* The green circle icon wrapper */
.status-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.status-icon-wrapper i {
    color: #fff;
    font-size: 1.75rem;
}

/* The details section with labels and values */
.status-details {
    margin-top: 1.5rem;
    text-align: left;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}
.detail-label {
    color: #6c757d; /* Muted text for labels */
}
.detail-value {
    color: var(--dark);
    font-weight: 600;
}
/* --- Sectioned Form Styling --- */
.form-section-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    margin-bottom: 2rem;
    overflow: hidden; /* Important for clean corners */
}
.form-section-header {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}
.form-section-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}
.form-section-body {
    padding: 1.5rem;
}

/* --- Modern Checkbox Styling --- */
.form-check-input {
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* --- Form Footer --- */
.form-footer {
    padding: 0 0.5rem;
}


/* --- Session Booking Page --- */
.session-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.session-card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.session-date {
    text-align: center;
    margin-right: 1.5rem;
}
.session-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.session-date .month {
    font-size: 0.9rem;
    color: #6c757d;
}

.session-time-status .time {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.session-card-body {
    padding: 1.5rem;
}
.session-reason {
    font-size: 0.95rem;
}

/* Add a new status color for 'Completed' */
.status-completed { background-color: #6c757d; /* Gray */ }

/* --- Booking Modal Styling --- */
.booking-step-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Date Selector Buttons */
.date-selector .date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}
.date-selector .date-btn .day-of-week {
    font-weight: 600;
}
.date-selector .date-btn.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff;
    transform: scale(1.05); /* Add a subtle pop effect */
}
/* Time Slot Selector Buttons */
.time-selector .time-slot {
    border-radius: 50px; /* Pill shape */
}
.time-selector .time-slot.active {
    background-color: var(--primary);
    color: #fff;
}
.time-selector .time-slot:disabled {
    text-decoration: line-through;
}


/* Wrapper for the time slots to make it scrollable */
.time-slots-wrapper {
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem;
    height: 350px; /* Fixed height */
    overflow-y: auto; /* This makes the content scrollable */
}

/* Placeholder text when no date is selected */
.time-slot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- CV Counselling Request Checkbox Styling --- */
.counselling-request-box {
    background-color: #f0fdf8; /* Light mint-green background */
    border: 1px solid #cce8de;  /* Soft green border */
    border-radius: 0.75rem;     /* Softer, more modern corners */
    padding: 1rem 1.25rem;
    padding-left: 3rem;         /* Extra padding on the left to make room for the larger checkbox */
    transition: all 0.3s ease;
    cursor: pointer;            /* Make the whole box feel clickable */
}

/* Add a subtle glow/shadow on hover for better user feedback */
.counselling-request-box:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 176, 116, 0.1);
}

/* Make the checkbox itself slightly larger and position it correctly */
.counselling-request-box .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.4em; /* Adjust vertical alignment */
}

/* Ensure the label text aligns nicely */
.counselling-request-box .form-check-label {
    padding-left: 0.5rem;
}

/* Style the main label text */
.counselling-request-box .form-check-label strong {
    font-weight: 600;
    color: var(--dark);
}

/* Style the smaller helper text */
.counselling-request-box .form-check-label small {
    font-size: 0.85em;
}

/* --- Session Booking Styles --- */
.session-card {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.session-card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.session-date {
    text-align: center;
    margin-right: 1.5rem;
    min-width: 60px;
}

.session-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.session-date .month {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    display: block;
}

.session-time-status .time {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.session-card-body {
    padding: 1.5rem;
}

.session-reason {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Status badges for sessions */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
}

.status-approved { background-color: var(--primary); }
.status-pending { background-color: #ffc107; color: #000; }
.status-rejected { background-color: #dc3545; }
.status-completed { background-color: #6c757d; }
.status-cancelled { background-color: #6c757d; }

/* Session booking modal styles */
#bookSessionModal .modal-dialog {
    max-width: 600px;
}

#bookSessionModal .form-control:focus,
#bookSessionModal .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 176, 116, 0.15);
}

/* Time slot loading animation */
.time-slot-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #6c757d;
}

.time-slot-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Empty state styles */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h5 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* Admin session management styles */
.avatar-sm {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
}

.avatar-lg {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
}

/* Appointment table styles */
.appointment-table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: var(--dark);
}

.appointment-table td {
    vertical-align: middle;
}

/* Action button groups */
.btn-group .btn {
    margin-right: 0.25rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Responsive adjustments for session cards */
@media (max-width: 768px) {
    .session-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .session-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .session-time-status {
        text-align: center;
    }
}
