/* =========================================
   home.css - Testus Homepage Styles
   Last updated: 2026-02-22
   ========================================= */

:root {
    --testus-blue: #1a4cd2;
    --testus-light: #f4f7ff;
    --testus-dark: #0a1945;
}

body {
    font-family: 'Heebo', sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 10;
    visibility: hidden;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.slide.active {
    opacity: 1;
    z-index: 20;
    visibility: visible;
}

.slide.last-active {
    z-index: 15;
    opacity: 1;
    visibility: visible;
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 25;
}

/* ---- Slider Navigation Dots ---- */
.slider-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-dot.active {
    background: var(--testus-blue);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(26, 76, 210, 0.5);
}

/* ---- Split Section Layout ---- */
.split-section {
    display: flex;
    width: 100%;
    padding: 50px 5% 80px 5%;
    background: #fff;
    direction: rtl;
    gap: 60px;
}

.features-column {
    flex: 1.2;
}

.marketing-column {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-accent {
    font-weight: 800;
    color: var(--testus-blue);
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 950;
    line-height: 1;
    color: var(--testus-dark);
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--testus-blue);
}

.marketing-p {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ---- Features Grid ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 28px;
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-item:hover {
    background: #fff;
    border-color: var(--testus-blue);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--testus-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--testus-dark);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ---- CTA Button ---- */
.btn-login-main {
    background: var(--testus-blue);
    color: white;
    padding: 18px 45px;
    border-radius: 100px;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(26, 76, 210, 0.25);
    transition: all 0.4s ease;
    width: fit-content;
}

.btn-login-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(26, 76, 210, 0.35);
    color: white;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .split-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 50vh;
    }
}