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

:root {
    /* Enhanced Color Palette with Brand Colors */
    --primary-color: #003366;      /* Deep Navy Blue */
    --secondary-color: #0066cc;     /* Bright Blue */
    --accent-color: #4a9eda;        /* Sky Blue */
    --accent-light: #7ec8e3;        /* Light Blue */
    --accent-dark: #004080;         /* Dark Blue */
    --accent-green: #00a86b;        /* Emerald Green */
    --accent-teal: #20b2aa;         /* Light Sea Green */
    --accent-orange: #ff6b35;       /* Bright Orange */
    --text-dark: #1a1a1a;
    --text-light: #4a5568;
    --bg-light: #e6f2ff;            /* Light blue tint */
    --bg-gradient-1: #f0f8ff;       /* Alice Blue */
    --bg-gradient-2: #cce7ff;       /* Soft blue */
    --bg-dark: #001a33;             /* Very Dark Blue */
    --bg-white: #ffffff;
    --border-color: #b3d9ff;
    --shadow-sm: 0 2px 4px rgba(0, 51, 102, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 51, 102, 0.15);
    --shadow-lg: 0 10px 20px rgba(0, 51, 102, 0.2);
    --gradient-primary: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    --gradient-secondary: linear-gradient(135deg, #0066cc 0%, #4a9eda 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #e6f2ff 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 102, 204, 0.85) 100%);

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Full-width container for sections */
.section-wrapper {
    width: 100%;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 {
    font-size: 1.5rem;
    -webkit-text-fill-color: var(--primary-color);
}
h4 {
    font-size: 1.25rem;
    -webkit-text-fill-color: var(--primary-color);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, var(--bg-gradient-1) 100%);
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.nav-logo a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo a:hover img {
    transform: scale(1.05);
}

.logo img {
    height: 55px;  /* Increased from 40px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-green) 100%);
    transition: width 0.3s ease;
    pointer-events: none;
}

.nav-link:hover::after {
    width: 100%;
}

/* Don't show underline for dropdown items */
.nav-dropdown .nav-link::after {
    display: none;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 999;
}

.nav-dropdown .nav-link {
    padding-right: 20px;
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.7rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link i {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.1);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-right: none;
    border-bottom: none;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--bg-gradient-1);
    color: var(--primary-color);
    padding-left: 25px;
}

.nav-dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Apply Now link - hidden on desktop, visible on mobile */
.nav-link-apply {
    display: none;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
}

/* Specific styling for SVG hero background */
.hero-background img[src$=".svg"] {
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.hero-content {
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 2;
}


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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    -webkit-text-fill-color: white;
    text-shadow: none;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-subtitle {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.4s both;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--accent-green);
    color: white;
    border: 2px solid var(--accent-green);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 168, 107, 0.4);
    background: #008f5a;
    color: white;
    border-color: #008f5a;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 125, 83, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 125, 83, 0.25);
    border-color: #ff7d53;
    color: white;
}

/* Sections - Enhanced with Apple-style contrast */
.section {
    padding: 80px 0;
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* White sections - Clean, pure white background */
.section-white {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Gray sections - Subtle off-white for contrast */
.section-gray {
    background: #f5f5f7;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

/* Enhanced section separation on scroll */
.section-white:hover,
.section-gray:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
}

/* Light gradient sections */
.section.bg-light {
    background: linear-gradient(180deg, #fafbfd 0%, #f5f7fa 100%);
    border-top: 1px solid rgba(0, 51, 102, 0.06);
    border-bottom: 1px solid rgba(0, 51, 102, 0.06);
}

.section.bg-gradient {
    background: linear-gradient(135deg, #f7f9fc 0%, #e8f0f7 100%);
    border-top: 1px solid rgba(0, 51, 102, 0.08);
}

/* Dark sections for emphasis */
.section.bg-dark {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: white;
    border: none;
}

.section.bg-dark .section-title,
.section.bg-dark h2,
.section.bg-dark h3 {
    color: white;
    -webkit-text-fill-color: white;
}

.section.bg-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Subtle accent underline for section titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-green) 100%);
    border-radius: 2px;
    opacity: 0.5;
}

/* Services Section with Images */
.services-section {
    /* Background is now handled by section-white class */
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Hero Image */
.services-hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

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

.services-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 33, 66, 0.95) 0%, transparent 100%);
    color: white;
}

.services-hero-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    -webkit-text-fill-color: white;
}

.services-hero-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* New Services Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.service-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 168, 107, 0.15);
    border-color: var(--accent-green);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-details {
    padding: var(--spacing-md);
}

.service-details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.service-details p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.service-tags span {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, rgba(0,168,107,0.05) 100%);
    color: var(--accent-teal);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(32,178,170,0.2);
    transition: all 0.3s ease;
}

