/* ===================================
   Eureka Technology - Custom Styles
   =================================== */

/* ===== Color Overrides ===== */
:root {
    /* Primary Colors - Dark Blue */
    --primary-color: #1E3A5F;    /* Deep navy blue primary */
    --primary-dark: #0F2744;     /* Darker navy for hover states */
    --primary-light: #2E5A8B;    /* Lighter blue for accents */
    --secondary-color: #1A365D;  /* Dark slate blue as secondary */
    --accent-color: #F59E0B;     /* Warm amber for accents */

    /* Keep other colors but update primary references */
    --heading-color: #0F172A;    /* Very dark blue-black */
    --text-color: #334155;       /* Slate for body text */
}

/* ===== Logo Styles ===== */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo-white {
    color: #ffffff;
    display: block;
}

.logo-black {
    color: var(--primary-color);
    display: none;
}

/* When navbar has scrolled class (white background), show black logo */
.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-black {
    display: block;
}

.logo-text-footer {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* ===== Hero Section Enhancements ===== */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Division Cards ===== */
.division-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.division-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
}

.division-card.featured h3,
.division-card.featured p,
.division-card.featured li {
    color: #ffffff;
}

.division-card.featured .division-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.division-card.featured .btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.division-card.featured .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.division-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.division-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 32px;
    transition: all 0.3s ease;
}

.division-card:hover .division-icon {
    transform: scale(1.1);
}

.division-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.division-lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.division-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.division-features li {
    padding: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.division-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 0.875rem;
}

.division-card.featured .division-features li i {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Technology Cards ===== */
.tech-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.tech-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    display: block;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: #ffffff;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-light {
    background: #ffffff;
    color: var(--primary-color);
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Studio Approach Section ===== */
.approach-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.approach-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.3);
}

.approach-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 15px 0 15px 0;
    color: var(--heading-color);
}

.approach-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== Portfolio/Ventures Grid ===== */
.venture-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.venture-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.venture-placeholder {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.venture-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.venture-status.building {
    background: #FEF3C7;
    color: #92400E;
}

.venture-status.launched {
    background: #D1FAE5;
    color: #065F46;
}

.venture-status.scaling {
    background: #DBEAFE;
    color: #1E40AF;
}

.venture-status.exited {
    background: #E0E7FF;
    color: #4338CA;
}

.venture-content {
    padding: 25px;
}

.venture-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.venture-industry {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.venture-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Partnership Models ===== */
.partnership-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.partnership-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.partnership-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 28px;
}

.partnership-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.partnership-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Expertise Page Styles ===== */
.expertise-category {
    margin-bottom: 50px;
}

.expertise-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.skill-badge {
    display: inline-block;
    background: rgba(30, 58, 95, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 5px;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== Contact Form Styles ===== */
.inquiry-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.inquiry-type-btn {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inquiry-type-btn:hover,
.inquiry-type-btn.active {
    border-color: var(--primary-color);
    background: rgba(30, 58, 95, 0.05);
}

.inquiry-type-btn.active {
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2);
}

.inquiry-type-btn i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.inquiry-type-btn span {
    font-weight: 600;
    color: var(--heading-color);
}

/* ===== Timeline Styles ===== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

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

.timeline-content {
    width: 45%;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Process Steps ===== */
.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--border-color);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.process-step p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Form Sections Visibility ===== */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    .division-card {
        padding: 30px;
    }

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

    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }

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

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .division-card {
        padding: 25px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .process-step {
        padding-left: 60px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
