/* ============================= */
/* Driftpin Website CSS          */
/* Updated: 2025                 */
/* Color Scheme:                 */
/* - Primary Blue: #0099BA       */
/* - Dark Navy: #005A6F          */
/* - Light Teal: #39C2DF         */
/* - Accent: #007791             */
/* ============================= */

/* ============================= */
/* 1. Global Styles & Reset      */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #005A6F;
    background-color: #f5f5f5;
    font-size: 18px; /* Driftpin standard: 18px base */
    padding: 0 20px; /* Overall body padding */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Increased from 20px */
}

:root {
  --header-offset: 120px; /* matches your fixed header + some breathing room */
}


/* ============================= */
/* 2. Header & Navigation        */
/* ============================= */
/* Fixed header with clean navigation */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo styling */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0099BA; /* Primary blue */
}

.logo a {
    color: inherit;
    text-decoration: none;
}

/* Main navigation links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #005A6F; /* Dark navy */
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0099BA; /* Primary blue on hover */
}

/* ============================= */
/* 3. Hero Section               */
/* ============================= */
/* Main homepage hero with stats */
.hero {
    background: linear-gradient(135deg, #f9f9f9 0%, #e6f7ff 100%);
    padding: 120px 0 80px;
    margin-top: 120px; /* Increased to account for fixed header */
}

/* Hero page title - above two-column layout */
.hero > .container > h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #005A6F;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero text content */
.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #005A6F; /* Dark navy */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #005A6F;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Primary call-to-action button */
.cta-primary {
    background: #0099BA; /* Primary blue */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-primary:hover {
    background: #007791; /* Accent color */
    transform: translateY(-2px);
}

/* Hero statistics card */
.hero-stats {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid #39C2DF; /* Light teal accent */
}

.stat {
    margin-bottom: 1.5rem;
}

.stat-number {
	font-size: 1.25rem;
	font-weight: 600;
	display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
    color: #005A6F; /* Dark navy */
    font-weight: 500;
    opacity: 0.8;
}

/* Home page mini-TOC */
.home-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 153, 186, 0.25);
}

.home-toc a {
    color: #007791;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.home-toc a:hover {
    color: #0099BA;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .home-toc {
        gap: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Back to Top links */
.back-to-top {
    display: block;
    text-align: right;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #007791;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.back-to-top:hover {
    opacity: 1;
    text-decoration: underline;
}

.back-to-top-light {
    color: #39C2DF;
}

/* What's New Section */
.whats-new {
    padding: 50px 0;
    background: #ffffff;
    border-top: 3px solid #39C2DF;
}

.whats-new-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.whats-new-header h2 {
    font-size: 1.8rem;
    color: #005A6F;
    margin: 0;
}

.whats-new-date {
    font-size: 0.95rem;
    color: #007791;
    font-weight: 500;
    opacity: 0.8;
}

.whats-new-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.whats-new-list li {
    padding: 0.75rem 0 0.75rem 1.5rem !important;
    border-bottom: 1px solid #e6f7ff;
    position: relative;
    font-size: 1.05rem;
    color: #005A6F;
    line-height: 1.5;
}

.whats-new-list li::before {
    content: "\25B8";
    position: absolute;
    left: 0;
    color: #0099BA;
    font-weight: bold;
}

.whats-new-list li:last-child {
    border-bottom: none;
}

.whats-new-list a {
    color: #0099BA;
    text-decoration: none;
    font-weight: 500;
}

.whats-new-list a:hover {
    color: #007791;
    text-decoration: underline;
}

/* Secondary CTA button (outline style) */
.cta-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #0099BA;
    color: #0099BA;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 0.75rem;
}

.cta-secondary:hover {
    background: #0099BA;
    color: white;
    transform: translateY(-2px);
}

/* Partner callout boxes on home page */
.partner-callouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 2rem;
}

.partner-callout {
    background: white;
    border: 1px solid #39C2DF;
    border-left: 4px solid #0099BA;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.partner-callout h4 {
    font-size: 1.1rem;
    color: #005A6F;
    margin-bottom: 0.5rem;
}

