/*contact sectio n*/

.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.fhead {
    font-size: 38px !important;
}

.contact-form-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.input-group-text {
    background-color: transparent;
    border-right: 0;
}

.form-control {
    /*border-left: 0;*/
}

.input-group .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
    /* default bootstrap border color */
}

.btn-submit {
    background: #1c265b;
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
    width: 100%;
    padding: 12px;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background: #2a3c8a;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.captcha-question {
    font-weight: bold;
    color: #555;
}

/* --- ADDED --- */
.contact-info-icon {
    background-color: #1c265b !important;
    /* Use your theme's accent color */
    color: #ffffff;
    border-radius: 8px;
    /* Match your theme */
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info-link {
    text-decoration: none;
    color: inherit;
}

.contact-info-link:hover {
    color: #0056b3;
    /* Use your theme's hover color */
}

/* --- END ADDED --- */

/* === Premium & Responsive Banner CSS === */

.sp-btn {
    background: #1c265b;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 200px;
    border: none !important;
}

.sp-btn:hover {
    color: white;
    background: #2a3c8a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* --- Adds "Breathing Room" to the Whole Banner --- */
.breadcrumb-img {
    padding-top: 120px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
}

/* On mobile, we reduce the padding so it's not too big */
@media (max-width: 767px) {
    .breadcrumb-img {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sm-lng {
        margin-bottom: 15px;
        padding-left: 15px;
    }
}

.breadcrumb-img .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Sits *behind* the text (which is z-index: 2) */

    /* This gradient is more "premium" than a solid color.
      It's darker at the bottom and lighter at the top.
    */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.breadcrumb-img .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-img .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-img .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
    /* Slightly dimmer white */
    content: var(--bs-breadcrumb-divider, '/');
}

@media (max-width: 767px) {
    .breadcrumb-img .font-1 {
        font-size: 2.25rem;
        /* Adjust as needed */
    }

    .fs-4 {
        font-size: 18px !important;
    }

    .breadcrumb-img .breadcrumb-item.active {
        display: inline-block;
        max-width: 220px;
        /* Adjust width as needed */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
        /* Aligns it neatly with the "Home" icon/link */
    }

    /* Optional: Hides the "Blog" link on mobile to save space */
    .breadcrumb-img .breadcrumb-item:nth-child(2) {
        display: none;
    }
}

.blog-section .blog-sidebar .widget {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-section .blog-sidebar .widget-title {
    background-color: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-section .blog-sidebar .widget-body {
    max-height: 21rem;
    overflow-y: auto;
}



.blog-section .blog-content-area {
    margin-top: 3rem;
}

.blog-section .blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-section .blog-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.blog-section .blog-content {
    margin-top: 2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.blog-section .blog-content p {
    margin-bottom: 1rem;
}

.blog-section .blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-section .blog-content a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px dotted #007bff;
}

.blog-section .list-group-flush>.list-group-item {
    padding: 1rem;
}

/* Apply styles when the item is active OR when it is hovered */
.list-group-item.active,
.list-group-item:hover {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: #1c265b;
    border-color: #1c265b;
}

.blog-section .blog-content a:hover {
    color: #0056b3;
    border-bottom-style: solid;
}

.blog-section .blog-content figure.table {
    display: block;
    overflow-x: auto;
}

/*
=========================================
BLOG CONTENT STYLING
=========================================
*/

/* Main container for the article content */
.blog-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #343a40;
    /* Dark gray for better readability than pure black */
    font-size: 1.1rem;
    /* Slightly larger base font size */
    line-height: 1.7;
    /* Generous line spacing for easy reading */
}

/* --- Typography --- */

/* Headings (h2, h3, h4) */
.blog-content h2,
.blog-content h3,
.blog-content h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    /* Less space below to connect with content */
    color: #002345;
    /* A darker shade for headings */
}

.blog-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e9ecef;
    /* Subtle separator for main headings */
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.75rem;
}

.blog-content h4 {
    font-size: 1.4rem;
}

/* Paragraphs */
.blog-content p {
    margin-bottom: 1.5rem;
}

/* Links */
.blog-content a {
    color: #007bff;
    /* A standard, accessible blue */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 123, 255, 0.2);
    transition: all 0.2s ease-in-out;
}

.blog-content a:hover {
    color: #0056b3;
    background-color: rgba(0, 123, 255, 0.1);
    border-bottom-color: #007bff;
}

/* --- Lists (Refined Version) --- */

/* General list container styling */
.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    /* Indentation for the list */
}

