/* ===== Base Styles ===== */
:root {
    /* New Logo-Based Color Palette */
    --primary-color: #0D2A57;      /* Deep Navy from logo */
    --primary-color-rgb: 13, 42, 87;
    --secondary-color: #1A75CF;    /* Medium Bright Blue from logo 'O' */
    --secondary-color-rgb: 26, 117, 207;
    --accent-color: #5FA8D3;       /* Lighter Sky Blue from logo 'O' highlight */
    --light-color: #F8F9FA;        /* Very Light Grey/Off-white Background */
    --white-color: #FFFFFF;         /* Pure White */
    --dark-text-color: #333333;    /* Dark Grey for Text */
    --light-text-color: #E0E0E0;   /* Light Grey for Text on Dark Backgrounds */
    --border-color: #DDE2E7;       /* Subtle Grey for Borders */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    /* Typography */
    --heading-font: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --body-font: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1280px; /* Slightly wider for a more spacious feel */
    
    /* Border Radius */
    --border-radius: 6px; /* Slightly more rounded */
    --border-radius-lg: 10px;
    
    /* Box Shadow - Softer */
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-inset: inset 0 2px 4px rgba(0,0,0,0.05);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Import Other CSS Files */
@import 'hero.css';

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.7; /* Increased for better readability */
    color: var(--dark-text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem; /* More spacing */
    color: var(--primary-color);
}

h1 { font-size: 3rem; font-weight: 800; } /* Slightly reduced, but bolder */
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.375rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--dark-text-color);
    font-size: 1.05rem; /* Base size, can adjust per component */
    line-height: 1.8; /* Increased for better readability */
    font-weight: 400;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color); /* Darken on hover for contrast */
    text-decoration: none; /* Ensure no underline unless specified */
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem; /* Slightly larger padding */
    border-radius: var(--border-radius-lg); /* More rounded */
    font-weight: 600; /* Bolder */
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
    text-transform: none; /* No uppercase for a more modern feel */
    letter-spacing: 0.2px;
    box-shadow: var(--box-shadow);
    line-height: 1.5;
}

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

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

.btn-primary:hover {
    background-color: var(--primary-color); /* Darken on hover */
    border-color: var(--primary-color);
    color: var(--white-color);
}

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

.btn-secondary:hover {
    background-color: #071324; /* Slightly darker primary */
    border-color: #071324;
    color: var(--white-color);
}

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

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--light-text-color);
    border-color: var(--light-text-color);
}

.btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

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

.btn-light:hover {
    background-color: var(--light-color); /* Light grey hover */
    color: var(--primary-color);
    border-color: var(--light-color);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -12px; /* Adjusted position */
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Slightly wider */
    height: 4px; /* Slightly thicker */
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

/* About Us Section */
.about {
    padding: var(--section-padding);
    background-color: var(--white-color); /* Use pure white for a very clean look, or var(--light-color) for off-white */
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--dark-text-color);
    opacity: 0.9;
}

.about-text .subtitle {
    font-size: 1.25rem; /* Slightly larger */
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.5px;
}

.about-text h2 {
    font-size: 2.25rem; /* Align with global h2 */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    object-fit: cover;
    max-height: 500px; /* Allow slightly taller image */
}

/* Optional: Decorative element behind image */
.about-image::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80%;
    height: 80%;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transition: var(--transition);
}

.about-content:hover .about-image::before {
    transform: translate(5px, 5px);
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start; /* Align items to the start for potentially multi-line text */
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--dark-text-color);
}

.about-list li svg {
    width: 22px; /* Slightly larger icon */
    height: 22px;
    margin-right: 1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 0.15em; /* Align icon better with first line of text */
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--light-color); /* Light grey background for contrast */
}

/* Services section header uses global .section-header styles */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--secondary-color);
}