.partner-callout p {
    font-size: 0.95rem;
    color: #005A6F;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.callout-link {
    color: #0099BA;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.callout-link:hover {
    color: #007791;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .partner-callouts {
        grid-template-columns: 1fr;
    }
}

/* Glossary Terms */
.glossary-term {
    border-bottom: 1px dotted #39C2DF;
    cursor: help;
    position: relative;
    text-decoration: none;
}

.glossary-term:hover {
    border-bottom-color: #2BA3C7;
    background-color: rgba(57, 194, 223, 0.1);
}

.missing-term {
  border-bottom: 1px dashed red;
  color: red;
}



/* ============================= */
/* 4. Services Section           */
/* ============================= */
/* Two-column services grid */
.services {
    padding: 80px 0;
    background: #ffffff;
}

/* Section headers (reusable) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #005A6F; /* Dark navy */
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #005A6F;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Services grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Individual service category cards */
.service-category {
    background: #f9f9f9; /* Light gray background */
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #0099BA; /* Primary blue accent */
    border: 1px solid #39C2DF; /* Light teal border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
    font-size: 1.5rem;
    color: #005A6F; /* Dark navy */
    margin-bottom: 1rem;
}

/* Service item lists */
.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: #005A6F;
    border-bottom: 1px solid #d0e8ff; /* Light blue separator */
    opacity: 0.9;
}

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

.service-list strong {
    color: #007791; /* Accent color for emphasis */
}

/* ============================= */
/* 5. Value Proposition Section  */
/* ============================= */
/* Dark section with value points */
.value-prop {
    padding: 80px 0;
    background: #005A6F; /* Dark navy background */
    color: white;
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.value-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.value-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Checkmark list for value points */
.value-points {
    list-style: none;
    padding-left: 0; /* Remove any inherited padding */
    margin-left: 0;  /* Remove any inherited margin */
}

.value-points li {
    padding: 0.8rem 0;
    padding-left: 3.5rem;
    position: relative;
    opacity: 0.9;
    list-style: none; /* Explicitly remove bullets on each item */
}

.value-points li::before {
    content: "✓";
    position: absolute;
    left: -1.25rem;
    color: #39C2DF;
    font-weight: bold;
}
/* ============================= */
/* 6. Portfolio Section          */
/* ============================= */
/* Case studies and portfolio grid */
.portfolio {
    padding: 80px 0;
    background: #f9f9f9; /* Light gray background */
}

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

/* Placeholder for portfolio items */
.portfolio-stub {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    color: #005A6F;
    font-style: italic;
    opacity: 0.7;
    border: 1px solid #d0e8ff; /* Light blue border */
}

/* Offset all in-page anchors to account for the fixed header */
:target {
  scroll-margin-top: var(--header-offset);
}


/* ============================= */
/* 7. Footer                     */
/* ============================= */
/* Site footer with contact info and links */
footer {
    background: #005A6F !important; /* Dark navy - force override */
    color: white !important; /* Force white text */
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 40px;                 /* Add horizontal padding */
    max-width: 1200px;               /* Constrain max width */
    margin: 0 auto;                  /* Center horizontally */
}


.footer-section h3 {
    margin-bottom: 1rem;
    color: #39C2DF !important; /* Light teal headings - force override */
}

.footer-section p, .footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    color: white !important; /* Force white text */
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white !important; /* Force white links */
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: #39C2DF !important; /* Light teal on hover - force override */
}

.footer-bottom {
    border-top: 1px solid #007791; /* Accent border */
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
}

.footer-left, .footer-links {
    flex: 1 1 300px;
}

