
/* --- Global Styles & Variables --- */
:root {
    --primary-color: #1a365d; /* Deep tech blue */
    --secondary-color: #7928ca; /* Electric purple */
    --white-color: #ffffff;
    --light-gray-color: #f8f9fa;
    --medium-gray-color: #e9ecef;
    --dark-gray-color: #6c757d;
    --text-color: #343a40;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lato', sans-serif;
    --base-font-size: 16px;
    --line-height: 1.6;
    --container-width: 1140px;
    --section-padding: 60px 0;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
}

body {
    font-family: var(--body-font);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 0.8em;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 700; }
h3 { font-size: 1.6rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

li {
    margin-bottom: 0.5em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout & Container --- */
.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray-color);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}
.bg-gradient h1, .bg-gradient h2, .bg-gradient h3, .bg-gradient h4 {
    color: var(--white-color);
}
.bg-gradient p {
    color: rgba(255, 255, 255, 0.9);
}

.text-center {
    text-align: center;
}

.top-margin {
    margin-top: 30px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #5e1f9e; /* Darker purple */
    color: var(--white-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(121, 40, 202, 0.4);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #112342; /* Darker blue */
    color: var(--white-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 54, 93, 0.4);
}

.btn-white {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.btn-white:hover, .btn-white:focus {
    background-color: var(--light-gray-color);
    color: var(--primary-color);
    text-decoration: none;
     transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}


.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}
.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar-brand {
    text-decoration: none;
}
.navbar-brand .logo {
    height: 40px; /* Adjust as needed */
    vertical-align: middle;
}
.navbar-brand .brand-text {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px; /* Add if using text instead of logo */
    vertical-align: middle;
}
.navbar-brand:hover { text-decoration: none; }


.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 25px;
}

.nav-link {
    font-family: var(--heading-font);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
    text-decoration: none;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Make last nav item button distinct */
.nav-item:last-child .nav-link {
    padding: 8px 15px; /* Match btn-small */
    color: var(--white-color); /* Match btn-secondary */
    background-color: var(--secondary-color); /* Match btn-secondary */
    border-radius: var(--border-radius);
}
.nav-item:last-child .nav-link:hover, .nav-item:last-child .nav-link:focus {
    background-color: #5e1f9e; /* Darker purple */
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(121, 40, 202, 0.4);
}
.nav-item:last-child .nav-link::after {
    display: none; /* Remove underline effect for button */
}


.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0s 0.3s linear; /* Delay background disappearance */
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: transform var(--transition-speed), top var(--transition-speed) 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Height of header */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        align-items: center;
        border-top: 1px solid var(--medium-gray-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 15px 0;
        margin-left: 0; /* Reset margin */
    }

     .nav-item:last-child .nav-link {
        display: inline-block; /* Ensure button styles apply */
        width: auto;
    }


    .nav-toggle {
        display: block; /* Show on mobile */
    }

    /* Hamburger animation */
    .nav-toggle.active .hamburger {
        background-color: transparent; /* Middle bar disappears */
    }
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
         transition: top var(--transition-speed), transform var(--transition-speed) 0.3s ease;
    }
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
        transition: top var(--transition-speed), transform var(--transition-speed) 0.3s ease;
    }
}


/* --- Hero Section --- */
.hero-section {
    background-color: var(--primary-color); /* Fallback */
    background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.95)), url('../images/hero-bg.jpg') no-repeat center center/cover; /* Add your hero image */
    color: var(--white-color);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 3.5rem;
    color: var(--white-color);
    margin-bottom: 0.5em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-subheadline {
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 1em;
    transform: scale(1);
    transition: transform 0.3s ease;
}
.hero-cta:hover {
    transform: scale(1.05);
}

.hero-trust-signal {
    margin-top: 2em;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}
.hero-trust-signal .highlight {
    color: var(--white-color);
    font-weight: bold;
    background-color: rgba(121, 40, 202, 0.5); /* Subtle purple highlight */
    padding: 2px 5px;
    border-radius: 3px;
}

