.Contact-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    /* Ensure minimum height */
    padding-left: 5%;
    padding-right: 5%;
    gap: 5%;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 40px;
    /* Add top margin to prevent nav overlap */
}

.Contact-subcontainer-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Align text to start */
    gap: 20px;
    min-width: 300px;
    /* Prevent crushing on small screens */
}

.Contact-subcontainer-2 {
    flex: 1;
    height: 550px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.Contact-container-topper-text {
    color: #494747;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
}

.Contact-header-text {
    color: #494747;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-section-h2);
    font-weight: 600;
}

.Contact-header-text-2 {
    color: #494747;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 550;
}

.Contact-header-bottom-text {
    color: var(--lightt-color);
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    margin-top: 8px;
}

.Contact-input-container {
    font-family: "Poppins", "sans-serif";
    font-size: 1.5rem;
    font-weight: 600;
    width: 85%;
}

.Contact-input-header {
    color: #494747;
    padding-bottom: 5px;
    font-size: 20px;
}

.Contact-input-textbox {
    height: 55px;
    width: 100%;
    border-radius: 50px;
    /* Fully rounded pill shape */
    border: 2px solid #c9a63c;
    /* Gold border */
    background: #fff;
    /* White background */
    padding: 0 25px;
    /* Padding on sides for pill shape */
    font-family: "Poppins", "sans-serif";
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.Contact-input-textbox::placeholder {
    color: #999;
}

.Contact-input-textbox:focus {
    border-color: #2E2318;
    /* Dark border on focus */
    background: #fff;
    outline: none;
    box-shadow: 0 4px 12px rgba(201, 166, 60, 0.2);
    /* Gold glow */
}

/* Select dropdown specific styling */
.Contact-input-textbox select,
select.Contact-input-textbox {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23c9a63c" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* Updated Button Style */
.Contact-submit-button {
    border-radius: 50px;
    position: relative;
    font-weight: 700;
    font-size: 1rem;
    background-color: var(--dark-color);
    color: #fff;
    border: 2px solid var(--dark-color);
    padding: 14px 40px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    letter-spacing: 1px;
    margin-top: 10px;
}

.Contact-submit-button:hover {
    background-color: var(--lightt-color);
    color: var(--dark-color);
    border-color: var(--lightt-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 166, 60, 0.3);
}

.Contact-submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.Contact-submit-button:before {
    content: '';
    display: none;
}

/* Spinner for the submit button */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: btn-spin 1s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}



@media(min-width: 1025px) {
    .Contact-container {
        margin-top: 0;
        align-items: center;
        /* Center vertically */
    }

    .Contact-subcontainer-1 {
        flex: 1;
        /* Allow it to grow naturally */
        width: auto;
        /* Remove restrictive width */
        max-width: 50%;
        /* Ensure it doesn't take over */
    }

    .Contact-subcontainer-2 {
        flex: 1;
        justify-content: center;
        padding-right: 20px;
    }

    .Contact-input-textbox {
        height: 50px;
    }

    .Contact-submit-button {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .Contact-input-container {
        width: 87%;
    }

    .Contact-input-textbox {
        height: 45px;
    }

    .Contact-submit-button {
        font-size: 1.1rem;
        padding: 8px 26px;
    }
}

/* For screens smaller than 1024px (tablets and smaller laptops) */
@media (max-width: 999px) {
    .Contact-container {
        flex-direction: column-reverse;
        gap: 40px;
        /* Add gap for vertical stacking */
        margin-top: 0;
        padding-top: 100px;
        /* Clear fixed nav */
    }

    .Contact-subcontainer-1 {
        justify-content: center;
        align-items: center;
        width: 100%;
        /* Use full width */
        margin-left: 0;
        /* specific reset */
    }

    .Contact-subcontainer-2 {
        margin-bottom: 30px;
        height: auto;
        align-items: center;
        /* Center text on mobile */
        text-align: center;
    }

    .Contact-input-textbox {
        height: 45px;
    }

    .Contact-submit-button {
        font-size: 1.1rem;
        padding: 10px 30px;
    }

    .Contact-container {
        padding-top: 9%;
        padding-bottom: 9%;
    }
}

/* For screens smaller than 768px (large mobiles and small tablets) */
@media (max-width: 768px) {
    .Contact-subcontainer-1 {
        width: 100%;
    }

    .Contact-header-text {
        font-size: var(--fs-section-h2);
    }

    .Contact-header-text-2 {
        font-size: 1.2rem;
    }

    .Contact-header-bottom-text {
        font-size: 1.2rem;
    }

    .Contact-input-textbox {
        font-size: 0.9rem;
    }

    .Contact-input-textbox {
        height: 45px;
    }

    .Contact-submit-button {
        font-size: 1.1rem;
        padding: 10px 30px;
    }
}

@media(max-width:720px) {
    .Contact-subcontainer-2 {
        align-items: center;
        justify-content: center;
        margin-left: -2.75%;
    }

    .Feedback-header-bottom-text {
        text-align: center;
    }
}

/* For screens smaller than 480px (mobiles and flipables) */
@media (max-width: 480px) {
    .Contact-header-text {
        font-size: var(--fs-section-h2);
    }

    .Contact-header-text-2 {
        font-size: 1.1rem;
    }

    .Contact-header-bottom-text {
        font-size: 1rem;
    }

    .Contact-input-container {
        font-size: 1.2rem;
    }

    .Contact-input-textbox {
        font-size: 0.9rem;
        padding-left: 20px;
    }

    .Contact-submit-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

@media(min-width:1000px) {
    .Contact-input-textbox {
        width: 100%;
    }
}

.Contact-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.Contact-logo-holder {
    height: 50px;
    width: 50px;
}

@media(max-width:1024px) {
    .Contact-logo-holder {
        height: 48px;
        width: 48px;
    }
}

@media(max-width:500px) {
    .Contact-logo-holder {
        height: 40px;
        width: 40px;
    }
}

.Contact-details-1,
.Contact-details-2 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', 'sans-serif';
    font-size: 1.3rem;
    color: var(--header-bottom-text);
}

.Contact-details-alter {
    align-items: flex-start;
}

@media(max-width:580px) {
    .Contact-details-alter {
        line-height: 1.3;
    }
}

.Contact-details-1 a,
.Contact-details-2 a {
    text-decoration: none;
    font-family: 'Poppins', 'sans-serif';
    font-size: 1.15rem;
    color: var(--header-bottom-text);
}

.Contact-details-3 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    font-family: 'Poppins', 'sans-serif';
    font-size: 1.3rem;
    color: var(--header-bottom-text);
}

.Contact-details-1 a:hover,
.Contact-details-2 a:hover,
.Contact-details-3 a:hover {
    border-bottom: 1px solid var(--dark-color);
}

@media(max-width:1245px) {

    .Contact-details-1 a,
    .Contact-details-2 a .Contact-details-3 a {
        font-size: 1.1rem;
    }
}

@media(max-width:500px) {

    .Contact-details-1 a,
    .Contact-details-2 a .Contact-details-3 a {
        font-size: 1rem;
    }
}

@media(max-width:480px) {
    .Contact-subcontainer-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;

        margin-left: -2.75%;
    }
}



@media(min-width:1950px) {

    .Contact-details-1 a,
    .Contact-details-2 a .Contact-details-3 a {
        font-size: 1vw;
    }

    .Contact-logo-holder {
        height: 60px;
        width: 60px;
    }

    .Contact-submit-button {
        font-size: 1vw;
    }

    .Contact-input-textbox {
        height: 4vh;
        font-size: 0.8vw;
    }
}

/* Contact Cards Layout */
.contact-cards-section {
    padding: 6vw 4vw;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
    background-color: transparent;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border: 2px solid #C1A03F;
    /* Gold border */
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(193, 160, 63, 0.2);
}

.contact-card-icon-wrapper {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px dotted #C1A03F;
    position: relative;
    z-index: 2;
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0.2);
    display: block;
}