.service-item .icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(var(--secondary-color-rgb, 58, 123, 213), 0.1); /* Ensure --secondary-color-rgb is defined or use a direct rgba value */
    border-radius: 50%;
    line-height: 1;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-item p {
    color: var(--dark-text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0; /* Slightly more padding */
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    background-color: var(--white-color); /* White background */
    box-shadow: var(--box-shadow);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9); /* White with slight transparency */
    padding: 1rem 0;
    box-shadow: var(--box-shadow-lg); /* Softer, more spread shadow */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0; /* Reduced padding for a slimmer header */
}

.navbar .logo img {
    max-height: 45px; /* Increased header logo size */
    width: auto;
}

.logo {
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 2rem;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
}

.nav-links li a {
    color: var(--primary-color); /* Dark text color for white background */
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary-color); /* Blue for hover state */
}

header.scrolled .nav-links li a:hover,
header.scrolled .nav-links li a.active {
    color: var(--secondary-color); /* Main blue for hover/active on scrolled header */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0px; /* Underline closer to text */
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background-color: var(--secondary-color); /* Use secondary color for underline */
    transition: transform 0.3s ease;
    transform-origin: center;
}

header.scrolled .nav-links li a::after {
    background-color: var(--secondary-color);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Ensure hamburger is above nav links in mobile */
}

.hamburger .bar {
    display: block;
    width: 28px; /* Slightly wider bars */
    height: 3px;
    margin: 6px auto; /* Slightly more spacing */
    background-color: var(--primary-color); /* Dark color for white background */
    transition: all 0.3s ease-in-out;
    border-radius: 1px;
}

header.scrolled .hamburger .bar {
    background-color: var(--primary-color);
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg); /* Adjusted for new bar margin */
    background-color: var(--primary-color); /* Ensure active X is dark */
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg); /* Adjusted for new bar margin */
    background-color: var(--primary-color); /* Ensure active X is dark */
}

/* Responsive Navigation */
/* Mobile Menu */
@media (max-width: 992px) {
    .header {
        padding: 1rem 0;
    }
    
    .header.scrolled {
        padding: 0.75rem 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Initially off-screen */
        width: 80%;
        max-width: 320px; /* Slightly wider mobile menu */
        height: 100vh;
        background-color: var(--white-color); /* Light background for mobile menu */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Smoother animation */
        box-shadow: -8px 0 25px rgba(0,0,0,0.1);
        padding-top: 5rem; /* Space for close button or logo */
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links li a {
        font-size: 1.3rem; /* Larger font for mobile menu */
        color: var(--dark-text-color); /* Dark text on light mobile menu */
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--secondary-color); /* Main blue for active/hover */
    }

    .nav-links li a::after {
        background-color: var(--secondary-color);
        bottom: -8px; /* Adjust underline for larger mobile font */
    }
    
    body.menu-open {
        overflow: hidden;
    }
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transition: all 0.5s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .btn-outline {
        border-color: var(--white);
        color: var(--white);
    }
    
    .btn-outline:hover {
        background-color: var(--white);
        color: var(--primary-color);
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-logo {
    height: 40px; /* Increased footer logo size */
    margin-bottom: 1.5rem;
    width: auto; /* Ensure aspect ratio is maintained */
    /* filter: brightness(0) invert(1); Removed as new logo has colors */
}

.social-links a {
    color: var(--light-color);
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

.social-links a:last-child {
    margin-right: 0;
}

.social-links a:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer h4 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding-left: 0;
    margin: 0; /* Reset margin */
}

.footer-links li a,
.footer-services li a {
    color: var(--light-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    opacity: 0.85;
}

.footer-links li:last-child a,
.footer-services li:last-child a {
    margin-bottom: 0;
}

.footer-links li a:hover,
.footer-services li a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
    opacity: 1;
}

.footer-newsletter p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    gap: 1rem;
}

.newsletter-form .form-group.full-width {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: none;
    background-color: rgba(255,255,255,0.1);
    color: var(--white-color);
    font-size: 0.95rem;
    outline: none;
    border-radius: var(--border-radius);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
    opacity: 1; /* Ensure placeholder is visible */
}

.newsletter-form .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-form .form-consent input[type="checkbox"] {
    margin-top: 0.3rem;
    accent-color: var(--secondary-color);
}

.newsletter-form .form-consent label {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.9;
}

.newsletter-form button {
    padding: 0.9rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.newsletter-form button i {
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    background-color: rgba(0,0,0,0.1);
}

.footer-bottom p {
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.footer-legal a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-legal a:hover {
    color: var(--secondary-color);
    opacity: 1;
    text-decoration: underline;
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0; /* Generous vertical padding */
    background-color: var(--light-color); /* Subtle background */
    overflow: hidden; /* To contain any floated or absolutely positioned elements if added later */
}

.about .section-header { /* Reusable section header styles */
    text-align: center;
    margin-bottom: 4rem;
}

.about .section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive heading size */
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about .section-header p {
    font-size: 1.1rem;
    color: var(--dark-text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto; /* Center the paragraph */
}

.about-content {
    display: flex;
    align-items: center; /* Vertically align items if they have different heights */
    gap: 3rem; /* Space between text and image */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.about-text {
    flex: 1; /* Allow text to take available space */
    min-width: 300px; /* Minimum width before wrapping */
}

.about-text h3 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text-color);
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

.about-text .btn { /* Specific styling for button within about text if needed */
    margin-top: 1rem;
}

.about-image {
    flex: 1; /* Allow image to take available space */
    min-width: 300px; /* Minimum width before wrapping */
    text-align: center; /* Center image if it's smaller than its container */
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg); /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Subtle shadow */
}

/* Responsive adjustments for About section */

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background-color: var(--white-color); /* Alternate background */
}

/* .services .section-header will use the generic .section-header styles already added */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2.5rem; /* Gap between cards */
    margin-top: 3rem; /* Space below section header */
}

.service-card {
    background-color: var(--light-color); /* Light background for cards */
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent; /* For potential border on hover */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--secondary-color-light);
}

