/* Basic Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CRITICAL: Ensure images and videos are responsive globally */
img, video {
    max-width: 100%;
    height: auto;
    display: block; /* Helps remove extra space below images */
}

body {
    font-family: 'DM Sans', Arial, sans-serif; /* Applied imported font */
    line-height: 1.6;
    color: #fff; /* Default text color for the hero section and dark backgrounds */
    overflow-x: hidden; /* Prevent horizontal scroll */
    background-color: #222; /* Add a subtle background color for areas outside the video, if any, or for scroll */
}

a {
    text-decoration: none;
    color: inherit; /* Inherit color unless explicitly set */
}

ul {
    list-style: none;
}

/* Global Container Styles - Adjusted for better mobile padding */
.container {
    max-width: 1000px; /* Default for desktop */
    margin: 0 auto;
    padding: 20px 25px; /* Horizontal padding for desktop */
    padding-top: 100px; /* Give space for the fixed header */
}

/* --- Main Header / Navigation Bar --- */
.main-header {
    position: fixed; /* Stays at the top when scrolling */
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center; /* Center the container horizontally */
    padding: 20px 0; /* Vertical padding around the container */
    z-index: 1000; /* Ensure it's above other content */
}

.header-container {
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 90%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    min-height: 40px;
}

.logo a {
    text-decoration: none;
    padding-right: 20px;
}

.logo img {
    height: 40px; /* Adjust this value to control your logo's height */
    max-width: 100%;
    vertical-align: middle;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: flex-end;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #ccc; /* Lighter grey for regular links */
    text-decoration: none;
    font-size: 0.95em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #007bff; /* Updated hover color */
}

/* --- Global Button Styling --- */
/* These styles were previously nested/commented out; they are now active and global */
.btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    text-decoration: none; /* Remove underline from buttons */
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer; /* Indicate it's clickable */
}

.btn-outline {
    border: 1px solid #fff; /* White outline */
    color: #fff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-filled {
    background-color: #007bff; /* Your light brand blue */
    color: #fff;
    border: none;
}

.btn-filled:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.btn-filled.large { /* Specific style for larger buttons */
    padding: 15px 30px;
    font-size: 1.1em;
    margin-top: 30px; /* Space below paragraph in hero */
}


/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    margin-left: 20px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* --- Hero Section with Video Background --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- Partners Section --- */
.partners-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}

.partners-header {
    margin-bottom: 50px;
}

.partners-header h2 {
    font-size: 2.5em;
    color: #333; /* Dark text for title */
    margin-bottom: 10px;
}

.partners-header .underline {
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 0 auto;
}

