body {
    font-family: 'Inter', sans-serif;
    color: #343A40; /* Dark Charcoal for default text */
    background-color: #F8F9FA; /* Light Gray background */
}

/* General Styles */
.section-title {
    font-weight: 700;
    font-size: clamp(1.6rem,2.5vw,2.5rem);
    color: #003366; /* Deep Navy Blue */
    position: relative;
    padding-bottom: 15px;
}

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

/* Navbar */
.navbar {
    background-color: #003366; /* Deep Navy Blue */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand .navbar-logo {
    height: 40px; /* Adjust logo size */
}

.navbar-brand .brand-name {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #FFC107 !important; /* Accent Gold on hover/active */
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.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='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('static/uploads/For_Laptop_Conversation_Technology_And_Exposure_Or_Double_City_Discussion_With_Office_Supplier_And_Meeting_Project_For_Urban_For_Overlay_Businesspeople_B2b.jpg') no-repeat center center/cover;
    min-height: 80vh;
    padding-top: 100px; /* Adjust for fixed navbar */
    padding-bottom: 50px;
    color: #FFFFFF;
}

.hero-section h1 {
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
}

.hero-section .btn-primary {
    background-color: #FFC107; /* Accent Gold */
    border-color: #FFC107;
    color: #003366;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-image {
    max-height: 450px;
    width: auto;
    border-radius: 15px;
}

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

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

.service-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon {
    color: #003366; /* Deep Navy Blue */
}

.service-card h3 {
    color: #003366;
    font-weight: 600;
}

/* Features Section */
.features-section {
    background-color: #FFFFFF;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    flex-direction: column !important;
    gap: 10px;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #FFC107; /* Accent Gold */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature-icon-small {
    color: #003366; /* Deep Navy Blue */
}

.feature-item h3 {
    color: #003366;
    font-weight: 600;
}

/* Industries Section */
.industries-section {
    background-color: #F0F4F8;
}

.nav-tabs .nav-link {
    color: #003366;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #FFC107;
    border-color: rgba(255, 193, 7, 0.5);
}

.nav-tabs .nav-link.active {
    color: #003366;
    background-color: transparent;
    border-color: #FFC107;
}

.tab-content {
    background-color: #FFFFFF;
    border-top: none !important;
}

.tab-content h3 {
    color: #003366;
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('static/uploads/Or_Expenses_Office_And_With_People_Report_Or_Or_Profit_With_For_Documents_Company_At_Woman_Growth_Corporate_Planning_For_Businessman_Computer_Revenue_Bills.jpg') no-repeat center center/cover;
    color: #FFFFFF;
}

.stat-circle {
    width: 180px;
    height: 180px;
    background-color: rgba(255, 193, 7, 0.15); /* Semi-transparent Accent Gold */
    border: 3px solid #FFC107;
}

.stat-circle h3 {
    color: #FFC107;
}

.stat-circle p {
    font-weight: 600;
}

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

.team-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #003366;
}

.team-card h3 {
    color: #003366;
    font-weight: 600;
}

.team-role {
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.9em;
}

.role-accountant {
    background-color: #E6F0FF; /* Light Blue */
    color: #003366;
}

.role-tax-advisor {
    background-color: #FFF3CD; /* Light Yellow */
    color: #856404;
}

.role-pension-advisor {
    background-color: #D4EDDA; /* Light Green */
    color: #155724;
}

.team-card .btn-outline-secondary {
    color: #003366;
    border-color: #003366;
}

.team-card .btn-outline-secondary:hover {
    background-color: #003366;
    color: #FFFFFF;
}

.team-card .collapse {
    transition: none; /* Instant transition */
}

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

.testimonial-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    position: relative;
    min-height: 220px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5rem;
    color: rgba(0, 51, 102, 0.1);
    z-index: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: #555;
}

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

.testimonial-card h4 {
    color: #003366;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background-color: #FFFFFF;
}

.accordion-button {
    font-weight: 600;
    color: #003366;
    background-color: #F8F9FA;
    border-bottom: 1px solid #E0E0E0;
    transition: none; /* Instant transition */
}

