body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f9fb;
    line-height: 1.6;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    color: #465ebd;
}

.navbar-brand:hover {
    color: #465ebd;
}

.navbar-nav .nav-link {
    color: #465ebd;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    text-decoration: none;
    color: gold;
}

.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.navbar-toggler-icon {
  background-image: var(--bs-navbar-toggler-icon-bg);
}


/* Hero */
.hero {
    font-size: 2rem;
    text-align: center;
    padding: 5px;
    background-color: #fff;
    color: #465ebd;
    font-weight: 300;
}

.carousel-overlay-wrapper {
  position: relative;
}

.carousel-overlay-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(70, 94, 189, 0.6);
  z-index: 2;
  pointer-events: none;
}

.carousel {
  position: relative;
  z-index: 1;
}

#heroCarousel {
  height: 420px;
}

#heroCarousel .carousel-item,
#heroCarousel img {
  height: 100%;
}

#heroCarousel img {
  object-fit: cover;
}

/* Mission/ Objectives/ Vision */
.mov{
  padding: 20px;
}
.hero-mov{
    font-size: 1.5rem;
    text-align: center;
    padding: 10px;
    color: #465ebd;
    font-weight: 600;
}


.info-card{
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    text-align: center;
}


/* Featured Blog Posts */
/* Featured Blog Section */
.featured-blogs {
    background-color: #ffffff;
}

/* Section title badge */
.section-badge {
    display: inline-block;
    background-color: #465ebd;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Blog cards */
.blog-card {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.blog-card img {
    height: 250px;
    object-fit: cover;
}

/* Meta info */
.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.blog-meta i {
    margin-right: 4px;
}

/* Blog title */
.blog-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.4;
}

/* Read more button */
.btn-read {
    background-color: #8b0000;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
}

.btn-read:hover {
    background-color: #6f0000;
    color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .blog-card img {
        height: 180px;
    }

    .section-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
}



.blog-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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




/* Podcast Section */
.podcast-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-top: 1px solid #000;
}

/* Section header */
.podcast-header {
    margin-bottom: 1.5rem;
}

.podcast-badge {
    display: inline-block;
    background-color: #465ebd;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Podcast card */
.podcast-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
}

/* Video */
.podcast-video video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Content */
.podcast-body {
    padding: 20px;
}

.podcast-body h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.podcast-author {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

/* Actions */
.podcast-actions {
    display: flex;
    gap: 10px;
}

/* Mobile responsiveness */
@media (max-width: 576px) {

    .podcast-section {
        padding: 2rem 0;
    }

    .podcast-video video {
        height: 170px;
    }

    .podcast-actions {
        flex-direction: column;
    }

    .podcast-actions .btn {
        width: 100%;
    }

}

/* Download button colour */
.btn-download {
    background-color: #465ebd;
    color: #ffffff;
    border: none;
}

.btn-download:hover {
    background-color: #384ca0;
    color: #ffffff;
}

/* Center buttons inside card */
.podcast-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Mobile behavior stays clean */
@media (max-width: 576px) {
    .podcast-actions {
        flex-direction: column;
    }

    .podcast-actions .btn {
        width: 100%;
    }
}

/* Author layout */
.podcast-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 15px;
}

.author-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 0.85rem;
    color: #555;
}

/* Mobile refinement */
@media (max-width: 576px) {
    .author-img {
        width: 24px;
        height: 24px;
    }

    .author-name {
        font-size: 0.8rem;
    }
}


/* Footer Section */
/* Footer */
.site-footer {
    background-color: #465ebd;
    font-size: 0.9rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-text {
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    text-decoration: underline;
    color: gold;
}

/* Subscribe form */
.footer-subscribe input {
    font-size: 0.85rem;
}

/* Bottom bar */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
}

/* ==================================================
About Us Section

================================================= */
.aboutus-hero-section {
    position: relative;
    background-image: url('../images/Blacksapientia-about-us-page.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 95vh;
    overflow: hidden;
}

/* Blue overlay */
.aboutus-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6); /* #465ebd at 60% */
    z-index: 1;
}

/* Any content inside should sit above overlay */
.aboutus-hero-section  {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .aboutus-hero-section {
        height: 32vh;
    }
}


/* About section */
.about-section {
    background-color: #ffffff;
}


/* Feature cards */
.about-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 18px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-card h6 {
    margin-top: 12px;
    font-weight: 600;
}

.about-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Icons */
.about-icon {
    font-size: 1.6rem;
    color: #465ebd;
}



/* About button */
.btn-about {
    background-color: #465ebd;
    color: #ffffff;
    padding: 8px 30px;
    font-weight: 600;
}

.btn-about:hover {
    background-color: #384ca0;
    color: #ffffff;
}


/* About text */
.about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .about-card {
        padding: 18px 16px;
    }

    .about-text p {
        font-size: 0.9rem;
    }
}