.service-icon {
    font-size: 2.8rem; /* Size of the Font Awesome icon */
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block; /* Allows margin bottom to work correctly */
    /* Optional: Add a background shape to the icon */
    /* 
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(var(--secondary-color-rgb), 0.1); 
    */
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-text-color);
    opacity: 0.85;
}

/* ===== CTA Section ===== */
.cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 6rem 0;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(13, 42, 87, 0.15);
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
        linear-gradient(135deg, rgba(26, 117, 207, 0.2) 0%, rgba(13, 42, 87, 0.4) 100%);
    opacity: 0.8;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 41, 128, 0.9) 0%, 
        rgba(38, 83, 173, 0.85) 30%, 
        rgba(116, 49, 205, 0.8) 70%, 
        rgba(58, 12, 163, 0.9) 100%);
    z-index: 2;
    mix-blend-mode: multiply;
}

.cta .container {
    position: relative;
    z-index: 3;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white-color);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--white-color);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    color: var(--primary-color);
}

.cta-or {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--white-color);
}

.cta-phone {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.cta-phone:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.trust-item span {
    font-size: 0.9rem;
    opacity: 0.95;
    color: var(--white-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta {
        padding: 4rem 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-trust {
        gap: 1.5rem;
    }
}

/* ===== Footer Section ===== */
.footer {
    position: relative;
    background-color: var(--dark-color);
    color: var(--white-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-top {
    position: relative;
    padding: 5rem 0 3rem;
    background: linear-gradient(to bottom, #0d2a57, #051630);
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-branding {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 40px;
    margin-right: 1rem;
    filter: brightness(0) invert(1);
}

.footer-badge {
    display: flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid var(--success-color);
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    color: var(--success-color);
}

.footer-badge i {
    margin-right: 0.3rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    color: var(--white-color);
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer h4 {
    color: var(--white-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul,
.footer-services ul,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-services a {
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i,
.footer-services a i {
    font-size: 0.7rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover i,
.footer-services a:hover i {
    transform: translateX(3px);
}

.footer-contact-info {
    color: var(--white-color);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.contact-list i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.3rem;
}

.contact-list a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 1.2rem;
    color: var(--white-color);
    opacity: 0.9;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 1rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white-color);
    font-size: 0.9rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 3px;
    width: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-color);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    font-size: 0.8rem;
    color: var(--white-color);
    opacity: 0.8;
}

.form-consent input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.footer-bottom {
    background: #051630;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--white-color);
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.divider {
    margin: 0 0.5rem;
    opacity: 0.4;
}

/* Footer Responsive Adjustments */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
}

.cta-content .btn.btn-light {
    padding: 0.9rem 2.5rem; /* Slightly larger button */
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Subtle shadow for the light button */
}

.cta-content .btn.btn-light:hover {
    background-color: var(--white-color); /* Keep white */
    color: var(--accent-color); /* Change text color on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== Performance Section (Track Record) ===== */
.performance { /* Changed from .track-record to match HTML id/class */
    padding: 6rem 0;
    background-color: var(--light-color); /* Or var(--white-color) if preferred for alternation */
}

/* ===== Compliance Section ===== */
.compliance {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-color), #f8faff);
    position: relative;
    overflow: hidden;
}

.compliance::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d2a57' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 0;
}

.compliance .container {
    position: relative;
    z-index: 1;
}

.compliance-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

/* Visual elements (badge and seal) */
.compliance-visual {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.compliance-badge-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.compliance-badge {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(13, 42, 87, 0.2);
    max-width: 350px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.compliance-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    opacity: 0.6;
}

.badge-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.badge-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 0.3rem;
}

.badge-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.compliance-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.seal-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.seal-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--success-color);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.seal-circle i {
    font-size: 3rem;
    color: var(--success-color);
}

.seal-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
}

.performance-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* This will center the children horizontally */
    gap: 2rem; /* Adds some space between the centered elements */
    width: 100%; /* Ensure the container itself uses available width */
}

/* Information section */
.compliance-info {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.compliance-card {
    background: var(--white-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.compliance-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compliance-card h3 i {
    color: var(--primary-color);
}

.compliance-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.compliance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white-color);
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(13, 42, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.compliance-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .compliance-content {
        flex-direction: column;
    }
    
    .compliance-visual {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .compliance-badge {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .compliance-features {
        grid-template-columns: 1fr;
    }
    
    .compliance-actions {
        flex-direction: column;
    }
    
    .compliance-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* .performance .section-header will use the generic .section-header styles already added */

.performance-content {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 3rem;
    flex-wrap: wrap; /* Allow wrapping */
    margin-top: 3rem;
}

.performance-text {
    flex: 1;
    min-width: 300px;
}

.performance-text p { /* General paragraphs in performance text */
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text-color);
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid for metrics */
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--white-color); /* Changed to white for contrast with section bg */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md); /* Slightly more pronounced shadow */
}

.metric {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius-md);
}

.metric h4 {
    font-size: 0.9rem;
    color: var(--dark-text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric .metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color); /* Highlight metric value */
}

.performance-text .disclaimer {
    font-size: 0.85rem;
    color: var(--muted-text-color);
    opacity: 0.75;
    margin-top: 1.5rem;
    font-style: italic;
}

.performance-chart {
    flex: 1.5; /* Give chart more space if desired */
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    width: 100%;
    min-height: 350px; /* Minimum height for the chart area */
    background-color: var(--white-color); 
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--muted-text-color);
    border: 2px dashed var(--border-color);
    box-shadow: var(--box-shadow-inset);
}

/* Responsive adjustments for Performance section */
@media (max-width: 768px) {
    .performance-content {
        flex-direction: column;
    }
    .performance-chart {
        margin-top: 2rem;
        /* order: -1; */ /* Optionally move chart above text on mobile */
    }
    .performance-metrics {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Smaller minmax for mobile */
        padding: 1.5rem;
    }
    .metric .metric-value {
        font-size: 1.8rem;
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    background-color: var(--white-color); /* Or var(--light-color) for alternating sections */
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem; /* Space between info and form */
    margin-top: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between contact items */
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Align icon to top of text */
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-color); /* Light background for each item */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.contact-icon {
    font-size: 1.8rem; /* Icon size */
    color: var(--secondary-color); /* Icon color */
    margin-top: 0.25rem; /* Align icon nicely with text */
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 40px; /* Fixed width for alignment */
    text-align: center;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-text p a {
    color: var(--secondary-color); /* Link color for phone/email */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form-container { /* Assuming the div wrapping the form has this class */
    flex: 1.5; /* Give form more space */
    min-width: 300px;
    padding: 2.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    color: var(--dark-text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--white-color);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(75, 123, 229, 0.15); /* --secondary-color with low opacity */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container .btn.btn-primary { /* Ensure button styling is applied */
    width: 100%; /* Make button full width */
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Responsive adjustments for Contact section */
@media (max-width: 992px) { /* Adjust breakpoint if needed */
    .contact-content {
        flex-direction: column;
    }
    .contact-info,
    .contact-form-container {
        flex-basis: 100%; /* Take full width when stacked */
    }
}

/* ===== Regulation & Compliance Section ===== */
.compliance {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.compliance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, rgba(26, 117, 207, 0.03) 0%, rgba(13, 42, 87, 0.05) 100%);
    z-index: 0;
}

.compliance .container {
    position: relative;
    z-index: 1;
}

.compliance-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

/* Main compliance area with card and features */
.compliance-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Primary compliance card */
.compliance-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(13, 42, 87, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 42, 87, 0.12);
}

.compliance-card .card-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white-color);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.compliance-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
}

.compliance-logo i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.compliance-card:hover .compliance-logo i {
    transform: scale(1.1);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.card-body {
    padding: 2rem;
}

.regulatory-body {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text-color);
    margin-bottom: 1rem;
}

.regulatory-info {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.regulatory-number {
    display: inline-block;
    background-color: rgba(26, 117, 207, 0.1);
    border-left: 3px solid var(--secondary-color);
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--dark-text-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.regulatory-number span {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Compliance features grid */
.compliance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(13, 42, 87, 0.06);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 42, 87, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--dark-text-color);
}

.feature-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* Compliance CTA area */
.compliance-cta {
    display: flex;
    flex-direction: column;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(13, 42, 87, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    color: var(--white-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.document-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: background 0.3s ease, transform 0.3s ease;
}

.document-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.document-link i {
    font-size: 1.2rem;
}

.cta-card .btn {
    margin-top: auto;
    background-color: var(--white-color);
    color: var(--primary-color);
    border: none;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .compliance-content {
        grid-template-columns: 1fr;
    }
    
    .compliance-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .compliance-card .card-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .compliance-features {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack text and image */
        text-align: center; /* Center text content */
    }

    .about-text {
        margin-bottom: 2rem; /* Add space below text when stacked */
    }

    .about .section-header p {
        padding: 0 1rem; /* Add some horizontal padding for the subtitle on mobile */
    }
}

/* Responsive Typography */
@media (max-width: 1200px) {
    :root {
        --container-width: 1140px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--primary-color); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* Track Record Section Styles */
.performance {
    padding: 60px 0;
    background-color: var(--light-color); /* Using --light-color for section background */
}

.performance .section-header h2 {
    color: var(--primary-color);
    margin-bottom: 15px; /* Added margin */
}

.performance .section-header p {
    color: var(--dark-text-color); /* Changed to darker text for better contrast */
    margin-bottom: 40px;
    font-size: 1.1em; /* Slightly larger subtitle */
}

.performance-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Performance Highlights Grid */
.performance-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px); /* Fixed width for 3 columns */
    gap: 25px;
    width: calc(3 * 280px + 2 * 25px); /* 840px + 50px = 890px */
    max-width: 100%; /* Ensure it doesn't overflow parent */
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for highlight grid */
@media (max-width: 992px) { /* Tablets and larger phones - 2 columns */
    .performance-highlights-grid {
        grid-template-columns: repeat(2, 280px);
        width: calc(2 * 280px + 1 * 25px); /* 560px + 25px = 585px */
    }
}

@media (max-width: 620px) { /* Adjusted breakpoint for single column (585px grid + padding) */
    .performance-highlights-grid {
        grid-template-columns: 1fr; /* Single column, takes available width */
        width: 100%;
        max-width: 320px; /* Max width for a single card to look decent, centered by margin auto */
        /* margin-left: auto; and margin-right: auto; are still inherited */
    }
}

.highlight-card {
    background-color: var(--white-color); /* Using white for cards */
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.highlight-card h4 {
    font-size: 1.05em; /* Adjusted size */
    color: var(--secondary-color); /* Using secondary color for card titles */
    margin-bottom: 12px;
    font-weight: 600;
}

.highlight-card .metric-value {
    font-size: 1.8em; /* Adjusted size */
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-card .metric-value.positive {
    color: var(--success-color);
}

.highlight-card .metric-value.negative {
    color: var(--danger-color);
}

.highlight-card .metric-sub-label {
    display: block;
    font-size: 0.75em; /* Adjusted size */
    color: var(--dark-text-color); /* Darker for readability */
    margin-top: 5px;
}

/* Performance Row (Detailed Stats & Volume Breakdown) */
.performance-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px;
}

.performance-column {
    /* flex: 1; and min-width: 320px; are less critical here but can be kept for fallback or specific sizing needs */
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

/* Responsive: Stack columns on smaller screens */
@media (max-width: 820px) { /* Adjusted breakpoint for better fit */
    .performance-row {
        grid-template-columns: 1fr; /* Single column */
    }
}

.performance-column h3 {
    font-size: 1.4em; /* Adjusted size */
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.detailed-stats-list {
    list-style: none;
    padding: 0;
}

.detailed-stats-list li {
    padding: 10px 0; /* Increased padding */
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9em;
    color: var(--dark-text-color);
}

.detailed-stats-list li:last-child {
    border-bottom: none;
}

.detailed-stats-list li strong {
    color: var(--primary-color); /* Stronger emphasis */
    margin-right: 8px;
}

/* Volume Breakdown Table */
.volume-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.volume-breakdown-table th,
.volume-breakdown-table td {
    padding: 12px 10px; /* Adjusted padding */
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85em;
}

.volume-breakdown-table th {
    background-color: var(--secondary-color); /* Using secondary color for header */
    color: var(--white-color);
    font-weight: 600;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.volume-breakdown-table tbody tr:nth-child(even) {
    background-color: #f8f9fa; /* Subtle striping for readability */
}

.volume-breakdown-table tbody tr:hover {
    background-color: #e9ecef; /* Hover effect */
}

/* Performance Chart Containers */
.performance-chart-container {
    width: 100%;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.performance-chart-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.4em;
}

#performanceLineChart,
#monthlyPerformanceBarChart {
    max-height: 380px; /* Adjusted max-height */
    width: 100% !important;
}

/* Disclaimers */
.disclaimers {
    margin-top: 25px;
    text-align: center;
}

.disclaimers .disclaimer {
    font-size: 0.8em;
    color: #6c757d; /* Muted grey color */
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Add these if not already present or to override */
:root {
    --success-color: #28a745; 
    --danger-color: #dc3545;
    /* --text-strong: #333; -- Already likely covered by --dark-text-color or similar */
    /* --text-muted: #777; -- Already likely covered */
    /* --border-color: #eee; -- Already defined */
    /* --background-hover: #f1f1f1; -- Using #e9ecef for table */
    /* --accent-color-lightest: #e9f2ff;  -- Not used here, using accent-color or secondary-color directly */
}
