﻿/* slogon hero section */
.home-hero {
    min-height: 100vh; /* leave room for header + footer */
    display: flex;
    align-items: center;
    transition: background 0.4s ease, color 0.4s ease;
}

/* dark mode */
html[data-coreui-theme="dark"] .home-hero {
    background: rgb(2,0,36) linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(58,9,121,0.8772759103641457) 35%, rgba(0,212,255,1) 100%);
    color: #f8f9fa;
}

html[data-coreui-theme="dark"] .home-hero-title {
    color: #f9fafb;
}

html[data-coreui-theme="dark"] .home-hero-subtitle {
    color: #e5e7eb;
}

/* light mode */
html[data-coreui-theme="light"] .home-hero {
    background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
    color: #111827;
}

html[data-coreui-theme="light"] .home-hero-title {
    color: #111827;
}

html[data-coreui-theme="light"] .home-hero-subtitle {
    color: #4b5563;
}

.home-hero-title {
    letter-spacing: 0.03em;
}

.home-hero-image {
    max-width: 320px;
    filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.45));
}

/* platform and devices section*/
.home-section {
    min-height: 100vh;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    .home-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

.home-section-title {
    font-weight: 700;
}

.home-section-subtitle {
    max-width: 40rem;
    margin-inline: auto;
}

html[data-coreui-theme="dark"] .home-section-subtitle {
    color: #9ca3af;
}

html[data-coreui-theme="light"] .home-section-subtitle {
    color: #6b7280;
}

.home-feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .home-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.18);
    }

.home-feature-image {
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.35));
}