/* New class used for legal links */
.legal-links {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.legal-links li {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}



/* ============================= */
/* 8. Legacy Components          */
/* ============================= */
/* Compatibility with existing site elements */

/* Case study cards (existing content) */
.case-study-card {
    border: 1px solid #d0e8ff; /* Light blue border */
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero offer sections (existing content) */
.hero-offer {
    background-color: #e6f7ff; /* Very light blue */
    border: 1px solid #39C2DF; /* Light teal border */
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.hero-offer .cta-button {
    display: inline-block;
    background-color: #0099BA; /* Primary blue */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.hero-offer .cta-button:hover {
    background-color: #007791; /* Accent color */
}

/* ============================= */
/* 9. Universal Page Spacing     */
/* ============================= */
/* Sustainable solution for header clearance on all pages */
body main {
    min-height: 100vh;
}

.page-content {
  padding-top: 140px !important;
}


/* Exception for homepage which has custom hero spacing */
body main .hero {
    padding-top: 120px !important;
}

/* FINAL override for content spacing under fixed header */
main > section.services-page,
main > section.page-content,
main > .page-content {
    padding-top: 140px !important;
    scroll-margin-top: 160px; /* Helps with anchor links too */
}



/* Exception for contact page which has custom spacing */
body main .contact-hero {
    padding-top: 120px !important;
}

/* ============================= */
/* 10. Contact Page Styles       */
/* ============================= */
/* Contact page hero and form styling */
.contact-hero {
    background: linear-gradient(135deg, #f9f9f9 0%, #e6f7ff 100%);
    padding: 120px 0 60px;
    margin-top: 70px; /* Account for fixed header */
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #005A6F; /* Dark navy */
    margin-bottom: 1.5rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #005A6F;
    opacity: 0.8;
}

.contact-content {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

/* Contact Information */
.contact-info h2 {
    font-size: 2rem;
    color: #005A6F;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #d0e8ff;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #007791;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #0099BA;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #007791;
    text-decoration: underline;
}

/* Contact Form */
.contact-form h2 {
    font-size: 2rem;
    color: #005A6F;
    margin-bottom: 1rem;
}

.form-intro {
    color: #005A6F;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.consultation-form {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #d0e8ff;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #005A6F;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #39C2DF;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
    color: #005A6F;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0099BA;
    box-shadow: 0 0 0 3px rgba(0, 153, 186, 0.1);
}

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

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005A6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    appearance: none;
}

/* Form CTA Button */
.consultation-form .cta-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================= */
/* 11. Responsive Design         */
/* ============================= */
/* Mobile and tablet adaptations */
@media (max-width: 768px) {
    /* Stack grid layouts on mobile */
    .hero-content,
    .value-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Smaller hero text on mobile */
    .hero-text h1 {
        font-size: 2.2rem;
    }

    /* Hide navigation links on mobile (add hamburger menu if needed) */
    .nav-links {
        display: none;
    }

    /* Adjust body padding for mobile */
    body {
        padding: 0 10px;
    }

    /* Legacy: Stack columns on mobile */
    main {
        flex-direction: column;
        gap: 15px;
    }

    .column {
        max-width: 100%;
        flex: 1 1 100%;
    }

    /* Contact page responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero {
        padding: 100px 0 40px;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .consultation-form {
        padding: 1.5rem;
    }
}



/* ============================= */
/* 12. Content Page Typography   */
/* ============================= */

/* Universal content container */
.page-content {
    background: #fafafa;
    min-height: calc(100vh - 200px);
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Content headings hierarchy */
.content-article h1 {
    font-size: 2.5rem;
    color: #005A6F;
    margin-bottom: 2rem;
    border-bottom: 3px solid #39C2DF;
    padding-bottom: 1rem;
}

.content-article h2 {
    font-size: 1.8rem;
    color: #005A6F;
    margin: 2.5rem 0 1.5rem 0;
/*    border-left: 4px solid #0099BA; */
/*    padding-left: 1rem; */
}

.content-article h3 {
    font-size: 1.4rem;
    color: #007791;
    margin: 2rem 0 1rem 0;
}

/* Content paragraphs and spacing */
.content-article p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #005A6F;
}

/* Content lists */
.content-article ul,
.content-article ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;   /* was 2rem */
    list-style-type: disc;
    list-style-position: outside;
}

.content-article li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    padding-left: 0;        /* was 0.5rem */
}

/* Content links */
.content-article a {
    color: #0099BA;
    text-decoration: underline;
    text-decoration-color: rgba(0, 153, 186, 0.3);
    transition: all 0.3s;
}

.content-article a:hover {
    color: #007791;
    text-decoration-color: #007791;
}

/* Blockquotes for callouts */
.content-article blockquote {
    background: #e6f7ff;
    border-left: 4px solid #0099BA;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

.content-article blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: #005A6F;
}

/* Horizontal rules */
/* GOOD */
.content-article hr {
    border: none;
    border-top: 1px solid #39C2DF;
    margin: 3rem auto;
    width: 80%;
    opacity: 0.7;
}

/* ============================= */
/* 12b. Article Images & Meta    */
/* ============================= */

/* Hero image on single pages */
.article-hero-image {
    margin: -0px -40px 2rem -40px;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    max-height: 400px;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Subtitle/description below title */
.article-subtitle {
    font-size: 1.2rem;
    color: #007791;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Date display */
.article-date {
    font-size: 0.9rem;
    color: #005A6F;
    opacity: 0.6;
    margin-bottom: 2rem;
}

/* Thumbnail in list views */
.listing-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    list-style: none;
}

.listing-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-content {
    flex: 1;
}

@media (max-width: 768px) {
    .article-hero-image {
        margin: 0 -20px 1.5rem -20px;
        max-height: 250px;
    }

    .listing-item {
        flex-direction: column;
    }

    .listing-thumb {
        width: 100%;
        height: 180px;
    }
}

/* ============================= */
/* 13. Direct Content Selectors  */
/* ============================= */

/* Direct selectors for all ul/li elements in main content */
main ul {
    margin: 1.5rem 0 !important;
    padding-left: 2rem !important;
    list-style-type: disc !important;
}

main li {
    margin-bottom: 0.8rem !important;
    padding-left: 0.5rem !important;
    line-height: 1.6 !important;
}

/* Direct selector for blockquotes */
main blockquote {
    background: #e6f7ff !important;
    border-left: 4px solid #0099BA !important;
    margin: 2rem 0 !important;
    padding: 1.5rem 2rem !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Direct selector for horizontal rules */
main hr {
    border: none !important;
    border-top: 1px solid #39C2DF !important;
    margin: 3rem auto !important;
    width: 80% !important;
    opacity: 0.7 !important;
}


/* ============================= */
/* 14. Partners Section Styles   */
/* ============================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 5rem; /* Add bottom spacing between last partner row and footer */
}


.partner-blurb h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #005A6F;
}

.partner-blurb p {
  margin-bottom: 0.75rem;
}

.partner-blurb .cta-primary {
  margin-top: 0.5rem;
  display: inline-block;
}

.content-article a.cta-primary,
.cta-primary {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Force CTA buttons to render white text, regardless of content link styles */
.content-article a.cta-primary,
.content-article a.cta-primary:link,
.content-article a.cta-primary:visited,
.content-article a.cta-primary:hover,
.content-article a.cta-primary:active {
  color: #fff !important;
  text-decoration: none !important;
  background-color: #0099BA !important; /* ensure background isn't overridden */
}

/* Optional: hover style */
.content-article a.cta-primary:hover {
  background-color: #007791 !important;
}
@media (max-width: 768px) {
  .footer-content {
    padding: 0 20px;
  }
}

/* ============================= */
/* 15. Landing Page Styles       */
/* ============================= */

/* Header branding for landing pages */
.landing-page .landing-header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #d0e8ff;
    position: relative;
}

.landing-page .brand-info {
    text-align: center;
}

.landing-page .landing-logo {
    height: 80px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Full-width headline banner */
.landing-page .headline-banner {
    background: linear-gradient(135deg, #005A6F 0%, #007791 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.landing-page .main-headline {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.landing-page .headline-support {
    font-size: 18px;
    opacity: 0.9;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero section */
.landing-page .hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 50px 0;
    min-height: auto;
}

/* Hero split layout */
.landing-page .hero-split {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: flex-start;
}

.landing-page .hero-left {
    text-align: left;
}

.landing-page .hero-right {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #d0e8ff;
    text-align: center;
}

.landing-page .cta-button {
    background: #0099BA;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: background-color 0.2s;
    width: 100%;
    max-width: 350px;
}

.landing-page .cta-button:hover {
    background: #007791;
}

.landing-page .contact-alternatives {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #d0e8ff;
}

.landing-page .contact-item {
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.landing-page .phone-link,
.landing-page .email-link {
    color: #0099BA;
    text-decoration: none;
    margin-left: 10px;
}

.landing-page .phone-link:hover,
.landing-page .email-link:hover {
    color: #007791;
    text-decoration: underline;
}

/* Info form styles */
.landing-page .info-form-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d0e8ff;
}

.landing-page .form-divider {
    font-size: 14px;
    color: #005A6F;
    margin-bottom: 15px;
    font-style: italic;
}

.landing-page .info-request-btn {
    background: #39C2DF;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.2s;
}

.landing-page .info-request-btn:hover {
    background: #007791;
}

.landing-page .info-form {
    margin-top: 15px;
}

.landing-page .info-form input,
.landing-page .info-form select,
.landing-page .info-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #39C2DF;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.landing-page .info-form input:focus,
.landing-page .info-form select:focus,
.landing-page .info-form textarea:focus {
    outline: none;
    border-color: #0099BA;
    box-shadow: 0 0 0 2px rgba(0, 153, 186, 0.1);
}

.landing-page .info-form button {
    background: #0099BA;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.landing-page .info-form button:hover {
    background: #007791;
}

.landing-page .problem-statement {
    font-size: 24px;
    font-weight: 500;
    color: #005A6F;
    margin-bottom: 20px;
    line-height: 1.4;
}

.landing-page .problem-explanation {
    font-size: 18px;
    color: #005A6F;
    opacity: 0.8;
}

.landing-page .content-section {
    padding: 60px 0;
    border-top: 1px solid #d0e8ff;
}

.landing-page .section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #005A6F;
}

.landing-page .credential-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.landing-page .credential-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #0099BA;
}

.landing-page .credential-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #005A6F;
}

.landing-page .method-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
}

.landing-page .method-steps li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    color: #005A6F;
}

