/* Custom Variables */
:root {
    --primary-color: #1E3A8A;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
    --shadow-base: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    color: #333;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.shadow {
    transition: transform .3s ease, box-shadow .3s ease;
}

.shadow:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.shadow-lg-custom {
    /*box-shadow: var(--shadow-base);*/
    /*transition: box-shadow var(--transition-speed) ease;*/
}

.shadow-lg-custom:hover {
    /*box-shadow: var(--shadow-hover);*/
}

/* Button Styles */
.btn-shadow {
    box-shadow: var(--shadow-base);
    transition: all var(--transition-speed) ease;
}

.btn-shadow:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    background-color: #fff !important;
}

.navbar-brand img {
    transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Slider Section */
.slider {
    position: relative;
    overflow: hidden;
}

.slider img {
    object-fit: cover;
    width: 100%;
}

.slider .lead {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* Who We Are & CEO Message */
.section-content {
    padding: 4rem 0;
}

.animate__fadeInLeft,
.animate__fadeInRight {
    opacity: 0;
    animation-delay: 0.2s;
}

.section-content img {
    border-radius: 8px;
    object-fit: cover;
}

/* Our Sectors */
.our-sectors .card {
    background: var(--dark-bg);
    border: none;
    overflow: hidden;
    border-radius: 10px;
}

.our-sectors .card-img-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    transition: background var(--transition-speed) ease;
}

.our-sectors .card:hover .card-img-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.our-sectors .card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Our Expedition */
.our-expedition img {
    position: relative;
    z-index: 1;
}

.our-expedition .bg-dark {
    border-radius: 8px;
    padding: 1.5rem;
    transition: opacity var(--transition-speed) ease;
}

.our-expedition:hover .bg-dark {
    opacity: 0.9;
}

/* News & Announcements */
.news-announcements .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.news-announcements .card-img-top {
    transition: transform var(--transition-speed) ease;
}

.news-announcements .card:hover .card-img-top {
    transform: scale(1.05);
}

/* Financial Reports */
.financial-reports img {
    border-radius: 10px;
}

/* Join Our Family */
.join-our-family {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 4rem 0;
}

.join-our-family .btn-light {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.join-our-family .btn-light:hover {
    background-color: #f8f9fa;
    color: darken(var(--primary-color), 10%);
}

/* Footer */
footer {
    background-color: #1E3A8A;
    color: #fff;
}

footer a {
    color: #ccc;
    transition: color var(--transition-speed) ease;
}

footer a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .section-content .col-md-6 {
        margin-bottom: 2rem;
    }

    .our-sectors .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-announcements .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.hero-banner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: url("../img/banner-bg.png") no-repeat center bottom/cover;
    height: 50vh;
    min-height: 500px;
}

.hero-banner img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    opacity: 0.9;
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 13, 32, 0.8);
}

.hero-banner .banner-text {
    left: 3%;
    /*transform: translate(-90%, -50%) !important;*/
    /* text-align: center; */
    color: white;
    max-width: 600px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertical center */
    height: 100%;
    position: relative;
}

.banner-text h1 {
    animation: slideDown 0.8s ease;
}

.hero-banner .banner-text h1 {
    font-size: 48px;
}

.hero-banner .banner-text p {
    font-size: 1.25rem;
}

