/* ================= Hero Section ================= */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}
.hero-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}
.hero-left {
    flex: 1 1 350px;
    max-width: 600px;
    z-index: 2;
}
.hero-right {
    flex: 1 1 350px;
    max-width: 600px;
    z-index: 1;
}
.hero-right video.hero-video {
    width: 100%;
    height: auto;
    max-height: 350px; /* restrict video height */
    aspect-ratio: 16/9;
    border-radius: 1rem;
    object-fit: cover;
}

/* Hero CTA Buttons */
.hero-ctas .cta-btn,
.hero-ctas .cta-ghost {
    margin-right: 1rem;
}

/* ================= Services Grid ================= */
.services-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch; /* ensures equal height for cards */
}
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    height: 100%; /* makes all cards equal in grid */
}
.service-card h3 {
    margin-bottom: 0.8rem;
}
.service-card::after {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 1rem;
    box-shadow: 0 0 15px 2px rgba(255, 215, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.6);
}
.service-card:hover::after {
    opacity: 1;
}

/* ================= Section Titles ================= */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: #ffd700;
}

/* ================= Contact Section ================= */
.contact-section {
    text-align: center;
    padding: 3rem 1rem;
}
.contact-section a.btn {
    margin-top: 1rem;
}

/* ================= Animations ================= */
.animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s ease-in-out;
}
.animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s ease-in-out;
}
.in-view.animate-left,
.in-view.animate-right {
    opacity: 1;
    transform: translateX(0);
}

/* ================= Glass-box / Utility ================= */
.glass-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1rem;
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
    .hero-left, .hero-right {
        max-width: 100%;
    }
    .hero-right video.hero-video {
        max-height: 300px;
    }
}
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
    }
    .services-row {
        grid-template-columns: 1fr;
    }
    .hero-right video.hero-video {
        max-height: 250px;
    }
}
