﻿.custom-navbar {
    background-color: black;
}

/*.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}*/

@font-face {
    font-family: gotham;
    src: url(../Fonts/gotham-light-webfont.woff) format("woff"),url(../Fonts/gotham-light-webfont.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: gotham;
    src: url(../Fonts/gotham-medium-webfont.woff2) format("woff2"),url(../Fonts/gotham-medium-webfont.woff) format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: gotham;
    src: url(../Fonts/gotham-bold-webfont.woff2) format("woff2"),url(../Fonts/gotham-bold-webfont.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

.font-gotham-bold {
    font-weight: bold;
}

body {
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
    color: #333;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease;
}

/* Container for Content */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    padding-left: 0;
    padding-right: 0;
}

.lead {
    font-weight: 600;
}

/* Image Styling */
.image-wrapper {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 2rem;
}

/*.header-font {
    font-family: gotham;
    font-size: 18px;
    font-weight: bold;*/
    /*background-color: #808080;*/
    /*padding-left: 4px;*/
    /*color: #fff;*/
/*}
.data-font {
    font-family: gotham;
    font-size: 16px;
}*/

/* Font Smoothing for Quality */
.data-font {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #404040;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Enhanced Header Font */
.header-font {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e1e1e;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.sub-header-font {
    /*font-family: gotham;
    font-size: 25px;*/
    font-weight: bold;
}
.card-font {
    /*font-family: gotham;
    font-size: 14px;*/
    cursor:pointer;
}
.card-header-font, .card-header-font img{
    /*font-family: gotham;
    font-size: 18px;
    font-weight: bold;*/
    height: 100%;
    width: auto;
    object-fit: contain;
}
.accordion-panel-font {
    font-family: gotham;
    font-size: 18px;
    font-weight: bold;
}
.sbuscriptions-font {
    font-family: gotham;
    font-size: 20px;
}

.fw-bold {
    font-weight: normal;
}
.title-font {
    font-family: gotham;
    font-size: 18px;
    font-weight: bold;
}
.footer-align {
    /*position: fixed;*/
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 0px 0;
    font-size: 10pt;
    z-index: 1030;
}

.branding {
    padding: 1rem 4rem 0.5rem;
}

    .branding h1 {
        font-size: 1.8rem;
        font-weight: bold;
        display: inline;
    }

.toolbox-label {
    font-weight: bold;
    font-size: 16pt;
    margin-top: 0.25rem;
    font-family: gotham !important;
    margin-left: 3px !important;
}

/*.custom-navbar {
            background-color: black;
            font-weight: bold;
            font-family: CenturyGothic !important;
            color: white;
        }*/
.custom-navbar {
    background-color: black;
    font-weight: bold;
    color: white;
    height: 37px;
    padding-top: 0;
    padding-bottom: 0;
}

    /* .custom-navbar .nav-link {
                padding: 0.75rem 1.5rem;
                color: white !important;
            }*/
    .custom-navbar .nav-link {
        color: white !important;
        font-size: 18px;
    }


        /*.custom-navbar .nav-link.active,
                .custom-navbar .nav-link:hover {
                    background-color: black;
                    font-weight: bold;
                    color: white;
                }*/

        .custom-navbar .nav-link.active {
            background-color: black;
            text-decoration: underline;
            text-decoration-color: #c00d0d;
            text-underline-offset: 5px;
            color: white !important;
            text-decoration-thickness: 3px;
        }

.nav-link {
    display: inline-block;
}

    .nav-link:not(.active):after {
        content: '';
        width: 0px;
        height: 2.5px;
        display: block;
        background: #c00d0d;
        transition: 250ms;
    }

    .nav-link:hover:not(.active):after {
        width: 100%;
    }

.capco_logo {
    height: 82px;
    width:163px;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #000 !important;
}

/*.navbar-toggler {
            border-color: rgba(255, 255, 255, 0.5);*/ /* white border */
/*}*/
.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    height: 40px;
    margin-top: 4px;
    border-color: white;
    background-color: transparent;
}

.navbar-toggler-icon {
    height: 1.2em;
    width: 1.2em;
    color: white !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*.py-3 {
            padding-top: 0.2rem !important;
            padding-bottom: 0.2rem !important;
        }*/

.navbar-nav {
    --bs-nav-link-padding-y: 0 !important;
}
@media (max-width: 991.98px) {
    .navbar-nav {
        background-color: black;
        flex-direction: column;
        width: 100%;
        --bs-nav-link-padding-y: 0;
        justify-content: flex-end;
    }

        .navbar-nav .nav-item {
            width: 100%;
        }

        .navbar-nav .nav-link {
            padding: 1rem;
            border-bottom: 1px solid #444;
        }
}

.accordion-button {
    background-color: #c00d0d !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 1.05rem;
    /* font-weight: 500;*/
}

    .accordion-button:focus {
        box-shadow: none !important;
    }

.accordion-item:last-of-type > .accordion-collapse {
    border: 1px solid #c00d0d !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.accordion-item {
    border: none !important;
}

.accordion-button {
    padding: 0.5rem 1rem;
}

.accordion-body p {
    text-align: justify;
    margin-bottom: 0;
    font-weight: normal;
}

.accordion-body {
    background: linear-gradient(to bottom, #f9f9f9, #f8f8f8);
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.accordion-body .span-spacing {
    word-spacing:-4px
}

/* Change the arrow color (Bootstrap uses a background image for the arrow) */
.accordion-button:not(.collapsed)::after {
    color: white; /* When the accordion is expanded */
    border-color: white; /* Arrow color when expanded */
}

.accordion-button.collapsed::after {
    color: white; /* When the accordion is collapsed */
    border-color: white; /* Arrow color when collapsed */
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

a {
    text-decoration: underline;
    color: #c00d0d;
    font-weight: normal;
}

.hover-card {
    position: relative;
    width: 100%;
    /* aspect-ratio: 1 / 1;*/ /* Makes it a square */
    min-height: 590px;
    overflow: hidden;
    background-color: white;
    border-radius: 8px;
}

.hover-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

    .hover-content h3 {
        font-size: 1.75rem;
        margin: 0;
    }

.hover-overlay {
    position: absolute;
    inset: 0;
    background-color: white;
    color: black;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
    text-align: justify;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hover-card:hover .hover-overlay {
    opacity: 1;
    background-color: #f9f9f9;
    border: 1px solid #c0392b;
    border-radius: 8px;
}

.team-section {
    text-align: center;
}

/*.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e1e1e;
    margin-bottom: 10px;
}*/

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    transition: opacity 1s ease-out;
}

.section-description {
    margin-bottom: 40px;
}

/* Team Cards Layout */
.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.team-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 380px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #c0392b;
}

    .team-card:hover {
        transform: translateY(-10px);
    }

.team-photo {
    width: 200px; /* Set the width of the image */
    height: 200px; /* Set the height of the image to 200px to make it square */
    object-fit: cover; /* Ensures the image covers the circular area without distortion */
    border-radius: 50%; /* This makes the image round */
    border: 2px solid #e0e0e0; /* Optional border for better visibility */
    margin-top: 20px;
    margin-bottom: 20px; /* Adds some space below the image */
}

.team-info {
    padding: 20px;
}

.team-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.team-title {
    font-size: 1rem;
    color: #4d4d4d;
    margin-bottom: 15px;
    font-style: italic;
}

.team-bio {
    font-size: 0.875rem;
    color: #1e1e1e;
    margin-bottom: 15px;
    line-height: 1.5;
}

.bio-link {
    font-size: 0.875rem;
    color: #c0392b;
    text-decoration: underline;
    font-weight: bold;
}

    .bio-link:hover {
        text-decoration: underline;
    }
.view {
    font-size: 0.875rem;
    text-decoration: none;
}

/* Global Styles */
/* Blog Post Styles */
.blog-post {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}

    .blog-post:hover {
        /*transform: translateY(-5px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);*/
    }

    .blog-post p.lead {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 20px;
        color: #333;
        transition: color 0.3s ease;
    }

    .blog-post p em {
        font-size: 1rem;
        color: #777;
    }

.blog-content-wrapper {
    position: relative;
    margin-top: 20px;
}

.blog-content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Number of lines to show */
    -webkit-box-orient: vertical;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    transition: max-height 0.5s ease;
}

    .blog-content.expanded {
        -webkit-line-clamp: unset;
        max-height: 5000px; /* Ensures the content expands */
    }

.toggle-read-more {
    display: inline-block;
    margin-top: 10px;
    color: #d33a2c;
    cursor: pointer;
    font-style: italic;
    transition: color 0.3s ease;
    font-weight: 500;
}

    .toggle-read-more:hover {
        color: #c0392b;
    }

/* Pagination Styles */
.custom-pagination .page-item .page-link {
    background-color: #333;
    color: white;
    border: 1px solid #333;
    margin: 0 5px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .custom-pagination .page-item .page-link:hover {
        background-color: #c0392b;
        transform: scale(1.05);
    }

.custom-pagination .page-item.active .page-link {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* Scroll to Top Button */
.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .scroll-top-btn:hover {
        background-color: #c0392b;
        transform: translateY(-3px);
    }

/* Animation for Fade-In on Scroll */
.fade-in {
    /*opacity: 1;
        transform: translateY(30px);
        transition: opacity 0.5s ease, transform 0.5s ease;*/
}

    .fade-in.visible {
        /*opacity: 1;
            transform: translateY(0);*/
    }

/* General Body Styling */


/* Unified Testimonial & Ellipse Box Styling */
.testimonial-box,
.ellipse-box {
    background: #fff;
    border-color: #c00d0d !important;
    border-radius: 16px;
    border-width: 2px !important;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    align-content: center;
}

    /* Hover Effects */
    .testimonial-box:hover,
    .ellipse-box:hover {
        background: linear-gradient(135deg, #c0392b, #c00d0d);
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        color: #fff;
    }

        .testimonial-box:hover .data-font,
        .ellipse-box:hover .data-font {
            color: #fff;
        }

/* Ellipse Box Shape Styling */
.ellipse-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.ellipse-box {
    border-radius: 50% / 20%;
    max-width: 350px;
    height: 335px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Enhanced Header Font */
.header-font {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e1e1e;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

/* Responsive Column Spacing */
.row .col-md-4 {
    margin-bottom: 2rem;
}

.section-intro {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: left;
    opacity: 0;
    transition: opacity 1.5s ease-out 0.5s;
}

.membership-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    padding: 2rem;
    margin: 2rem 0;
    line-height: 1.6;
    color: #333;
    padding-bottom: 1rem;
}

.membership-title {
    font-size: 1.5rem;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

.membership-description {
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.membership-body {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 2rem;
}

.bob-section {
    background-color: #f9f9f9;
    border-left: 4px solid #c0392b;
    padding-left: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    padding-top: 10px;
}

.topic-list > li {
    margin-bottom: 1rem;
}

.topic-list span {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    color: #333;
}

.topic-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.3rem;
}

.cta {
    padding-bottom: 1rem;
    font-size: 0.95rem;
}

.note {
    font-style: italic;
    color: #666;
    margin-top: 1.5rem;
}

.dash-list {
    list-style-type: none;
    padding-left: 0;
}

    .dash-list > li {
        font-weight: bold;
    }

        .dash-list > li > ul {
            padding-left: 20px;
            list-style-type: circle;
        }

    .dash-list li, .membership-list li, .membership-collateral li {
        font-size: 1.05rem;
    }

/* Delay classes */
.delay-1 {
    transition-delay: 0.5s;
}

.delay-2 {
    transition-delay: 1s;
}

.delay-3 {
    transition-delay: 1.5s;
}

/* Activate fade-in effect */
.fade-in {
    opacity: 1 !important;
}

    /* Animation trigger with opacity */
    .fade-in, .fade-in.delay-1, .fade-in.delay-2, .fade-in.delay-3 {
        opacity: 0;
        transition: opacity 1.5s ease-out;
    }

/* Responsive Design - No media query needed */
/*.container {
        padding: 20px;
    }*/

/* Reset Styles */
/** {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }*/

/*body {
        background-color: #f7f9fb;
        color: #333;
        font-size: 16px;
    }*/

/* Container */
/*.container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px;
    }*/

/* Title */
.collateral-title {
    font-size: 22px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Collateral List */
.collateral-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

/* Collateral List Item */
.collateral-item {
    position: relative;
    padding-left: 25px;
    transition: color 0.3s ease;
    display: inline-block;
}

    /* Bullet Styling */
    .collateral-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background-color: black;
        border-radius: 50%;
    }

    /* Hover Effect */
    .collateral-item:hover {
        color: #0d2a4d;
    }

.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 30px; /* Position the button 30px from the bottom */
    right: 30px; /* Position the button 30px from the right */
    background: black; /* Gradient background */
    color: white; /* Text color */
    border: none; /* No border */
    border-radius: 50%; /* Circular shape */
    width: 50px; /* Width of the circle */
    height: 50px; /* Height of the circle */
    font-size: 24px; /* Font size */
    display: flex; /* Flexbox to center the arrow */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
    transition: all 0.3s ease; /* Smooth transition effect */
}

    /* Hover effect */
    .scroll-top-btn:hover {
        background: #c0392b; /* Reverse gradient on hover */
        transform: translateY(-3px); /* Button lifts slightly when hovered */
    }

.topic-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.topic-list {
    list-style: none;
    padding: 0;
    width: 45%; /* Adjust width if needed for responsiveness */
    margin-bottom: 0px;
}

    .topic-list > li {
        margin-bottom: 20px;
    }

    .topic-list span {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }
