/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fef9e7;
    --cream: #fef9e7;
    --dark-blue: #1e3a8a;
}

/* ============================================
   Base Styles
   ============================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--cream);
}

strong {
    font-weight: 600;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: white !important;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--dark-blue);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-headshot {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.hero-text {
    flex: 1;
}

.hero-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .hero-tagline {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Fractional CAO page specific hero styles */
.hero-section.hero-centered h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.hero-section.hero-centered {
    text-align: center;
}

/* ============================================
   Video Container
   ============================================ */
.video-container {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-container>div {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-blue);
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ============================================
   Buttons
   ============================================ */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-primary-custom {
    background-color: var(--dark-blue);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    border: none;
    transition: background-color 0.3s;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Fractional CAO page button variant */
.btn-primary-custom.btn-white {
    background-color: white;
    color: var(--dark-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: var(--dark-blue);
}

/* ============================================
   Cards
   ============================================ */
.card-feature {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    padding: 2rem;
    background-color: white;
}

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

.card-feature i {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.card-feature h3,
.card-feature h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.card-feature .card-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   Work/Portfolio Cards
   ============================================ */
.work-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--dark-blue);
    position: relative;
    overflow: hidden;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dark-blue), var(--accent-color));
}

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

.work-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dark-blue), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.work-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.work-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.work-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-badge {
    background: var(--cream);
    color: var(--dark-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--dark-blue);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: #f3f4f6;
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.work-link {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.work-link:hover {
    gap: 0.8rem;
    color: var(--secondary-color);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 1rem;
}

/* ============================================
   CTA Sections
   ============================================ */
.cta-section {
    background: var(--cream);
    padding: 60px 0;
    text-align: center;
}

.cta-section.cta-gradient {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
}

.cta-section.cta-gradient h2,
.cta-section.cta-gradient h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section.cta-gradient p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: white;
}

/* ============================================
   Fractional CAO Specific Styles
   ============================================ */
.benefit-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: white;
}

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

.benefit-card i {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.responsibility-item {
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--dark-blue);
}

.responsibility-item h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.responsibility-item p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.profile-section {
    background: var(--cream);
    padding: 60px 0;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-headshot {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--dark-blue);
    margin: 0 auto 2rem;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.profile-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.profile-card p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.calendar-embed {
    margin: 3rem 0;
    min-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calendar-placeholder {
    background: var(--cream);
    padding: 3rem;
    text-align: center;
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-section .hero-tagline {
        font-size: 2.2rem;
    }

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

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

    .hero-headshot,
    .profile-headshot {
        width: 200px;
        height: 200px;
    }

    .profile-headshot {
        width: 180px;
        height: 180px;
    }
}