/* Apple-style hero section for top area readability */
.hero-section {
    background: linear-gradient(135deg, #001F3F 0%, #003d66 100%) !important;
    color: #fff !important;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
 .hero-section h1,
 .hero-section h2,
 .hero-section h3,
 .hero-section h4,
 .hero-section h5,
 .hero-section h6 {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}
.hero-section .btn,
.hero-section .btn-apple {
    color: #fff !important;
    font-weight: 700;
    background: #000 !important;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border: none;
    padding: 1em 2.5em;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-align: center;
    display: inline-block;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
 .hero-section .btn:hover,
 .hero-section .btn-apple:hover,
 .hero-section .btn:focus,
 .hero-section .btn-apple:focus {
    background: #222 !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    outline: none;
}
 .hero-section p,
 .hero-section .lead,
 .hero-section .h5 {
    color: #f5f5f7 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}
/* Apple-style button for strict UI compliance */
/* Apple-style button refined for strict UI compliance */
.btn-apple {
    background: #000 !important;
    color: #fff !important;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border: none;
    padding: 1em 2.5em;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-align: center;
    display: inline-block;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.btn-apple:hover, .btn-apple:focus {
    background: #222 !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    outline: none;
}
/* Keep labels light on dark call-to-action buttons */
.btn-primary,
.btn-dark,
.btn-apple {
    color: #fff !important;
}
/* ============================================
   SecureInfra Staff - Custom Styles
   ============================================ */

:root {
    --primary-color: #111111;
    --accent-color: #34C759;
    --secondary-color: #E5E5EA;
    --light-bg: #F5F5F7;
    --dark-bg: #1C1C1E;
    --border-radius: 18px;
    --transition: all 0.4s cubic-bezier(.4,0,.2,1);
    --card-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --card-bg: #fff;
    --card-bg-dark: #222;
    --gradient-hero: linear-gradient(135deg, #001F3F 0%, #003d66 100%);
    --gradient-section: linear-gradient(120deg, #F5F5F7 0%, #E5E5EA 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', 'Inter', 'Roboto', Arial, sans-serif;
    color: #111111;
    line-height: 1.7;
    background-color: var(--light-bg);
    font-size: 17px;
    letter-spacing: 0.01em;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    color: #111111 !important;
    letter-spacing: 0.01em;
    text-shadow: none;
    margin-bottom: 0.5em;
}

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

.lead {
    font-size: 1.35rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.7;
}

p {
    color: #000000;
    font-size: 1.05rem;
    font-weight: 500;
}

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

a:hover {
    color: #1e7e34;
}

/* Ensure proper contrast on all backgrounds */
.bg-dark, .bg-dark * {
    color: #ffffff !important;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-dark p, .bg-dark a, .bg-dark span {
    color: #ffffff !important;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,
.bg-light p, .bg-light span {
    color: #000000 !important;
}

/* Green Section - ENSURE BRIGHT WHITE TEXT */
.bg-success {
    background-color: #28A745 !important;
}

.bg-success, .bg-success * {
    color: #ffffff !important;
}

.bg-success h1, .bg-success h2, .bg-success h3, .bg-success h4, .bg-success h5, .bg-success h6,
.bg-success p, .bg-success a, .bg-success span, .bg-success .lead, .bg-success button, .bg-success .btn {
    color: #ffffff !important;
}

.bg-success .btn, .bg-success .btn:hover, .bg-success .btn:focus {
    color: #ffffff !important;
}

.bg-success .btn-light {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

.bg-success .btn-light:hover {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
}

/* Default white background with dark text */
/* Apple-style section backgrounds and text */
section:not([class*="bg-"]) {
    color: #222;
    background: #fff;
    border-radius: 18px;
    box-shadow: none;
    padding: 2.5rem 0;
}
section:not([class*="bg-"]) h1,
section:not([class*="bg-"]) h2,
section:not([class*="bg-"]) h3,
section:not([class*="bg-"]) h4,
section:not([class*="bg-"]) h5,
section:not([class*="bg-"]) h6 {
    color: #111 !important;
    font-weight: 800;
    text-shadow: none;
    background: none;
    margin-bottom: 0.7em;
}
section:not([class*="bg-"]) p {
    color: #222;
    font-weight: 500;
    font-size: 1.08rem;
    margin-bottom: 0.5em;
}
section:not([class*="bg-"]) strong {
    color: #111 !important;
    font-weight: 700;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Logo */
.logo {
    height: 40px;
    margin-right: 8px;
}

.logo-sm {
    height: 36px;
}

/* Content containers with card styling */
.content-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
}

.content-card-compact {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem;
}

/* Hero text shadows */
.hero-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}

.hero-subtitle {
    color: #f5f5f7;
    text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}

.hero-text {
    color: #f5f5f7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Buttons */
.btn-cta {
    color: #222 !important;
    font-weight: 700;
}

/* Icon colors */
.icon-accent {
    color: #28A745;
}

/* Alert helpers */
.hidden {
    display: none;
}

/* Resource cards (Blog, Glossary, Free Report) */
.resource-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    border: 1px solid #eef2f7;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    border-color: #dce6f2;
}
.resource-card .card-title {
    color: #001F3F;
    font-weight: 700;
}
.resource-card .card-text {
    color: #333;
}
.resource-card .btn {
    margin-top: 0.5rem;
}

/* Ensure cards use white background */
.card, .card-body { background-color: #fff !important; }

/* Global card styling for consistency */
.card {
    border-radius: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    border-color: #dce6f2;
}
.card .card-title { color: #001F3F; font-weight: 700; }
.card .card-text { color: #333; }
.card .btn { margin-top: 0.5rem; }

/* ============================================
   CONTAINER - ENSURE HIGH CONTRAST TEXT
   ============================================ */

/* Default container text colors */
.container, .container-fluid {
    color: #000000 !important;
}

.container h1, .container h2, .container h3, .container h4, .container h5, .container h6,
.container-fluid h1, .container-fluid h2, .container-fluid h3, .container-fluid h4, 
.container-fluid h5, .container-fluid h6 {
    color: #000000 !important;
}

.container p, .container-fluid p,
.container span, .container-fluid span,
.container a, .container-fluid a {
    color: #000000 !important;
}

/* Container in dark backgrounds */
.bg-dark .container, .bg-dark .container-fluid {
    color: #ffffff !important;
}

.bg-dark .container h1, .bg-dark .container h2, .bg-dark .container h3, 
.bg-dark .container h4, .bg-dark .container h5, .bg-dark .container h6,
.bg-dark .container-fluid h1, .bg-dark .container-fluid h2, .bg-dark .container-fluid h3,
.bg-dark .container-fluid h4, .bg-dark .container-fluid h5, .bg-dark .container-fluid h6 {
    color: #ffffff !important;
}

.bg-dark .container p, .bg-dark .container-fluid p,
.bg-dark .container span, .bg-dark .container-fluid span,
.bg-dark .container a, .bg-dark .container-fluid a {
    color: #ffffff !important;
}

/* Container in light backgrounds */
.bg-light .container, .bg-light .container-fluid {
    color: #000000 !important;
}

.bg-light .container h1, .bg-light .container h2, .bg-light .container h3,
.bg-light .container h4, .bg-light .container h5, .bg-light .container h6,
.bg-light .container-fluid h1, .bg-light .container-fluid h2, .bg-light .container-fluid h3,
.bg-light .container-fluid h4, .bg-light .container-fluid h5, .bg-light .container-fluid h6 {
    color: #000000 !important;
}

.bg-light .container p, .bg-light .container-fluid p,
.bg-light .container span, .bg-light .container-fluid span,
.bg-light .container a, .bg-light .container-fluid a {
    color: #000000 !important;
}

/* Container in green backgrounds */
.bg-success .container, .bg-success .container-fluid {
    color: #ffffff !important;
}

.bg-success .container h1, .bg-success .container h2, .bg-success .container h3,
.bg-success .container h4, .bg-success .container h5, .bg-success .container h6,
.bg-success .container-fluid h1, .bg-success .container-fluid h2, .bg-success .container-fluid h3,
.bg-success .container-fluid h4, .bg-success .container-fluid h5, .bg-success .container-fluid h6 {
    color: #ffffff !important;
}

.bg-success .container p, .bg-success .container-fluid p,
.bg-success .container span, .bg-success .container-fluid span,
.bg-success .container a, .bg-success .container-fluid a {
    color: #ffffff !important;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background-color: #111111;
    border-color: #111111;
    color: #fff;
}

.btn-primary:hover {
    background-color: #222;
    border-color: #222;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-success:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/* High-specificity override: ensure primary buttons always have light labels */
a.btn.btn-primary,
button.btn.btn-primary,
.btn.btn-primary {
    color: #fff !important;
}

/* Also ensure any .btn-primary with custom link text remains visible */
.btn-primary:not([disabled]) { color: #fff !important; }

/* Ensure small buttons on dark backgrounds remain readable */
a.btn.btn-sm.btn-primary,
button.btn.btn-sm.btn-primary,
.btn.btn-sm.btn-primary,
a.btn.btn-sm.btn-apple,
button.btn.btn-sm.btn-apple,
.btn.btn-sm.btn-apple,
.btn-sm.btn-dark,
.btn-sm.btn-primary {
    color: #fff !important;
}

/* If a .btn-sm is used standalone alongside .btn-apple or .btn-primary, keep label visible */
.btn-sm:not([disabled]) { color: inherit; }

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

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

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.card {
    transition: var(--transition);
    border: none;
    background: var(--card-bg);
    color: #111111 !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hover-card {
    transition: var(--transition);
}

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

.card-body {
    padding: 2rem;
}

.card-title {
    color: #111111 !important;
    font-weight: 700;
    font-size: 1.35rem;
    text-shadow: none;
    margin-bottom: 0.5em;
}

.card-text {
    color: #222222 !important;
    font-weight: 500;
    font-size: 1.08rem;
    margin-bottom: 0.5em;
}

/* High contrast for muted text in cards */
.card-text .text-muted,
.card .text-muted,
.text-muted {
    color: #444444 !important;
    font-weight: 500;
}

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Dark section text readability */
.bg-dark p,
.bg-dark .h6 {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Testimonials Section */
.bg-light h2 {
    color: #000000 !important;
    font-weight: 800;
}

.bg-light .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.bg-light .card-body {
    display: flex;
    flex-direction: column;
}

.bg-light .card-title {
    color: #000000 !important;
    font-weight: 800;
    font-size: 1.35rem;
}

.bg-light .card-text {
    color: #000000 !important;
    font-weight: 600;
    font-size: 1.08rem;
    flex-grow: 1;
}

.bg-light .card-text strong {
    color: #000000 !important;
    font-weight: 700;
}

.bg-light .card p:last-child {
    color: #444444 !important;
    font-weight: 600;
    margin-top: 1rem;
}

/* Section heading styles for high contrast */
section h2 {
    color: #000000 !important;
    font-weight: 800;
    font-size: 2.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-detailed {
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    background: #fff;
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--accent-color);
    margin-right: 0.8rem;
}

/* ============================================
   STEP CARDS
   ============================================ */

.step-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* ============================================
   ENGINEER CARDS
   ============================================ */

.engineer-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.engineer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.engineer-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: none; /* removed blur for clearer engineer images */
}

.engineer-info {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.engineer-name {
    color: #000000;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.engineer-title {
    color: #28A745;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.engineer-location {
    color: #555555;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.engineer-specialization,
.engineer-experience {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #222222;
    font-weight: 500;
}

.engineer-specialization strong,
.engineer-experience strong {
    color: #000000;
    font-weight: 700;
}

.engineer-bio {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    color: #222222;
    line-height: 1.6;
    font-weight: 500;
}

.engineer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.engineer-certifications .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    font-weight: 600;
}

/* ============================================
   BLOG CARDS
   ============================================ */

.blog-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-date,
.blog-reading-time {
    color: #000000;
    font-weight: 500;
    font-size: 0.95rem;
}

.blog-title {
    color: #000000 !important;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.4;
}

.blog-content h6 {
    color: #000000 !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Make blog content explicitly high-contrast and readable */
.blog-content,
.blog-content p,
.blog-content ul,
.blog-content li,
.blog-excerpt,
.blog-title {
    color: #111111 !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-content ul.small li {
    color: #000000;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.blog-content strong {
    color: #001F3F;
    font-weight: 700;
}

.blog-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-excerpt {
    color: #222222;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(40, 167, 69, 0.2);
}

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

.pricing-card h4 {
    color: #000000 !important;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.badge-featured {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #ffffff !important;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 2rem;
    color: var(--accent-color) !important;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #000000 !important;
    font-weight: 500;
    font-size: 1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--accent-color) !important;
    margin-right: 0.8rem;
}

.pricing-card .btn {
    margin-top: auto;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
    background: #fff;
}

.contact-form h2 {
    color: #000000;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-form > div > div:first-child h2 {
    color: #000000;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    display: block;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    transition: all 0.3s ease;
    color: #000000 !important;
    font-weight: 500;
    font-size: 1rem;
    background-color: #ffffff !important;
}

.form-control::placeholder {
    color: #888;
    font-weight: 400;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
    outline: none;
}

.form-check-input {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.25rem;
    background-color: #ffffff !important;
}

.form-check-input:checked {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.form-check-label {
    color: #000000 !important;
    font-weight: 500 !important;
    margin-left: 0.5rem;
    display: block;
}

.contact-info {
    background: #fff;
}

.contact-info h2 {
    color: #000000;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info h6 {
    color: #000000;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #000000;
    font-weight: 500;
    margin-bottom: 0;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* New Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #28A745;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #f0f1f3;
    transform: translateX(4px);
}

.contact-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #28A745;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-content h5 {
    color: #000000 !important;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: #222222 !important;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-content a {
    color: #28A745 !important;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: #1e7e34;
    text-decoration: underline;
}

/* Guarantee Box */
.guarantee-box {
    background: #fff;
    color: #111;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eef2f7;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #28A745;
}

.guarantee-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.guarantee-header i {
    font-size: 1.75rem;
    color: #28A745;
}

.guarantee-header h6 {
    color: #001F3F;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 1.15rem;
}

.guarantee-box p {
    color: #333;
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SKILLS MATRIX
   ============================================ */

.skills-matrix {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.skill-row {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-label {
    min-width: 200px;
    font-weight: 600;
    color: var(--primary-color);
}

/* High-specificity overrides for .btn-apple to ensure readability */
/* Force dark background and white text for all .btn-apple variants */
a.btn.btn-apple,
button.btn.btn-apple,
.btn.btn-apple,
a.btn.btn-apple:focus,
button.btn.btn-apple:focus,
.btn.btn-apple:focus {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

/* Small variant readability */
a.btn.btn-sm.btn-apple,
button.btn.btn-sm.btn-apple,
.btn.btn-sm.btn-apple {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

/* Ensure .btn-apple on green (.bg-success) stays readable if used */
.bg-success a.btn-apple,
.bg-success .btn-apple {
    background-color: rgba(0,0,0,0.12) !important;
    color: #fff !important;
    border-color: rgba(0,0,0,0.12) !important;
}

.skill-bar {
    flex: 1;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #1e7e34);
    border-radius: 15px;
    transition: var(--transition);
}

.skill-percentage {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================
   VETTING PROCESS
   ============================================ */

.vetting-step {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.vetting-step:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #e9ecef;
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-right: 2rem;
    width: 48%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 2rem;
    width: 48%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: var(--accent-color);
    top: 0;
}

.timeline-content h5 {
    margin-top: 0;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    margin-top: 4rem;
    border-top: 1px solid #333;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: var(--accent-color);
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   UTILITIES
   ============================================ */

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

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideInUp 0.6s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .hero-section {
        min-height: 400px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 60px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Contact & Privacy Page Styling */
.contact-form h2,
.privacy-policy h1,
.privacy-policy h2 {
    color: #000000 !important;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-form p,
.privacy-policy p {
    color: #000000 !important;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.contact-form ul,
.privacy-policy ul {
    color: #000000;
    font-weight: 500;
    font-size: 1.05rem;
}

.contact-form ul li,
.privacy-policy ul li {
    color: #000000;
    font-weight: 500;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.contact-form strong,
.privacy-policy strong {
    color: #001F3F;
    font-weight: 700;
}

.contact-info {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: var(--border-radius);
    color: #000000;
}

.contact-info p {
    color: #000000;
    font-weight: 500;
}

.contact-info strong {
    color: #001F3F;
    font-weight: 700;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f0f0f0;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #fff;
    }

    .card {
        background-color: #2a2a2a;
        border-color: #3a3a3a;
    }

    .form-control,
    .form-select {
        background-color: #2a2a2a;
        color: #f0f0f0;
        border-color: #3a3a3a;
    }
}