.banner-text h1 {
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Who We Are Section */
.who-we-are-section {
    background: url(../img/map.png) no-repeat left center;
    background-size: cover;
    margin: 100px auto 80px auto !important;
}

.who-we-are-section .rounded {
    border-radius: 15px;
}

.who-we-are-section .shadow-lg {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.who-we-are-section img {
    max-width: 100%;
    height: auto;
}

/* Override Bootstrap btn-primary */
.btn-primary {
    background-color: #1E3A8A !important;
    /* Dark blue color matching the design */
    color: #FFFFFF !important;
    /* White text */
    border: none !important;
    padding: 10px 20px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.btn-primary:hover {
    background-color: #152e6b !important;
    /* Slightly darker on hover */
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.btn-primary i {
    margin-left: 8px !important;
}

/* Success Timeline Section */
.success-timeline {
    position: relative;
}

.success-timeline .row {
    position: relative;
    z-index: 1;
}

.success-timeline .timeline-item {
    position: relative;
    padding: 20px 0px;
    background: #fff;
    /*border-radius: 8px;*/
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.success-timeline .timeline-item::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -2px;
    width: 20px;
    height: 20px;
    background: url('../img/radio.png') no-repeat center;
    background-size: contain;
}

/*.success-timeline::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    z-index: 0;
}*/
.top-border {
    border-top: 3px solid #000;
}

/* CEO Message Section */
.ceo-message-section {
    position: relative;
}

@media (min-width: 769px) {
    .ceo-message-section .col-md-6:first-child {
        position: relative;
        padding: 20px 0px 105px;
        ;
    }

    .dropdown-menu.mega-menu {
        min-width: 280px;
    }
}

.ceo-message-section .col-md-6:first-child::before {
    content: "";
    position: absolute;
    /* top: 10px; */
    right: 8px;
    width: 370px;
    height: 228px;
    background: url(../img/dots-top.png) no-repeat center;
    background-size: contain;
    z-index: -1;
}

.ceo-message-section .col-md-6:first-child::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 60px;
    width: 330px;
    height: 228px;
    background: url(../img/dots-bottom.png) no-repeat center;
    background-size: contain;
    z-index: -1;
}

.ceo-message-section .rounded {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ceo-message-section h2 {
    border-bottom: 2px solid #1E3A8A;
    display: inline-block;
    padding-bottom: 5px;
}

.ceo-message-section .text-muted {
    font-style: italic;
    margin-top: 15px;
}

/* Our Sectors Section */
.sectors-section {
    position: relative;
}

.sectors-section .col-md-3:first-child {
    margin-top: 0;
}

.sectors-section .col-md-3:nth-child(2) {
    /*margin-top: 40px;*/
}

.sectors-section .col-md-3:nth-child(3) {
    /*margin-top: 80px;*/
}

.sectors-section .col-md-3:nth-child(4) {
    /*margin-top: 120px;*/
}

.sectors-section .sector-box {
    background-color: #1a1a2e;
    color: #fff;
    overflow: hidden;
    position: relative;
    margin-left: 0;
    border-radius: 10px !important;
    padding-bottom: 20px;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
}

.sectors-section .sector-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sectors-section .sector-content {
    padding: 15px;
    z-index: 10 !important;
    position: relative;
    margin-top: 170px;
}

.sectors-section .sector-box::before {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black, transparent);
    background-size: contain;
    z-index: 0;
}

/*

.sectors-section::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    z-index: 0;
}
*/

/* Our Expedition Section */
.expedition-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
    /* Space for pagination */
}

.expedition-slider .swiper {
    width: 100%;
    height: auto;
}

.expedition-slider .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 30px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
    transform: scale(0.6) !important;
}

.expedition-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.expedition-slider .swiper-slide-active {
    width: 100%;
    transform: scale(1) !important;
    z-index: 100;
    opacity: 1;
}

.expedition-slider .swiper-slide-next,
.expedition-slider .swiper-slide-prev {
    transform: scale(0.8) !important;
    z-index: 2 !important;
}

.expedition-slider .swiper-slide-next+.expedition-slider .swiper-slide,
.expedition-slider .swiper-slide-prev-2 {
    transform: scale(0.6) !important;
    z-index: 0;
}

/* Target the second previous slide (prev-2) */
.expedition-slider .swiper-slide-prev-2 {
    margin-right: 10px;
    /* Adjust spacing */
}

.expedition-slider .swiper-pagination {
    text-align: center;
}

.expedition-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
}

