/* General Styles for Contact Page */
.contact-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    gap: 2rem;
}

.contact-hero .hero-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--brand-main);
}

.hero-text .brand-color {
    color: var(--brand-main);
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    object-fit: cover;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0rem 1rem 2rem 1rem;
    gap: 2rem;
    /* margin: 5rem 12rem; */
    max-width: 950px;
    margin: auto;
}

.contact-details {
    flex: 1 1 40%;
}

.contact-block {
    margin-bottom: 1.5rem;
}

.contact-block h2 {
    color: var(--brand-main);
    margin-bottom: 0.5rem;
}

.contact-block p,
.contact-block a {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--primary-text);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.contact-form {
    flex: 1 1 50%;
    background: var(--brand-main);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 500px;
}

.contact-form h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-form p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.301);
    color: white;
    font: inherit;
}

/* Change placeholder color */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.463); /* Replace with desired color */
    opacity: 1; /* Ensure full opacity */
}

/* For better cross-browser support */
.contact-form input::-webkit-input-placeholder, /* Chrome, Safari, Opera */
.contact-form textarea::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.463);
}

.contact-form input:-ms-input-placeholder, /* Internet Explorer */
.contact-form textarea:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.463);
}

.contact-form input::-ms-input-placeholder, /* Edge */
.contact-form textarea::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.463);
}

.contact-form button {
    font: inherit;
}

.contact-form button {
    background: white;
    color: var(--brand-main);
    font-size: 1rem;
    font-weight: bold;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: white;
}

.contact-title-section p,
.contact-title-section h2 {
    text-align: center;
}

.contact-title-section {
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-hero .hero-container,
    .contact-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-text,
    .contact-details,
    .contact-form {
        flex: 1 1 100%;
        text-align: center;
        margin: auto;
    }

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

    .hero-image img {
        max-width: 100%;
    }

    .social-icons {
        align-items: center;
        justify-content: center;
    }

    .contact-content p {
        text-align: center;
    }
}