.contact-card-title {
    font-family: 'Poiret One', cursive;
    font-size: var(--fs-section-h2);
    color: #2E2318;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.contact-card-content {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 35px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.contact-card-action {
    font-family: 'Montserrat', sans-serif;
    color: #C1A03F;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.contact-card-action:hover {
    color: #2E2318;
    border-bottom: 2px solid #2E2318;
}

/* Specific Card Backgrounds */
.card-location {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../Resource/location-map-bg.png');
    background-size: cover;
    background-position: center;
}

@media (max-width: 1024px) {
    .contact-cards-section {
        padding: 4vw 4vw;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-cards-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 100%;
    }
}

/* --- ENHANCED CONTACT CARDS (Added) --- */
.card-contact {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1;
}

.card-contact:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(193, 160, 63, 0.15);
    border: 1px solid rgba(193, 160, 63, 0.3);
}

.card-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--lightt-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-contact:hover::before {
    transform: scaleX(1);
}

.card-contact .pillar-icon-outer {
    width: 90px;
    height: 90px;
    background: #fdfbf7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.4s ease;
    border: 1px dashed rgba(193, 160, 63, 0.3);
}

.card-contact:hover .pillar-icon-outer {
    background: var(--lightt-color);
    border-color: transparent;
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(193, 160, 63, 0.4);
}

.card-contact .pillar-icon-contact {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: filter 0.4s ease;
    filter: brightness(0.2);
}

.card-contact:hover .pillar-icon-contact {
    filter: brightness(0) invert(1);
}

.card-contact h3 {
    font-family: 'Poiret One', cursive;
    font-size: var(--fs-section-h2);
    color: #333;
    margin: 10px 0 5px;
    transition: color 0.3s ease;
}

.card-contact p {
    font-family: 'Quicksand', sans-serif;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.card-contact a {
    position: relative;
    padding-bottom: 2px;
    overflow: hidden;
}

.card-contact a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--lightt-color);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

.card-contact:hover a::after {
    transform: translateX(0);
}

@keyframes fadeInUpFloat {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-contact {
    animation: fadeInUpFloat 0.8s ease backwards;
}

.card-contact:nth-child(1) {
    animation-delay: 0.2s;
}

.card-contact:nth-child(2) {
    animation-delay: 0.4s;
}

.card-contact:nth-child(3) {
    animation-delay: 0.6s;
}