.expedition-slider .swiper-pagination-bullet-active {
    background: #1E3A8A;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    /* Who We Are Section */
    .who-we-are-section {
        background: url(../img/map.png) no-repeat left center;
        background-size: cover;
        margin: 40px auto 40px auto !important;
    }

    .expedition-slider .swiper-slide {
        width: 100% !important;
    }

    .expedition-slider .swiper-slide-next,
    .expedition-slider .swiper-slide-prev,
    .expedition-slider .swiper-slide-next+.expedition-slider .swiper-slide,
    .expedition-slider .swiper-slide-prev-2 {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner .banner-text h1 {
        font-size: 1.5rem;
    }

    .hero-banner .banner-text p {
        font-size: 1rem;
    }

    .hero-banner img {
        height: 350px;
    }

    .who-we-are-section .row {
        flex-direction: column-reverse;
    }

    .who-we-are-section .col-md-6 {
        margin-bottom: 20px;
    }

    .success-timeline .col-md-3 {
        margin-bottom: 20px;
    }

    .success-timeline::after {
        display: none;
    }

    .ceo-message-section .row {
        flex-direction: column;
    }

    .ceo-message-section .col-md-6 {
        margin-bottom: 20px;
    }

    .ceo-message-section .col-md-6:first-child::before,
    .ceo-message-section .col-md-6:first-child::after {
        display: none;
    }

    .sectors-section .col-md-3 {
        margin-top: 0 !important;
    }

    .sectors-section .row {
        flex-direction: column;
    }

    .sectors-section .sector-box {
        padding-bottom: 20px;
    }

    .success-timeline .col-md-3 {
        border-top: 3px solid #000;
    }

    .top-border {
        border-top: 0;
    }
}

.news-announcement-section {
    /* Parent class for scoping */
    padding: 3rem 0;
    /* Vertical padding for the section */
    background-color: #f8f9fa;
    /* Light background for the section */
}

.news-announcement-section .d-flex {
    /* Targeting the header flex container */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    /* mb-4 equivalent */
}

.news-announcement-section .section-title {
    font-size: 2.25rem;
    /* Larger title font size */
    font-weight: 700;
    /* Bold font */
    color: #343a40;
    /* Dark text color */
}

.news-announcement-section .carousel-nav {
    /* Container for navigation buttons */
    display: flex;
    gap: 0.75rem;
    /* Space between buttons */
}

.news-announcement-section .carousel-control-prev,
.news-announcement-section .carousel-control-next {
    position: static;
    /* Remove absolute positioning */
    width: 45px;
    /* Fixed width for buttons */
    height: 45px;
    /* Fixed height for buttons */
    background-color: #e9ecef;
    /* Light gray background */
    border-radius: 50%;
    /* Fully rounded buttons */
    opacity: 1;
    /* Always visible */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    /* Remove underline from button pseudo-elements */
}

.news-announcement-section .carousel-control-prev:hover,
.news-announcement-section .carousel-control-next:hover {
    background-color: #dee2e6;
    /* Darker gray on hover */
    /*transform: scale(1.05); !* Slight scale on hover *!*/
}

.news-announcement-section .carousel-control-prev-icon,
.news-announcement-section .carousel-control-next-icon {
    width: 1rem;
    /* Icon size */
    height: 1rem;
    /* Icon size */
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(175deg) brightness(0.8);
    /* Darker icon color */
}

/* Custom carousel inner styling */
.news-announcement-section .my-carousel-wrapper {
    overflow: hidden;
    /* Wrapper to hide overflow */
}

.news-announcement-section .carousel-inner-custom {
    /* Renamed to avoid Bootstrap conflict */
    display: flex;
    /* Use flexbox to arrange cards */
    transition: transform 0.6s ease-in-out;
    /* Smooth transition for sliding */
    will-change: transform;
    /* Optimize for animation */
}

/* Custom styling for the individual card items */
.news-announcement-section .card-item {
    flex-shrink: 0;
    /* Prevent cards from shrinking */
    width: 25%;
    /* Default width for 4 columns */
    padding: 0 0.75rem;
    /* Padding between cards */
    box-sizing: border-box;
    /* Include padding in width calculation */
    height: auto;
    /* Allow height to adjust based on content */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-announcement-section .news-card {
    /* New class from user's snippet */
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    /* Light shadow */
    overflow: hidden;
    height: 100%;
    /* Ensure card fills its container */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-announcement-section .news-card:hover {
    /* Apply hover to news-card */
    transform: translateY(-5px);
    /* Slight lift on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    /* More pronounced shadow on hover */
}

.news-announcement-section .news-card img {
    /* Image within news-card */
    width: 100%;
    height: 180px;
    /* Fixed height for image */
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.news-announcement-section .news-title {
    /* New class from user's snippet */
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-top: 0.75rem;
    /* mt-3 equivalent */
    margin-bottom: 0.5rem;
    /*padding: 1rem;*/
}

.news-announcement-section .news-excerpt {
    /* New class from user's snippet */
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Allow text to grow and push author/date down */
    /*padding: 1rem;*/
}

.news-announcement-section .news-meta {
    font-size: 0.85rem;
    color: #adb5bd;
    padding: 0.7rem 0.8rem;
}

.news-announcement-section .news-meta .author {
    /* New class from user's snippet */
    margin-bottom: 0.5rem;
    /* mb-2 equivalent */
}

.news-announcement-section .news-meta span {
    margin-right: 0.75rem;
}

/* Responsive adjustments for card items width */
@media (max-width: 1200px) {

    /* Large desktops */
    .news-announcement-section .card-item {
        width: 33.33%;
        /* Show 3 items */
    }
}

@media (max-width: 992px) {

    /* Medium desktops / Tablets */
    .news-announcement-section .card-item {
        width: 50%;
        /* Show 2 items */
    }
}

@media (max-width: 768px) {

    /* Small tablets / Phones */
    .news-announcement-section .card-item {
        width: 100%;
        /* Show 1 item */
    }

    .news-announcement-section .d-flex {
        /* Adjusted from section-header */
        flex-direction: column;
        align-items: flex-start;
    }

    .news-announcement-section .carousel-nav {
        /* Adjusted from carousel-nav-buttons */
        margin-top: 1rem;
    }
}

.news-announcement-section {
    background: #fff;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.carousel-nav .carousel-control-prev,
.carousel-nav .carousel-control-next {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    margin-left: 10px;
    opacity: 1;
}

.carousel-nav .carousel-control-prev-icon,
.carousel-nav .carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0px 0px 32px 0px #080D2012;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-title {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.news-excerpt {
    font-size: 14px;
    color: #3E3232BF;
    font-weight: 400;
    margin-bottom: 15px;
}

.news-meta {
    font-size: 12px;
    color: #3E3232BF;
    background: #F5F5F5;
    padding: 12px 16px;
    border-radius: 12px;
}

.news-meta .author {
    font-weight: 600;
    margin-right: 10px;
    color: #3E3232;
}

.financial-reports heading {
    font-family: Poppins;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.44px;
    color: #333333;
}

.cta-section {
    background-image: url(../img/what-we-do.png);

    /* Set a specific height */
    min-height: 250px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}


.rounded-btn {
    border-radius: 999px;
    color: #4267FF;
    padding: 16px 80px;
}

.contact-info {
    font-size: 14px;
}

.footer {
    background: #162340;
}

.financial-institution {
    background: url(../img/financial-institution.png) no-repeat center bottom/cover;
    padding: 10px;
}

.footer .nav-pills .nav-link {
    color: #E7E7E7;
    font-size: 14px;
    padding: 10px;
}

.footer .nav-pills .nav-link.active {
    color: #0a53be;
    font-size: 14px;
    padding: 10px;
    background-color: #fff;
}

.nav-item {
    padding: 0 2px;
}

.nav-link {

    font-size: 16px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}


.home-slider .slider-section {
    width: 100%;
    background-color: #fff;
    /*box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); !* Bootstrap shadow equivalent *!*/
    /*border-radius: 0.75rem;*/
    overflow: hidden;
}

.home-slider .slider-container {
    display: flex;
    width: 100%;
    height: 450px;
    /* Fixed height for the slider, adjust as needed */
    position: relative;
    border-radius: 0.75rem;
}

.home-slider .slide {
    flex-grow: 0;
    flex-shrink: 0;
    height: 100%;
    transition: width 0.6s ease-in-out, z-index 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    min-width: 80px;
    /* Crucial: Ensures slide is never smaller than this */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.6);
    transition: filter 0.6s ease-in-out;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    transition: background 0.6s ease-in-out;
}

.slide h3 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out 0.2s, transform 0.4s ease-in-out 0.2s;
}

.slide p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out 0.3s, transform 0.4s ease-in-out 0.3s;
}

.slide a {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out 0.4s, transform 0.4s ease-in-out 0.4s;
}

/* Class to show content for active/hovered slides */
.slide.content-visible img {
    filter: brightness(0.8);
}

.slide.content-visible .slide-content h3,
.slide.content-visible .slide-content p,
.slide.content-visible .slide-content a {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;
    /* Fully rounded buttons */
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.8;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.prev-button {
    left: 1rem;
}

.next-button {
    right: 1rem;
}

/* Pagination Dots */
.pagination-dots {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    background-color: #f0f0f0;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.dot {
    width: 0.85rem;
    height: 0.85rem;
    background-color: #cbd5e0;
    border-radius: 50%;
    margin: 0 0.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #1E3A8A;
    /* Bootstrap primary blue */
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .slide {
        min-width: 60px;
    }

    .slide h3 {
        font-size: 2.2rem;
    }

    .slide p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .slide {
        min-width: 50px;
    }

    .slide h3 {
        font-size: 2rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .slide-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slider-section {
        border-radius: 0;
    }

    .slider-container {
        height: 350px;
        border-radius: 0;
    }

    .slide {
        min-width: 40px;
    }

    .slide h3 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.9rem;
    }

    .slide-content {
        padding: 1rem;
    }

    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 1.2rem;
    }
}

/* === Sector Hover Effects === */
.sector-hover {
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.sector-hover:hover {
    background-color: rgba(var(--bs-primary-rgb));
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
    /*background: #6f6f6f url(http://localhost/arif-habib/public/assets/frontend/img/logo.png) no-repeat center / cover;*/
    background: #6f6f6f no-repeat center / cover;
}

.sector-hover:hover h4,
.sector-hover:hover p {
    color: #fff;
}

.sector-hover .btn {
    transition: background-color 0.3s, color 0.3s;
}

.sector-hover:hover .btn {
    background-color: var(--bs-primary-rgb);
    color: #fff;
    border-color: var(--bs-border-color);
}

/* Overlay text styles */
.explore-more-section .position-relative {
    position: relative;
}

.explore-more-section .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black background */
    padding: 1rem;
    border-radius: 0.375rem;
}

.explore-more-section .overlay-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.explore-more-section .overlay-description {
    font-size: 1rem;
    line-height: 1.2;
}

/* Existing height and image styles */
.explore-more-section .row {
    min-height: 100%;
}

.explore-more-section .col-md-6,
.explore-more-section .col-sm-6,
.explore-more-section .col {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.explore-more-section img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 0.375rem;
}

.explore-more-section .flex-grow-1 {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .explore-more-section .row {
        flex-direction: column;
    }

    .explore-more-section .col-md-6,
    .explore-more-section .col-sm-6,
    .explore-more-section .col {
        margin-bottom: 1rem;
    }

    .explore-more-section .overlay-text {
        width: 90%;
        padding: 0.5rem;
    }

    .explore-more-section .overlay-heading {
        font-size: 1.2rem;
    }

    .explore-more-section .overlay-description {
        font-size: 0.9rem;
    }

    .explore-more-section img {
        height: auto;
    }
}

/* Navbar and Mega Menu Styles */
.navbar {
    padding: 1rem 0;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.mega-menu {
    display: none;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: visibility 0.3s ease;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
}

.mega-menu.mega-active {
    display: block;
}

.menu-links ul {
    padding-left: 0;
}

.menu-links li {
    padding: 0.5rem 0;
}

.menu-links a {
    font-size: 0.9rem;
}

.color-green {
    color: #28a745;
}

.menu-main-h {
    font-size: 1.1rem;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 4px;
    cursor: pointer;
    width: 36px;
}

.close-btn img {
    width: 20px;
    height: 12px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .mega-menu.mega-active {
        display: block;
    }

    .nav-item:hover .mega-menu {
        visibility: visible;
    }
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

    .mega-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1050;
        border: none;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }

    .nav-item {
        cursor: pointer;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .close-btn {
        display: none;
        /* Hidden on mobile, handled by navbar collapse */
    }
}

.menu-arrow {
    width: 50px;
    height: 50px;
    display: block;
}

.menu-item:hover .menu-arrow {
    filter: invert(1);
}

.dropdown-menu.mega-menu li .menu-item:hover {
    background: #3F51B5;
    color: white !important;
}

.dropdown-menu.mega-menu li .menu-item {
    padding: 10px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    /* Visible by default */
    transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
    transform: translateY(-100%);
    /* Slide up to hide */
}

.content-container {
    margin-top: 104px;
}

@media (max-width: 767.98px) {
    .navbar {
        position: static;
        transform: none;
        /* No slide effect on mobile */
    }

    .content-container {
        margin-top: 0;
    }
}

.sector-card {
    position: relative;
    height: 280px;
    /* fixed height */
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease-in-out;
}

.sector-overlay {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay for text visibility */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease-in-out;
}

.sector-card:hover .sector-overlay {
    background: #10257480;
    /* blue overlay on hover */
}

.sector-desc {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* show max 3 lines */
    -webkit-box-orient: vertical;
}

.ahl__ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1e2b70;
    border-top: 1px solid #1e2b70;
    display: flex;
    align-items: center;
    overflow: visible;
}

.ahl__ticker__status {
    display: flex;
    align-items: flex-start;
    padding: 0px;
    flex-shrink: 0;
    flex-direction: column;
    background: white;
    z-index: 1000;
}

.ahl__ticker__time,
.ahl__ticker__source {
    font-size: 14px;
}

.ahl__ticker__indices {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    background: white;
    z-index: 1000;
    margin: 0;
}

.ahl__ticker__stocks,
.ahl__ticker__stocks.cloned {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    animation: marquee 120s linear infinite;
    background: #1E3A8A;
    margin: 0;
    color: #fff;
}

.ahl__ticker__stocks.cloned {
    position: absolute;
    left: 100%;
}

.ahl__ticker__stocks .ahl__ticker__item {
    border-left: 1px solid rgba(61, 197, 187, 0.55);
    /* border-left: 0; */
    margin: 1px;
    background: #1E3A8A;
    padding: 0px 5px;
}

.ahl__ticker__item {
    display: flex;
    align-items: center;
    padding: 0px;
    flex-shrink: 0;
    min-width: 150px;
}

.ahl__ticker__left {
    margin-right: 15px;
    display: flex;
    line-height: 1.3;
    flex-direction: column;
}

.ahl__ticker__change {
    color: #28a745;
    /* Green for positive */
}

.ahl__ticker__item.neg .ahl__ticker__change {
    color: #dc3545;
    /* Red for negative */
}

.ahl__ticker__item.none .ahl__ticker__change {
    color: #6c757d;
    /* Gray for no change */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 767.98px) {
    .ahl__ticker {
        position: static;
        flex-wrap: wrap;
        overflow: visible;
        /* Allow content to wrap naturally */
    }

    .ahl__ticker__stocks,
    .ahl__ticker__stocks.cloned {
        animation: none;
        flex-wrap: wrap;
        position: static;
        width: auto;
    }

    .ahl__ticker__item {
        min-width: 120px;
        /* Adjust for mobile to prevent crowding */
    }
}

/* Navbar base */
.custom-navbar {
    padding: 0.75rem 1rem;
    transition: background 0.3s, box-shadow 0.3s;
    background: transparent;
}

.custom-navbar .container-fluid {
    max-width: 1500px;
}

.custom-navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Nav links */
.custom-navbar .nav-link {
    color: #666;
    /* Engro green */
    font-weight: 500;
    /*text-transform: uppercase;*/
    margin: 0;
    position: relative;
    transition: color 0.3s;
}

.custom-navbar .nav-link:hover {
    color: #006400;
}

.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0;
    height: 2px;
    background: #1E3A8A;
    transition: width 0.3s;
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}

