/* filepath: c:\Users\zemax\Desktop\zaheb\css\index.css */
/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    /* Set height to 100% of the viewport height */
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Creates a parallax-like effect */
    text-align: center;
    display: flex;
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    /* Center content horizontally */
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .hero-title,
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--white-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    /* Stronger shadow for readability */
}

.hero-content .hero-subtitle,
.hero-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-buttons .btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--white-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 12px 28px;
    font-size: 1.1rem;
}

.hero-buttons .btn:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Remove styles for previous design */
.hero-grid,
.hero-background-animation,
.hero-image-container,
.hero-illustration {
    display: none;
}

/* ===== COMPANY OVERVIEW ===== */
.company-overview {
    background-color: var(--light-color);
}

.company-overview .glass-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ===== SERVICES HIGHLIGHTS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    margin-bottom: 15px;
}

.service-text {
    margin-bottom: 20px;
    color: var(--gray-color);
}

/* Service list styling */
.service-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 80%;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gray-color);
}

.service-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== CALL TO ACTION ===== */
.cta {
    background: none !important;
    color: var(--dark-color) !important;
    box-shadow: none;
    text-align: center;
    padding: 0;
    margin: 0;
    border: none;
}

.cta-title {
    color: var(--primary-color) !important;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.cta-text {
    margin-bottom: 20px;
    color: var(--gray-color) !important;
    font-size: 1rem;
}

/* Responsive adjustments for index page elements */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rtl .hero-grid {
        text-align: center;
    }

    .hero-image-container {
        order: -1;
        /* Image on top on smaller screens */
        margin-bottom: 2rem;
    }

    .hero-content .hero-subtitle,
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
}