:root {
    --primary-blue: #1a56db;
    --secondary-blue: #0e7490;
    --accent-gold: #f59e0b;
    --dark-navy: #1e293b;
    --light-gray: #f1f5f9;
}

* {
    font-family: "Libre Franklin", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Libre Franklin", sans-serif;
    overflow-x: hidden;
}

/* Top Info Bar */
.top-info-bar {
    background: linear-gradient(359deg, #122458 0%, #436fff 100%);
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

.top-info-bar a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-info-bar a:hover {
    color: #fbbf24;
    transform: translateY(-2px);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(53 89 206 / 23%);
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fbbf24;
    transform: translateY(-3px);
}

/* Header */
.main-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    /* position: sticky; */
    top: 0;
    /* z-index: 999; */
    border-top: 12px solid #c40000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 70%;
}

.donbosco-logo-img {
    width: 70px;
    height: 100px;
    object-fit: contain;
}

.header-title h1 {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    color: #1e40af;
    margin: 0;
    line-height: 1.2;
}

.header-title p {
    font-size: clamp(12px, 1.5vw, 15px);
    color: #64748b;
    margin: 5px 0 0;
}

.job-card {
    border: 1px solid #eee;
    background-color: #fff;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.btn-apply {
    background: linear-gradient(90deg, #cb9703, #9b7a02);
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.btn-apply:hover {
    background: linear-gradient(90deg, #9b7a02, #cb9703);
    transform: translateY(-2px);
    color: #fff;
}

.job-card h5 {
    font-size: 1.1rem;
    text-align: left !important;
    color: #000;
}

.job-card ul li i {
    margin-right: 6px;
    color: #6c757d;
}

.job-card .badge {
    background-color: rgb(207 156 5 / 46%) !important;
    color: #9d7b02 !important;
}

.career-guide-section {
    background: linear-gradient(135deg, #f6d36521, #fda0852e);
}

.guide-card {
    background: #fff;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.badge.bg-purple {
    background-color: #8a2be2 !important;
}

.read-link {
    color: #4e2aff;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.read-link:hover {
    color: #6a00ff;
    text-decoration: underline;
}

.guide-card h5 {
    font-size: 22px !important;
    margin-bottom: 15px;
    color: #333;
    line-height: 27px;
    text-align: left !important;
}

.guide-card p {
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Navigation */
.navbar-custom {
    background: linear-gradient(180deg, #003f9d 0%, #1d3fad 100%);
    padding: 0;
}

.navbar-custom .nav-link {
    color: white !important;
    padding: 10px 12px !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.navbar-custom .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fbbf24;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::before {
    width: 70%;
}

.dropdown-menu {
    background: #1e40af;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 0px;
    margin-top: 0;
    padding: 0;
}

.dropdown-item {
    color: white !important;
    padding: 8px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px dotted #ddd;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 30px;
}

/* Hero Slider */
.hero-section {
    position: relative;
    /* height: 650px; */
    overflow: hidden;
}


.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
}

.hero-caption h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-caption p {
    font-size: clamp(16px, 2vw, 24px);
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0023a5 0%, #059b00 100%);
    border: none;
    color: white;
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    border: 3px solid white;
    color: white;
}

.btn-hero-secondary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-5px);
}

/* Announcement Marquee */
.announcement-bar {
    background: linear-gradient(135deg, #c40000 0%, #c40000 100%);
    padding: 0px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.announcement-label {
    color: #111;
    padding: 5px;
    font-weight: 600;
}

.marquee-content {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 16px;
}

.announcement-bar marquee {
    color: #fff;
}

/* Section Styles */
.section-wrapper {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Welcome Section */
.welcome-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.welcome-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.welcome-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.welcome-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.welcome-card:hover .welcome-img-wrapper img {
    transform: scale(1.1);
}

.welcome-content h3,
.news-body h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 20px;
}

.welcome-content p,
.news-card p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #f59e0b;
    gap: 15px;
}

/* Director Message Card */
.director-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(30, 64, 175, 0.1);
}

.director-img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.director-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 10px;
}

.director-info h5 {
    font-size: 20px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 25px;
}

.director-info p {
    font-size: 16px;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 15px;
}

/* Services Grid */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 42px;
    color: white;
}

.service-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* Stats Counter */
.stats-section {
    background-image: linear-gradient(135deg, #efa500b3 0%, #3b83f6 100%),
        url(../images/home/statistics.bg.jpg);
    color: white;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.stat-icon {
    font-size: 56px;
    color: #8f4d07;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 500;
}

/* News & Events */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-body {
    padding: 25px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f59e0b;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.news-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 12px;
}


.gllery {
    width: 100%;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gallery-track {
    display: flex;
    transition: transform 1s ease-in-out;
}

.gallery-item {
    flex: 0 0 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Hover effect (optional pause) */
.gallery-wrapper:hover {
    cursor: pointer;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 70px 0 30px;
}

.footer h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px;
    line-height: 24px;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #fbbf24;
    padding-left: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.footer-social a:hover {
    background: #fbbf24;
    color: #1e40af;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

.masked-text {
    font-size: 28px !important;
    font-weight: bold;
    color: transparent;
    background-image: url('https://images.unsplash.com/photo-1732535725600-f805d8b33c9c?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: 200%;
    /* Enlarged for smooth animation */
    background-position: 0 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #2a48a8;
    animation: animate-background 5s infinite alternate linear;
}

@keyframes animate-background {
    0% {
        background-position: 0 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.logo-container h4 {
    text-align: center;
    font-size: 14px;
    color: #e23232;
}

.collapse {
    visibility: visible !important;
}

.collapse li {
    border-right: 1px solid #ffffff4d;
}

.collapse li:last-child {
    border-right: none;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: #111;
    border-radius: 50px;
    width: 35px;
    height: 36px;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.director-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.director-info {
    padding: 20px;
    text-align: center;
}

.director-info h4 {
    color: #1e3c72;
    font-size: 20px;
    margin-bottom: 5px;
}

.director-info p {
    color: #666;
    font-size: 14px;
}

.director-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.director-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Container */
.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 30px;
}

/* Content scrolling area */
.marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}


/* Continuous marquee animation */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Horizontal Layout --- */
.stats-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
    margin: 0px auto;
    justify-content: center;
}

/* Optional: hide scrollbar visually but keep scroll functionality */
.stats-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.stats-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

/* --- Stat Box Style --- */
.stat-box {
    flex: 0 0 auto;
    width: 240px;
    text-align: center;
    background: #ffffff22;
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* --- Icon, Number, Label --- */
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 1rem;
    margin-top: 5px;
    color: #fff;
}

#news {
    background: linear-gradient(135deg, #f6d36521, #fda0852e);
    padding: 60px 0;
}

.feature-section {
    background: linear-gradient(90deg, rgba(9, 9, 121, 1) 0%, rgba(9, 9, 121, 1) 50%, rgb(255, 255, 255) 50%);
}

.job-info .text-success {
    color: #fff !important;
    font-size: 24px;
}

.scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Outer scrolling container */
.scroll-content {
    display: flex;
    animation: scroll-left 25s linear infinite;
}

/* Each grid block */
.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns */
    gap: 20px;
    flex-shrink: 0;
}

/* Images inside grid */
.image-grid img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* Animation for infinite scroll */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Featured News --- */
.featured-news {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.featured-news .news-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.featured-news .news-body {
    padding: 20px;
}

/* --- Right Side Marquee --- */
.marquee-news-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 535px;
    margin: auto;
    overflow: hidden;
    border-left: 4px solid #007bff;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.marquee-news {
    transition: transform 0.8s ease-in-out;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0px 25px !important;
    border-bottom: 1px solid #eee;
    min-height: 120px;
    box-sizing: border-box;
    background: #fff;
}

.news-list-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.news-list-item h5 {
    font-size: 1rem;
    color: #222;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.news-list-item:hover h5 {
    color: #007bff;
}

/* Optional: pause when hover */
.marquee-news-wrapper:hover {
    cursor: pointer;
}

/* --- News list items --- */
.news-list-item {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item h5 {
    font-size: 20px;
    color: #1e40af !important;
    margin: 5px 0 0;
    font-weight: 600;
    transition: color 0.3s;
}

.news-list-item h5:hover {
    color: #007bff;
}

.news-date {
    font-size: 0.85rem;
    color: #777;
}

/* --- Buttons --- */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    border-radius: 6px;
    padding: 6px 14px;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: #fff;
}

.main-header .registration a {
    color: #007bff;
    font-size: 13px;
}

.main-header .registration a:hover {
    color: #111;
}

#heroCarousel img {
    width: 100%;
}

/* Welcome Section */
.welcome-section {
    background: white;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.welcome-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.welcome-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.welcome-image:hover img {
    transform: scale(1.1);
}

.welcome-text {
    flex: 1;
}

.welcome-text h3,
.registration h3,
#director-message h3,
.section-header h2 {
    color: #333;
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 700;
}

.registration hr {
    margin-bottom: 25px;
}

.registration p:hover {
    color: red;
}

.registration p {
    padding: 13px 0;
    border-bottom: 1px dotted #333;
    color: #0191da;
    font-weight: 600;
}

.welcome-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #c40000 0%, #c40000 100%);
    color: white !important;
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Director Message */
.director-section,
#dbvwaves {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.director-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.director-image {
    flex: 0 0 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.director-image img {
    width: 100%;
    height: auto;
}

.director-message {
    flex: 1;
}

.founder {
    text-align: center;
}

.founder img {
    border-radius: 8px;
}

.director-message h5 {
    color: #666;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.director-message p {
    color: #555;
    line-height: 1.8;
}

.contact-information i {
    margin-top: 8px;
}

.contact-information p {
    display: flex;
}

.footer-bottom p {
    display: inline-flex;
}

.footer-bottom a {
    color: #fbbf24 !important;
}

.footer-bottom a:hover {
    padding: 0;
    color: #fff;
}

#welcome {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f7faff 0%, #eef4ff 100%);
}

/* Particle Background */
.particle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle-bg span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(0, 123, 255, 0.15);
    border-radius: 50%;
    animation: floatUp 18s linear infinite;
    bottom: -60px;
}

/* Different shapes and timings */
.particle-bg span:nth-child(1) {
    left: 10%;
    width: 25px;
    height: 25px;
    animation-duration: 22s;
    background: rgba(255, 193, 7, 0.2);
}

.particle-bg span:nth-child(2) {
    left: 20%;
    animation-duration: 16s;
    width: 18px;
    height: 18px;
}

.particle-bg span:nth-child(3) {
    left: 35%;
    width: 30px;
    height: 30px;
    animation-duration: 25s;
    background: rgba(40, 167, 69, 0.2);
}

.particle-bg span:nth-child(4) {
    left: 50%;
    animation-duration: 18s;
    width: 12px;
    height: 12px;
}

.particle-bg span:nth-child(5) {
    left: 65%;
    width: 40px;
    height: 40px;
    animation-duration: 30s;
    background: rgba(220, 53, 69, 0.15);
}

.particle-bg span:nth-child(6) {
    left: 80%;
    width: 20px;
    height: 20px;
    animation-duration: 19s;
}

.particle-bg span:nth-child(7) {
    left: 90%;
    width: 15px;
    height: 15px;
    animation-duration: 24s;
    background: rgba(13, 110, 253, 0.1);
}

.particle-bg span:nth-child(8) {
    left: 25%;
    width: 10px;
    height: 10px;
    animation-duration: 14s;
    background: rgba(0, 0, 0, 0.1);
}

.particle-bg span:nth-child(9) {
    left: 70%;
    width: 35px;
    height: 35px;
    animation-duration: 28s;
}

.particle-bg span:nth-child(10) {
    left: 45%;
    width: 22px;
    height: 22px;
    animation-duration: 20s;
    background: rgba(255, 255, 255, 0.25);
}

/* Floating Animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) scale(1.3) rotate(360deg);
        opacity: 0;
    }
}

/* Content above particles */
#welcome .container {
    position: relative;
    z-index: 2;
}

.our-partners {
    background-image: linear-gradient(135deg, #1c3194 0%, #5bf4ffab 100%),
        url(../images/home/partners-bg.png);
    color: white;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.training-updates {
    background-image: linear-gradient(135deg, #496df1b0 0%, #ffa854d4 100%),
        url(../images/home/training-update-bg.jpg);
    color: white;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.department-section {
    position: relative;
    overflow: hidden;
    background: #f9fafc;
}

.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.upcoming-event {
    height: 1130px;
    /* adjust as you need */
    overflow: hidden;
    position: relative;
}

.upcoming-event ul {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scroll-up 25s linear infinite;
}

.upcoming-event li {
    margin: 0;
}

.upcoming-event img {
    width: 100%;
    display: block;
}

/* Infinite scroll animation */
@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* ==== Gradient Blobs ==== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: floatBlobs 18s ease-in-out infinite alternate;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, #b7ff9a, #fad0c4);
    top: -10%;
    left: -15%;
}

.blob2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at center, #a1c4fd, #c2e9fb);
    bottom: -10%;
    right: -10%;
    animation-delay: 3s;
}

.blob3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, #fbc2eb, #a6c1ee);
    top: 50%;
    left: 30%;
    animation-delay: 6s;
}


@keyframes floatBlobs {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-40px) scale(1.1);
    }
}

/* ==== Rising Sparks ==== */
.spark {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 28, 244, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 26, 217, 0.8);
    bottom: 0;
    animation: riseSparks 8s linear infinite;
}

.spark1 {
    left: 10%;
    animation-delay: 0s;
}

.spark2 {
    left: 20%;
    animation-delay: 2s;
}

.spark3 {
    left: 30%;
    animation-delay: 3s;
}

.spark4 {
    left: 40%;
    animation-delay: 4s;
}

.spark5 {
    left: 50%;
    animation-delay: 5s;
}

.spark6 {
    left: 60%;
    animation-delay: 6s;
}

.spark7 {
    left: 70%;
    animation-delay: 2s;
}

.spark8 {
    left: 80%;
    animation-delay: 5s;
}

.spark9 {
    left: 90%;
    animation-delay: 8s;
}

.spark10 {
    left: 100%;
    animation-delay: 5s;
}

@keyframes riseSparks {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-120vh) scale(1.2);
        opacity: 0;
    }
}

.footer .fa-angles-right {
    font-size: 12px;
}

.department-section .container {
    position: relative;
    z-index: 2;
}

.feature-section {
    padding: 40px 0;
}

.job-opening img {
    height: auto;
    width: 100%;
}

.job-opening {
    padding-top: 50px;
}

#news .carousel-inner {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* === Job Openings Section === */
.job-section .section-title {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
}

.job-card {
    border-top: 1px solid #ddd;
    padding: 25px 0;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.job-card:first-child {
    border-top: none;
}

.job-info h5 {
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.job-meta {
    color: #fff;
    font-size: 14px;
}

.list-unstyled li {
    line-height: 27px;
}

.shadow-sm {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px !important;
}

.btn-apply {
    background-color: #f47b20;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #d86816;
    transform: scale(1.05);
}

/* === Upcoming Events Section === */
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-content h5 {
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
}

.event-content p {
    color: #555;
    font-size: 15px;
    margin-bottom: 15px;
}

.btn-readmore {
    color: #f47b20;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-readmore:hover {
    color: #d86816;
    text-decoration: underline;
}

.header-left .btn-reg {
    border: 1px solid #1e3c72;
    color: #1e3c72;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 3px;
    display: inline-block;
    transition: 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.header-left .btn-reg:hover {
    background: linear-gradient(135deg, #ffb700, #ffdd55);
    background-position: right top;
    color: #000;
    transition: background 0.5s ease-in-out, color 0.3s ease;
}

.header-left .social-icons .social-icon {
    color: #004aad;
    font-size: 16px;
    margin: 0 6px;
    transition: 0.3s;
}

.header-left .social-icons .social-icon:hover {
    color: #ffb700;
}

/* Sub Pages Design */
.breadcrumb-section {
    background-image: linear-gradient(135deg, #1c3194 0%, #5bf4ffab 100%),
        url(../images/home/partners-bg.png);
    color: #fff;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
}

.breadcrumb-section h1 {
    font-size: clamp(32px, 4vw, 35px);
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: #fff;
    content: var(--bs-breadcrumb-divider, "»");
}

.breadcrumb-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

.breadcrumb-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
}

.breadcrumb-item a {
    color: #ffc107;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
}

.news-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.news-img {
    width: 280px;
    object-fit: cover;
    height: 100%;
}

.news-content {
    padding: 20px 25px;
    flex: 1;
}

.news-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e3c72;
}

.news-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
    color: #0056b3;
}

.pagination-center {
    margin: 0 auto;
    display: table;
}

.subpage h2 {
    color: #1e3c72;
    font-size: 35px;
    margin-bottom: 20px;
}

/* News & Events */
.news-events-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h4 {
    color: #1e3c72;
    font-size: 20px;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Upcoming Events */
.upcoming-events {
    background: white;
}

.event-banner {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-date {
    background: #dff5ff;
    color: #1e3c72;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 18px;
    font-weight: 600;
}

.event-details h4 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-meta {
    font-weight: 100;
}

.event-details p {
    font-size: 16px;
    margin: 0;
}

.job-card .fw-bold {
    color: #333;
}

/* ===== Testimonial Section ===== */
.testimonial-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.testimonial-section h2 {
    font-weight: 700;
    color: #003366;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid #f47b20;
}

.testimonial-text,
.guide-card .text-muted {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-name {
    font-weight: 600;
    color: #003366;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 14px;
    color: #888;
}

.carousel-indicators [data-bs-target] {
    background-color: #f47b20;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown-toggle::after {
        transform: rotate(180deg);
        transition: 0.3s;
    }

    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(0deg);
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-apply {
        margin-top: 10px;
    }

    .featured-news .news-img {
        height: 250px;
    }

    .marquee-news-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .row.g-4 {
        flex-direction: column;
    }

    .text-end {
        text-align: left !important;
    }

    .logo-img {
        width: 100%;
    }
}
.welcome-text h3, .registration h3, #director-message h3, .section-header h2 {
    color: #333;
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 700;
    margin-top: 20px;
}
/* Responsive */
@media (max-width: 600px) {
    .stat-box {
        width: 200px;
        padding: 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {

    .director-card {
        padding: 30px 20px;
    }

    .director-img {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }

    .stat-box {
        margin: 0px auto 15px;
    }

    .section-wrapper {
        padding: 60px 0;
    }

    .masked-text {
        font-size: 19px !important;
    }

    .logo-container {
        display: ruby-text;
    }

    .m-hidden {
        display: none;
    }

    .donbosco-logo-img {
        width: 55px;
    }

    .upcoming-event {
        height: 500px;
    }

    .welcome-content,
    .director-card,
    .stats-scroll-wrapper {
        display: contents;
    }

    .welcome-image,
    .director-image {
        margin-bottom: 20px;
    }

    .director-message h3,
    .director-message h5 {
        text-align: center;
    }

    .footer-bottom p {
        display: block;
    }

    .news-item {
        flex-direction: column;
    }

    .news-img {
        width: 100%;
        height: 200px;
    }

    .logo-container h4 {
        font-size: 11px;
    }

    .feature-section {
        background: linear-gradient(90deg, rgba(9, 9, 121, 1) 0%, rgba(9, 9, 121, 1) 50%, rgb(9 9 121) 50%);
    }
}
.announcement-label img{
    display: inline-block;
}

/* Subpage Breadcrumb */
.breadcrumb{
        background: linear-gradient(90deg, rgb(133 130 130 / 70%) 0%, rgb(163 171 161 / 82%) 35%, rgb(255 255 255 / 0%) 100%), url(../images/b6.png);
    background-position: 0px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 40px;
    padding-top: 30px;
    margin-top: -18px;
  }
.breadcrumb h2{
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  margin-top: 20px;
  margin-left: 0px;
  margin-bottom: 5px;
}
.breadcrumb li{
  display: ruby;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin-left: 0px;
  padding: 0px !important;
}
.breadcrumb ul{
    text-align: center;
}
.color{
 color:#002147; 
}
.bg-light {
    --bs-bg-opacity: 1;
    background-color: #fff!important;
}
.subpage{
  margin-top: 80px;
  margin-bottom: 50px;
}
@media (min-width: 1536px) {
    .subpage .container {
        max-width: 1280px !important;
    }
}
p {
  margin-top: 15px !important;
  /* text-align: justify !important; */
}
.announcement{
    display: ruby-text;
}
.career-guide h4{
    font-size: 23px;
    margin-top: 15px !important;
    margin-bottom: 20px;
    color: #183faa;
    font-weight: 600;
}
h4{
    font-size: 23px !important;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    color: #183faa;
    font-weight: 600 !important;
}
.common-button {
    display: inline-block;
    padding: 5px 10px;
    background: #8b1212;        /* Button background color */
    color: #fff !important;                /* Text color */
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.common-button:hover {
    background: #183faa;       /* Darker on hover */
    color: #fff !important;
    text-decoration: none;
}
.career-guide p{
    margin-bottom: 10px;
}
.team-bio{
    text-align: center;
}
.team-bio h5{
    font-size: 25px;
    color: #1b3fac;
    font-weight: 600;
}
.team-bio h5:hover{
    font-size: 25px;
    color: #8b1212;
    font-weight: 600;
}
.go-back-btn {
    background-color: #007bff !important; /* Your color */
    color: #fff !important;
    padding: 6px;
    border-radius: 5px;
}
.go-back-btn:hover {
    background-color: #8b1212 !important;
}
h5{
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    margin-top: 20px !important;
    color: #173faa;
}
.center{
    text-align: center !important;
}
.tiptap-content-one > p{
    /* display: flex; */
    /* gap: 5px;
    height: auto; */
}
.tiptap-content-one p:has( img + a ){
    display: flex;
    gap: 5px;
    height: auto;
}
.tiptap-content-one p:has( img ){
    display: flex;
    gap: 5px;
    height: auto;
}
/* .tiptap-content-one p:has( img ){
    display: inline-block;
    gap: 5px;
    height: auto;
} */
.tiptap-content-one p:has (img){
    width: 20px !important;
    height: 100%;
}
.tiptap-content-one > h4{
display: flex;
    gap: 5px;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #007188;
}
.dropdown-menu .child {
    position: absolute;
    top: 0;
    left: 100%;
}
a{
    color: #0a55c2 !important;
}
h3{
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #2A3A63;
    margin-top: 20px !important;
}
.subpage ul li{
    list-style: disc;
    margin-left: 35px;
}
.news-title h5{
    text-align: left !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    margin-top: 20px !important;
}
.subpage img{
    height: fit-content !important;
}
marquee a{
    color: #fff !important;
}
thead, th
{
    background-color: #007188 !important;
    color: #fff !important;
}
.footer-mail-space{
    margin-top: -15px !important;
}
.registration a:hover{
    color: #c40000 !important;
}
.breadcrumb ul li a{
    color: #fff !important;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    /* line-height: 1.5; */
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid #00000059;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
}
/*.guide-card a{*/
/*    font-size: 16px !important;*/
/*}*/