.service-tags span:hover {
    background: linear-gradient(135deg, rgba(0,168,107,0.1) 0%, rgba(32,178,170,0.1) 100%);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

/* AI Capabilities - Medium Compact Design */
.ai-capabilities-section {
    padding: 60px 0 !important;  /* Medium vertical padding */
    background: linear-gradient(135deg, #4dac38 0%, #007ec5 100%);
    position: relative;
}

.ai-capabilities-section .section-title {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.ai-capabilities-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Override historical context styling when used with green gradient background */
.ai-capabilities-section .historical-context-section {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* AI Trust Guardrails Strip */
.ai-guardrails {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 30px auto 40px;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-guardrails .guardrails-label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: center;
}

.ai-guardrails ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    max-width: 100%;
}

.ai-guardrails ul li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    padding: 10px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.3;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ai-guardrails ul li:nth-child(2n) {
    border-right: none;
}

.ai-guardrails ul li:last-child {
    border-right: none;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-card {
    display: flex;
    gap: 18px;
    background: var(--bg-white);
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 51, 102, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(0, 51, 102, 0.06);
    position: relative;
    overflow: hidden;
}

/* Removed left sidebar - gradient background provides visual interest */

.capability-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.15);
    border-color: rgba(32, 178, 170, 0.2);
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.capability-icon i {
    font-size: 1.3rem;
    color: white;
}

.capability-content {
    flex: 1;
}

.capability-content h3.capability-title,
.capability-content h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* New styles for the updated structure */
.capability-content dl {
    margin: 0;
}

.capability-content dt.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
    opacity: 0.7;
    color: var(--primary-color);
}

.capability-content dd {
    margin: 0 0 10px 0;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.outcomes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.outcomes-label {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.outcomes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outcomes-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.outcomes-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
}

.outcomes-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.capability-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.where-fits {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-style: italic;
}

.cap-ctas {
    margin-top: 10px;
}

.cap-ctas .btn-text {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cap-ctas .btn-text:hover {
    color: var(--accent-teal);
}

.cap-ctas .btn-text i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.cap-ctas .btn-text:hover i {
    transform: translateX(3px);
}

.transformation {
    display: flex;
    align-items: flex-start;  /* Top-align for better scannability */
    gap: 12px;
    font-size: 0.88rem;
}

.before-state,
.after-state {
    flex: 1;
}

.before-state .label,
.after-state .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
    opacity: 0.7;
}

.before-state .label {
    color: var(--text-light);
}

.after-state .label {
    color: var(--accent-green);
}

.before-state span:not(.label) {
    color: var(--text-light);
    display: block;
    line-height: 1.3;
}

.after-state span:not(.label) {
    color: var(--text-dark);
    font-weight: 500;
    display: block;
    line-height: 1.3;
}

.transform-arrow {
    font-size: 0.75rem;
    color: var(--accent-green);
    opacity: 0.5;
    flex-shrink: 0;
    margin-top: 2px;  /* Align arrow with top of text */
}

/* Hide old compact styles */
.capabilities-compact,
.capability-item,
.capability-transform {
    display: none;
}

/* Old capabilities matrix - hidden */
.capabilities-matrix {
    display: none;
}

.capability-row {
    display: none;
}

.traditional-cap,
.ai-enhanced-cap {
    text-align: center;
    padding: var(--spacing-md);
}

.traditional-cap {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 8px;
    border: 2px solid #d0d0d0;
}

.ai-enhanced-cap {
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    position: relative;
}

.ai-enhanced-cap::after {
    content: 'AI-ENHANCED';
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.traditional-cap i,
.ai-enhanced-cap i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.traditional-cap i {
    color: #666;
}

.ai-enhanced-cap i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.arrow-transform {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.capability-row h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.traditional-cap h4 {
    color: #333;
}

.ai-enhanced-cap h4 {
    color: var(--primary-color);
}

.capability-row p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.traditional-cap p {
    color: #666;
}

.ai-enhanced-cap p {
    color: var(--text-dark);
}

.ai-card:hover .ai-icon-img img {
    transform: scale(1.15);
}

.ai-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.ai-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Federal Services */
.federal-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.federal-service {
    padding: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.federal-service:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-teal);
}

.federal-service h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    padding: 0 var(--spacing-md);
}

.federal-service p {
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.federal-image {
    width: 100%;
    height: 180px;
    margin-bottom: var(--spacing-md);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(32, 178, 170, 0.15);
    transition: all 0.3s ease;
}

.federal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.federal-service:hover .federal-image {
    box-shadow: 0 6px 12px rgba(0, 51, 102, 0.2);
}

.federal-service:hover .federal-image img {
    transform: scale(1.05);
}

/* Featured Services Styling */
.featured-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.federal-service.featured {
    position: relative;
    border: 2px solid var(--accent-green);
    box-shadow: 0 8px 24px rgba(0, 168, 107, 0.15);
    background: linear-gradient(to bottom, white 0%, rgba(0, 168, 107, 0.02) 100%);
    display: flex;
    flex-direction: column;
}

.federal-service.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 168, 107, 0.25);
    border-color: var(--accent-green);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.3);
}

.federal-service.featured h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.federal-service.featured p {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.federal-service.featured a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
}

.federal-service.featured a:hover {
    text-decoration: underline;
}

/* Service Action Button in Featured Cards */
.federal-service.featured .service-action {
    margin-top: auto;
    padding-top: 20px;
    text-align: left;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.federal-service.featured .service-action .btn {
    width: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.federal-service.featured .service-action .btn-primary.btn-sm {
    background: var(--accent-green);
    color: white;
    border: 2px solid var(--accent-green);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.25);
}

.federal-service.featured .service-action .btn-primary.btn-sm:hover {
    background: #008f5a;
    border-color: #008f5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 168, 107, 0.35);
    text-decoration: none;
}

/* Secondary Services - Smaller and de-emphasized */
.federal-services.secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.federal-services.secondary .federal-service {
    opacity: 0.9;
}

.federal-services.secondary .federal-service h4 {
    font-size: 1.1rem;
}

.federal-services.secondary .federal-service p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: var(--spacing-lg);
}

.client-item {
    padding: 28px 24px 28px 28px;
    text-align: left;
    background: linear-gradient(to right, rgba(0, 168, 107, 0.02) 0%, var(--bg-white) 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-left: 4px solid var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 90px;
    position: relative;
}

.client-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.12);
    border-left-color: var(--accent-color);
    background: linear-gradient(to right, rgba(0, 168, 107, 0.04) 0%, var(--bg-white) 100%);
}

.client-item span {
    display: block;
    line-height: 1.4;
    font-size: 1rem;
}

/* Contract Vehicles */
.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contract-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-green) 100%) 1;
    transition: all 0.3s ease;
}

.contract-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 107, 0.12);
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(32,178,170,0.02) 100%);
}

.contract-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contract-details {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.contract-details span {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 4px 8px;
    background: var(--bg-gradient-1);
    border-radius: 4px;
    display: inline-block;
}

.certifications {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gradient-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

/* Mission & Quality */
.mission-quality {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.mission-section, .values-section, .quality-section {
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.mission-section {
    border-left: 4px solid var(--secondary-color);
}

.values-section {
    border-left: 4px solid var(--primary-color);
}

.values-section p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.values-section p:last-child {
    margin-bottom: 0;
}

.values-section strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.05rem;
}

/* Values Grid Layout */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: var(--spacing-lg);
}

/* Value Item Card Style */
.value-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(0,51,102,0.08);
    box-shadow: 0 4px 12px rgba(0,51,102,0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,51,102,0.12);
    border-color: var(--accent-green);
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,168,107,0.2);
}


.value-item h4 i {
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-item p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.value-item p strong {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-style: italic;
    display: block;
    margin-bottom: var(--spacing-sm);
    padding: 8px 12px;
    background: rgba(0,168,107,0.05);
    border-left: 3px solid var(--accent-green);
    border-radius: 4px;
}

.value-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: var(--spacing-sm);
    flex-grow: 1;
}

.value-item ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    color: var(--text-light);
}

