/* ==========================================================================
   REAL ESTATE PAGE — Extracted from inline <style>
   ========================================================================== */

/* Custom hero style */
.robotics-hero {
    background: linear-gradient(135deg, #1b3a4b 0%, #001f3f 100%);
}

/* Image Carousel */
.image-carousel-container {
    width: 100%;
    overflow: hidden;
    background: #000;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}

.image-carousel-track {
    display: inline-block;
    animation: scrollCarousel 25s linear infinite;
}

.image-carousel-track img {
    height: 300px;
    width: auto;
    border-radius: 10px;
    margin: 0 10px;
    object-fit: cover;
    display: inline-block;
}

@keyframes scrollCarousel {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services / Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-card h3 {
    color: var(--secondary-color);
    margin-top: 0;
    font-size: 1.25rem;
}

.course-card .desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .image-carousel-track img {
        height: 200px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
}