/* 
=====================================
Portfolio section
===================================== */
.portfolio-hero-section {
    position: relative;
    background-image: url('../images/Blacksapientia-portfolio-page.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 95vh;
    overflow: hidden;
}

/* Blue overlay */
.portfolio-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6); /* #465ebd at 60% */
    z-index: 1;
}

/* Any content inside should sit above overlay */
.portfolio-hero-section {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .portfolio-hero-section {
        height: 32vh;
    }
}

/* Portfolio section */
/* 1. Section & Layout */
.portfolio-section {
    background-color: #ffffff;
    min-height: 100vh;
}

/* 2. The Portfolio Card */
.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0; /* Subtle border for definition */
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* 3. Image Handling */
.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Keeps all cards uniform regardless of image size */
    overflow: hidden;
    line-height: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    filter: brightness(0.9);
}

/* 4. Footer & Title (Now Combined) */
.portfolio-footer {
    margin-top: auto;
    padding: 15px;
}

.portfolio-title {
    display: block;
    color: #0d0c22;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-decoration: none;
    /* Prevent long titles from breaking the grid */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 5. Author & Stats Row */
.author-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.author-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: #3d3d4e;
    font-size: 0.85rem;
    font-weight: 500;
}

.stats {
    display: flex;
    gap: 12px;
    color: #9e9e9e;
    font-size: 0.8rem;
}

.stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stats i {
    font-size: 0.85rem;
}

.like-btn:hover {
    color: #ea4c89; /* Dribbble Pink */
    cursor: pointer;
}

/* 6. Mobile Adjustments */
@media (max-width: 576px) {
    .portfolio-footer {
        padding: 10px;
    }
    .portfolio-title {
        font-size: 0.9rem;
    }
}


/* =================================
    Single Portfolio Page
================================= */

/* ===============================
   Global Styles
================================= */

body {
    background-color: #ffffff;
    color: #111111;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===============================
   Header Section
================================= */

header {
    background-color: #ffffff;
}

header h6 {
    font-size: 16px;
    margin: 0;
}

header small {
    font-size: 13px;
}


/* Author Logo */

.logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===============================
   Stats Section
================================= */

.stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.stats i {
    margin-right: 5px;
}

.like-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===============================
   Buttons
================================= */

.view-btn {
    background-color: #465ebd;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.view-btn:hover {
    background-color: #3a4fa0;
}

/* ===============================
   Main Content / Mockup Section
================================= */

.mockup-wrapper {
    background: linear-gradient(135deg, #111111 0%, #0f3d33 100%);
    border-radius: 16px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* This ensures the full image displays properly */

.blog-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* ===============================
   Responsive Adjustments
================================= */

@media (max-width: 992px) {
    .mockup-wrapper {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    header h6 {
        font-size: 14px;
    }

    .stats {
        font-size: 13px;
        gap: 10px;
    }

    .mockup-wrapper {
        padding: 20px;
        border-radius: 12px;
    }
}


/* Content Area */
.mockup-wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.mockup-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or use 'contain' if you don't want cropping */
}




/* Background & Layout */
body {
    background-color: #fff; /* Dribbble uses white for the wrapper */
}

.portfolio-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Author Avatar */
.author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Text Styling */
.availability-tag {
    color: #43a047; /* Dribbble Green */
    font-size: 13px;
    font-weight: 400;
}

.follow-link {
    font-size: 13px;
    color: #6e6d7a;
    text-decoration: none;
}

/* Action Buttons */
.btn-icon-outline {
    background: white;
    border: 1px solid #e7e7e9;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d0c22;
    transition: all 0.2s;
}

.btn-icon-outline:hover {
    border-color: #dbdbde;
    background-color: #f8f8f8;
}

.btn-get-touch {
    background-color: #0d0c22;
    color: white;
    padding: 10px 20px;
    border-radius: 50px; /* Fully rounded */
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-get-touch:hover {
    color: white;
    opacity: 0.8;
}

/* Main Image Wrapper */
.portfolio-showcase {
    padding-top: 20px;
    padding-bottom: 60px;
}

.image-container {
    background-color: #2b2b3d; /* The dark navy background from your image */
    padding: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional slight round on the mockup itself */
}


/* ==============================
     Blog Section
========================== */
.blog-hero-section {
    position: relative;
    background-image: url('../images/Blacksapientia-blog-page.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 95vh;
    overflow: hidden;
}

/* Blue overlay */
.blog-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6); /* #465ebd at 60% */
    z-index: 1;
}

/* Any content inside should sit above overlay */
.blog-hero-section {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .blog-hero-section {
        height: 32vh;
    }
}



/* ========================
    Podcast section
======================= */
.podcast-hero-section {
    position: relative;
    background-image: url('../images/Blacksapientia-podcast-page.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 95vh;
    overflow: hidden;
}

/* Blue overlay */
.podcast-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6); /* #465ebd at 60% */
    z-index: 1;
}

/* Any content inside should sit above overlay */
.podcast-hero-section {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .podcast-hero-section {
        height: 32vh;
    }
}


/* The Container */
.podcast-video {
    position: relative;
    aspect-ratio: 16 / 9;        /* Modern way - better than padding hack */
    width: 100%;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 1rem;
}

.podcast-video .podcast-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;         /* Keeps video proportions, prevents stretching */
}

/* Fallback for older browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .podcast-video {
        padding-bottom: 56.25%;   /* 16:9 fallback */
        height: 0;
    }
}