.value-item ul li:before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 0.9rem;
}

.values-footer {
    margin-top: var(--spacing-xl);
    padding: 24px;
    background: linear-gradient(135deg, rgba(0,168,107,0.05) 0%, rgba(32,178,170,0.05) 100%);
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--text-dark);
    text-align: center;
    font-style: italic;
    border: 1px solid rgba(0,168,107,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-item {
        padding: 20px;
    }
}

.quality-section {
    border-left: 4px solid var(--accent-color);
}

.quality-principles ul {
    list-style: none;
    padding-left: 0;
}

.quality-principles li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    background: var(--bg-gradient-1);
    margin-bottom: var(--spacing-xs);
    border-radius: 6px;
}

.quality-principles li::before {
    content: '✓';
    position: absolute;
    left: var(--spacing-sm);
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Quality Certifications */
.quality-certifications {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
}

.quality-certifications h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    text-align: left;
}

/* Certifications Logos - Horizontal Layout */
.certifications-logos {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cert-logo {
    background: white;
    padding: 20px;
    text-align: center;
    min-width: 200px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.cert-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cert-logo:hover img {
    transform: scale(1.05);
}


/* Testimonials - Horizontal Scroll Carousel */
.testimonials-section {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #4dac38 0%, #007ec5 100%);
}

.testimonials-section .section-title {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

.testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
}

.testimonials-wrapper {
    overflow: hidden;
    width: 100%;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.testimonials-carousel {
    display: flex;
    gap: var(--spacing-lg);
    animation: scroll-left 60s linear infinite;
    width: fit-content;
}

.testimonials-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 400px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gradient-1) 100%);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
    position: relative;
    border: 1px solid rgba(0, 51, 102, 0.08);
    transition: all 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.15);
    border-color: var(--accent-color);
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -10px;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

.testimonial-card cite {
    display: block;
    text-align: right;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    font-style: normal;
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(0, 51, 102, 0.1);
}

/* Historical context styling */
.historical-context-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(0, 168, 107, 0.05) 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 2px solid rgba(0, 51, 102, 0.1);
    text-align: center;
}

.historical-context-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.historical-context-section p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.historical-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.historical-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.historical-images img:hover {
    transform: scale(1.02);
}

.image-credit {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 15px;
    text-align: center;
}

.image-credits {
    margin-top: 15px;
}

.image-credits .image-credit {
    margin-top: 8px;
    margin-bottom: 8px;
}

.image-credits .image-credit:first-child {
    margin-top: 15px;
}

.image-credits a {
    color: var(--secondary-color);
    text-decoration: none;
}

.image-credits a:hover {
    text-decoration: underline;
}

/* Image Modal Styles */
.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: var(--accent-green);
    text-decoration: none;
}

#modalCaption {
    color: white;
    font-size: 1rem;
    margin-top: 15px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .close {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }
    
    #modalCaption {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .historical-context-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .historical-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Vertical Timeline - Professional and Clean */
.timeline-vertical {
    position: relative;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Central vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--secondary-color) 0%,
        var(--accent-teal) 25%,
        var(--accent-green) 50%,
        var(--accent-orange) 75%,
        var(--primary-color) 100%);
    opacity: 0.3;
    transform: translateX(-50%);
}

/* Timeline items container */
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "content-left marker content-right";
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.3s; }
.timeline-item:nth-child(5) { animation-delay: 0.4s; }
.timeline-item:nth-child(6) { animation-delay: 0.5s; }
.timeline-item:nth-child(7) { animation-delay: 0.6s; }
.timeline-item:nth-child(8) { animation-delay: 0.7s; }

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

/* Timeline marker (year and dot) */
.timeline-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    grid-area: marker;
    min-width: 24px;
}

.timeline-year {
    display: none; /* Years are now in the titles */
}

/* Timeline dot */
.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 4px solid var(--accent-teal);
    z-index: 3;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Different dot colors for each milestone */
.timeline-item:nth-child(2) .timeline-dot { border-color: var(--secondary-color); }

.timeline-item:nth-child(3) .timeline-dot { border-color: var(--accent-color); }

.timeline-item:nth-child(4) .timeline-dot { border-color: var(--accent-teal); }

.timeline-item:nth-child(5) .timeline-dot { border-color: var(--accent-green); }

.timeline-item:nth-child(6) .timeline-dot { border-color: var(--accent-orange); }

.timeline-item:nth-child(7) .timeline-dot { border-color: var(--primary-color); }

.timeline-item:nth-child(8) .timeline-dot { border-color: var(--accent-green); }

/* Active/Today state */
.timeline-dot.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 0 0 12px rgba(0, 168, 107, 0.2);
    animation: pulse 2s infinite;
}

/* Active timeline item styles handled by timeline-dot.active */

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 12px rgba(0, 168, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(0, 168, 107, 0.1);
    }
}

/* Timeline content cards */
.timeline-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px 30px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

/* Alternate content positioning */
.timeline-item:nth-of-type(odd) .timeline-content {
    grid-area: content-left;
    text-align: right;
}

.timeline-item:nth-of-type(even) .timeline-content {
    grid-area: content-right;
    text-align: left;
}

/* Content arrow pointing to timeline */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-of-type(odd) .timeline-content::before {
    right: -20px;
    border-left-color: var(--bg-white);
}

.timeline-item:nth-of-type(even) .timeline-content::before {
    left: -20px;
    border-right-color: var(--bg-white);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Hover effects */
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 12px rgba(0, 51, 102, 0.1);
}

.timeline-item:hover .timeline-content {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
    border-color: var(--accent-color);
}

/* Timeline year removed - now in titles */

/* Active/Today state for content */
.timeline-item.active .timeline-content {
    background: linear-gradient(135deg,
        rgba(0, 168, 107, 0.05) 0%,
        rgba(0, 148, 133, 0.05) 100%);
    border-color: var(--accent-green);
}

/* Responsive adjustments will be added in mobile section */

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.leader-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-gradient-1));
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent-color);
}

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

.leader-image {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md) auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.leader-card:hover .leader-image {
    transform: scale(1.05);
    border-color: var(--accent-green);
}

.leader-card:hover .leader-image img {
    transform: scale(1.1);
}

.leader-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.leader-card p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.leader-start-date {
    color: var(--text-light) !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    font-style: italic;
    margin-top: 4px;
}

