
.blog-header {
    background: linear-gradient(to right,
          rgba(255, 255, 255, 1) 0%,
          rgba(255, 255, 255, 0.7) 40%,
          rgba(255, 255, 255, 0.3) 100%); /* Dark gradient */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #e0e0e0 !important;
}

/* Banner Section */
.blog-banner {
    position: relative;
    height: 320px;
    background: url('../images/blogs/1.jfif') center/cover no-repeat; /* Replace with your image */
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
          rgba(255, 255, 255, 1) 0%,
          rgba(255, 255, 255, 0.7) 40%,
          rgba(255, 255, 255, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: fadeInUp 0.6s ease forwards;
}

/* Blog Posts */
#blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Responsive grid for cards */
    gap: 20px;
}

.blog-card {
    background: #16213e; /* Dark card background */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    /*opacity: 0;*/
    padding:0!important;
    border: 1px solid #0f3460;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.6); /* Glow effect */
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.1); /* Zoom effect */
}

.blog-card .card-body {
    padding: 20px;
    color: #e0e0e0;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.blog-card .card-text {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.btn-read-more {
    background: linear-gradient(90deg, #0f3460, #16213e);
    border: 1px solid #0f3460;
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: linear-gradient(90deg, #16213e, #0f3460);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(15, 52, 96, 0.4);
}

/* Footer */
.blog-footer {
    background: #0f3460;
    color: #e0e0e0;
    padding: 20px 0;
    margin-top: 50px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    #blog-posts {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .blog-card {
        margin-bottom: 20px;
    }
    .tablecontent{
        display: none;
    }
}
/* Navbar Logo */
.navbar-logo {
    height: 40px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    max-width: 150px; /* Prevent it from being too wide */
    transition: opacity 0.3s ease; /* Subtle hover effect */
}

.navbar-logo:hover {
    opacity: 0.8; /* Slight fade on hover for interactivity */
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
    .navbar-logo {
        height: 30px; /* Smaller on mobile */
        max-width: 120px;
    }
}

/* Content Page Specific Styles */
.content-hero {
    background: 
        linear-gradient(to right,
          rgba(255, 255, 255, 1) 0%,
          rgba(255, 255, 255, 0.7) 40%,
          rgba(255, 255, 255, 0.3) 100%),
        url('../images/blogs/4.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #000;
    padding: 80px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.content-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.content-hero > * {
    position: relative;
    z-index: 2;
}

.content-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.content-meta {
    font-size: 1rem;
    opacity: 0.8;
}

/* TOC Card Container */
.toc-card {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9) 0%, rgba(15, 52, 96, 0.9) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3); /* Soft glow */
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: sticky;
    top: 80px; /* Sticks to top on scroll for better UX */
}

.toc-card:hover {
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.5); /* Intensified glow on hover */
    transform: translateY(-5px); /* Subtle lift */
}

/* Header Styling */
.toc-card h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(0, 123, 255, 0.5);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.toc-card h5 i {
    color: #00bfff;
    font-size: 1.5rem;
}

/* List Styling */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
    position: relative;
}

.toc-list a {
    color: #ddd;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toc-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00bfff, #ffffff);
    transition: width 0.3s ease;
}