/* ================================
       E-book section
=============================== */
.ebook-hero-section {
    position: relative;
    background-image: url('../images/Blacksapientia-ebook-page.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 95vh;
    overflow: hidden;
}

/* Blue overlay */
.ebook-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6); /* #465ebd at 60% */
    z-index: 1;
}

/* Any content inside should sit above overlay */
.ebook-hero-section {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .ebook-hero-section {
        height: 32vh;
    }
}



/* E-Book section */
.ebook-section {
    background-color: #ffffff;
}

/* Header elements */
.btn-ebook {
    background-color: #465ebd;
    color: #ffffff;
    padding: 8px 26px;
    font-weight: 600;
}

.ebook-tagline {
    color: #465ebd;
    font-weight: 600;
}

/* Card */
.ebook-card {
    border: 1px solid #465ebd;
    border-radius: 4px;
    overflow: hidden;
}

/* Image area */
.ebook-image-wrap {
    padding: 20px;
    text-align: center;
}

.ebook-image {
    max-width: 100%;
    height: auto;
}

/* Price and cart */
.ebook-price-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.ebook-price {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-cart {
    background-color: #8b0000;
    color: #ffffff;
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-cart:hover {
    background-color: #6f0000;
    color: #ffffff;
}

/* Content */
.ebook-content {
    padding: 20px 24px;
}

.ebook-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.ebook-author {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.btn-about-book {
    background-color: #465ebd;
    color: #ffffff;
    padding: 6px 22px;
    font-size: 0.85rem;
}

.ebook-description {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Buy button */
.btn-buy {
    background-color: #8b0000;
    color: #ffffff;
    padding: 10px 40px;
    font-weight: 600;
    width: 100%;
}

.btn-buy:hover {
    background-color: #6f0000;
    color: #ffffff;
}
.ebook-thumb {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

/* Image column */
.ebook-image-wrap {
    padding: 20px;
    text-align: center;
    border-right: 1px solid #465ebd;
}

.ebook-thumb {
    display: block;
    margin: 0 auto;
    max-width: 90%;
}

.ebook-content {
    padding: 20px 24px;
    background-color: #ffffff;
}



@media (max-width: 767px) {
    .ebook-image-wrap {
        border-right: none;
        border-bottom: 1px solid #465ebd;
    }
}



/* Mobile adjustments */
@media (max-width: 576px) {
    .ebook-price-cart {
        flex-direction: column;
        gap: 10px;
    }

    .ebook-content {
        padding: 18px;
    }

    .btn-buy {
        width: 100%;
    }
}


/* ==============================
    Contact Us section
============================= */
.contactus-hero-section {
    position: relative;
    background-image: url('../images/Blacksapientia-contact-us-page.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 95vh;
    overflow: hidden;
}

/* Blue overlay */
.contactus-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6); /* #465ebd at 60% */
    z-index: 1;
}

/* Any content inside should sit above overlay */
.contactus-hero-section {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .contactus-hero-section {
        height: 32vh;
    }
}

/* Section */
.contact-section {
    background-color: #ffffff;
}

/* Header */
.btn-contact {
    background-color: #465ebd;
    color: #ffffff;
    padding: 8px 30px;
    font-weight: 600;
}

.contact-tagline {
    color: #465ebd;
    font-weight: 600;
}

/* Card */
.contact-card {
    border: 1px solid #465ebd;
    border-radius: 8px;
    padding: 24px;
    max-width: 1000px;
}

/* Inputs */
.contact-input {
    border: 1px solid #465ebd;
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 10px 12px;
}

/* Send button */
.btn-send {
    background-color: #465ebd;
    color: #ffffff;
    padding: 10px 50px;
    font-weight: 600;
    width: 100%;
}

.btn-send:hover {
    background-color: #384ca0;
    color: #ffffff;
}

/* Info boxes */
.info-box {
    border: 1px solid #465ebd;
    border-radius: 6px;
    padding: 15px;
}

.info-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.info-box i {
    color: #465ebd;
    margin-right: 6px;
}

/* Social buttons */
.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 6px 12px;
}

.btn-telegram {
    background-color: #0088cc;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Privacy text */
.privacy-text {
    font-size: 0.75rem;
    margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .btn-send {
        width: 100%;
    }

    .info-box {
        margin-bottom: 15px;
    }
}

/* =============================================================
 Registration And Login 
============================================================= */


.brand-title {
    font-size: 1.9rem;
    color: #1f1f70;
    text-align: center;
}

.input-group-text {
    background-color: #fff;
    border-right: none;
}

 .form-control {
    border-left: none;
}

.input:focus {
    box-shadow: none;
    border-color: #1f1f70;
}

.submit-btn {
    background-color: #3c30ac;
    border: none;
}

.submit-btn:hover {
    background-color: #000f7a;
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.6rem;
    }
}


/* ====================================
      Singleblog Page
===================================== */


/* Page Title */
.page-title {
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    position: relative;
}

.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6);
}

.page-title-content {
    position: relative;
    color: #ffffff;
}

.page-title h1 span {
    color: #e6e9ff;
}

.breadcrumb {
    background: transparent;
    margin-top: 10px;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

/* Blog Content */
.blog-single {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
}

.blog-thumb {
    margin-bottom: 20px;
}

.post-meta {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-body {
    line-height: 1.7;
}


.blog-article-card {
    border: 1px solid #dedede;
    border-radius: 16px;
    background-color: #ffffff;
    overflow: hidden;
}

.blog-image-wrap {
    margin: -1px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.blog-thumb {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 2.5rem;
}

.blog-body {
    line-height: 1.75;
    font-size: 1rem;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .blog-thumb {
        height: 260px;
    }

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

    .blog-article-card {
        border-radius: 12px;
    }

    .blog-image-wrap {
        border-radius: 12px 12px 0 0;
    }
}



/* Comments */
.comments-area {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
}

.comment-box {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
    
}


/* Comment Form */
 .comment-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    
} 

/* Sidebar */
.sidebar {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h5 {
    margin-bottom: 15px;
}

.recent-post {
    display: flex;
    gap: 10px;
    align-items: center;
}

.recent-post img {
    width: 60px;
    height: auto;
}

.recent-post a {
    text-decoration: none;
    color: #111827;
    font-size: 0.95rem;
}



body {
    background-color: #f5f6fa;
    color: #1a1a1a;
}

.page-title {
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    position: relative;
}

.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(70, 94, 189, 0.6);
}

.page-title-content {
    position: relative;
    color: #ffffff;
}

.page-title h1 span {
    color: #e6e9ff;
}
.sidebar-widget ul li {
    margin-bottom: 8px;
}

.sidebar-widget ul li a {
    text-decoration: none;
    color: #374151;
}

.sidebar-widget ul li a:hover {
    color: #465ebd;
}

.sticky-sidebar {
    position: sticky;
    top: 90px;
}
@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

.recent-post-title {
    display: block;
    text-decoration: none;
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.35;
}

.recent-post-title:hover {
    color: #465ebd;
    text-decoration: underline;
}

.blog-body img {
    width: 100%;
    height: 500px;       /* fixed height */
    object-fit: cover;   /* crops instead of stretching */
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .blog-body img {
        max-height: 200px; /* reduce on phones */
    }
}




/* ============================
       Checkout Page
============================ */
.checkout-wrapper {
    max-width: 1100px;
    margin: auto;
}

.checkout-header h5 {
    font-weight: 600;
}

.close-btn {
    font-size: 24px;
    text-decoration: none;
    color: #000;
}

.checkout-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    border: 1px solid #eee;
}

.checkout-summary {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 16px;
}

.btn-transfer {
    border: 1px solid #6f42c1;
    color: #6f42c1;
    background: #fff;
}

.btn-transfer:hover {
    background: #465ebd;
    color: #fff;
}

.btn-card {
    background: #f1f3f5;
    border: none;
}


@media (max-width: 768px) {
    .checkout-header {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================
  For Success Page & Failed Page Footer
========================================= */
/* Allow full scrolling on mobile */
html, body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
}

/* Page wrapper must never trap height */
.success-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content grows naturally */
.success-page-wrapper main {
    flex: 1 0 auto;
}

/* Footer stays below content, not over it */
.success-page-footer {
    flex-shrink: 0;
    position: static;
}

/* Card sizing for phones */
.success-card {
    width: 100%;
    max-width: 420px;
}

/* Mobile spacing fix */
@media (max-width: 576px) {
    main.container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-body p {
        font-size: 0.95rem;
    }
}


/* ======================
    For Cart Page
====================== */

/* Sticky footer layout */
.cart-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content grows when short */
.cart-page-wrapper main {
    flex: 1 0 auto;
}

/* Footer stays at bottom on large screens */
.cart-page-footer {
    flex-shrink: 0;
    position: static;
}
