/* ==========================================================================
   Theme Enhancement Layer — Shyam Lal Sahu / Bolbum Bima Deals
   Brings the site's colors in line with the BBD logo (blue + green leaf)
   and gives the key public sections (About, Gallery, Videos, Testimonials,
   tables) a cleaner, more professional finish.
   Loaded last on purpose so it can safely refine the base template.
   ========================================================================== */

:root {
    --brand-blue: #00529c;
    --brand-blue-dark: #003b73;
    --brand-blue-light: #1e78c2;
    --brand-green: #3fa346;
    --brand-gold: #ffcb09;
    --ink: #1f2d3a;
    --muted: #6b7684;
    --card-radius: 14px;
    --shadow-sm: 0 2px 10px rgba(15, 35, 60, 0.08);
    --shadow-md: 0 10px 30px rgba(15, 35, 60, 0.12);
    --shadow-lg: 0 18px 45px rgba(15, 35, 60, 0.18);
}

/* -------------------------------------------------------------------- */
/* Header / logo                                                        */
/* -------------------------------------------------------------------- */

.main-header {
    box-shadow: 0 1px 0 rgba(0, 82, 156, 0.08);
}

.main-header .header-top {
    position: relative;
    border-bottom: 1px solid #eef1f4;
}

.main-header .header-top:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-light) 55%, var(--brand-green) 100%);
}

.main-header .header-top .main-logo {
    display: flex;
    align-items: center;
    min-height: 104px;
    margin-left: 14px;
}

.main-header .header-top .main-logo figure {
    margin: 0;
    line-height: 0;
}

    .main-header .header-top .main-logo a {
        display: inline-block;
        padding: 4px 8px;
        background: #ffffff;
        /* border: 1px solid #d8e6f3; */
        border-radius: 8px;
        /*box-shadow: 0 4px 14px rgba(0, 82, 156, 0.08); */
    }

    .main-header .header-top .main-logo img {
        max-height: 85px;
        /*width: 250px;*/
        max-width: 300px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

.main-header .header-top .header-info i {
    color: var(--brand-blue);
    border-color: #e3edf6;
}

.main-header .header-top .header-info i:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

/* Mobile: keep the logo and the menu toggle on one row instead of the
   logo row and the nav bar stacking as two separate bands. A second
   toggle button lives next to the logo (it shares the same
   data-target as the original one, so either one opens the menu);
   the original in-flow toggle + its pill background are hidden so
   nothing is duplicated or left behind as an empty colored bar. */
        .mobile-logo-toggle {
    display: none;
}

@media only screen and (max-width: 767px) {
    .main-header .header-top .logo-col {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .main-header .header-top .main-logo {
        min-height: 0;
    }

    .main-header .header-top .main-logo img {
        max-height: 60px;
    }

    .mobile-logo-toggle {
        display: inline-block;
        position: relative;
        top: 0;
        border: 1px solid var(--brand-gold);
        background: var(--brand-blue);
        border-radius: 4px;
        padding: 9px 10px;
        margin: 0;
        flex-shrink: 0;
    }

    .mobile-logo-toggle .icon-bar {
        background: var(--brand-gold);
    }

    .header-lower .navbar-header {
        display: none;
    }

    .header-lower .header-area {
        background: transparent;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0;
    }

    .header-lower {
        background: transparent;
    }
}

/* The sticky bar turns solid brand-blue on scroll; the logo PNG has a
   white background, so give it a small white "chip" instead of a
   floating white rectangle. */
        .sticky-header .logo {
    background: #ffffff;
    padding: 4px 14px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.sticky-header .logo img,
.sticky-logo-img {
    display: block;
    height: 48px;
    width: auto;
    max-width: none;
}

.fixed-header .sticky-header {
    background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue));
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li.current-menu-item > a {
    color: var(--brand-blue);
}

.main-menu .navigation > li > ul {
    box-shadow: var(--shadow-md);
}

/* -------------------------------------------------------------------- */
/* Section titles — shared by About / Gallery / Videos / Testimonials    */
/* -------------------------------------------------------------------- */

.sec-title {
    position: relative;
    margin-bottom: 10px;
}

.sec-title h3 {
    letter-spacing: 0.5px;
}

.sec-title h3 span {
    color: var(--brand-blue);
}

.sec-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.text-left .sec-title:after,
.sec-title.text-left:after {
    margin: 16px 0 0;
}

.testimonial-section .sec-title:after {
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-blue-light));
}