.partners-logos-container {
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.partners-logos-container::-webkit-scrollbar {
    display: none;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: fit-content;
    padding: 20px 0;
    animation: scroll-logos 40s linear infinite;
    animation-play-state: running;
}

.partners-logos:hover {
    animation-play-state: paused;
}

.partners-logos img {
    height: 60px;
    width: auto;
    margin: 0 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.partners-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Vision, Mission, Core Values Section (aboutus.html) --- */
.vmc-section {
    padding: 80px 0;
    background-color: #fff;
    color: #333; /* Dark text for this section */
}

.vmc-section .container {
    padding: 20px 25px;
}

.vmc-block {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.vmc-block.mission-block {
    flex-direction: row-reverse;
}

.vmc-text-content {
    flex: 1;
    max-width: 50%;
    padding: 0 20px;
}

.vmc-image-content {
    flex: 1;
    max-width: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vmc-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #0f3e5f; /* Dark brand blue */
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vmc-text-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 0;
    color: #555; /* Darker grey for paragraphs */
}

.core-values-block .vmc-text-content ul {
    list-style: none;
    padding-left: 0;
}

.core-values-block .vmc-text-content ul li {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #555; /* Darker grey for list items */
}

.core-values-block .vmc-text-content ul li::before {
    content: '•';
    color: #ff5722;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
    line-height: inherit;
}

.core-values-block .vmc-text-content ul li strong {
    color: #333; /* Make bold text darker */
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.vmc-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.icon-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: #0f3e5f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-circle img {
    height: 60px;
    width: 60px;
    filter: brightness(0) invert(1);
}

/* --- What We Do Section (index.html) --- */
.what-we-do-section {
    padding: 80px 0;
    background-color: #fff;
    color: #333; /* Dark text for this section */
    text-align: center;
}

.what-we-do-section .container {
    padding: 20px 25px;
}

.what-we-do-section .section-title {
    font-size: 2.8em;
    color: #0f3e5f; /* Dark brand blue */
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.what-we-do-section .intro-paragraph {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #555; /* Darker grey for paragraphs */
}

/* --- Service Blocks Layout (Image Left, Text Right) --- */
.service-block {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 50px;
    text-align: left;
}

.service-block.reverse-layout {
    flex-direction: row-reverse;
}

.service-image-content {
    flex: 1;
    max-width: 50%;
}

.service-text-content {
    flex: 1;
    max-width: 50%;
}

.service-title {
    font-size: 2em;
    color: #0f3e5f; /* Dark brand blue */
    margin-bottom: 15px;
}

.service-text-content p {
    font-size: 1em;
    line-height: 1.7;
    color: #666; /* Darker grey for paragraphs */
    margin-bottom: 20px;
}

.service-text-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.service-text-content ul li {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: #444; /* Darker grey for list items */
}

.service-text-content ul li::before {
    content: '✓';
    color: #ff5722;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Image Styling within Service Blocks --- */
.service-image-content .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Client Testimonials / Success Stories Section (index.html) --- */
.testimonials-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333; /* Dark text for this section */
    text-align: center;
}

.testimonials-section .container {
    padding: 20px 25px;
}

.testimonials-section .section-title {
    font-size: 2.8em;
    color: #0f3e5f;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.testimonials-section .intro-paragraph {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #555;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.testimonial-card .quote-icon {
    font-family: serif;
    font-size: 4em;
    color: #ddd;
    line-height: 0.8;
    margin-bottom: 15px;
    float: left;
    margin-right: 5px;
}

.testimonial-card .quote {
    font-size: 1.1em;
    font-style: italic;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
    clear: both;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimonial-card .client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #007bff;
}

.testimonial-card .client-details {
    display: flex;
    flex-direction: column;
}

.testimonial-card .client-name {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.testimonial-card .client-title {
    font-size: 0.9em;
    color: #777;
}

.testimonials-cta {
    margin-top: 20px;
    display: inline-block;
}

/* --- Final Call to Action Section --- */
.final-cta-section {
    padding: 100px 0;
    background-color: #0f3e5f;
    color: #fff;
    text-align: center;
}

.final-cta-section .container {
    padding: 20px 25px;
}

.cta-title {
    font-size: 3.2em;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    color: #e0e0e0;
}

.final-cta-button {
    display: inline-block;
}

/* --- Footer Section --- */
.main-footer {
    padding: 60px 0 20px 0;
    background-color: #111;
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.6;
}

.main-footer .container {
    padding: 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-logo img {
    height: 50px;
    max-width: 100%;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-grid h3 {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #007bff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a img {
    height: 30px;
    width: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icons a img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.85em;
}

/* --- Responsive Adjustments for Footer --- */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 15px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-grid h3 {
        text-align: center;
    }
    .footer-grid h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-about,
    .footer-links,
    .footer-contact,
    .footer-social {
        margin-bottom: 30px;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-bottom {
        padding-top: 15px;
    }
}

/* --- Services Page Hero Section (Base Styles for all internal pages) --- */
.page-hero-section {
    position: relative;
    width: 100vw;
    height: 40vh; /* Shorter hero for internal pages */
    background-color: #0f3e5f; /* Your dark brand blue */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    padding-top: 60px; /* Space for fixed header */
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Slight overlay */
    z-index: 0;
}

.page-hero-section h1 {
    position: relative;
    z-index: 1;
    font-size: 3.5em;
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-hero-section p {
    position: relative;
    z-index: 1;
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- Main Services Detail Section (Specific for service.html) --- */
.main-services-detail-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333;
}

.main-services-detail-section .container {
    padding: 20px 25px;
}

.main-services-detail-section .section-title {
    font-size: 2.8em;
    color: #0f3e5f;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.main-services-detail-section .intro-paragraph {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.service-block {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 60px;
    text-align: left;
}

.service-block.reverse-layout {
    flex-direction: row-reverse;
}

.service-image-content {
    flex: 1;
    max-width: 50%;
}

.service-text-content {
    flex: 1;
    max-width: 50%;
}

.service-detail-title {
    font-size: 2.2em;
    color: #007bff;
    margin-bottom: 20px;
}

.service-detail-text-content p {
    font-size: 1em;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.service-detail-text-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.service-detail-text-content ul li {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: #444;
}

.service-detail-text-content ul li::before {
    content: '✓';
    color: #ff5722;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Image Styling within Service Blocks --- */
.service-image-content .image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Responsive Adjustments for Services Page --- */
@media (max-width: 992px) {
    .page-hero-section h1 {
        font-size: 2.5em;
    }
    .page-hero-section p {
        font-size: 1em;
    }

    .service-detail-block {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 60px;
    }

    .service-detail-block.reverse-layout {
        flex-direction: column;
    }

    .service-detail-image-content,
    .service-detail-text-content {
        max-width: 100%;
    }

    .service-detail-image-content {
        margin-bottom: 20px;
    }

    .service-detail-title {
        text-align: center;
        font-size: 1.8em;
    }
    .service-detail-text-content p {
        text-align: center;
    }
    .service-detail-text-content ul {
        margin: 0 auto 20px auto;
        text-align: left;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        height: 30vh;
        padding-top: 40px;
    }
    .page-hero-section h1 {
        font-size: 2em;
    }
    .page-hero-section p {
        font-size: 0.9em;
    }

    .main-services-detail-section {
        padding: 60px 0;
    }
    .main-services-detail-section .section-title {
        font-size: 2.2em;
    }
    .main-services-detail-section .intro-paragraph {
        font-size: 1em;
    }
    .service-detail-block {
        margin-bottom: 40px;
    }
    .service-detail-title {
        font-size: 1.5em;
    }
    .service-detail-text-content p {
        font-size: 0.9em;
    }
    .service-detail-text-content ul li {
        font-size: 0.9em;
    }
}

/* --- Main Partners Detail Section --- */
.main-partners-detail-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333;
}

.main-partners-detail-section .container {
    padding: 20px 25px;
}

.main-partners-detail-section .intro-paragraph {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.partner-category-block {
    margin-bottom: 70px;
}

.category-title {
    font-size: 2.5em;
    color: #0f3e5f;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.category-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.category-description {
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    color: #666;
    text-align: center;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.partner-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo-detail {
    max-height: 80px;
    max-width: 80%;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.partner-description {
    font-size: 0.9em;
    line-height: 1.5;
    color: #777;
}

.partner-cta {
    background-color: #007bff;
    color: #fff;
    padding: 50px 30px;
    border-radius: 12px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.partner-cta h3 {
    font-size: 2.2em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.partner-cta p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

@media (max-width: 992px) {
    .page-hero-section h1 {
        font-size: 2.5em;
    }
    .page-hero-section p {
        font-size: 1em;
    }

    .main-partners-detail-section {
        padding: 60px 0;
    }

    .category-title {
        font-size: 2em;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .partner-cta h3 {
        font-size: 1.8em;
    }
    .partner-cta p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        height: 30vh;
        padding-top: 40px;
    }
    .page-hero-section h1 {
        font-size: 2em;
    }
    .page-hero-section p {
        font-size: 0.9em;
    }

    .main-partners-detail-section .intro-paragraph {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .partner-category-block {
        margin-bottom: 50px;
    }

    .category-title {
        font-size: 1.8em;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        padding: 20px;
    }

    .partner-cta {
        padding: 40px 20px;
    }
    .partner-cta h3 {
        font-size: 1.5em;
    }
    .partner-cta p {
        font-size: 0.9em;
    }
}

/* --- About Us Page Hero Section --- */
.page-hero-section.about-hero {
    background-color: #0f3e5f;
    background-size: cover;
    background-position: center;
}

/* --- Our Story / Introduction Section --- */
.our-story-section {
    padding: 80px 0;
    background-color: #fff;
    color: #333;
}

.our-story-section .container {
    padding: 20px 25px;
}

.story-content-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-text {
    flex: 1;
    max-width: 55%;
}

.section-title-alt {
    font-size: 2.5em;
    color: #0f3e5f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.story-image {
    flex: 1;
    max-width: 45%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    height: auto;
    display: block;
}

.story-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Our Team Section --- */
.our-team-section {
    padding: 80px 0;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
}

.our-team-section .section-title {
    font-size: 2.8em;
    color: #0f3e5f;
    margin-bottom: 20px;
}

.our-team-section .intro-paragraph {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #555;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 3px solid #007bff;
}

.member-name {
    font-size: 1.4em;
    color: #0f3e5f;
    margin-bottom: 5px;
}

.member-title {
    font-size: 0.95em;
    color: #777;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 0.9em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.member-skills {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    width: 100%;
    text-align: left;
}

.member-skills h4 {
    font-size: 0.95em;
    color: #0f3e5f;
    margin-bottom: 10px;
    font-weight: 700;
}

.member-skills ul {
    list-style: none;
    padding: 0;
}

.member-skills ul li {
    font-size: 0.85em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.member-skills ul li::before {
    content: '•';
    color: #ff5722;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Contact Page Hero Section --- */
.page-hero-section.contact-hero {
    background-color: #0f3e5f;
    background-size: cover;
    background-position: center;
}

/* --- Main Contact Content Section --- */
.contact-details-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333;
    text-align: center;
}

.contact-details-section .container {
    padding: 20px 25px;
}

.contact-grid {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 60px;
    flex-wrap: wrap;
}

.contact-form-column,
.direct-contact-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-form-column h3,
.direct-contact-column h3 {
    font-size: 1.8em;
    color: #0f3e5f;
    margin-bottom: 25px;
    text-align: center;
}

/* --- Contact Form Styling --- */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'DM Sans', sans-serif;
    color: #333;
    background-color: #f0f0f0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-filled {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
    cursor: pointer;
}

/* --- Direct Contact Info Styling --- */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1em;
    color: #555;
}

.contact-info-item i {
    font-size: 1.5em;
    color: #007bff;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

/* Placeholder for styling the direct contact text/links */
.contact-info-item span a {
    color: #007bff;
    text-decoration: none;
}

.contact-info-item span a:hover {
    text-decoration: underline;
}

.contact-social-links h3 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
}

.contact-social-links .social-icons {
    justify-content: flex-start;
}

.contact-map {
    margin-top: 40px;
}

.contact-map h3 {
    text-align: left;
    margin-bottom: 15px;
}

.contact-map iframe {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* --- Responsive Adjustments for Contact Page --- */
@media (max-width: 992px) {
    /* Hero section inherits responsive styles */

    .contact-grid {
        flex-direction: column;
        gap: 30px;
    }
    .contact-form-column,
    .direct-contact-column {
        max-width: 100%;
        margin: 0 auto;
    }
    .contact-form-column h3,
    .direct-contact-column h3 {
        text-align: center;
    }
    .contact-info-item {
        justify-content: center;
    }
    .contact-social-links h3,
    .contact-map h3 {
        text-align: center;
    }
    .contact-social-links .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Hero section inherits responsive styles */
    .contact-details-section {
        padding: 60px 0;
    }
    .contact-details-section .section-title {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    .contact-details-section .intro-paragraph {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .contact-form-column,
    .direct-contact-column {
        padding: 25px;
    }

}

/* --- Legal Pages Hero Section --- */
.page-hero-section.legal-hero {
    background-color: #0f3e5f;
    background-size: cover;
    background-position: center;
}

/* --- Legal Content Section --- */
.legal-content-section {
    padding: 80px 0;
    background-color: #fff;
    color: #333;
}

.legal-content-section .container {
    padding: 20px 25px;
}

.legal-content-section .last-updated {
    font-size: 0.9em;
    color: #777;
    text-align: right;
    margin-bottom: 30px;
}

.legal-content-section h3 {
    font-size: 1.8em;
    color: #0f3e5f;
    margin-top: 40px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.legal-content-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.legal-content-section p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

.legal-content-section ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content-section ul li {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

.legal-content-section ul li strong {
    color: #333;
}

.legal-content-section a {
    color: #007bff;
    text-decoration: underline;
}

.legal-content-section a:hover {
    color: #0056b3;
}

/* --- Responsive Adjustments for Legal Pages --- */
@media (max-width: 992px) { /* Added for intermediate tablets */
    .legal-content-section h3 {
        text-align: center;
    }
    .legal-content-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
@media (max-width: 768px) {
    /* Hero section inherits responsive styles */
    .legal-content-section {
        padding: 60px 0;
    }
    .legal-content-section .last-updated {
        text-align: center;
        margin-bottom: 20px;
    }
    .legal-content-section h3 {
        font-size: 1.5em;
        margin-top: 30px;
    }
    .legal-content-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .legal-content-section p,
    .legal-content-section ul li {
        font-size: 0.95em;
    }
}

/* --- Services Page Hero Section (Reusing .page-hero-section from global styles) --- */
/* Specific background or overlay if desired for services-hero */
.page-hero-section.services-hero {
    /* You can add a specific background image here */
    /* background-image: url('path/to/services-hero-bg.jpg'); */
    /* background-color: #0f3e5f; /* Example: Dark blue background */
background-size: cover;
    background-position: center;
}

/* --- Services Overview Section (New Design) --- */
.services-overview-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333; /* Dark text */
    text-align: center;
}

.services-overview-section .container {
    padding: 20px 25px;
}

.services-overview-section .section-title { /* Reuses existing section-title style */
    font-size: 2.8em;
    color: #0f3e5f;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.services-overview-section .intro-paragraph { /* Reuses existing intro-paragraph style */
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #555;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 columns on desktop, responsive */
    gap: 30px; /* Space between cards */
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3em; /* Size of the icon */
    color: #007bff; /* Your light brand blue for icons */
    margin-bottom: 20px;
}

.service-card-title {
    font-size: 1.6em;
    color: #0f3e5f; /* Your dark brand blue */
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px; /* Space below description */
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left; /* Align list items to left */
    margin-bottom: 30px; /* Space below list */
}

.service-card ul li {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px; /* Space for checkmark */
    color: #444;
}

.service-card ul li .fa-check-circle { /* Font Awesome checkmark icon */
    color: #ff5722; /* Your brand orange */
    position: absolute;
    left: 0;
    top: 2px; /* Adjust vertical alignment */
    font-size: 0.9em;
}

.service-card-cta { /* Button for each service card */
    margin-top: auto; /* Pushes button to bottom of card */
    width: 100%; /* Full width button */
    padding: 12px 20px;
    font-size: 0.95em;
    border-radius: 8px;
}

/* --- Responsive Adjustments for Services Overview Section --- */
@media (max-width: 992px) {
    .service-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .services-overview-section {
        padding: 60px 0;
    }
    .services-overview-section .section-title {
        font-size: 2.2em;
    }
    .services-overview-section .intro-paragraph {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .service-cards-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    .service-card {
        padding: 30px;
    }
    .service-icon {
        font-size: 2.5em;
    }
    .service-card-title {
        font-size: 1.4em;
    }
    .service-card p {
        font-size: 0.9em;
    }
    .service-card ul li {
        font-size: 0.85em;
    }
}