/* Curtis Michelson Consulting - Cleaned CSS
   Optimized version with unused styles removed */

/* ================================
   CSS VARIABLES (DESIGN TOKENS)
   ================================ */
:root {
    /* Colors */
    --primary: #1e2b44;        /* Deep blue */
    --accent: #257565c9;
    --blue-gradient: linear-gradient(135deg, #1e2b44, #375580);
    --text: #333333;           /* Main text */
    --text-light: #707070;     /* Secondary text */
    --light-bg: #f5f7fa;       /* Light background */
    --white: #ffffff;          
    --dark: #2c3e50;           /* Footer background */
    
    /* Font families */
	/* Font families */
	--font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-heading: 'Playfair Display', Georgia, serif;
	--font-quote: 'Merriweather', Georgia, serif;
	--font-button: 'Nunito', 'Inter', sans-serif; 
	/* NEW: Dedicated button font */
    
    /* Font weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
	
    /* Button-specific variables */
    --button-weight: 500;
    --button-size: 1rem;
    --button-spacing: 0;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 6px;
    
    /* Transitions */
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.15);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.2);
}

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   LAYOUT UTILITIES
   ================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-container {
    padding: var(--space-xl) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.section-break {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    text-align: center;
    margin: var(--space-xl) 0 var(--space-lg) 0;
    color: var(--primary);
    position: relative;
}

.section-break::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hidden {
    display: none;
}



/* ================================
   Unplugged Modal Styling
   ================================ */

/* Modal Body Styling */
.modal-body {
    padding: var(--space-md) var(--space-lg);
    max-height: 70vh;
    overflow-y: auto;
}

/* Override image sizes in modal */
.modal-body .img-full {
    height: 200px; /* Much smaller than 400px */
    object-fit: cover;
}

.modal-body .image-divider {
    margin: var(--space-md) 0; /* Reduce spacing */
}

/* Ensure text is properly styled in modal */
.modal-body .about-text {
    color: var(--text);
    line-height: 1.6;
}

.modal-body .about-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.modal-body .about-text p {
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.modal-body .about-text ul {
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

.modal-body .about-text li {
    color: var(--text);
    margin-bottom: var(--space-xs);
}

/* Responsive modal content */
@media (max-width: 768px) {
    .modal-body {
        padding: var(--space-sm);
    }
    
    .modal-body .img-full {
        height: 150px;
    }
    
    .modal-body .about-text {
        font-size: 1rem;
    }
}


/* Simple inline images - no background, natural sizing */
#unpluggedModal .img-full {
    height: auto !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 0 var(--space-sm) 0 !important;
    border-radius: 0 !important; /* Remove rounded corners */
    box-shadow: none !important; /* Remove shadow/backing */
    border: none !important; /* Remove any borders */
}

#unpluggedModal .image-divider {
    margin: var(--space-sm) 0 !important;
    text-align: left !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important; /* Remove any container styling */
}

/* Remove all the specific sizing overrides */

/* ================================
   HEADER & NAVIGATION
   ================================ */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    color: var(--primary);
    text-decoration: none;
    position: relative;
    transition: transform var(--transition);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text);
    font-weight: var(--weight-medium);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    background: var(--blue-gradient);
    color: var(--white);
    padding: var(--space-xl) 0;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
    position: relative;
}

.profile-image:hover {
    transform: scale(1.05);
}

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

/* ================================
   IMAGE DIVIDERS
   ================================ */
.image-divider {
    margin: var(--space-xl) 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.img-full {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-divider:hover .img-full {
    transform: scale(1.02);
}

/* ================================
   CONTENT SECTIONS
   ================================ */
.about-flex {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: var(--space-md);
}

.about-text h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-xs);
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* ================================
   SERVICES SECTION
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border-top: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(198, 180, 127, 0.1), transparent);
    transition: left var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-xs);
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.service-card .learn-more {
    color: var(--accent);
    font-weight: var(--weight-medium);
    text-decoration: none;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-card .learn-more:hover {
    color: var(--primary);
}

.service-card .learn-more::after {
    content: '→';
    transition: transform var(--transition);
}

.service-card .learn-more:hover::after {
    transform: translateX(3px);
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    height: 100%;
    position: relative;
    border-top: 4px solid var(--accent);
    padding: 2.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

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

.testimonial-content {
    position: relative;
    padding-top: 1rem;
    margin-bottom: auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-content p {
    font-style: italic;
    font-family: var(--font-quote);
    position: relative;
    z-index: 2;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.testimonial-author {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.2rem;
    position: relative;
    margin-top: auto;
}

.author-name {
    font-weight: var(--weight-bold);
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    position: relative;
    display: inline-block;
}

.author-name::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
    opacity: 0.7;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: var(--weight-regular);
}

/* ================================
   CLIENT LOGOS
   ================================ */
.client-logos-section {
    margin-top: var(--space-xl);
    text-align: center;
}

.client-logos-section h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    color: var(--primary);
}

.client-logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    align-items: center;
    justify-items: center;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.client-logos-container:hover {
    opacity: 1;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    height: 80px;
    transition: all var(--transition);
    filter: grayscale(100%);
}

.client-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.client-logo img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

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

.contact-text h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

#contactInfo {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

#contactInfo p {
    margin-bottom: 0;
    font-weight: var(--weight-medium);
}


/* ================================
   BUTTONS & INTERACTIVE ELEMENTS
   ================================ */
/* PRIMARY CTA BUTTON - White style (for colored/dark backgrounds) */
.cta-button,
.form-actions .cta-button {
    display: inline-block;
    background-color: #F8F6F0;
    color: #2d3748;
    padding: 16px 32px;
    border-radius: 30px;
    font-family: var(--font-button);
    font-weight: var(--button-weight);
    font-size: var(--button-size);
    letter-spacing: var(--button-spacing);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 246, 240, 0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 240px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-button:hover,
.form-actions .cta-button:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 246, 240, 0.4);
    color: #2d3748;
}

