body {
    background: var(
        --bg-light-gradient
    ); /* Slight blur/transparency matching your bg */
}

ul {
    padding: 0;
    margin-bottom: 0;
}

.site-top-2 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(72, 101, 236, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030; /* Higher than other content */
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    font-weight: 300;
    transition: all 0.1s ease-in-out;
}

.nav-item a:hover {
    color: #4c63ed;
}

.default {
    color: var(--text-muted);
}

.active {
    color: #4c63ed;
}

.dropdown-menu {
    display: none;
    top: 30px;
    position: absolute;
    background: #fff;
    list-style: none;
    padding: 10px 5px;
    border-top: 2px solid #4c63ed;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.dropdown-item {
    padding: 12px 20px;
    font-size: 15px;
    color: #444;
    transition: all 0.3s ease;
    border-bottom: 1px solid #3d3f47;
}

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

.dropdown-item:hover {
    background-color: rgba(72, 101, 236, 0.05);
    color: #4865ec;
    padding-left: 25px;
}

.dropdown-item.active {
    background-color: #4865ec;
    color: #ffffff;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 60px;
    width: auto;
}

.brand-name {
    font-family: "Ramaraja", serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Contact Widgets */
.contact-widget {
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-icon {
    font-size: 1.2rem;
    font-weight: bolder;
    color: var(--color-primary-blue);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.value {
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-quote-box {
    /* Shape & Background */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 5px; /* Makes it a perfect pill shape */
    padding: 8px 32px; /* Adjusted for a better aspect ratio */

    /* Typography */
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;

    /* Interaction */
    cursor: pointer;
    border: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 101, 236, 0.3);
}

.btn-quote-box a {
    text-decoration: none;
    color: var(--white);
}

.btn-quote-box:hover {
    transform: translateY(-2px);
    /* Gives the illusion of a brightening gradient */
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(72, 101, 236, 0.4);
}

.btn-quote-box:active {
    transform: translateY(0);
}

/* Sticky Header logic */
.site-top-2 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(72, 101, 236, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030; /* Higher than other content */
}

/* Align navigation links */
.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link.active {
    color: #4c63ed !important;
}

/* Fix for mobile dropdown styling */
@media (max-width: 991px) {
    .btn-quote-box {
        width: 100%;
        margin-top: 15px;
    }

    .brand-name {
        font-size: 0.85rem;
    }
}

/* Keep your brand styles */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo img {
    height: 50px;
    width: auto;
}

:root {
    --bg-light-gradient: linear-gradient(180deg, #f1f5fd 0%, #edf0fc 100%);
    --bg-primary-dark: #0f1115;
    --bg-secondary-dark: #1a1d23;

    /* Brand Gradients */
    --gradient-primary: linear-gradient(90deg, #4865ec 0%, #9858f3 100%);

    /* Solid Colors */
    --color-primary-blue: #4865ec;
    --color-primary-purple: #9858f3;
    --text-main: #1a1a1a; /* For light mode readability */
    --text-muted: #8388ad;
    --white: #ffffff;
}

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.border-gradient {
    border: 2px solid transparent;
    background-image:
        linear-gradient(#f1f5fd, #f1f5fd), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center; /* Vertically centers the content */
    overflow: hidden;
    padding: 100px 0;
    /* Using background properties for better control */
    background-image: url("/frontend/images/banner/hero-banner.png");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    max-width: 100%;
}

.hero-content-container {
    margin-left: 5rem;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.btn-primary-custom:hover {
    color: white;
}

.btn-outline-custom {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    position: relative;

    /* The Gradient Border Trick */
    border: 2px solid transparent;
    background-image:
        linear-gradient(#f1f5fd, #f1f5fd), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover,
.btn-primary-custom:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- Desktop & Tablet Adjustments --- */
@media (max-width: 1200px) {
    .hero-content-container {
        margin-left: 2rem; /* Reduce large margin on smaller desktops */
    }
}

/* --- Tablet & Large Phones --- */
@media (max-width: 991px) {
    .hero-section {
        min-height: 60vh;
        background-attachment: scroll; /* Fixed backgrounds are buggy on mobile */
        background-position: center; /* Center the image when the side view is too narrow */
        padding: 80px 0;
        text-align: center;
    }

    .hero-content-container {
        margin-left: 0; /* Center content on mobile */
        padding: 0 20px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%; /* Full width buttons for easier tapping */
        max-width: 300px;
        margin-right: 0 !important;
    }
}

/* --- Small Phones --- */
@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem; /* Shrink large titles */
    }

    .service-card {
        margin-bottom: 20px; /* Space out cards when stacked */
    }

    .card-body-custom {
        padding: 20px;
    }
}

/* --- Utility for Service Grid --- */
.row.gy-4 {
    --bs-gutter-y: 1.5rem; /* Ensure vertical spacing between cards when they wrap */
}

/* Service Cards */

.title-underline {
    width: 60px; /* Width of the line */
    height: 4px; /* Thickness */
    background: var(--gradient-primary); /* Uses your blue-to-purple gradient */
    margin: 15px auto 0; /* Centers it (auto) and adds space from the text */
    border-radius: 10px; /* Rounds the edges for a modern look */
    position: relative;
}

/* Optional: Add a decorative "dot" or secondary line for extra detail */
.title-underline::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 4px;
    background: var(--gradient-primary);
    right: -15px; /* Places a small dot to the right */
    border-radius: 50%;
    opacity: 0.6;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background: var(--secondary-dark);
    border-radius: 20px;
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 10px;
    height: 100%;
}

/* .service-card:hover {
   border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-clip: padding-box, border-box;
} */

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
}

.card-body-custom {
    padding: 30px;
}

.card-body-custom h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    /* color: var(--white); */
}

.card-body-custom p {
    /* color: var(--text-gray); */
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

/* CTA Section Layout */
.cta-banner {
    position: relative;
    padding-bottom: 60px;
}

.cta-box {
    background-image: url("/frontend/images/icon/sub-banner.png");
    background-size: cover;
    background-position: center;
    padding: 50px 60px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    z-index: 2; /* Sits above the star if needed */
}

.cta-box h2 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

/* The "Request a Quote" Button */
.btn-light-custom {
    background: var(--white);
    padding: 14px 35px;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-decoration: none;
}

.btn-light-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Decorative Star Positioning */
.cta-star-deco {
    position: absolute;
    width: 150px !important;
    right: -66px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: auto;
    z-index: 10;
    pointer-events: none; /* User can click through the star */
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .cta-box h2 {
        margin-bottom: 25px;
        font-size: 1.5rem;
    }
    .cta-star-deco {
        display: none; /* Hide decoration on small screens to save space */
    }
}

.main-footer {
    padding-top: 80px;
    color: #5d6778;
    font-family: "Fira Sans", sans-serif;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    width: 40px;
    margin-right: 10px;
}

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Newsletter Styles */
.subscribe-form {
    display: flex;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.subscribe-form .form-control {
    border: none;
    background: transparent;
    padding: 10px 15px;
}

.btn-subscribe {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 10px 20px;
    transition: 0.3s;
}

.btn-subscribe:hover {
    opacity: 0.9;
    color: var(--white);
}

/* Contact List Styles */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-text strong {
    display: block;
    color: #1a1a1a;
    font-size: 1rem;
}

.contact-text p {
    margin: 0;
    font-size: 0.9rem;
}

/* News Items */
.footer-news-item {
    margin-bottom: 20px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-news-item p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-news-item a {
    text-decoration: none;
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #8e94a5; /* Gray background for icons as seen in screenshot */
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: 0.3s;
    text-decoration: none;
}

/* .social-links a:hover {
    background: var(--gradient-primary);
} */

.copyright a {
    color: var(--text-muted);
    text-decoration: underline;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    /* Hide by default, show via JS or keep static if preferred */
    display: block;
}

#back-to-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(72, 101, 236, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

#back-to-top .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(72, 101, 236, 0.3);
    background-color: var(--white);
}

/* Optional: Pulse effect around the button */
#back-to-top::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 2px solid var(--color-primary-blue);
    z-index: -1;
    opacity: 0;
}

.accent-line {
    width: 50px;
    height: 3px;
    background: var(--color-primary-blue); /* Example brand color */
    margin-bottom: 20px;
}

.text-accent {
    color: var(--color-primary-blue);
}

.heading-accent {
    width: 60px;
    height: 2px;
    background-color: #ff5757;
    margin-bottom: 10px;
}

.cat-banner {
    min-height: 35dvh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}
.bg-nofixed {
    background-attachment: unset !important;
}

.cat-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Fluid typography */
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-transform: capitalize;
}

@media (max-width: 991px) {
    .cat-banner {
        background-size: cover;
        background-position: right;
        background-attachment: scroll;
        min-height: 300px;
    }

    .cat-heading {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cat-title {
        font-size: 2.5rem;
    }
}

/* Breadcrumb Styling */
.cat-breadcrumb {
    display: inline-block;
    padding: 15px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.cat-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.cat-breadcrumb a:hover {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cat-breadcrumb .separator {
    margin: 0 10px;
    color: #ced4da;
}

/* --- Article Grid Section --- */
.service-list {
    padding: 100px 0;
    background-color: #fff;
}

.list-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d121c;
}

.list-title-divider {
    width: 80px;
    height: 1px;
    margin: 20px auto 40px auto;
    background: linear-gradient(
        90deg,
        rgba(200, 200, 200, 0) 0%,
        rgba(200, 200, 200, 1) 50%,
        rgba(200, 200, 200, 0) 100%
    );
    border: none;
}

/* The Article Card */
.article-card {
    border: none;
    background-color: #fcfdfe;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

.article-card-body {
    padding: 25px;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0d121c;
    margin-bottom: 15px;
}

.article-excerpt {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* "Read More" Link */
.link-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-blue);
    text-decoration: none;
}

.link-more:hover {
    text-decoration: underline;
}

/* --- Sidebar Styling --- */
.sidebar-card {
    background: var(--white);
    border-radius: 5px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
}

@media (max-width: 991px) {
    .sidebar-card {
        display: none;
    }
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 4px solid var(--color-primary-blue);
}

.popular-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #eee;
    color: var(--text-muted);
}

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

.popular-thumb img {
    width: 76px;
    height: 100px;
    object-fit: cover;
}

.popular-details .post-date {
    font-size: 0.6rem;
    display: block;
    margin-bottom: 5px;
}

.popular-details .post-title {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.post-title a {
    color: var(--text-main);
}

.popular-details .post-author {
    font-size: 0.7rem;
    color: #999;
}

/* --- News Horizontal Card --- */
.news-horizontal-card {
    background: var(--white);
    border-radius: 5px;
    display: flex;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.news-card-image {
    width: 35%;
    min-width: 280px;
    padding: 20px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps the certificate/document look */
}

.news-card-content {
    width: 65%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.news-title a {
    color: #000;
    text-decoration: none;
}

.news-excerpt {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .news-horizontal-card {
        flex-direction: column;
    }

    .news-card-image {
        width: 100%;
        padding: 0;
    }

    .news-card-content {
        width: 100%;
    }
}
/* --- Read More Button --- */
.btn-read-more {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 500;
    width: fit-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.btn-read-more:hover {
    text-decoration: none;
    opacity: 0.9;
    color: var(--white);
}

/* --- Article Detail Card --- */
.detail-article-card {
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-header-image img {
    object-fit: cover; /* Professional look for certificates/documents */
    background: #f8f9fa;
    /* padding: 20px; */
}

.article-body {
    padding: 40px;
}

.entry-title-main {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
}

.entry-content-full {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

/* --- Metadata Elements --- */
.badge-date {
    background: rgba(72, 101, 236, 0.1);
    color: var(--color-primary-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
}

.author-tag {
    font-size: 0.9rem;
    color: #999;
}

/* Typography & Titles */
.section-title-clean {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #000;
}

.contact-description {
    color: #888;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* Info List Styling */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.2rem;
    color: var(--color-primary-blue); /* Your brand blue */
    margin-right: 20px;
    margin-top: 5px;
}

.info-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Minimal Form Styling */
.form-control-minimal {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--text-main);
    border-radius: 4px;
    background-color: transparent;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control-minimal:focus {
    background: transparent;
    border-color: var(--color-primary-blue);
    outline: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Gradient Button from Reference */
.btn-gradient-submit {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.btn-gradient-submit:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* --- Text Styles --- */
.sub-tag {
    color: #8a70ff;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.main-title {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    color: #000;
}

.text-gradient {
    background: linear-gradient(90deg, #5c6cf2 0%, #a361ff 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.heading-accent-line {
    width: 60px;
    height: 3px;
    background: var(--color-primary-blue);
    margin-top: 15px;
}

.about-container {
    position: relative;
}

.about-text-content {
    position: absolute;
    top: 15%;
    left: 10%;
}

.about-container img {
    width: 100%;
    height: 100%;
}

.about-text-content p {
    max-width: 500px;
}

/* --- Card Styles --- */
.vision-card {
    position: relative;
    height: 450px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    overflow: visible;
    margin-top: 30px;
}

.white-style {
    background: var(--white);
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.white-style::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/frontend/images/vision_mission.jpg");
    background-size: cover;
    background-position: center right;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    z-index: -1;
}

.white-style::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.white-style:hover {
    color: var(--white);
    border-color: transparent;
}

.white-style:hover::before,
.white-style:hover::after {
    opacity: 1; /* Reveals both the image and the tint on hover */
}

.card-icon-float {
    position: absolute;
    top: -2%;
    left: 40px;
    width: 100px;
    height: 100px;
    z-index: 5;
}

.card-icon-float img {
    width: 100%;
    height: 100%;
}

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

.card-body-content h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.card-body-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}