/* General list item styling */
.blog-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    color: #486683;
    line-height: 29px;
}

/* --- Unordered Lists (ul) --- */
.blog-content ul {
    list-style-type: disc;
    /* The classic solid circle bullet • */
}

.blog-content ul ul {
    list-style-type: circle;
    /* An open circle for the second level ° */
}

.blog-content ul ul ul {
    list-style-type: square;
    /* A square for the third level ▪ */
}


/* --- Ordered Lists (ol) --- */
.blog-content ol {
    list-style-type: decimal;
    /* 1, 2, 3 */
}

.blog-content ol ol {
    list-style-type: lower-alpha;
    /* a, b, c */
}

.blog-content ol ol ol {
    list-style-type: lower-roman;
    /* i, ii, iii */
}

/* --- Media --- */

/* Images */
.blog-content img,
.blog-img {
    width: 100%;
    max-height: 32rem;
    /* Essential for responsiveness */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 8px;
    /* Soft, modern rounded corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* --- Tables --- */

/* Table Wrapper for Responsiveness */
.blog-content .table-responsive-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

/* Table Styling */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.blog-content th,
.blog-content td {
    padding: 0.8rem 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: top;
}

.blog-content th {
    background-color: #f8f9fa;
    font-weight: 700;
}

/* Zebra-striping for better readability */
.blog-content tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

/* --- Other Elements --- */

/* Blockquotes for highlighting text */
.blog-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 5px solid #007bff;
    background-color: #f8f9fa;
    font-style: italic;
    color: #6c757d;
}

/* Horizontal Rule for dividers */
.blog-content hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

/*-------------------blog cardd*/
/* General styles for the news section */
.news-section {
    background-color: #f8f9fa;
    /* A light grey background for the section */
}

/* Styling for the card */
.news-card {
    border-radius: 15px;
    /* Rounded corners for a modern look */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Ensures the image respects the rounded corners */
}

.news-card:hover {
    transform: translateY(-10px);
    /* Lifts the card on hover */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    /* Adds a more pronounced shadow */
}

/* Card image styling */
.news-card-img {
    height: 17rem;
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
    /* Slightly zooms the image on hover */
}

/* Card body content alignment */
.card-body {
    padding: 1.5rem;
}

.card-title a {
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #0d6efd !important;
    /* Changes title color on hover */
}

/* Button styling */
.btn-primary {
    background-color: #B53773;
    border-color: #B53773;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    /* Pill-shaped button */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.sticky-top {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

/*---------------------------about-----------*/

/* Hero Section Styles */
.hero-section {
    /* --- THIS IS THE NEW BACKGROUND CODE --- */
    background-size: cover;
    /* Cover the entire section */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;

    color: #ffffff;
    /* Make all text inside white */
    padding: 100px 0;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e0e0e0;
    /* Slightly off-white for the subtitle */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles - Adjusted for the dark background */
.btn-primary {
    background-color: #00a9a9;
    border-color: #00a9a9;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00c2c2;
    border-color: #00c2c2;
}

/* This was btn-outline-secondary, now it's btn-outline-light */
.btn-outline-light {
    color: #ffffff;
    border-color: #ffffff;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #0d4c4a;
    /* Text color changes to dark teal on hover */
}

/* Image Style */
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    /* Optional: add a subtle border to make it pop */
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.colorsoftp {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    /* Softer than pure black */
}

.lg-btnnont{
    display: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .lg-btnnont{
        display: block;
    }

    .main-slides-item {
        padding-top: 50px !important;
        height: 27rem;
        padding-bottom: 50px !important;
    }

    .rth-top-area {
        display: none !important;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-buttons .me-2 {
        margin-right: 0 !important;
    }
}

@media(max-width:888px) {
    .top-nav {
        display: none;
    }
}

.breadcrumb-img {
    background-position-y: top;
}

/*----------------------------------faq--------*/

/* --- The Modern Card --- */
.modern-feature-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    position: relative;
    border: 1px solid #eef2f8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.1);
    /* Shadow gets stronger and colored on hover */
    border-color: #0d6efd;
}


/* --- The Overlapping Icon --- */
.modern-feature-card .card-icon {
    position: absolute;
    top: -25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
    transition: all 0.3s ease;
}

.modern-feature-card:hover .card-icon {
    transform: scale(1.1) rotate(-10deg);
}

/* --- Card Content --- */
.modern-feature-card .card-content {
    padding-top: 30px;
}

.modern-feature-card .card-content h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #222;
}

.modern-feature-card .card-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}