.accordion-button:not(.collapsed) {
    color: #003366;
    background-color: #E6F0FF; /* Light Blue */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003366'%3e%3cpath 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'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003366'%3e%3cpath 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'/%3e%3c/svg%3e");
    transform: rotate(-180deg); /* Instant rotation */
}

.accordion-body {
    background-color: #FFFFFF;
    color: #555;
}

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

.contact-info li {
    color: #343A40;
    font-size: 1.1rem;
}

.contact-info li a {
    color: #003366;
    font-weight: 600;
}

.contact-info li a:hover {
    color: #FFC107;
}

.contact-info .fa-whatsapp {
    color: #25D366; /* WhatsApp green */
}

.contact-form-wrapper {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
}

.contact-form-wrapper h3 {
    color: #003366;
    font-weight: 600;
}

.form-label {
    font-weight: 600;
    color: #343A40;
}

.form-control:focus, .form-select:focus {
    border-color: #FFC107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.contact-section .btn-primary {
    background-color: #003366; /* Deep Navy Blue */
    border-color: #003366;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-section .btn-primary:hover {
    background-color: #002244;
    border-color: #002244;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Footer */
.footer-section {
    background-color: #003366; /* Deep Navy Blue */
    color: #FFFFFF;
}

.footer-brand .footer-logo {
    height: 40px;
}

.footer-brand .brand-name {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-nav li a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #FFC107 !important;
}

.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #FFC107 !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-icon-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .team-card .team-avatar {
        margin-bottom: 15px;
    }

    .footer-brand, .footer-nav, .social-icons {
        justify-content: center !important;
    }

    .footer-nav {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
/* Parent container for content */
.trustPillarUnit {
    padding-top: 60px; /* Top padding for the section */
    padding-bottom: 60px; /* Bottom padding for the section */
    padding-left: 15px; /* Left padding for content */
    padding-right: 15px; /* Right padding for content */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    max-width: 1200px; /* Max width for content readability */
}

/* Heading 1 styles */
.trustPillarUnit h1 {
    font-size: 2rem; /* Moderate font size for main headings */
    line-height: 1.2; /* Good line height for readability */
    margin-bottom: 0.75em; /* Spacing below the heading */
    color: #343A40; /* Dark charcoal color */
    font-weight: 700; /* Bold font weight */
}

/* Heading 2 styles */
.trustPillarUnit h2 {
    font-size: 1.75rem; /* Slightly smaller than h1 */
    line-height: 1.3;
    margin-bottom: 0.7em;
    color: #343A40;
    font-weight: 600; /* Semi-bold font weight */
}

/* Heading 3 styles */
.trustPillarUnit h3 {
    font-size: 1.5rem; /* Smaller than h2 */
    line-height: 1.4;
    margin-bottom: 0.65em;
    color: #343A40;
    font-weight: 600;
}

/* Heading 4 styles */
.trustPillarUnit h4 {
    font-size: 1.25rem; /* Smaller than h3 */
    line-height: 1.5;
    margin-bottom: 0.6em;
    color: #343A40;
    font-weight: 500; /* Medium font weight */
}

/* Heading 5 styles */
.trustPillarUnit h5 {
    font-size: 1.1rem; /* Smaller than h4, closer to body text */
    line-height: 1.6;
    margin-bottom: 0.55em;
    color: #343A40;
    font-weight: 500;
}

/* Paragraph styles */
.trustPillarUnit p {
    font-size: 1rem; /* Base font size for body text */
    line-height: 1.7; /* Generous line height for readability */
    margin-bottom: 1em; /* Spacing between paragraphs */
    color: #343A40;
}

/* Unordered list styles */
.trustPillarUnit ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1em; /* Spacing above the list */
    margin-bottom: 1em; /* Spacing below the list */
    padding-left: 25px; /* Indent for bullet points */
    color: #343A40;
}

/* List item styles */
.trustPillarUnit li {
    font-size: 1rem; /* Font size matching paragraph text */
    line-height: 1.7;
    margin-bottom: 0.5em; /* Spacing between list items */
    color: #343A40;
}

/* Last list item no bottom margin */
.trustPillarUnit ul li:last-child {
    margin-bottom: 0;
}

.card, .team-card p{
    font-size: 16px;
}