/* -------------------------------------------------------------------- */
/* Page-title hero banner (About / Gallery / Videos / Testimonials …)    */
/* -------------------------------------------------------------------- */

.page-title {
    padding-top: 130px;
    padding-bottom: 70px;
    background-color: var(--brand-blue-dark);
}

.page-title:before {
    background: linear-gradient(120deg, rgba(0, 59, 115, 0.92) 0%, rgba(0, 82, 156, 0.86) 55%, rgba(63, 163, 70, 0.55) 100%);
}

.page-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: var(--brand-gold);
    z-index: 1;
}

.page-title .title-text h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.page-title .title-text:before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-gold);
    margin: 0 auto 18px;
    border-radius: 4px;
}

/* -------------------------------------------------------------------- */
/* About Us                                                              */
/* -------------------------------------------------------------------- */

.about-section .colmun-text {
    background: #ffffff;
    padding: 6px 6px 6px 22px;
    border-left: 4px solid var(--brand-blue);
}

.about-photo-box {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 400ms ease, box-shadow 400ms ease;
}

.about-photo-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 35, 60, 0.22);
}

.about-image-frame {
    border-radius: var(--card-radius) !important;
    border: none !important;
    box-shadow: none !important;
    width: 100%;
}

/* Icon-style artwork (e.g. the index "Grow Your Investment" graphic)
   should just get a subtle hover lift, not a photo card treatment. */
.about-section .image-box img {
    transition: transform 400ms ease;
}

.about-section .image-box:hover img {
    transform: translateY(-4px) scale(1.03);
}

/* -------------------------------------------------------------------- */
/* "What We Do" and "Other Services" — soft branded backdrop instead of  */
/* the flat grey-blue wash, so the white cards actually stand out.      */
/* -------------------------------------------------------------------- */

.alt-section-bg {
    position: relative;
    background: linear-gradient(180deg, #eef4fa 0%, #dde9f3 100%);
}

.alt-section-bg:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.volunteers-section.alt-section-bg .image-holder {
    background: #ffffff;
}

.volunteers-section .image-box img {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px var(--brand-blue), var(--shadow-sm);
}

.volunteers-section .image-holder:hover .image-box img {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px var(--brand-gold), var(--shadow-md);
}

.news-section.alt-section-bg .image-holder .image-content {
    background: #ffffff;
}

/* -------------------------------------------------------------------- */
/* Our Gallery                                                           */
/* -------------------------------------------------------------------- */

.gellary-fullwidth,
.gallery-section {
    background: #f6f8fa;
}

.gellary-fullwidth .inner-box,
.default-portfolio-item .inner-box {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 400ms ease, transform 400ms ease;
}

.gellary-fullwidth .inner-box:hover,
.default-portfolio-item .inner-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gellary-fullwidth .inner-box .img_holder,
.default-portfolio-item .image-box {
    overflow: hidden;
    border-radius: var(--card-radius);
}

.gellary-fullwidth .inner-box .img_holder img,
.default-portfolio-item .image-box img {
    transition: transform 600ms ease;
    object-fit: cover;
}

.gellary-fullwidth .inner-box:hover .img_holder img,
.default-portfolio-item .inner-box:hover .image-box img {
    transform: scale(1.08);
}

.gellary-fullwidth .overlay-box i,
.default-portfolio-item .overlay-box i {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* -------------------------------------------------------------------- */
/* Videos We Recommend                                                   */
/* -------------------------------------------------------------------- */

.Video_blcok .blocks .blockstart {
    border: none;
    padding: 0;
    height: auto;
    margin: 10px 0 20px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 400ms ease, transform 400ms ease;
}

.Video_blcok .blocks .blockstart:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.Video_blcok .blocks .blockstart a {
    position: relative;
    display: block;
    overflow: hidden;
}

.blockimg {
    height: 230px !important;
    object-fit: cover;
    transition: transform 600ms ease;
}

.Video_blcok .blocks .blockstart:hover .blockimg {
    transform: scale(1.06);
}

.Video_blcok .blocks .blockstart a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 45, 0.15);
    transition: background 400ms ease;
}