/* PRIMARY CTA BUTTON - Inverted style (for white backgrounds) */
.cta-button-inverted {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    font-family: var(--font-button);
    font-weight: var(--button-weight);
    font-size: var(--button-size);
    letter-spacing: var(--button-spacing);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 43, 68, 0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 240px;
    text-align: center;
}

.cta-button-inverted:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 43, 68, 0.4);
    color: var(--white);
}

/* SECONDARY BUTTON - Outlined style */
.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 16px 32px;
    border-radius: 30px;
    font-family: var(--font-button);
    font-weight: var(--button-weight);
    font-size: var(--button-size);
    letter-spacing: var(--button-spacing);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.secondary-button:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}




/* ================================
   FOOTER
   ================================ */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md) 0;
    margin-top: var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    color: var(--white);
    margin-bottom: var(--space-xs);
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-nav,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-contact li {
    margin-bottom: var(--space-xs);
}

.footer-nav a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.contact-icon {
    margin-right: var(--space-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .profile-image {
        width: 280px;
        height: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 3rem;
        --space-lg: 2rem;
        --space-md: 1.5rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    /* Mobile Navigation - Simplified since mobile menu not implemented */
    .main-nav ul {
        flex-wrap: wrap;
        gap: var(--space-md);
        justify-content: center;
    }
    
    /* Mobile Hero */
    .hero {
        min-height: 60vh;
        padding: var(--space-lg) 0;
    }
    
    .hero-container {
        gap: var(--space-md);
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    /* Mobile Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Mobile Cards */
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    /* Mobile Images */
    .img-full {
        height: 250px;
    }
    
    /* Mobile Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 2rem;
        --space-lg: 1.5rem;
    }
    
    .section-container {
        padding: var(--space-lg) 0;
    }
    
    .hero {
        min-height: 50vh;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
	.cta-button,
	.secondary-button {
	    background-color: #F8F6F0;
	    color: #2d3748;
	    padding: 14px 28px;
	    font-size: 0.9rem;
	    min-width: 200px;
	}
    
    .service-card,
    .testimonial {
        padding: var(--space-md);
    }
}

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

/* Focus states for better accessibility */
a:focus,
button:focus,
.cta-button:focus,
.secondary-button:focus {
    outline: 2px solid var(--primary);  /* Use primary blue instead of gold */
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text: #000000;
        --text-light: #333333;
        --primary: #000080;
        --accent: #8B4513;
    }
}




.team-intelligence-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-xs);
}

.section-intro h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.section-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 0;
}

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

.intelligence-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.intelligence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.intelligence-card h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.intelligence-card p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.practice-examples {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
}

.practice-tag {
    background: rgba(198, 180, 127, 0.1);
    color: var(--primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--weight-medium);
    border: 1px solid rgba(198, 180, 127, 0.3);
}

.intelligence-outcome {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.intelligence-outcome h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: var(--space-xs);
}

.intelligence-outcome h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.outcome-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
}

.outcome-item h4 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: var(--space-xs);
    font-size: 1.2rem;
}

.outcome-item p {
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.intelligence-cta {
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
}

.intelligence-cta h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.intelligence-cta p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 768px) {
    .intelligence-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .section-intro h3 {
        font-size: 2rem;
    }
    
    .section-intro p {
        font-size: 1.1rem;
    }
    
    .intelligence-card {
        padding: var(--space-md);
    }
    
    .intelligence-outcome, 
    .intelligence-cta {
        padding: var(--space-md);
    }
    
    .outcome-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .practice-examples {
        justify-content: center;
    }
    
    .practice-tag {
        font-size: 0.8rem;
        padding: 6px var(--space-sm);
    }
}