/* Optional: Subtle animation for background */
/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(121, 40, 202, 0.1), rgba(121, 40, 202, 0) 70%);
    animation: pulse 5s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.5); opacity: 0.15; }
    100% { transform: scale(1); opacity: 0.1; }
} */


/* --- Section Titles --- */
.section-title {
    margin-bottom: 0.5em;
}
.page-title { margin-bottom: 0.3em; }

.section-subtitle {
    font-size: 1.15rem;
    color: var(--dark-gray-color);
    margin-bottom: 2.5em;
    max-width: 700px;
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray-color);
    margin-bottom: 0;
    max-width: 800px;
}
.text-center .section-subtitle, .text-center .page-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .about-container { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 992px) {
    .about-container { grid-template-columns: 1fr 1.5fr; gap: 60px;}
     .about-text { padding-left: 30px; }
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 350px; /* Control image size */
    margin: 0 auto; /* Center image on mobile */
}

.about-highlights {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5em;
}
.about-highlights li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8em;
}
.about-highlights li::before {
    content: '✓'; /* Checkmark */
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}
.about-highlights .highlight {
    font-weight: bold;
    color: var(--primary-color);
}

/* --- Services Overview Section --- */
.service-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 2em;
}
@media (min-width: 768px) {
    .service-cards-container { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
    max-height: 60px;
    margin-bottom: 1.5em;
}

.service-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8em;
}

.service-description {
    font-size: 0.95rem;
    color: var(--dark-gray-color);
    margin-bottom: 1em;
    min-height: 60px; /* Ensure cards have similar height */
}

.service-value {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1.5em;
}
.service-value .highlight {
    font-weight: bold;
}

.service-link {
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
}
.service-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}


/* --- Results / Testimonials Section --- */
.testimonial-carousel { /* Basic layout, can be enhanced with JS */
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .testimonial-carousel { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background-color: var(--light-gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: relative;
}
.testimonial-card::before { /* Quote symbol */
    content: '“';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.2;
    line-height: 1;
}


.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5em;
    font-size: 1.05rem;
    color: var(--text-color);
}

.testimonial-attribution {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.5em;
}
.testimonial-metric {
    font-size: 0.9rem;
    color: var(--dark-gray-color);
}
.testimonial-metric .highlight {
    font-weight: bold;
    color: var(--secondary-color);
}

/* --- Call to Action (CTA) Sections --- */
.cta-section {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     color: var(--white-color);
}
.cta-title {
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}
.cta-text {
    font-size: 1.15rem;
    margin-bottom: 1.5em;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}
.cta-assurance {
    font-size: 0.9rem;
    margin-top: 1em;
     color: rgba(255, 255, 255, 0.8);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 0;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4.footer-heading {
    color: var(--white-color);
    margin-bottom: 1.5em;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 1em;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}
.footer-links a:hover, .footer-links a:focus {
    color: var(--white-color);
    padding-left: 5px;
    text-decoration: none;
}

.footer-contact p {
    margin-bottom: 1.5em;
}
.footer-contact .btn-secondary { /* Adjust button style for footer */
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}
.footer-contact .btn-secondary:hover {
     background-color: var(--white-color);
     color: var(--secondary-color);
     border-color: var(--white-color);
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 0;
}

/* --- Services Page Specific Styles --- */
.page-header {
    background-color: var(--light-gray-color);
    text-align: center;
    padding: 80px 0;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}
@media (min-width: 992px) {
    .package-grid { grid-template-columns: repeat(3, 1fr); }
}

.package-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 35px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--medium-gray-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative; /* For featured badge */
}
.package-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 30px rgba(121, 40, 202, 0.2); /* Purple shadow */
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-icon {
    max-height: 50px;
    margin-bottom: 1em;
    align-self: center; /* Center icon if card is flex column */
}

.package-name {
    font-size: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.package-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1em;
}
.package-price span { /* For units like /month if needed */
    font-size: 1rem;
    font-weight: normal;
    color: var(--dark-gray-color);
}

.package-description {
    text-align: center;
    color: var(--dark-gray-color);
    margin-bottom: 1.5em;
    min-height: 60px; /* Consistency */
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5em;
    flex-grow: 1; /* Pushes CTA down */
}
.package-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8em;
    font-size: 0.95rem;
}
.package-features li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.package-ideal {
    font-size: 0.9rem;
    color: var(--dark-gray-color);
    margin-bottom: 1.5em;
    font-style: italic;
}

