/* Idaho AI Strategies - Main Stylesheet */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #3182ce;
    --primary-dark: #1a365d;
    --secondary-color: #319795;
    --accent-orange: #ed8936;
    --accent-gold: #d69e2e;
    --accent-green: #38a169;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --background-light: #f7fafc;
    --background-dark: #1a202c;
    --white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-code: 'Source Code Pro', monospace;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

/* Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-dark {
    background-color: var(--background-dark);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--white);
}

.section-dark p {
    color: #cbd5e0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: #a0aec0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    line-height: 1;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-brand {
    flex-shrink: 0;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.brand-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
    text-decoration: none;
}

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

.nav-link.active {
    color: var(--accent-orange);
}

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

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

.nav-cta {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/boise-skyline.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(49, 130, 206, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #cbd5e0;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.trust-text {
    font-size: 1rem;
    color: #a0aec0;
    margin: 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-mission h3,
.about-founder h3,
.about-values h3,
.about-partnerships h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Opportunity Section */
.opportunity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #cbd5e0;
}

.opportunity-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Challenges Section */
.challenges-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.challenges-stats {
    display: grid;
    gap: 2rem;
}

.challenge-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.challenge-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.challenge-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.solutions h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.solution-grid {
    display: grid;
    gap: 1.5rem;
}

.solution-item {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.solution-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.solution-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.tier-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.tier-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.tier-featured {
    border-color: var(--accent-orange);
    background-color: rgba(237, 137, 54, 0.1);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.tier-header {
    margin-bottom: 2rem;
}

.tier-name {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tier-description {
    color: #a0aec0;
    margin: 0;
}

.tier-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.tier-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
}

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

.tier-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.services-applications {
    margin-top: 4rem;
}

.services-applications h3 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

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

.app-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.app-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.1);
}

.app-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-item h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.app-item p {
    color: #a0aec0;
}

/* Process Section - Journey Infographic */
.process {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: visible;
    padding: 6rem 0;
}

.journey-infographic {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0;
}

.journey-path {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(49, 130, 206, 0.3);
}

.journey-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

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

.journey-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 1rem;
}

.journey-step {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 200px;
}

.journey-step:hover {
    transform: translateY(-15px) scale(1.05);
}

.step-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(49, 130, 206, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    border: 4px solid white;
}

.step-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.journey-step:hover .step-circle::before {
    opacity: 0.3;
}

.journey-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(49, 130, 206, 0.5);
}

.step-number {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.step-description {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    border: 3px solid var(--primary-color);
}

.step-description::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid var(--primary-color);
}

.step-description::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
}

.journey-step:hover .step-description {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(20px);
}

.step-description h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.step-description p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Process flow arrows */
.journey-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

/* Responsive adjustments for journey */
@media (max-width: 1024px) {
    .journey-infographic {
        padding: 4rem 0;
    }
    
    .step-description {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 4rem 0;
    }
    
    .journey-infographic {
        padding: 3rem 0;
    }
    
    .journey-steps {
        flex-direction: column;
        gap: 4rem;
    }
    
    .journey-path {
        display: none;
    }
    
    .journey-step:not(:last-child)::after {
        content: '↓';
        top: auto;
        bottom: -50px;
        right: 50%;
        transform: translateX(50%);
        font-size: 2.5rem;
    }
    
    .step-description {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 1.5rem;
        opacity: 1;
        visibility: visible;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-description::before,
    .step-description::after {
        display: none;
    }
    
    .journey-step:hover .step-description {
        transform: none;
    }
    
    .step-circle {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 1.125rem;
    }
}

/* Why Us Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.advantage-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #a0aec0;
}

/* Security Section */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.security-item {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.security-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.security-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-question h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.25rem;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--accent-orange);
    font-weight: 300;
    transition: var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #a0aec0;
    margin: 0;
}

/* Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.resource-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.resource-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

/* Enhanced select styling */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 8px 12px;
    border: none;
    font-size: 1rem;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-item p {
    color: #a0aec0;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #a0aec0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #a0aec0;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: #a0aec0;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: #a0aec0;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* Utility Classes */
.highlight {
    color: var(--accent-orange);
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }



/* Blog Section */
.blog {
    background-color: var(--light-bg);
}

.blog-grid {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.blog-post-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-post-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

.blog-post-content {
    padding: 2rem;
    line-height: 1.7;
}

.blog-post-content h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.blog-post-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.blog-post-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-post-content li {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.blog-post-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    background: var(--light-bg);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-share .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Responsive blog styling */
@media (max-width: 768px) {
    .blog-post-header,
    .blog-post-content {
        padding: 1.5rem;
    }
    
    .blog-post-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-post-title {
        font-size: 1.5rem;
    }
    
    .blog-post-excerpt {
        font-size: 1rem;
    }
}


/* Blog Preview Section */
.blog-preview {
    background-color: var(--light-bg);
}

.blog-preview-content {
    max-width: 900px;
    margin: 0 auto;
}

.blog-preview-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition-normal);
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-preview-image {
    position: relative;
}

.blog-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-preview-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-preview-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-preview-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-preview-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-preview-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-preview-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-posts {
    background-color: var(--light-bg);
}

.blog-posts-grid {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-post-card.featured {
    border: 2px solid var(--accent-orange);
}

.blog-post-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.blog-post-meta-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.blog-post-card .blog-post-content {
    padding: 2rem;
}

.blog-post-card .blog-post-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-post-card .blog-post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-post-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Blog Article Styles */
.blog-post-full {
    background: white;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-read-time {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.blog-article-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.blog-article-image {
    margin-bottom: 2rem;
}

.article-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.blog-article-content {
    line-height: 1.8;
    font-size: 1.125rem;
}

.blog-article-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.blog-article-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.blog-article-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-article-content li {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-image-section {
    margin: 2.5rem 0;
    text-align: center;
}

.blog-content-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.image-caption {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.blog-article-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 3rem;
}

.blog-cta {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.blog-cta h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive blog styles */
@media (max-width: 768px) {
    .blog-preview-card {
        grid-template-columns: 1fr;
    }
    
    .blog-thumbnail {
        height: 250px;
    }
    
    .blog-preview-text {
        padding: 1.5rem;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-article-title {
        font-size: 2rem;
    }
    
    .article-hero-img {
        height: 250px;
    }
    
    .blog-article-content {
        font-size: 1rem;
    }
    
    .blog-preview-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

