img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   CONTACT WELCOME SECTION
========================= */

.contact-hero {
    width: 100%;
    height: 80vh;
    min-height: 480px;

    background-image: url("images/contactbg.jpg");
    background-size: cover;
    background-position: center 65%; /* crop top */
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    image-rendering: auto;
}

/* Fade-to-white gradient */
.contact-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;

    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

.contact-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;

    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);


    padding: 8px 12px; /* extremely tight */
}

/* Tighten spacing inside the blur box */
.contact-content h1 {
    margin-top: 0;      /* removes any default top margin */
    margin-bottom: 6px; /* tight spacing */
    font-size: 70px
}

/* =========================
   SOCIAL MEDIA SECTION
========================= */

.social-media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
}


.social-card {
    background: #fafafa;
    border-radius: 12px;
    padding: 28px;
    width: clamp(260px, 30vw, 320px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    text-align: left;
}

.social-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pushes icon to the right */
    margin-bottom: 10px;
}

.social-card-title h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
}

.social-icon {
    width: clamp(20px, 3vw, 32px);
    height: clamp(20px, 3vw, 32px);
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}


.social-card h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    font-size: 24px;
}

.social-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.45;
}

.social-link {
    font-size: 16px;
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
}

.social-link:hover {
    text-decoration: underline;
}


/* Two-column layout */
.social-and-message-section {
    padding: 80px 0;
    background: #ffffff;
}

.social-message-container {
    max-width: 1500px; /* wider overall layout */
    margin: 0 auto;
    padding: 0 20px;   /* pushes columns outward */
    display: flex;
    gap: 80px;         /* increases space between columns */
    align-items: flex-start;
}

/* Left column */
.social-media-column {
    flex: 1.4;
}

/* Right column */
.message-column {
    flex: 1;
    background: #fafafa;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);

}

.message-column h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    margin-bottom: 12px;
}

.message-intro {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Form styling */
.message-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.message-form button {
    align-self: flex-start;
    padding: 14px 28px;
    background: #d4af37;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.message-form button:hover {
    background: #b8922b;
}

/* Fade-in animation for social cards */
.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-active {
    animation: fadeInUp 0.8s ease forwards;
}

.social-card:nth-child(1) { animation-delay: 0.1s; }
.social-card:nth-child(2) { animation-delay: 0.2s; }
.social-card:nth-child(3) { animation-delay: 0.3s; }
.social-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