/* Mega menu */
.mega-dropdown {
    left: 0 !important;
    right: 0 !important;
    top: 100%;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mega-dropdown .dropdown-item {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    color: #666;
    position: relative;
    transition: color 0.2s;
}

.mega-dropdown .dropdown-item:hover {
    color: #1E3A8A;
    background: none;
}

/* Default hidden */
.navbar .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    margin-top: 0 !important;
    top: 58px !important;
    left: 0;
}

/* Show on hover */
.nav-item.dropdown:hover>.dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Fix for the gap between nav-item and dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Custom animation for dropdown */
.dropdown-menu {
    animation: fadeIn 0.3s ease;
}

.psx-updated {
    position: absolute;
    /* height: 0px; */
    overflow: visible;
    /* position: relative; */
    z-index: 1000;
    top: -25px;
    background-color: teal;
    padding: 0.25rem;
    color: white;
}

.ahc-footer {
    background-color: #1E3A8A;
    padding: 50px 0 44px;
    font-size: 14px;
    color: #fff;
    border-top: 1px solid #e9ecef;
}

.ahc-footer-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
    font-size: 16px;
}

.ahc-branch-title {
    font-weight: bold;
    margin-top: 15px;
    color: #fff;
    font-size: 16px;
}

.ahc-contact-detail {
    font-weight: bold;
    margin-bottom: 10px;
}