/* Careers Section */
.careers-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 12px;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.why-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.why-join-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.why-join-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.why-join-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.benefits-title {
    text-align: center;
    color: var(--primary-color);
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.benefit-category {
    background: linear-gradient(to bottom right, var(--bg-white), var(--bg-gradient-1));
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--accent-teal) 0%, var(--accent-green) 50%, var(--accent-orange) 100%) 1;
    transition: all 0.3s ease;
}

.benefit-category:hover {
    box-shadow: 0 8px 20px rgba(32, 178, 170, 0.1);
    transform: translateY(-2px);
}

.benefit-category h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.benefit-category ul {
    list-style: none;
    padding: 0;
}

.benefit-category li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    position: relative;
    padding-left: var(--spacing-md);
}

.benefit-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
}

.equal-opportunity {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: white;
}

.equal-opportunity h3 {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: var(--spacing-md);
}

.equal-opportunity p {
    color: rgba(255, 255, 255, 0.95);
}

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

/* Contact Section */
#contact {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gradient-1) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-info address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.contact-emails p {
    margin-bottom: var(--spacing-xs);
}

.contact-form {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-gradient-1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* LinkedIn Posts Section */
.linkedin-follow {
    text-align: center;
    margin: var(--spacing-lg) 0;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
    color: white;
}

.btn-linkedin i {
    font-size: 1.2rem;
    color: white !important;
    opacity: 1 !important;
}

.linkedin-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.linkedin-post {
    /* Remove all styling from the outer container - just keep it as a wrapper */
    position: relative;
}


/* Placeholder styling for empty posts */
.placeholder-post {
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 8px;
    border: 2px dashed rgba(0, 119, 181, 0.3);
    padding: var(--spacing-lg);
    text-align: center;
}

.placeholder-post i {
    font-size: 3rem;
    color: #0077b5;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.placeholder-post p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.placeholder-post small {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* LinkedIn iframe styling */
.linkedin-post iframe {
    width: 100% !important;
    border: none !important;
    border-radius: 8px;
}

/* Custom LinkedIn Feed Styles */
.linkedin-post-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 119, 181, 0.15);
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
}

.linkedin-post-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 119, 181, 0.3);
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 119, 181, 0.1);
}

.company-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0077b5 0%, #00a86b 50%, #0077b5 100%);
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.25), 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.company-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.linkedin-post-card:hover .company-logo {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 12px 32px rgba(0, 119, 181, 0.35), 0 6px 12px rgba(0, 0, 0, 0.15);
}

.linkedin-post-card:hover .company-logo::before {
    opacity: 1;
}

.post-meta h4 {
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.linkedin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 119, 181, 0.08);
    border-radius: 6px;
}

.linkedin-logo svg {
    width: 18px;
    height: 18px;
}

.post-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.post-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.post-type {
    text-transform: capitalize;
    color: #0077b5;
}