.toc-list a:hover,
.toc-list a:focus {
    color: #ffffff;
    background: rgba(0, 123, 255, 0.2);
    transform: translateX(5px); /* Slide effect */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.toc-list a:hover::before,
.toc-list a:focus::before {
    width: 100%; /* Animated underline */
}

/* Active State (for current section, if using JS to add class) */
.toc-list a.active {
    color: #00bfff;
    background: rgba(0, 123, 255, 0.3);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) { /* Medium screens (tablets) */
    .toc-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    .toc-card h5 {
        font-size: 1.2rem;
    }
    .toc-list a {
        font-size: 0.95rem;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) { /* Small screens (mobile) */
    .toc-card {
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2); /* Lighter shadow for mobile */
    }
    .toc-card h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .toc-list li {
        margin-bottom: 8px;
    }
    .toc-list a {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    .toc-list a:hover {
        transform: translateX(3px); /* Reduced slide for mobile */
    }
}

.content-section h2, .content-section h3 {
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-section p, .content-section ul {
    line-height: 1.6;
    color: #1a1a2e;
}

.content-section ul {
    padding-left: 20px;
}

/* Responsive for Content Page */
@media (max-width: 991px) {
    .toc-card {
        position: static;
        margin-bottom: 20px;
    }
}

/* SECTION WRAPPER */
.custom-hero {
    position: relative;
    width: 90%;
    margin: 50px auto;
    padding: 120px 20px;
    background: linear-gradient(
        135deg,
        rgba(22, 33, 62, 0.7) 0%,
        rgba(15, 52, 96, 0.7) 100%
    ), url('../images/blogs/5.jfif') center/cover no-repeat;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3); /* Soft glow */
    animation: float 6s ease-in-out infinite; /* Floating effect */
    transition: all 0.5s ease; /* Smooth transitions for hover */
    /*opacity: 0;  For fade-in */
    transform: translateY(20px);
}

.custom-hero.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}

.custom-hero:hover {
    transform: scale(1.02) translateY(0); /* Slight scale on hover, pause floating */
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.6); /* Intensified glow */
    animation-play-state: paused; /* Pause floating on hover */
}

/* LAYOUT */
.custom-hero .row {
    align-items: center;
}

/* TITLE STYLES */
.custom-hero h1,
.custom-hero h3 {
    color: #fff;
    /*opacity: 0;*/
    /*transform: translateX(-50px);*/
    animation-fill-mode: forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: text-shadow 0.3s ease;
}

.custom-hero:hover h1,
.custom-hero:hover h3 {
    text-shadow: 0 4px 8px rgba(0, 123, 255, 0.8); /* Glow text on hover */
}

/* TEXT */
.custom-hero p {
    color: #ddd;
    opacity: 0;
    transform: translateY(50px);
    animation-fill-mode: forwards;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: text-shadow 0.3s ease;
}

.custom-hero:hover p {
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.6); /* Subtle glow on hover */
}

/* TIMING CLASSES */
.animate-right {
    animation: slideInRight 0.8s ease-out 0.4s;
}
.animate-left {
    animation: slideInLeft 0.8s ease-out 0.6s;
}
.animate-up {
    animation: slideInUp 0.8s ease-out 0.8s;
}

/* OVERLAY STYLES */
.hero-overlay {
    position: absolute;
    bottom: -100%; /* Start off-screen below */
    right: 0;
    width: 100%;
    max-width: 200px; /* Fit in window, adjustable */
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px 0 0 15px;
    padding: 10px 20px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
    transition: all 0.5s ease;
    z-index: 10;
}

.hero-overlay.animate-overlay-up {
    bottom: 20px; /* Slide up to visible position */
}

.hero-overlay:hover {
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
    transform: translateY(-5px);
}

.hero-overlay .overlay-item {
    display: flex;
    align-items: center;
    /*margin-bottom: 10px;*/
    color: #fff;
    font-size: 1rem;
}

.hero-overlay .overlay-item i {
    margin-right: 10px;
    color: #00bfff;
    font-size: 1.2rem;
}

.hero-overlay .overlay-item span {
    font-weight: 500;
}

/* KEYFRAMES */
@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-hero {
        width: 95%;
        padding: 80px 15px;
        animation: none; /* Disable floating on mobile */
    }
    .hero-overlay {
        position: static; /* Stack below on mobile */
        width: 100%;
        margin-top: 20px;
        border-radius: 15px;
    }
}

/*================== here is the slider coode css on end part ============================*/

/* Related Blogs Section */
.related-blogs {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #ffffff;
    padding: 60px 0;
}