.ahc-branch-details {
    margin-bottom: 20px;
}

.ahc-footer-divider {
    margin: 20px 0;
    border-top: 1px solid #dee2e6;
}

.ahc-copyright {
    margin-bottom: 5px;
}

.ahc-update-date {
    margin-bottom: 10px;
    font-style: italic;
}

.ahc-contact-us {
    font-weight: bold;
    margin-bottom: 15px;
}

.ahc-disclaimer {
    font-size: 12px;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

footer .row:not(:first-child) .col-md-4:not(:last-child) {
    padding-right: 1.5rem;
    margin-right: 0.25rem;
    max-width: 33%;
}

footer .row:not(:first-child) .col-md-4 li {
    padding: 5px;
}

footer .row:not(:first-child) .col-md-4 {
    background: rgba(0, 0, 0, 0.11);
    padding: 1.875rem;
    border-radius: 3px;
    margin-block-end: 1rem;
}

.footer-navigation li {
    padding: 5px;
    cursor: pointer;
}

.sector-btn:hover {
    border: 1px solid #1E3A8A !important;
}

.careers-hero {
    position: relative;

}

.careers-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Board Section */
.board-section {
    background: #eef0fa;
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #111111;
    letter-spacing: 0.44px;
    margin-bottom: 20px;
}

.title-underline {
    width: 70px;
    height: 3px;
    background: #293991;
    border-radius: 1.5px;
    margin-bottom: 40px;
}

.directors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.director-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.director-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* IMAGE + OVERLAY */
.director-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.director-image-container img {
    width: 100%;
    height: auto;
    transition: .35s ease;
}

.director-image-container:hover img {
    transform: scale(1.05);
}

/* NAME OVERLAY */
.director-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    color: #fff;
}