.package-cta {
    margin-top: auto; /* Pushes button to bottom */
    align-self: center;
}

.testimonial-snippet {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--medium-gray-color);
    font-size: 0.9rem;
}
.testimonial-snippet .quote {
    font-style: italic;
    color: var(--dark-gray-color);
    margin-bottom: 0.5em;
}
.testimonial-snippet .attribution {
    font-weight: bold;
     color: var(--primary-color);
}


/* --- Process Section --- */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 3em;
    position: relative;
}

/* Optional: Add connecting line for desktop view */
@media (min-width: 768px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 25px; /* Adjust based on step-number size */
        left: 10%;
        right: 10%;
        height: 2px;
        background-color: var(--medium-gray-color);
        z-index: -1;
    }
    .process-steps {
         grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
         gap: 20px; /* Smaller gap for horizontal layout */
    }
}
@media (min-width: 1200px) {
     .process-steps { grid-template-columns: repeat(5, 1fr); } /* Ensure 5 steps fit */
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
    background: var(--white-color);
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5em;
    position: relative; /* To sit above the line */
    z-index: 1;
    border: 3px solid var(--white-color); /* Creates separation from line */
    box-shadow: 0 0 0 3px var(--secondary-color);
}


.step-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

.step-description {
    font-size: 0.95rem;
    color: var(--dark-gray-color);
    margin-bottom: 1em;
}
.step-timeline {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--secondary-color);
}
.note {
    margin-top: 2em;
    font-size: 0.9rem;
    color: var(--dark-gray-color);
    font-style: italic;
}

/* --- ROI Section --- */
.roi-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 2em 0;
}
.roi-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
}
.roi-item h3 {
    color: var(--white-color);
    margin-bottom: 0.5em;
    font-size: 1.3rem;
}
.roi-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.roi-calculator-concept {
    margin: 2.5em 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
}
.calculator-title {
    color: var(--white-color);
    font-size: 1.4rem;
}
.roi-calculator-concept p {
     color: rgba(255, 255, 255, 0.95);
     margin-bottom: 0.5em;
}
.roi-calculator-concept small {
     color: rgba(255, 255, 255, 0.7);
}

/* --- Portfolio / Case Studies Page --- */
.case-studies-section { background-color: var(--white-color); } /* Ensure white background */

.case-study {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--medium-gray-color);
}
.case-study:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

@media (min-width: 992px) {
    .case-study { gap: 50px; grid-template-columns: 1fr 1.2fr; align-items: start; }
    .case-study.alt-layout { grid-template-columns: 1.2fr 1fr; }
    .case-study.alt-layout .case-study-image { order: 1; } /* Move image to the right */
    .case-study.alt-layout .case-study-content { order: 0; }
}

.case-study-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    object-fit: cover; /* Ensure image covers area */
    width: 100%;
}

.case-study-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.3em;
}
.case-study-client {
    font-size: 1.1rem;
    color: var(--dark-gray-color);
    margin-bottom: 1.5em;
}
.case-study-challenge, .case-study-solution {
    margin-bottom: 1.5em;
}
.case-study-challenge strong, .case-study-solution strong {
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: 0.3em;
}

