/*
 * style_home.css
 * Modern, Classic, and Professional UI for Vakil Trae Home Page
 * White theme with video hero and blur effect
 */

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 0 0 2rem 2rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
   
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(11 59 105 / 45%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
}

.hero-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.hero-title {
    font-size: calc(1.3rem + 0.8vw);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: calc(0.8rem + 0.2vw);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta .btn {
    padding: calc(0.6rem + 0.1vw) calc(1.2rem + 0.5vw);
    font-size: calc(0.85rem + 0.1vw);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-cta .btn-primary {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
}

.hero-cta .btn-primary:hover {
    background-color: #078a8a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 165, 165, 0.3);
}

.hero-cta .btn-outline-secondary {
    color: var(--color-brown);
    background-color: #fff;
    border: 2px solid var(--color-brown);
}

.hero-cta .btn-outline-secondary:hover {
    background-color: var(--color-brown);
    color: #fff;
    border-color: var(--color-brown);
    transform: translateY(-3px);
}

/* --- Service Top Cards --- */
.service-top-card {
    display: block;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: var(--color-ink);
}

.service-top-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--color-brown);
}

.stc-icon {
    font-size: calc(1.5rem + 0.3vw);
    color: var(--color-brown);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-top-card:hover .stc-icon {
    transform: scale(1.1);
}

.stc-title {
    font-weight: 700;
    font-size: calc(0.85rem + 0.15vw);
}

/* --- Section Styling --- */
.section-title {
    color: var(--color-brown);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-muted);
    font-size: 1.1rem;
}

.soft-panel {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* --- Service Overview Cards --- */
.service-card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
}

.service-card .card-body {
    padding: 1.2rem 0.8rem;
    text-align: center;
}

.service-card .icon {
    width: calc(55px + 1vw);
    height: calc(55px + 1vw);
    margin: 0 auto 1.5rem;
    background: rgba(11, 59, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1.1rem + 0.3vw);
    color: var(--color-brown);
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    background: var(--color-brown);
    color: #fff;
    transform: rotateY(180deg);
}

.service-card h5 {
    font-weight: 700;
    color: var(--color-brown);
    margin-bottom: 0.5rem;
    font-size: calc(0.85rem + 0.15vw);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #e9ecef;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 1;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.timeline-step .icon {
    width: 60px;
    height: 60px;
    background: var(--color-brown);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 8px rgba(11, 59, 105, 0.1);
}

/* --- Testimonials --- */
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    transition: all 0.3s ease;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-brown);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* --- FAQ --- */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.75rem !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-accordion .accordion-button {
    background: #fff;
    color: var(--color-brown);
    font-weight: 600;
    padding: 1.25rem;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(11, 59, 105, 0.05);
    color: var(--color-brown);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-icon {
    color: var(--color-brown);
    margin-left: 0.75rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 350px;
        padding: 4rem 0 3rem;
        border-radius: 0 0 1.5rem 1.5rem;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-glass {
        padding: 2rem 1.5rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-step {
        text-align: center;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .timeline-step .icon {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto 1rem;
    }
}

/* --- Desktop Specifics --- */
@media (min-width: 992px) {
    .timeline::before {
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
        height: 4px;
        transform: translateY(-50%);
    }

    .timeline-step {
        margin-top: 2rem;
    }
}