.hero {
    padding: 150px;
    background-image: linear-gradient(0deg, transparent 0%, transparent 58%, rgba(104, 104, 104, 0.05) 58%, rgba(104, 104, 104, 0.05) 92%, transparent 92%, transparent 100%), linear-gradient(45deg, transparent 0%, transparent 34%, rgba(104, 104, 104, 0.05) 34%, rgba(104, 104, 104, 0.05) 77%, transparent 77%, transparent 100%), linear-gradient(0deg, transparent 0%, transparent 33%, rgba(104, 104, 104, 0.05) 33%, rgba(104, 104, 104, 0.05) 53%, transparent 53%, transparent 100%), linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
    width: 100%;
    height: 55rem;
}

.hero-container {
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 4.8rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.hero-left p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 36px;
    max-width: 800px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-500);
    color: var(--text-white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.hero-btn i {
    margin-right: 8px;
}

.hero-btn:hover {
    background: var(--color-700);
    transform: translateY(-2px);
}


.hero-right {
    flex: 1;
    text-align: center;
}

.hero-right img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 100px 30px;
        height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-left h1 {
        font-size: 2.8rem;
    }

    .hero-left p {
        font-size: 1.2rem;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 120px 20px;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}


/* Modal backdrop */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal box */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

/* Close (X) button */
.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Form elements */
.modal-content input,
.modal-content textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Button */
.modal-content .hero-btn {
    background-color: var(--color-600);
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content .hero-btn i {
    margin-right: 8px;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Space between the buttons */
    margin-top: 1rem;
    /* Optional: adds space above the buttons */
}

@media (min-width: 500px) {
    .form-buttons {
        flex-direction: row;
        justify-content: space-between;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 20% auto;
        padding: 15px;
    }

    .modal-content input,
    .modal-content textarea {
        font-size: 15px;
        padding: 10px;
    }

    .modal-content .hero-btn {
        font-size: 15px;
        padding: 10px;
    }
}