.Video_blcok .blocks .blockstart:hover a:before {
    background: rgba(0, 20, 45, 0.32);
}

.Video_blcok .blocks .blockstart span {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -32px 0 0 -32px;
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    font-size: 24px !important;
    color: #ffffff !important;
    background: var(--brand-blue);
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: background 300ms ease, transform 300ms ease;
}

.Video_blcok .blocks .blockstart:hover span {
    background: var(--brand-gold);
    color: var(--brand-blue-dark) !important;
    transform: scale(1.08);
}

.Video_blcok .blocks .greenhead {
    background: var(--brand-blue);
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    padding: 14px 16px;
    border-bottom: none;
}

/* -------------------------------------------------------------------- */
/* Our Testimonials                                                      */
/* -------------------------------------------------------------------- */

.testimonial-section:before {
    background: linear-gradient(120deg, rgba(0, 59, 115, 0.92), rgba(0, 82, 156, 0.82));
}

.testimonial-section .testimonial-carousel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 0 30px;
}

.testimonial-section .icon-quort i {
    background: linear-gradient(135deg, var(--brand-gold), #ffb200);
    color: var(--brand-blue-dark);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.testimonial-section .author-image {
    border: 3px solid var(--brand-gold);
    padding: 3px;
    display: inline-block;
    border-radius: 50%;
}

.testimonial-section .author-image img {
    border-radius: 50%;
}

.testimonial-section .author-info h4 {
    letter-spacing: 0.5px;
}

/* Testimonials own page — elegant card, replacing the old flat blue box */
.testimonial-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--brand-blue);
    padding: 24px;
    margin: 0 0 24px;
    transition: box-shadow 400ms ease, transform 400ms ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card:after {
    content: "\201D";
    position: absolute;
    right: 22px;
    top: -12px;
    font-family: Georgia, serif;
    font-size: 90px;
    color: rgba(0, 82, 156, 0.08);
    line-height: 1;
}

.testimonial-card .testimonial-avatar {
    display: inline-block;
    border-radius: 50%;
    padding: 3px;
    border: 3px solid var(--brand-gold);
    background: #fff;
}

.testimonial-card .testimonial-avatar img {
    border-radius: 50%;
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.testimonial-card .testimonial-name {
    color: var(--brand-blue-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.testimonial-card .testimonial-text {
    color: var(--ink);
    font-style: italic;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .testimonial-card {
        text-align: center;
    }
}

/* -------------------------------------------------------------------- */
/* Tables — modernize the generic .bordered / Bootstrap table look       */
/* -------------------------------------------------------------------- */

table.bordered,
.table {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.bordered {
    border-color: #e3e8ee;
}

.bordered th,
.table thead th,
table thead th {
    background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue)) !important;
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 13px;
    border: none !important;
}

.bordered tr:hover,
.table-striped tbody tr:hover,
.table-bordered tbody tr:hover,
.table tbody tr:hover {
    background: rgba(0, 82, 156, 0.06) !important;
    transition: background 200ms ease;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #f8fafc;
}

.bordered td,
.table td {
    border-color: #eceff3;
}

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */

.main-footer {
    position: relative;
    background: #262a2d;
}

.main-footer:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.main-footer .widgets-section {
    background: #262a2d;
}

.main-footer .widgets-section .contact-links img {
    background: #ffffff;
   /* padding: 10px 16px;*/
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    max-width: 180px;
}

.main-footer .widgets-section .links-list li a:hover,
.main-footer .widgets-section .link-btn a {
    color: var(--brand-gold) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */

.btn-style-three {
    transition: all 300ms ease, transform 300ms ease;
}

.btn-style-three:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 82, 156, 0.25);
}