.director-overlay h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.director-overlay small {
    font-size: 14px;
    opacity: .9;
}

.view-profile-btn {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    transition: background-color 0.3s ease;
    box-shadow: 0px 1px 2px 0px rgba(105, 81, 255, 0.05);
}

.view-profile-btn .arrow-icon {
    width: 20px;
    transition: .3s ease;
}

.view-profile-btn:hover .arrow-icon {
    transform: translateX(6px);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.director-grid .col-md-3 {
    margin-bottom: 35px;
}

.view-profile-btn:hover {
    background: #1e2b70;
}

.arrow-icon {
    width: 24px;
    height: 24px;
}

.ahc-our-sectors {
    padding: 40px 0;
    /*background-color: #f8f9fa;*/
    overflow: hidden;
}

.ahc-section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.ahc-sector-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.ahc-sector-card:hover .ahc-read-more {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    color: #fff;
    border: 0.89px solid #FFFFFF33;
    backdrop-filter: blur(26px);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    background-color: #1e2c70f3;
    opacity: 1;
    border-radius: 10px;
    border-width: 0.89px;
    padding: 10px;
}

.ahc-sector-content {
    padding: 20px;
    border: 1px solid #FFFFFF66;
    margin: 40px;
    border-radius: 10px;
    background: #0000004D;
    width: 100%;
    min-height: 230px;
}

.sector-align-self-end {
    position: absolute;
    bottom: 20px;
    left: 0px;
    right: 0px;
}

.ahc-sector-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.ahc-sector-description {
    font-weight: 300;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    /* Limits the text to 5 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Adds the ellipsis */
    margin-bottom: 60px;
}

.ahc-sector-img img {
    max-width: 100%;
}

.ahc-read-more {
    color: #fff;
    border: 0.89px solid #FFFFFF33;
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(26px);
    opacity: 1;
    border-radius: 10px;
    border-width: 0.89px;
    padding: 10px;
}

.ahc-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.ahc-read-more:hover i {
    transform: translateX(5px);
}

.ahc-carousel-container {
    position: relative;
    padding: 0 50px;
}

.carousel-inner {
    padding: 20px 0;
}

.carousel-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Blur effect for non-active items */
.ahc-carousel-container .carousel-item:not(.active) {
    filter: blur(2px);
    opacity: 0.7;
    transform: scale(0.95);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #e74c3c;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #c0392b;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .ahc-carousel-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .ahc-carousel-container {
        padding: 0 20px;
    }

    .ahc-section-title {
        font-size: 2rem;
    }
}

