/* ============================================
   Home Page Styles
   ============================================ */

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    min-height: 710px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slider__track {
    position: absolute;
    inset: 0;
}
.hero-slider__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slider__slide.is-active {
    opacity: 1;
}
.hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,50,0.55) 0%, rgba(0,174,239,0.15) 100%);
    z-index: 1;
}
.hero-slider__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 80px 0;
}
.hero-slider__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.hero-slider__dot.is-active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}
.hero__badge {
    display: inline-block;
    background: rgba(0,174,239,0.2);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,174,239,0.3);
}
.hero__title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero__title span { color: var(--color-primary); }
.hero__subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Hero Features --- */
.hero-features {
    position: relative;
    z-index: 2;
    margin-top: -50px;
    margin-bottom: 40px;
}
.hero-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hero-feature {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}
.hero-feature:hover {
    border-bottom-color: var(--color-primary);
    transform: translateY(-4px);
}
.hero-feature__icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.hero-feature__icon svg { width: 28px; height: 28px; stroke: var(--color-primary); }
.hero-feature__title { font-size: 1rem; margin-bottom: 6px; }
.hero-feature__text { font-size: 0.85rem; color: var(--color-muted); margin: 0; }

/* --- About Preview --- */
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.home-about__image { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.home-about__image img { width: 100%; height: 480px; object-fit: cover; }
.home-about__image::after {
    content: ''; position: absolute; bottom: -15px; right: -15px;
    width: 200px; height: 200px; border: 4px solid var(--color-primary);
    border-radius: var(--radius-lg); z-index: -1;
}
.video-responsive { position: relative; padding-top: 67.5%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-responsive iframe { position: absolute; width: 100%; height: 100%; top: 0; left: 0; border: 0; }
.home-about__content h2 { margin-bottom: 16px; }
.home-about__content h2::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--color-primary); margin-top: 16px; border-radius: 2px;
}
.home-about__content p { color: var(--color-body); margin-bottom: 16px; }
.home-about__list { list-style: none; margin: 24px 0; }
.home-about__list li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-weight: 500; color: var(--color-dark);
}
.home-about__list li::before {
    content: ''; width: 20px; height: 20px; border-radius: 50%;
    background: var(--color-primary-light); flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300aeef' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}

/* --- Services Home — NEW CARDS --- */
.home-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-svc-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden; text-decoration: none; color: var(--color-dark);
    transition: all 0.3s;
}
.home-svc-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}
.home-svc-card__img {
    width: 100%; aspect-ratio: 1/1;
    overflow: hidden; background: var(--color-bg-alt);
}
.home-svc-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.home-svc-card:hover .home-svc-card__img img { transform: scale(1.05); }
.home-svc-card__body { padding: 20px; flex: 1; min-height: 140px; }
.home-svc-card__cat {
    display: block; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--color-primary); margin-bottom: 6px;
}
.home-svc-card__title {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3;
}
.home-svc-card:hover .home-svc-card__title { color: var(--color-primary); }
.home-svc-card__text {
    font-size: 0.85rem; color: var(--color-muted); line-height: 1.6; margin: 0;
}

/* --- Reasons / Why Us --- */
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.reason-item {
    display: flex; gap: 20px; padding: 24px;
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: all 0.3s;
}
.reason-item:hover { box-shadow: var(--shadow-lg); }
.reason-item__icon {
    width: 56px; height: 56px; border-radius: var(--radius);
    background: var(--color-primary-light); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.reason-item__icon svg { width: 28px; height: 28px; stroke: var(--color-primary); }
.reason-item__title { font-size: 1rem; margin-bottom: 6px; }
.reason-item__text { font-size: 0.9rem; color: var(--color-muted); margin: 0; }

/* --- Home News --- */
.home-news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden; transition: all 0.3s;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card__image { width: 100%; height: 200px; object-fit: cover; }
.news-card__body { padding: 20px; }
.news-card__date { font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 8px; }
.news-card__title { font-size: 1rem; margin-bottom: 8px; }
.news-card__title a { color: var(--color-dark); }
.news-card__title a:hover { color: var(--color-primary); }
.news-card__excerpt { font-size: 0.85rem; color: var(--color-muted); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-features__grid { grid-template-columns: repeat(2, 1fr); }
    .home-about { grid-template-columns: 1fr; gap: 30px; }
    .home-about__image::after { display: none; }
    .home-services__grid { grid-template-columns: repeat(2, 1fr); }
    .reasons-grid { grid-template-columns: 1fr; }
    .home-news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-slider { min-height: 450px; }
    .hero__title { font-size: 2rem; }
    .hero-slider__content { padding: 50px 0; }
    .hero__actions { flex-direction: column; }
    .hero-features__grid { grid-template-columns: 1fr; }
    .hero-features { margin-top: -30px; }
    .home-services__grid { grid-template-columns: 1fr; }
    .home-news__grid { grid-template-columns: 1fr; }
}