.related-blogs h2 {
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Blog Card Styling */
.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.4);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 15px;
}

.blog-card .card-title {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card .card-text {
    color: #000000;
    font-size: 0.9rem;
}

/* Carousel Customizations */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 123, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: #00bfff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-card img {
        height: 150px;
    }
    .blog-card .card-title {
        font-size: 1rem;
    }
}
/* ===============================================================================
                CONTACT US CSS HERE STARTS 
================================================================================= */
        .contact-us-body {
            background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
            font-family: 'Space Grotesk', sans-serif;
            color: #334155;
        }
        /* Banner Section */
    .metasource-banner {
            background: linear-gradient(to right,
			rgba(255, 255, 255, 1) 0%,
			rgba(255, 255, 255, 0.7) 40%,
			rgba(255, 255, 255, 0.3) 100%), url("../images/contact-us-back.png") center / cover no-repeat;
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .metasource-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%233B82F6" opacity="0.1"/></svg>') repeat;
            opacity: 0.3;
            animation: metasource-float 20s ease-in-out infinite;
        }

        .metasource-banner-title {
            font-size: 2.8rem;
            font-weight: 700;
            color: #1E293B;
            margin-bottom: 1rem;
            animation: metasource-slideInDown 1s ease-out;
        }

        .metasource-banner-subtitle {
            font-size: 1.2rem;
            color: #000000;
            margin-bottom: 2rem;
            animation: metasource-fadeIn 1.2s ease-out;
        }

        .contact-section {
            padding: 80px 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            animation: slideInDown 1s ease-out;
        }

        .section-title span {
            color: #3B82F6;
            /* Changed to a lighter blue accent for a fresh look */
            background: linear-gradient(45deg, #3B82F6, #60A5FA);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .section-subtitle {
            font-size: 1.1rem;
            color: #64748B;
            animation: fadeIn 1.2s ease-out;
        }

        /* Cards */
        .info-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 20px;
            align-items: center;
            margin-bottom: 25px;
            transition: all 0.3s ease;
            animation: fadeUp 0.8s ease forwards;
            opacity: 0;
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
        }

        .info-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #3B82F6, #60A5FA);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            font-size: 24px;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .info-card:hover .info-icon {
            transform: scale(1.1);
        }

        .info-card h5 {
            color: #1E293B;
            margin-bottom: 0.5rem;
        }

        .info-card p {
            color: #64748B;
            margin: 0;
            line-height: 1.5;
        }

        /* Form */
        .contact-form {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            animation: fadeRight 1s ease forwards;
            opacity: 0;
        }

        .contact-form .form-control {
            height: 55px;
            border-radius: 12px;
            border: 1px solid #CBD5E1;
            transition: all 0.3s ease;
            background: #F8FAFC;
        }

        .contact-form .form-control:focus {
            border-color: #3B82F6;
            box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
            background: #fff;
        }

        .contact-form textarea {
            height: 130px;
            resize: none;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, #3B82F6, #60A5FA);
            color: #fff;
            padding: 15px;
            border-radius: 12px;
            border: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }

        .btn-primary-custom:hover {
            background: linear-gradient(135deg, #2563EB, #3B82F6);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        /* Animations */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 991px) {
            .contact-section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .info-card {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .contact-form {
                padding: 30px;
            }
        }

        @media (max-width: 767px) {
            .contact-section {
                padding: 40px 15px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .info-card {
                padding: 20px;
            }

            .contact-form {
                padding: 25px;
            }
        }

        /* Additional hover effects for interactivity */
        .info-card:nth-child(1) {
            animation-delay: 0.2s;
        }

        .info-card:nth-child(2) {
            animation-delay: 0.4s;
        }

        .info-card:nth-child(3) {
            animation-delay: 0.6s;
        }
/* ===============================================================================
                CONTACT US CSS HERE ends 
================================================================================= */