.slick-track {
    display: flex !important;
    padding: 40px 0px;
}

.ahc-sector-slide {
    margin: 15px;
    height: inherit !important;
}

.ahc-footer-column li {
    padding: 8px 0 !important;
}

.line-height-2x {
    line-height: 1.5;
}

.ahc-footer-logo {
    width: 20vw;
}

/* Partners section */
.ahc-our-partners {
    background: #fff;
    padding: 30px 0 40px;
}

/* Title */
.ahc-our-partners .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 28px;
}

/* Slick slide container spacing */
.ahc-partners-slider .partner-slide {
    padding: 0 16px;
    /* space between cards */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Slick slide container spacing */
.ahc-home-partners-slider .partner-slide {
    padding: 0 16px;
    /* space between cards */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Card look - white rectangle, subtle shadow like reference */
.partner-card {
    width: 100%;
    max-width: 240px;
    /* width of each logo card */
    background: #fff;
    border-radius: 6px;
    padding: 0px;
    box-shadow: 0 8px 20px rgba(23, 29, 83, 0.06);
    /* subtle bluish shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease;
    min-height: 90px;
}

/* Slight hover lift (optional) */
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(23, 29, 83, 0.08);
}

/* Logo sizing */
.partner-card img {
    max-height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}


/* Tidy up the slick-list to remove extra side gaps on small screens */
.ahc-partners-slider .slick-list {
    margin: 0 -12px;
}

/* Optional: hide slick dots/arrow styling if you want purely logo bar */
.ahc-partners-slider .slick-dots,
.ahc-partners-slider .slick-arrow {
    display: none !important;
}


.slick-prev {
    left: 0px;
    z-index: 1000;
}

.slick-next {
    right: 0px;
}

.announcement-container {
    max-width: 1366px;
    margin: 30px auto;
    padding: 0 15px;
}

/* Top Notice Bar */
.notice-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2b3ea9;
    color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.notice-banner .pdf-icon {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.notice-banner .pdf-icon::before {
    content: "📄";
    font-size: 20px;
    margin-right: 8px;
}

.badge-new {
    background: #2b3ea9;
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
}

/* Year Heading */
.year-heading {
    font-weight: bold;
    color: #2b3ea9;
    font-size: 22px;
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.year-heading span {
    flex: 1;
    height: 1px;
    background: #999;
    margin-left: 10px;
}

.year-heading::after {
    content: "📄";
    margin-left: 10px;
    font-size: 20px;
    color: #2b3ea9;
}

/* Announcement Card */
.announcement-card {
    background: #f8f9fc;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    position: relative;
}

.announcement-card h3,
.announcement-content h3 {
    font-size: 16px;
    color: #2b3ea9;
    margin: 0 0 10px;
}

.announcement-card ul,
.announcement-content ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.announcement-card .badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .notice-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .year-heading {
        font-size: 18px;
    }
}

.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    font-size: 2.5em;
    color: #003087;
    text-align: center;
    margin-bottom: 30px;
}

.about-text {
    font-size: 1.1em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.sub-title {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 36px;
    line-height: 40px;
    color: #003087;
    letter-spacing: 0%;

}

.content-text {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.vision-mission-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.vision-mission-container {
    padding: 60px 0;
    background: url("../img/map.png") no-repeat center center/contain;
}

.permissible-activities {
    background: #EEF0FA url("../img/waves.png") no-repeat center center/contain;
}

.hover-border {
    color: #2f3a8f;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.hover-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #2f3a8f;
    transition: width 0.3s ease;
}

.hover-border:hover::after {
    width: 100%;
}

.section-heading {
    color: #2f3a8f;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2f3a8f;
    transition: width 0.3s ease;
}

.section-heading:hover::after {
    width: 100%;
}

.reward-section {
    min-height: 400px;
    background: url("../img/reward-bg.png") no-repeat center center/contain;
}

.vision-box,
.mission-box,
.permissible-box {
    padding: 20px;
    /*background-color: #fff;*/
    /*margin-bottom: 20px;*/
    /*border-radius: 5px;*/
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}

.company-details-section {
    padding: 60px 0;
    background-color: #fff;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    margin-bottom: 10px;
    color: #555;
}

.awards-section {
    padding: 60px 0;
}

.awards-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.award-item {
    text-align: center;
    margin-bottom: 20px;
}

.award-image {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.award-text {
    font-size: 1em;
    color: #555;
}

.partners-section {
    padding: 60px 0;
    background-color: #fff;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.partner-logo {
    width: 120px;
    height: auto;
    margin: 10px;
}

.contact-section {
    padding: 60px 0;
    background-color: #003087;
    color: #fff;
}

.disclaimer-text {
    font-size: 0.9em;
    color: #ccc;
    text-align: center;
    margin-top: 20px;
}

.regulatory-logos {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.reg-logo {
    width: 100px;
    height: auto;
    margin: 0 10px;
}

@media (max-width: 768px) {

    .about-text-block,
    .about-image-block {
        width: 100%;
    }

    .vision-box,
    .mission-box,
    .permissible-box {
        /*margin-bottom: 20px;*/
    }
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.timeline-header {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary-color);
}

.timeline-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 500px;
}

.timeline-years {
    width: 300px;
    position: relative;
}

/*.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    z-index: 1;
}*/

.year-list {
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
    list-style: none;
}

.year-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 30px;
}

.year-item.active {
    background-color: rgba(49, 130, 206, 0.1);
}

.year-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.year-item.active .year-bullet {
    background: var(--primary-color);
    color: white;
}

.year-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.year-item.active .year-label {
    color: ar(--accent-color)v;
    font-weight: 700;
}

.timeline-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.timeline-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-year {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: "Poppins";
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.slide-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.slide-title:hover::after {
    width: 100%;
}

.milestones {
    margin-top: 2rem;
}

.milestones h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.milestone-list {
    list-style: none;
    padding: 0;
}

.milestone-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: rgba(49, 130, 206, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.milestone-item:hover {
    background: rgba(49, 130, 206, 0.1);
    transform: translateX(5px);
}

.milestone-checkbox {
    margin-right: 1rem;
    color: var(--primary-color);
}

.milestone-text {
    font-size: 1rem;
}

.timeline-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 992px) {
    .timeline-wrapper {
        flex-direction: column;
    }

    .timeline-years {
        width: 100%;
        margin-bottom: 2rem;
    }

    .year-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .year-item {
        flex-direction: column;
        margin-right: 1.5rem;
        margin-bottom: 0;
        min-width: 80px;
    }

    .year-bullet {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .timeline-line {
        display: none;
    }
}

.goog-te-gadget-simple {
    cursor: pointer;
    border-radius: 6px;
    border: 0 !important;
    background: #F8F8F8 !important;
    ;
    padding: 3.2px !important;
    max-width: 90px;
    margin-left: 20px;
}

.goog-te-gadget-simple span>a>span {
    display: none;
}


html[lang="en"] .goog-te-gadget-simple span>a:after {
    content: 'ENG';
    font-family: "Poppins";
    color: #ACACAC;
}

html[lang="ur"] .goog-te-gadget-simple span>a:after {
    content: 'URDU';
    font-family: "Poppins";
    color: #ACACAC;
}

html[lang="ur"] .goog-te-gadget-simple span>a>span:first-child {
    content: 'URDU';
    font-family: "Poppins";
    color: #ACACAC;
    text-indent: -1000px;
    /* width: 100px; */
    /* height: 100px; */
    display: inline-block;
}

.search-bar {
    border-radius: 20px;
    border: 1px solid #DBDBDB;
    padding: 6px 12px;
    background: #f8f8f8;
    max-width: 210px;
}


.search-icon {
    right: 11px;
    height: 22px;
    top: 0;
}

.header-bar {
    border-bottom: 1px solid #E4E4E4;
    padding-bottom: 12px;
    /*margin-bottom: 10px;*/
}

.bg-muted {
    background: #F8F8F8;
}

.reporting-pills .nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background: #f8f8f8;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

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

.director-name-container {
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
}

.image_container::before {
    content: " ";
    background: linear-gradient(0deg, #00000045 10%, transparent 80%, transparent 80%);
    z-index: 4;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.image_container img {
    transition: transform .4s ease, box-shadow .4s ease;
    border-radius: 12px;
}

.image_container:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.corporate-responsibilities ul {
    border-left: 1px dashed;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    padding-left: 80px;
    padding-top: 10px;
    padding-bottom: 15px;
    margin-left: 12px;
}

.corporate-responsibilities-title {
    font-family: 'Poppins', sans-serif;
    text-align: left;
    font-size: 40px;
    color: #000;
    font-weight: 700;
    margin-right: 60px;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #444, transparent);
    animation: fadeHr 1.2s ease;
}

@keyframes fadeHr {
    0% {
        opacity: 0;
        width: 20%;
    }

    100% {
        opacity: 1;
        width: 100%;
    }
}

.corporate-responsibilities h3::before {
    content: " ";
    display: block;
    height: 28px;
    width: 28px;
    background: url("/assets/frontend/img/heading-bullet.png") 100% / cover;
    position: absolute;
}

.corporate-responsibilities:hover h3:hover {
    transition: transform .2s;
    -ms-transform: scale(1.05);
    color: #1E3A8A;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}