.case-study-results {
    background-color: var(--light-gray-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 2em 0;
    border-left: 4px solid var(--secondary-color);
}
.results-heading {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1em;
}
.case-study-results ul {
    list-style: none;
    padding: 0;
}
.case-study-results li {
    margin-bottom: 0.7em;
    position: relative;
    padding-left: 20px;
}
.case-study-results li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}
.case-study-results .highlight {
    font-weight: bold;
    color: var(--secondary-color);
}

.case-study-quote {
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: var(--dark-gray-color);
}
.case-study-quote p {
    margin-bottom: 0.5em;
    font-size: 1.1rem;
}
.case-study-quote footer {
    font-style: normal;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.before-after {
    margin-top: 2em;
    font-size: 0.9rem;
}
.before-after h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}
.before-after p {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 0.5em;
    font-family: monospace;
}
.before-after strong { font-weight: bold; color: #555; }


/* --- Contact Page --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .contact-container { grid-template-columns: 1fr 1.3fr; gap: 60px;}
}

.contact-info h2 { margin-bottom: 1em; }
.contact-info p { color: var(--dark-gray-color); }

.contact-guarantee, .contact-value-prop {
    margin-top: 2.5em;
    padding: 20px;
    border-radius: var(--border-radius);
}
.contact-guarantee {
    background-color: var(--light-gray-color);
    border-left: 4px solid var(--secondary-color);
}
.contact-value-prop {
     background-color: rgba(26, 54, 93, 0.05); /* Light primary bg */
     border-left: 4px solid var(--primary-color);
}
.guarantee-title, .value-prop-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8em;
}
.contact-guarantee .highlight {
    font-weight: bold;
    color: var(--secondary-color);
}
.contact-value-prop ul {
    list-style: none;
    padding-left: 0;
}
 .contact-value-prop li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.6em;
    font-size: 0.95rem;
 }
 .contact-value-prop li::before {
     content: '★'; /* Star symbol */
     position: absolute;
     left: 0;
     color: var(--primary-color);
 }


.contact-form-wrapper {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}
@media (min-width: 992px) { .contact-form-wrapper { padding: 40px; } }


.contact-form .form-title {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.95rem;
}
.form-group label .required {
    color: var(--secondary-color);
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--body-font);
    transition: border-color var(--transition-speed);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(121, 40, 202, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--dark-gray-color);
    margin-top: 0.5em;
}

.form-submit {
    text-align: center;
    margin-top: 2em;
}

.error-message {
    color: #dc3545; /* Red for errors */
    font-size: 0.85rem;
    margin-top: 0.3em;
    display: none; /* Hidden by default */
}
input.invalid, textarea.invalid, select.invalid {
    border-color: #dc3545;
}
input.invalid:focus, textarea.invalid:focus, select.invalid:focus {
     box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.form-status {
    margin-top: 1.5em;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    display: none; /* Hidden by default */
}
.form-status.success {
    background-color: #d4edda; /* Green */
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-status.error {
     background-color: #f8d7da; /* Red */
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: 2em auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--medium-gray-color);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-family: var(--heading-font);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for icon */
}

.faq-question::after { /* Accordion icon */
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform var(--transition-speed);
}

.faq-question[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 15px; /* Match question padding (optional) */
}
.faq-answer p {
    margin-bottom: 1em;
    color: var(--dark-gray-color);
}
.faq-answer[aria-hidden="false"] {
    max-height: 500px; /* Adjust as needed */
    padding: 10px 15px 20px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}


/* --- Accessibility --- */
/* Basic focus outline for keyboard navigation */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}
/* Hide outline if using mouse */
body:not(.user-is-tabbing) a:focus,
body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) textarea:focus,
body:not(.user-is-tabbing) select:focus {
  outline: none;
}


/* --- Helper / Utility Classes --- */
.highlight { /* General purpose highlight */
     font-weight: bold;
     color: var(--secondary-color);
}
/* Add other utility classes as needed: .d-none, .mb-1, .mt-3, etc. */