.post-content {
    flex-grow: 1;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.post-title {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.post-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 400;
    max-height: none;
    overflow: visible;
    word-wrap: break-word;
    white-space: pre-wrap;
    position: relative;
}

.post-text .btn-show-more {
    margin-top: 12px;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style for longer posts to improve readability */
.post-text:has-text {
    text-align: justify;
}

/* Ensure proper spacing for paragraphs within posts */
.post-text p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.post-text p:last-child {
    margin-bottom: 0;
}

/* Style HTML elements within post content */
.post-text ul,
.post-text ol {
    margin: 12px 0;
    padding-left: 20px;
}

.post-text li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.post-text h1,
.post-text h2,
.post-text h3,
.post-text h4,
.post-text h5,
.post-text h6 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.post-text strong,
.post-text b {
    font-weight: 600;
    color: var(--text-dark);
}

.post-text em,
.post-text i {
    font-style: italic;
    color: var(--text-light);
}

.post-text blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    background-color: rgba(0, 119, 181, 0.05);
    font-style: italic;
    border-radius: 4px;
}

.post-text code {
    background-color: rgba(0, 119, 181, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #0077b5;
}

.post-text pre {
    background-color: rgba(0, 119, 181, 0.05);
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 12px 0;
}

.post-text pre code {
    background: none;
    padding: 0;
    color: var(--text-dark);
}

/* Post URLs section */
.post-urls {
    margin-top: 8px;
    padding: 10px;
    background: rgba(0, 119, 181, 0.05);
    border-radius: 8px;
}

.post-urls h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-urls ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-urls li {
    margin-bottom: 4px;
}

.post-urls li:last-child {
    margin-bottom: 0;
}

.post-url-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0077b5;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.post-url-link:hover {
    background: rgba(0, 119, 181, 0.1);
    color: #005885;
    transform: translateX(2px);
}

.post-url-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Inline URL links within post content */
.inline-url-link {
    color: #0077b5;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 119, 181, 0.3);
    transition: all 0.2s ease;
    padding: 1px 2px;
    border-radius: 2px;
    background: rgba(0, 119, 181, 0.05);
}

.inline-url-link:hover {
    color: #005885;
    background: rgba(0, 119, 181, 0.1);
    border-bottom-color: #0077b5;
    transform: translateY(-1px);
}

/* Removed arrow icon for cleaner look */

/* Show more/less button styling */
.btn-show-more {
    background: transparent;
    border: 1px solid rgba(0, 119, 181, 0.3);
    color: #0077b5;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    margin: 8px 0 0 0;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    align-self: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-show-more:hover {
    background: rgba(0, 119, 181, 0.05);
    border-color: #0077b5;
    color: #005885;
}


.post-image-container {
    margin-top: var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.linkedin-post-card:hover .post-image {
    transform: scale(1.02);
}

.post-engagement {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(0, 119, 181, 0.1);
    border-bottom: 1px solid rgba(0, 119, 181, 0.1);
    margin-bottom: var(--spacing-md);
}

.engagement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.engagement-item i {
    color: #0077b5;
}

.post-actions {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 119, 181, 0.1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-view-linkedin {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: #0077b5;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-view-linkedin:hover {
    background: #005885;
    color: white;
}

.linkedin-feed-cta {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 16px;
    margin-top: var(--spacing-xl);
    border: 1px solid rgba(0, 119, 181, 0.1);
    box-shadow: 0 4px 20px rgba(0, 119, 181, 0.08);
}

.linkedin-feed-cta p {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

/* Loading spinner */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: #0077b5;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    opacity: 1;
}

/* Fade in animation for posts */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.linkedin-post-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Ordered list styling in info box */
.linkedin-feed-info ol {
    list-style: decimal;
    padding-left: var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

.linkedin-feed-info ol li {
    padding: var(--spacing-xs) 0;
    border-bottom: none;
}

.linkedin-feed-info ol li::before {
    display: none;
}

.linkedin-feed-info code {
    background: rgba(0, 119, 181, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #0077b5;
}

/* LinkedIn Feed Info Box */
.linkedin-feed-info {
    background: linear-gradient(135deg, var(--bg-white) 0%, #e8f4f8 100%);
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border: 1px solid rgba(0, 119, 181, 0.2);
    box-shadow: var(--shadow-sm);
}

.linkedin-feed-info h3 {
    color: #0077b5;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.linkedin-feed-info ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.linkedin-feed-info li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    border-bottom: 1px solid rgba(0, 119, 181, 0.1);
}

.linkedin-feed-info li:last-child {
    border-bottom: none;
}

.linkedin-feed-info li::before {
    content: '→';
    position: absolute;
    left: var(--spacing-sm);
    color: #0077b5;
    font-weight: bold;
    font-size: 1.2rem;
}

.linkedin-feed-info li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* LinkedIn Empty State */
.linkedin-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 12px;
    border: 2px dashed rgba(0, 119, 181, 0.3);
}

.linkedin-empty-state i {
    font-size: 4rem;
    color: #0077b5;
    opacity: 1;
    margin-bottom: var(--spacing-md);
}

.linkedin-empty-state h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.linkedin-empty-state ol {
    text-align: left;
    max-width: 500px;
    margin: var(--spacing-md) auto;
    padding-left: var(--spacing-lg);
}

.linkedin-empty-state code {
    background: rgba(0, 119, 181, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #0077b5;
}

.setup-link {
    color: #0077b5;
    font-weight: 600;
    text-decoration: underline;
}

.setup-link:hover {
    color: #005885;
}

.setup-note {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: rgba(0, 168, 107, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.setup-note p {
    margin: 0;
    color: var(--text-dark);
}

/* Post image container */
.post-image-container {
    width: 100%;
    margin-top: var(--spacing-md);
    border-radius: 8px;
    overflow: hidden;
}

/* Post tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: var(--spacing-md) 0;
}

.post-tags .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-tags .tag:hover {
    background: rgba(0, 119, 181, 0.2);
    transform: translateY(-1px);
}

/* Section Subtitle with Action */
.section-subtitle-with-action {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle-with-action p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-subtitle-with-action .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* LinkedIn Posts Container */
.linkedin-posts-container {
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

/* LinkedIn Carousel Wrapper */
.linkedin-posts-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

.linkedin-posts-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.linkedin-posts-carousel.auto-scroll {
    animation: linkedInScroll 40s linear infinite;
}

.linkedin-posts-carousel:hover.auto-scroll {
    animation-play-state: paused;
}

@keyframes linkedInScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.linkedin-posts-container .linkedin-post {
    flex: 0 0 auto;
    width: 380px;
}

/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

/* Careers Hero Section */
.careers-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.careers-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.careers-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
}

/* Specific styling for SVG hero background */
.careers-hero-background img[src$=".svg"] {
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.careers-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.careers-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    color: white;
}

.careers-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
}

/* Why Join Grid */
.why-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.why-join-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.why-join-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
    font-size: 1.5rem;
}

.why-join-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Jobs Tabs */
.jobs-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 3px solid #e5e7eb;
}

.tab-button {
    padding: 16px 36px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-bottom: 4px solid transparent;
    border-radius: 8px 8px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -3px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-button:hover {
    color: var(--primary-color);
    background: #ffffff;
    border-color: var(--primary-color);
    border-bottom-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.15);
}

.tab-button.active {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.tab-button i {
    font-size: 1.3rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

.tab-info-banner {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.tab-info-banner i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.tab-info-banner p {
    margin: 0;
    color: #1e40af;
    line-height: 1.6;
}

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

/* Job Filters */
.job-filters {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.job-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.job-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.btn-clear-filters {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-filters:hover {
    background: #e0e0e0;
}

/* Job Listings Container */
.job-listings-container {
    min-height: 400px;
}

.job-listing-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.job-listing-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.job-listing-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.job-card-header {
    margin-bottom: var(--spacing-md);
}

.job-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.new-badge {
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.job-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.job-description-content {
    position: relative;
}

.job-description-preview {
    color: var(--text-dark);
    line-height: 1.5;
}

/* Style HTML elements in preview */
.job-description-preview strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline;
}

/* Space after strong tags */
.job-description-preview strong::after {
    content: " ";
}

/* Tighter spacing for divs in preview */
.job-description-preview > div {
    line-height: 1.5;
}

.job-description-full {
    color: var(--text-dark);
    line-height: 1.6;
}

.job-description-text {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e0e0e0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Ensure job description content looks good when collapsed */
.collapsible .job-description-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style HTML content inside job descriptions */
.job-description-text ul,
.job-description-text ol {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.job-description-text li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.job-description-text h1,
.job-description-text h2,
.job-description-text h3,
.job-description-text h4,
.job-description-text strong {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
}

.job-description-text p {
    margin-bottom: var(--spacing-sm);
}

.no-description {
    color: var(--text-light);
    font-style: italic;
    padding: var(--spacing-md);
}

/* Job Details Grid */
.job-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.job-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Show More/Less Button for Job Descriptions - works for both pages */
.job-description .btn-show-more,
.homepage-job-description .btn-show-more {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(0, 169, 224, 0.05) 100%);
    border: 1px solid rgba(0, 51, 102, 0.15);
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
    margin-top: var(--spacing-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.job-description .btn-show-more:hover,
.homepage-job-description .btn-show-more:hover {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.1) 0%, rgba(0, 169, 224, 0.1) 100%);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.15);
}

.show-more-text,
.show-less-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-show-more i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

/* Rotate the chevron icon when expanded */
.job-description-content.expanded ~ .btn-show-more .show-less-text i {
    transform: rotate(180deg);
}

/* Collapsible job description - height-based approach - works for both pages */
.job-description-content.collapsible {
    position: relative;
    max-height: 280px;  /* Increased height for careers page */
    overflow: hidden;
    transition: max-height 0.4s ease;
    /* Add some padding at the bottom to ensure content doesn't look cut off */
    padding-bottom: 20px;
}

/* Homepage has smaller cards, so less height needed */
.homepage-job-description .job-description-content.collapsible {
    position: relative;
    max-height: 200px;  /* Smaller height for homepage cards */
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-bottom: 15px;
}

.job-description-content.collapsible.expanded,
.homepage-job-description .job-description-content.collapsible.expanded {
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
}

/* Fade effect at bottom of collapsed description - works for both pages */
.job-description-fade,
.homepage-job-description .job-description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;  /* Increased fade height for better visual effect */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.job-description-content.expanded .job-description-fade,
.homepage-job-description .job-description-content.expanded .job-description-fade {
    opacity: 0;
}

/* Toggle button text visibility - works for both pages */
.show-less-text,
.homepage-job-description .show-less-text {
    display: none;
}

.job-description-content.expanded ~ .btn-show-more .show-more-text,
.homepage-job-description .job-description-content.expanded ~ .btn-show-more .show-more-text {
    display: none;
}

.job-description-content.expanded ~ .btn-show-more .show-less-text,
.homepage-job-description .job-description-content.expanded ~ .btn-show-more .show-less-text {
    display: inline-flex;
}

.job-requirements {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.job-requirement {
    background: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Job Qualifications Section */
.job-qualifications {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.qualification-item {
    margin-bottom: var(--spacing-md);
}

.qualification-item:last-child {
    margin-bottom: 0;
}

.qualification-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.qualification-item strong i {
    font-size: 1rem;
}

.qualification-item p {
    margin: 0;
    margin-left: 28px;
    color: var(--text-dark);
    line-height: 1.6;
}

.minimum-qualifiers-list {
    margin: 0;
    margin-left: 28px;
    padding-left: 20px;
    color: var(--text-dark);
}

.minimum-qualifiers-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.minimum-qualifiers-list li:last-child {
    margin-bottom: 0;
}

.job-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.btn-share {
    background: transparent;
    border: 2px solid #ddd;
    padding: 6px 16px;
    border-radius: 30px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.btn-view-linkedin {
    background: #0077B5;
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
}

.btn-view-linkedin:hover {
    background: #005582;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.btn-view-linkedin i {
    font-size: 0.85rem;
}

/* Jobs Empty State */
.jobs-empty-state {
    text-align: center;
    padding: calc(var(--spacing-xl) * 2);
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #ddd;
    max-width: 600px;
    margin: 0 auto;
}

.jobs-empty-state i {
    font-size: 4rem;
    color: #999;
    margin-bottom: var(--spacing-md);
}

.jobs-empty-state h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.jobs-empty-state p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    line-height: 1.6;
}

.jobs-empty-state .btn {
    margin-top: var(--spacing-md);
}

/* Loading Jobs */
.loading-jobs {
    text-align: center;
    padding: calc(var(--spacing-xl) * 2);
    color: var(--primary-color);
}

.loading-jobs i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    animation: spin 1s linear infinite;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Hiring Process */
.hiring-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.process-step {
    flex: 1;
    text-align: center;
    min-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    margin-left: auto;
    margin-right: auto;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.process-arrow {
    color: #ddd;
    font-size: 1.5rem;
}

/* Careers Contact */
.careers-contact {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 12px;
}

.careers-contact h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.careers-contact-info {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

/* Careers contact button styles */
.careers-contact-info .btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.1);
}

.careers-contact-info .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.2);
    border-color: var(--primary-color);
}

.careers-contact-info .btn-secondary i {
    color: var(--primary-color);
}

.careers-contact-info .btn-secondary:hover i {
    color: white;
}

/* Responsive adjustments for careers page */
@media (max-width: 768px) {
    .careers-hero-title {
        font-size: 2rem;
    }

    .careers-hero-subtitle {
        font-size: 1.1rem;
    }

    .why-join-grid {
        grid-template-columns: 1fr;
    }

    .job-filters {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .hiring-process {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .linkedin-posts-container .linkedin-posts-grid {
        grid-template-columns: 1fr;
    }

    .job-details-grid {
        grid-template-columns: 1fr;
    }

    .job-description-text {
        font-size: 0.95rem;
    }

    /* Adjust collapsed height for mobile */
    .job-description-content.collapsible {
        max-height: 200px;
    }

    /* Smaller Show More button on mobile */
    .job-description .btn-show-more {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Mobile-specific styles for empty state */
    .jobs-empty-state {
        padding: var(--spacing-lg);
        margin: 0 var(--spacing-sm);
    }

    .jobs-empty-state i {
        font-size: 3rem;
    }

    .jobs-empty-state h3 {
        font-size: 1.25rem;
    }

    .jobs-empty-state p {
        font-size: 0.95rem;
    }

    .jobs-empty-state .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* Responsive adjustments for LinkedIn section */
@media (max-width: 1024px) {
    .linkedin-posts-container .linkedin-post {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .linkedin-posts-container .linkedin-post {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .linkedin-post-card {
        padding: 20px;
        border-radius: 12px;
        max-width: 100%;
    }

    .post-header {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .company-logo {
        width: 48px;
        height: 48px;
    }

    .post-title {
        font-size: 1.1rem;
        padding-left: 12px;
    }

    .post-text {
        font-size: 0.9rem;
        padding: 12px;
    }

    .btn-show-more {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .btn-view-linkedin {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .linkedin-feed-cta {
        padding: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    .linkedin-feed-cta p {
        font-size: 1.1rem;
    }

    .placeholder-post i {
        font-size: 2.5rem;
    }

    .btn-linkedin {
        font-size: 0.95rem;
        padding: 10px 24px;
    }
}

/* News Section - Kept for reference but can be removed if not needed */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--accent-orange) 0%, var(--accent-teal) 100%) 1;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.08);
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255,107,53,0.02) 100%);
}

.news-date {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.news-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.footer-logo a:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 300px;
}

.footer-info p {
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Medium screens - Timeline adjustments */
@media (max-width: 1024px) {
    .timeline-vertical {
        max-width: 900px;
    }

    .timeline-item {
        gap: 30px;
    }

    /* Timeline years removed - now in titles */

    .timeline-content {
        padding: 20px 24px;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .capability-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Testimonials carousel mobile adjustments */
    .testimonial-card {
        flex: 0 0 300px;
        min-height: 220px;
    }

    .testimonials-carousel {
        animation-duration: 45s;
    }

    .quote-icon {
        font-size: 2.5rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }

    /* AI Capabilities mobile adjustments */
    .ai-capabilities-section {
        padding: 45px 0 !important;
    }

    /* Mobile styles for AI guardrails */
    .ai-guardrails {
        padding: 10px 15px;
        margin: 20px 15px 30px;
        border-radius: 6px;
    }

    .ai-guardrails .guardrails-label {
        display: block;
        margin-bottom: 10px;
        font-size: 0.9rem;
        text-align: center;
    }

    .ai-guardrails ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ai-guardrails ul li {
        display: block;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.85rem;
        text-align: left;
        justify-content: flex-start;
    }

    .ai-guardrails ul li:last-child {
        border-bottom: none;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .capability-card {
        padding: 20px;
        gap: 15px;
    }

    .capability-icon {
        width: 42px;
        height: 42px;
    }

    .capability-icon i {
        font-size: 1.1rem;
    }

    .capability-content h3.capability-title {
        font-size: 1rem;
    }

    .transformation {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .transform-arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .outcomes-list li {
        font-size: 0.8rem;
    }

    .where-fits {
        font-size: 0.8rem;
    }

    .cap-ctas .btn-text {
        font-size: 0.85rem;
    }

    /* Vertical Timeline mobile adjustments */
    .timeline-vertical {
        padding: 0 15px;
        margin: 40px auto;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        display: block;
        margin-bottom: 40px;
        padding-left: 60px;
        position: relative;
    }

    .timeline-marker {
        position: absolute;
        left: 19px;
        top: 0;
    }

    /* Timeline years removed - now in titles */

    .timeline-dot {
        width: 20px;
        height: 20px;
        border-width: 3px;
    }

    .timeline-content {
        text-align: left !important;
        padding: 20px;
        margin-top: 10px;
    }

    .timeline-content::before {
        display: none;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Timeline years removed - now in titles */

    .arrow-transform {
        transform: rotate(90deg);
        animation: pulse-down 2s infinite;
    }

    @keyframes pulse-down {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        50% { transform: rotate(90deg) translateX(5px); }
    }

    .ai-enhanced-cap::after {
        font-size: 0.6rem;
        padding: 1px 6px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    /* All navigation links should be left-aligned consistently */
    .nav-link {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 12px 16px;
        text-align: left;
        border-radius: 6px;
        margin-bottom: 4px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: var(--bg-gradient-1);
        color: var(--primary-color);
    }

    /* Dropdown styling */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .nav-link {
        justify-content: space-between;
    }

    /* Add chevron icons to all dropdown items */
    .nav-dropdown .nav-link::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.7rem;
        color: var(--text-light);
        transition: transform 0.3s ease;
    }

    /* Remove the existing icon and use the ::after pseudo-element */
    .nav-dropdown .nav-link i {
        display: none;
    }

    .dropdown-content {
        position: static;
        transform: none;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: var(--bg-gradient-1);
        margin-top: 0;
        margin-left: 0;
        border-radius: 6px;
        padding: 8px 0;
    }

    .dropdown-content::before {
        display: none;
    }

    .dropdown-content a {
        padding: 10px 24px;
        margin: 2px 8px;
        border-radius: 4px;
        border-bottom: none;
    }

    .nav-dropdown.active .dropdown-content {
        display: block;
    }

    .nav-dropdown:hover .dropdown-content {
        display: none;
    }

    .nav-dropdown.active .nav-link::after {
        transform: rotate(180deg);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Show Apply Now link on mobile */
    .nav-link-apply {
        display: flex !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        color: white !important;
        font-weight: 600;
        border-radius: 6px;
        margin-top: 8px;
    }

    .nav-link-apply:hover {
        background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
        color: white !important;
        transform: translateX(4px);
    }

    .nav-logo img {
        height: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }


    /* Ensure hero content is properly centered */
    .hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
        text-align: center;
    }

    /* Adjust hero section height for mobile */
    .hero {
        height: 40vh;
        min-height: 300px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
    }

    .ai-grid,
    .contracts-grid {
        grid-template-columns: 1fr;
    }

    .mission-quality {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

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

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 40px;
    }

    .timeline-year {
        text-align: left;
        padding: 0;
        margin-bottom: var(--spacing-xs);
    }

    .timeline-content {
        padding-left: var(--spacing-md);
    }

    .timeline-content::before {
        left: -27px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        height: 70px;
        max-width: 250px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
    }
}

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

    .container {
        padding: 0 var(--spacing-sm);
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .footer-logo img {
        height: 60px;
        max-width: 200px;
    }

    .logo img {
        height: 45px;
    }
}

/* Employee Highlights Section */
.employee-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.employee-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.employee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.15);
    border-color: var(--accent-color);
}

.employee-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
}

.employee-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.employee-card:hover .employee-image img {
    transform: scale(1.05);
}

.employee-content {
    padding: var(--spacing-lg);
}

.employee-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.employee-role {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 20px;
}

.employee-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for employee highlights */
@media (max-width: 1024px) {
    .employee-highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .employee-highlights-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .employee-image {
        height: 200px;
    }

    .employee-content h3 {
        font-size: 1.2rem;
    }
}

/* Homepage Job Listings Section */
.homepage-job-listings {
    margin-top: var(--spacing-xl);
}

.homepage-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    /* Better support for 4 cards */
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-job-card {
    background: var(--bg-white);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homepage-job-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.homepage-job-card:hover {
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.homepage-job-header {
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.homepage-job-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    line-height: 1.3;
}

.homepage-job-title .new-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Previous Job Postings Styles */
.previous-job-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    position: relative;
}

.previous-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c757d 0%, #adb5bd 100%);
    border-radius: 12px 12px 0 0;
}

.previous-job-card:hover {
    border-color: #6c757d;
    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.15);
}

.previous-badge {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    margin-left: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.previous-job-card .job-title {
    color: #495057;
}

.previous-job-card .job-meta span {
    color: #6c757d;
}

.previous-job-card .job-meta i {
    color: #adb5bd;
}

.previous-job-filters {
    background: #f8f9fa;
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border: 1px solid #e9ecef;
}

.previous-job-filters .filter-group {
    background: white;
    border: 1px solid #dee2e6;
}

.previous-job-filters .job-search-input,
.previous-job-filters .filter-select {
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
}

.previous-job-filters .job-search-input:focus,
.previous-job-filters .filter-select:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

.previous-job-filters .btn-clear-filters {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.previous-job-filters .btn-clear-filters:hover {
    background: #5a6268;
    border-color: #5a6268;
}

.previous-job-card .btn-view-details {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.previous-job-card .btn-view-details:hover {
    background: #5a6268;
    border-color: #5a6268;
}

.previous-job-card .btn-apply {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.previous-job-card .btn-apply:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.previous-job-card .btn-share {
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.previous-job-card .btn-share:hover {
    background: #6c757d;
    color: white;
}

.previous-job-card .job-requirement {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #dee2e6;
}

.previous-job-card .job-description-text {
    color: #495057;
}

.previous-job-card .no-description {
    color: #6c757d;
    font-style: italic;
}

.previous-load-more-container {
    margin-top: var(--spacing-lg);
}

.previous-load-more-container .btn {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.previous-load-more-container .btn:hover {
    background: #5a6268;
    border-color: #5a6268;
    box-shadow: 0 6px 16px rgba(90, 98, 104, 0.35);
}

.homepage-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text-light);
}

.homepage-job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.homepage-job-meta i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.job-location,
.job-type {
    white-space: nowrap;
}

.homepage-job-description {
    flex: 1;
    margin-bottom: var(--spacing-md);
}

.homepage-job-description p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.homepage-job-description .no-description {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* Homepage-specific text styles for job descriptions */

.homepage-job-description .job-description-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.homepage-job-description .job-description-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.homepage-job-description .job-description-text br + br {
    display: none;
}

/* Homepage button size adjustment */
.homepage-job-description .btn-show-more {
    margin-top: var(--spacing-sm);
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Removed old button styles - using btn-show-more instead */

.homepage-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 51, 102, 0.08);
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.job-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: var(--spacing-md);
    flex-shrink: 1;
    min-width: 0;
}

.job-date i {
    font-size: 0.8rem;
}

.job-action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
}

.btn-job-apply {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-job-apply:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.btn-job-apply i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-job-apply:hover i {
    transform: translateX(3px);
}

.btn-view-linkedin {
    background: #0077B5;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-view-linkedin:hover {
    background: #005582;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.btn-view-linkedin i {
    font-size: 0.8rem;
}

/* Empty state for homepage jobs */
.homepage-jobs-empty {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-light);
}

.homepage-jobs-empty p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.homepage-jobs-empty .empty-state-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

/* Loading state for homepage jobs */
.homepage-job-listings .loading-jobs {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-light);
}

.homepage-job-listings .loading-jobs i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

/* Responsive adjustments for homepage job listings */
@media (max-width: 1200px) {
    .homepage-jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 1024px) {
    .homepage-jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-md);
    }

    .homepage-job-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .homepage-jobs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .homepage-job-card {
        padding: var(--spacing-md);
    }

    .homepage-job-title {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .homepage-job-meta {
        font-size: 0.85rem;
    }

    .homepage-job-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .job-action-buttons {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .btn-job-apply,
    .btn-view-linkedin {
        width: 100%;
        justify-content: center;
    }
}

/* K-12 Page Styles */
.k12-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #003366 0%, #00a86b 100%);
    overflow: hidden;
}

.k12-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.k12-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: none;
}

.k12-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.k12-overview {
    padding: 40px 0;
}

.overview-content {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--background-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.k12-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.k12-service-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.k12-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #003366 0%, #00a86b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.k12-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.k12-service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.k12-service-card ul {
    list-style: none;
    padding: 0;
}

.k12-service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.k12-service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.erate-section {
    padding: 60px 0;
}

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

.erate-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.erate-text ul {
    list-style: none;
    padding: 0;
}

.erate-text ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.erate-text ul li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.erate-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--background-light);
}

.erate-stat {
    display: flex;
    flex-direction: column;
}

.erate-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.erate-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.erate-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-solution {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.tech-solution h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-solution h3 i {
    color: var(--accent-color);
}

.tech-solution ul {
    list-style: none;
    padding: 0;
}

.tech-solution ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.tech-solution ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.success-story {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.story-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.story-icon i {
    font-size: 24px;
    color: white;
}

.success-story h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.success-story p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-stats {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--background-light);
    flex-wrap: wrap;
}

.story-stats span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.story-stats span strong {
    color: var(--primary-color);
    font-weight: 600;
}

.k12-cta {
    background: linear-gradient(135deg, #003366 0%, #00a86b 100%);
    color: white;
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-action {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for K-12 page */
@media (max-width: 768px) {
    .erate-content {
        grid-template-columns: 1fr;
    }

    .k12-services-grid {
        grid-template-columns: 1fr;
    }

    .tech-solutions-grid {
        grid-template-columns: 1fr;
    }

    .success-stories {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .erate-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Testimonial Section for K-12 Page */
.testimonial-highlight {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
}

.testimonial-content {
    background: var(--background-light);
    padding: 50px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-source {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 20px;
}

/* K-12 Client Grid Styles */
.clients-showcase {
    margin-top: 50px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}


/* K-12 Gallery Grid Styles */
.image-gallery {
    margin-top: 30px;
}

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

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    background: white;
    margin: 0;
}

/* Responsive adjustments for K-12 gallery and clients */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}
/* ===================================
   Application Form Styles
   =================================== */

.form-section {
    margin-bottom: 50px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.form-section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.form-fieldset {
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 25px 0;
    border-radius: 6px;
    background: white;
}

.form-fieldset legend {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0 10px;
    width: auto;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group .required {
    color: #dc3545;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-control-file {
    display: block;
    width: 100%;
    padding: 10px 0;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

.d-block {
    display: block !important;
}

.form-check-group {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 3px;
}

.form-check-input:focus:not(:focus-visible) {
    outline: none;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    font-weight: normal;
    white-space: nowrap;
    min-width: fit-content;
}

.h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    margin-top: 15px;
}

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

.equal-opportunity {
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form validation error styling */
.form-control.error,
.form-control-file.error {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.form-control.error:focus,
.form-control-file.error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input.error {
    outline: 2px solid #dc3545 !important;
    outline-offset: 2px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* Responsive Adjustments for Forms */
@media (max-width: 768px) {
    .form-section {
        padding: 20px 15px;
    }
    
    .form-section-title {
        font-size: 1.5rem;
    }
    
    .form-fieldset {
        padding: 15px;
    }
    
    .form-check-group {
        flex-direction: column;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .form-check-label {
        white-space: normal;
    }
}

/* Row and Column Classes for Forms */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.justify-content-center {
    justify-content: center !important;
}

.col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xl-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 1200px) {
    .col-xl-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .col-lg-10, .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
