/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #F0F4F8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #002147;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002147;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

a {
    color: #002147;
    text-decoration: none;
}

a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.highlight-text {
    font-weight: 600;
    color: #002147;
}

/* Header */
.main-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 40px;
}

.main-nav .nav-link {
    color: #002147;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #FFD700;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    color: #002147;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 33, 71, 0.7), rgba(0, 33, 71, 0.7)), url('uploads/media/financial-data-dashboard.jpg') no-repeat center center/cover;
    color: #FFFFFF;
    min-height: 80vh;
    padding: 100px 0;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFD700;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    max-width: 800px;
}

.hero-logo {
    height: 80px;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
}

.hero-section h1 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 3rem;
}

.hero-section p {
    font-size: 1.15rem;
    color: #E0E0E0;
}

.hero-section .highlight-text {
    color: #FFD700;
}

.cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #002147;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.cta-button:hover {
    background-color: #E6C200;
    color: #002147;
    transform: translateY(-2px);
    text-decoration: none;
}

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

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#about-map {
    min-height: 400px; /* Ensure map has a height */
}

.story-info-modal {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
}

/* Services Section */
.services-section {
    background-color: #F0F4F8;
}

.tab-navigation {
    gap: 15px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: #E0E0E0;
    color: #002147;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button.active {
    background-color: #002147;
    color: #FFD700;
}

.tab-button:hover:not(.active) {
    background-color: #D0D0D0;
}

.tab-pane {
    display: none;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #002147;
    font-size: 2rem;
    margin-bottom: 20px;
}

.tab-pane ul {
    list-style: none;
    padding-left: 0;
}

.tab-pane ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.tab-pane ul li::before {
    content: '\2713'; /* Checkmark unicode */
    font-family: 'Material Symbols Outlined';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.2rem;
    top: 0;
}

/* Team Section */
.team-section {
    background-color: #FFFFFF;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px; /* Space for buttons */
}

.carousel-track {
    display: flex;
    transition: transform 0.05s ease-in-out; /* Very fast transition */
}

.team-member-slide {
    flex: 0 0 100%; /* Each slide takes full width */
    padding: 20px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .team-member-slide {
        flex: 0 0 50%; /* Two slides on medium screens */
    }
}

@media (min-width: 992px) {
    .team-member-slide {
        flex: 0 0 33.333%; /* Three slides on large screens */
    }
}

.team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
}

.member-title {
    font-size: 1rem;
    color: #666666;
}

.member-bio {
    color: #555555;
    font-size: 0.95rem;
    margin-top: 15px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 33, 71, 0.8);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #FFD700;
    color: #002147;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Gallery Section */
.gallery-section {
    background-color: #F0F4F8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.timeline-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.5));
    color: #FFFFFF;
    padding: 15px;
    box-sizing: border-box;
}

.timeline-overlay .date {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 5px;
}

.timeline-overlay .event-description {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #FFFFFF;
}

.testimonial-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.testimonial-text {
    font-style: italic;
    color: #555555;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #FFD700;
}

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

#contact-map {
    min-height: 500px; /* Ensure map has a height */
}

.contact-form-modal {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
}

/* Footer */
.main-footer {
    background-color: #002147;
    color: #E0E0E0;
}

.main-footer h3 {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer h3:hover {
    color: #FFFFFF;
}

.main-footer .accordion-icon {
    transition: transform 0.2s ease;
}

.main-footer .accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.main-footer .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.main-footer .accordion-content.active {
    max-height: 200px; /* Adjust as needed for content */
    transition: max-height 0.3s ease-in;
}

.main-footer ul {
    list-style: none;
    padding: 10px 0 0 0;
}

.main-footer ul li {
    margin-bottom: 8px;
}

.main-footer .footer-link {
    color: #E0E0E0;
    transition: color 0.3s ease;
}

.main-footer .footer-link:hover {
    color: #FFD700;
    text-decoration: none;
}

.logo-img-footer {
    height: 35px;
    filter: brightness(0) invert(1); /* Makes logo white */
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #002147;
    color: #FFFFFF;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
    text-align: center;
}

.cookie-banner .cookie-policy-link {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-button {
    background-color: #FFD700;
    color: #002147;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #E6C200;
}

.cookie-button.customize {
    background-color: #E0E0E0;
    color: #002147;
}

.cookie-button.customize:hover {
    background-color: #D0D0D0;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
}

.cookie-modal-content {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: #333333;
}

.cookie-modal-content h4 {
    color: #002147;
    margin-bottom: 15px;
}

.cookie-category {
    margin-bottom: 15px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
}

.cookie-category label {
    font-weight: 600;
    color: #002147;
    cursor: pointer;
}

.cookie-category .category-description {
    font-size: 0.85rem;
    color: #666666;
    margin-left: 25px;
    margin-top: 5px;
}

.cookie-modal-content .save-preferences {
    width: 100%;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .main-nav {
        display: none !important;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

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

    .tab-navigation {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .tab-pane .row {
        flex-direction: column;
    }

    .tab-pane .col-md-6 {
        margin-bottom: 20px;
    }

    .tab-pane .col-md-6:last-child {
        margin-bottom: 0;
    }

    .team-member-slide {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .carousel-container {
        padding: 0 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-accordion h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-badge {
        padding: 30px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cookie-banner {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-button {
        width: 100%;
    }
}
/* Styles for the main content wrapper */
.secureTermsHub {
    padding: 60px 20px; /* Top and side padding */
    max-width: 1200px; /* Maximum width for content */
    margin: 0 auto; /* Center the content block */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Heading 1 styles */
.secureTermsHub h1 {
    font-size: 2rem; /* Moderate font size for main headings */
    font-weight: 700; /* Bold font weight */
    margin-top: 1.8em; /* Top margin for spacing */
    margin-bottom: 0.8em; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for readability */
    color: #002147; /* Primary brand color */
    font-family: 'Montserrat', sans-serif; /* Consistent font family */
}

/* Heading 2 styles */
.secureTermsHub h2 {
    font-size: 1.75rem; /* Slightly smaller than h1 */
    font-weight: 700;
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    line-height: 1.2;
    color: #002147;
    font-family: 'Montserrat', sans-serif;
}

/* Heading 3 styles */
.secureTermsHub h3 {
    font-size: 1.5rem; /* Moderate font size */
    font-weight: 600; /* Slightly less bold */
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    line-height: 1.3;
    color: #002147;
    font-family: 'Montserrat', sans-serif;
}

/* Heading 4 styles */
.secureTermsHub h4 {
    font-size: 1.25rem; /* Smaller heading */
    font-weight: 600;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.4;
    color: #002147;
    font-family: 'Montserrat', sans-serif;
}

/* Heading 5 styles */
.secureTermsHub h5 {
    font-size: 1rem; /* Smallest heading, often used for sub-titles or minor sections */
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 0.4em;
    line-height: 1.5;
    color: #002147;
    font-family: 'Montserrat', sans-serif;
}

/* Paragraph styles */
.secureTermsHub p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    color: #333333; /* Dark grey for body text */
    font-family: 'Roboto', sans-serif; /* Consistent font family */
}

/* Unordered list styles */
.secureTermsHub ul {
    list-style: disc; /* Default disc bullet points */
    margin-bottom: 1em; /* Space after the list */
    padding-left: 25px; /* Indentation for list items */
    color: #333333; /* Text color */
    font-family: 'Roboto', sans-serif; /* Consistent font family */
}

/* List item styles */
.secureTermsHub li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.6; /* Optimal line height */
    color: #333333; /* Text color */
}