.landing-page .method-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #0099BA;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.landing-page .bottom-cta {
    background: #005A6F;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.landing-page .bottom-cta h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.landing-page .bottom-cta .cta-button {
    background: #0099BA;
    width: auto;
    max-width: none;
}

.landing-page .bottom-cta .cta-button:hover {
    background: #007791;
}

/* Mobile responsive for landing pages */
@media (max-width: 768px) {
    .landing-page .main-headline {
        font-size: 24px;
    }

    .landing-page .headline-support {
        font-size: 16px;
    }

    .landing-page .hero-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .landing-page .hero-left {
        text-align: center;
    }

    .landing-page .problem-statement {
        font-size: 20px;
    }

    .landing-page .problem-explanation {
        font-size: 16px;
    }

    .landing-page .hero {
        padding: 30px 0;
    }

    .landing-page .content-section {
        padding: 40px 0;
    }

    .landing-page .landing-logo {
        height: 60px;
    }
}

/* Value bullets styling */
.landing-page .value-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
}

.landing-page .value-bullets li {
    margin-bottom: 15px;
    padding-left: 0;
    color: #005A6F;
    font-size: 16px;
    line-height: 1.5;
}

.landing-page .value-bullets strong {
    color: #0099BA;
}

/* ValKit Partnership Section */
.landing-page .valkit-partnership {
    background-color: #f8f9fa;
}

.landing-page .partnership-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.landing-page .partner-logo {
    height: 65px;
    border: 3px solid #0099BA;
    border-radius: 8px;
    padding: 10px;
    background: white;
}

.landing-page .logo-connector {
    font-size: 24px;
    color: #666;
}

.landing-page .partnership-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    line-height: 1.6;
    color: #005A6F;
    text-indent: 0 !important; /* Fix hanging indent */
    padding: 0 20px;
}

/* ValKit Partnership Benefits */
.landing-page .partnership-benefits {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px; /* Match intro padding for alignment */
}

.landing-page .benefit-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.landing-page .benefit-icon {
    color: #0099BA;
    font-size: 18px;
    font-weight: bold;
    margin-top: 4px;
    flex-shrink: 0;
    width: 15px;
    text-align: center;
}

.landing-page .benefit-content {
    color: #005A6F;
    line-height: 1.5;
}

.landing-page .benefit-content strong {
    color: #007791;
}
