body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    color: #34495E;
    background-color: #FFFFFF;
    line-height: 1.6;
}

:root {
    --primary-blue: #2C3E50;
    --accent-blue: #3498DB;
    --light-grey: #ECF0F1;
    --white: #FFFFFF;
    --text-dark: #34495E;
    --text-light: #F8F9FA;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    font-weight: 600;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn-primary-blue:hover {
    background-color: #2980B9;
    border-color: #2980B9;
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand .logo-img {
    height: 40px;
}

.navbar-brand .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.navbar-nav .nav-link {
    color: var(--primary-blue);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
}

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

/* Hero Section */
.hero-section {
    word-break: break-all;
    min-height: 80vh;
    background-image: url('pictures/content/financial-cityscape-abstract.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px; /* Adjust for fixed navbar */
    padding-bottom: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.75); /* Dark blue-grey overlay */
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 2.5rem;
}

.hero-section p.lead {
    color: var(--text-light);
    font-size: 1.3rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card .icon-large {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

/* General Section Padding */
section {
    padding: 80px 0;
}

/* About Section */
.bg-light-grey {
    background-color: var(--light-grey);
}

.team-quote-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    padding: 1.5rem;
}

.team-quote-card .card-img-top {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--accent-blue);
}

.team-quote-card blockquote {
    font-style: italic;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

/* Services Section */
.service-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-video-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Approach Section (Features) */
.tab-content img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.nav-tabs {
    border-bottom: 2px solid var(--light-grey);
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 1rem 1.5rem;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.nav-tabs .nav-link.active {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background-color: transparent;
}

@media (max-width: 767.98px) {
    .nav-tabs .nav-link {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-grey);
    }
    .nav-tabs .nav-link.active {
        border-bottom: 2px solid var(--accent-blue);
    }
}

/* Pricing Section */
.pricing-card {
    border: 1px solid var(--light-grey);
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured-plan {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
}

.price-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price-currency {
    font-size: 1.2rem;
    vertical-align: super;
    margin-right: 0.25rem;
    color: var(--accent-blue);
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid var(--light-grey);
}

.accordion-button {
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-blue);
    background-color: var(--light-grey);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body ul li {
    margin-bottom: 0.5rem;
}

.accordion-body ul li i {
    color: var(--accent-blue);
}

/* Team Section */
.team-micro-card {
    width: 140px;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-micro-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
}

/* Industries Section */
#industries .accordion-button {
    font-size: 1.15rem;
    padding: 1.25rem 1.5rem;
}

#industries .accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
    border-left: 1px solid var(--light-grey);
    border-right: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

/* Stats Section */
.bg-primary-blue {
    background-color: var(--primary-blue);
}

.stat-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    width: 220px;
    flex-shrink: 0;
    flex-grow: 1;
    max-width: 250px;
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-item .icon-huge {
    font-size: 3.5rem;
    color: var(--accent-blue);
}

.stat-item .stat-value {
    color: var(--white);
}

.stat-item .stat-description {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonial-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    background-color: var(--white);
}

.testimonial-card.bg-light-grey {
    background-color: var(--light-grey);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
}

/* Contact Section */
#contact .contact-item {
    word-break: break-all;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

#contact .contact-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#contact .icon-large {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

#contact h5 {
    color: var(--white);
}

#contact a {
    color: var(--text-light);
}

#contact a:hover {
    color: var(--white);
}

/* Footer */
.footer {
    word-break: break-all;
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer .footer-brand .logo-img {
    height: 35px;
}

.footer .footer-brand .site-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer .list-unstyled li a {
    color: var(--text-light);
    display: block;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.footer .list-unstyled li a:hover {
    color: var(--accent-blue);
}

.footer address, .footer p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer i {
    color: var(--accent-blue);
}

.footer a.text-white:hover {
    color: var(--accent-blue) !important;
}

/* Utility classes */
.text-primary-blue {
    color: var(--primary-blue);
}

.text-accent-blue {
    color: var(--accent-blue);
}

.bg-primary-blue {
    background-color: var(--primary-blue);
}

.bg-accent-blue {
    background-color: var(--accent-blue);
}

.bg-light-grey {
    background-color: var(--light-grey);
}

.icon-small { font-size: 1.2rem; }
.icon-medium { font-size: 1.8rem; }
.icon-large { font-size: 2.5rem; }
.icon-huge { font-size: 3.5rem; }
/*
 * .userClauseNet Container Styles
 * Provides basic padding and centers the content for readability.
 */
.userClauseNet {
  padding: 2rem 1.5rem;     /* Top/bottom padding, left/right padding */
  max-width: 75ch;         /* Optimal line length for readability (approx. 75 characters) */
  margin: 0 auto;          /* Centers the block element horizontally */
  line-height: 1.6;        /* Default line height for better readability */
  color: #333;             /* Default text color, slightly softer than pure black */
  font-family: sans-serif; /* A sensible default font if not already defined */
}

/*
 * Heading Styles (h1-h5)
 * Provides moderate font sizes and spacing, avoiding overly large headings.
 */
.userClauseNet h1 {
  font-size: 2.2rem;       /* Moderate size for main heading */
  margin-top: 2.5rem;      /* Space above the heading */
  margin-bottom: 1rem;     /* Space below the heading */
  line-height: 1.2;        /* Tighter line height for headings */
  font-weight: 700;        /* Bold font weight */
  color: #222;             /* Slightly darker color for emphasis */
}

.userClauseNet h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
}

.userClauseNet h3 {
  font-size: 1.5rem;
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  line-height: 1.4;
  font-weight: 500; /* Slightly less bold */
  color: #222;
}

.userClauseNet h4 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
  font-weight: 500;
  color: #333;
}

.userClauseNet h5 {
  font-size: 1.1rem;       /* Just a bit larger than body text */
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-weight: 400;        /* Regular weight, often for sub-headings or minor titles */
  color: #444;
}

/*
 * Paragraph Styles (p)
 * Sets a comfortable font size, line height, and spacing between paragraphs.
 */
.userClauseNet p {
  font-size: 1.1rem;       /* Slightly larger than base for good readability */
  line-height: 1.7;        /* Increased line height for better readability */
  margin-bottom: 1.2rem;   /* Space between paragraphs */
}

/*
 * Unordered List Styles (ul, li)
 * Provides standard bullet points and spacing.
 */
.userClauseNet ul {
  list-style-type: disc;   /* Default bullet style */
  margin-bottom: 1.5rem;   /* Space after the list */
  padding-left: 1.8rem;    /* Indentation for bullet points */
}

.userClauseNet ul li {
  margin-bottom: 0.6rem;   /* Space between list items */
}

/*
 * Ordered List Styles (ol, li)
 * Provides standard numbered lists and spacing.
 */
.userClauseNet ol {
  list-style-type: decimal; /* Default numbering style */
  margin-bottom: 1.5rem;    /* Space after the list */
  padding-left: 1.8rem;     /* Indentation for numbers */
}

.userClauseNet ol li {
  margin-bottom: 0.6rem;    /* Space between list items */
}

@media (max-width: 575px) {
    .navbar-brand .site-title {
        font-size: 1rem;
    }
}
