/* ==========================================================================
   Eisberg Labs - Custom Styles
   ========================================================================== */

/* Global
   ========================================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

:root {
    --brand-primary: #2FBBF1;
    --brand-secondary: #195EA4;
    --brand-turquoise: #2FBBF1;
    --brand-dark: #2c2c2c;
    --brand-light: #f5f5f5;
    --brand-muted: #6b6b6b;
}

/* Section base styles */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--brand-light);
}

.section-dark-bg {
    background: var(--brand-dark);
    color: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--brand-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--brand-muted);
    margin-bottom: 50px;
}

.section-dark-bg .section-title,
.section-dark-bg .section-subtitle {
    color: #fff;
}

.section-dark-bg .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero tweaks
   ========================================================================== */

.page-header .presentation-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    z-index: 2;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.btn-scroll-down {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-scroll-down:hover,
.btn-scroll-down:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* About
   ========================================================================== */

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-turquoise);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--brand-muted);
    margin-top: 5px;
    display: block;
}

/* Services
   ========================================================================== */

.service-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--brand-turquoise);
    margin-bottom: 20px;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--brand-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Apps / Products
   ========================================================================== */

.app-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.app-card h4 {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--brand-dark);
}

.app-card p {
    color: var(--brand-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 44px;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.app-badges a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.app-badges a:hover {
    background: var(--brand-secondary);
    color: #fff;
    text-decoration: none;
}

.app-badges a i {
    font-size: 1rem;
}

.app-icon {
    font-size: 2rem;
    color: var(--brand-turquoise);
    margin-bottom: 15px;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 18px;
    object-fit: cover;
    background: #e9e9e9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* LinkedIn
   ========================================================================== */

.linkedin-section {
    padding: 70px 0;
}

.linkedin-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Contact / CTA
   ========================================================================== */

.cta-section {
    padding: 80px 0;
}

.cta-section .section-title {
    color: #fff;
    font-size: 2.2rem;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-section .btn {
    margin: 0 8px;
}

.contact-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-dark);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form textarea {
    border-radius: 12px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-turquoise);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--brand-muted);
}

.contact-submit {
    background: var(--brand-turquoise);
    color: #fff;
    border: none;
    cursor: pointer;
    align-self: center;
    padding: 12px 40px;
    transition: background 0.2s ease;
}

.contact-submit:hover {
    background: var(--brand-secondary);
    color: #fff;
}

/* Footer
   ========================================================================== */

.footer .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer .credits {
    color: #888;
}

/* Responsive
   ========================================================================== */

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }

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

    .about-stats {
        gap: 24px;
    }

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

    .hero-ctas {
        flex-direction: column;
        gap: 8px;
    }

    .app-card p {
        min-height: auto;
    }
}
