/*
====================
    CONTACT HERO
====================
*/
.contact-gift-hero {
    max-width: 1000px;
    margin: 80px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.contact-gift-hero .hero-inner {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-gift-hero h1 {
    font-size: 2.3rem;
    color: #7A5AF8;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-gift-hero p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
}

.contact-gift-wrapper {
    max-width: 1200px;
    margin: 50px auto 90px;
    padding: 0 20px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/*
================
    MAP CARD
================
*/
.contact-gift-map-card {
    flex: 1.4;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 22px 22px 26px;
}

.contact-gift-details {
    margin-bottom: 16px;
}

.contact-gift-details h2 {
    font-size: 1.3rem;
    color: #4B3AA8;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-gift-details p {
    margin: 4px 0;
    font-size: 0.98rem;
    color: #444;
}

.contact-gift-details .icon {
    margin-right: 6px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.contact-gift-map-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-gift-map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

/*
====================
    LOCATION PIN
====================
*/
.contact-gift-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -105%);
    pointer-events: none;
    animation: giftPinDrift 3.5s ease-in-out infinite;
}

.contact-gift-pin svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

/*
=================
    FORM CARD
=================
*/
.contact-gift-form-card {
    position: relative;
    flex: 1.2;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 26px 24px 28px;
    overflow: hidden;
}

.gift-watermark {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    pointer-events: none;
    opacity: 0.16;
}

.gift-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-gift-form-header {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.contact-gift-form-header h2 {
    font-size: 1.3rem;
    color: #4B3AA8;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-gift-form-header p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.6;
}

.contact-gift-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.contact-gift-form input,
.contact-gift-form textarea {
    padding: 13px 14px;
    margin-bottom: 16px;
    font-size: 0.98rem;
    border-radius: 10px;
    border: 1px solid #D4CCF5;
    background: #FFFFFF;
    color: #333;
}

.contact-gift-form input::placeholder,
.contact-gift-form textarea::placeholder {
    color: #9A93C8;
}

.contact-gift-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-gift-form button {
    padding: 13px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #7A5AF8, #C26BF5);
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

.contact-gift-form button:hover {
    opacity: 0.8;
}

.demo-note {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #5A4A9A;
    font-style: italic;
}

/*
=================
    ANIMATION
=================
*/
@keyframes giftPinDrift {
    0% { transform: translate(-50%, -105%) rotate(0deg); }
    50% { transform: translate(-50%, -110%) rotate(1deg); }
    100% { transform: translate(-50%, -105%) rotate(0deg); }
}


/*
====================
    CONTACT HERO
====================
*/
.contact-gift-hero {
    max-width: 1000px;
    margin: 80px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.contact-gift-hero .hero-inner {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-gift-hero h1 {
    font-size: 2.3rem;
    color: #7A5AF8;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-gift-hero p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
}

.contact-gift-wrapper {
    max-width: 1200px;
    margin: 50px auto 90px;
    padding: 0 20px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/*
================
    MAP CARD
================
*/
.contact-gift-map-card {
    flex: 1.4;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 22px 22px 26px;
}

.contact-gift-details {
    margin-bottom: 16px;
}

.contact-gift-details h2 {
    font-size: 1.3rem;
    color: #4B3AA8;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-gift-details p {
    margin: 4px 0;
    font-size: 0.98rem;
    color: #444;
}

.contact-gift-details .icon {
    margin-right: 6px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.contact-gift-map-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-gift-map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

/*
====================
    LOCATION PIN
====================
*/
.contact-gift-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -105%);
    pointer-events: none;
    animation: giftPinDrift 3.5s ease-in-out infinite;
}

.contact-gift-pin svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

/*
=================
    FORM CARD
=================
*/
.contact-gift-form-card {
    position: relative;
    flex: 1.2;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 26px 24px 28px;
    overflow: hidden;
}

.gift-watermark {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    pointer-events: none;
    opacity: 0.16;
}

.gift-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-gift-form-header {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.contact-gift-form-header h2 {
    font-size: 1.3rem;
    color: #4B3AA8;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-gift-form-header p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.6;
}

.contact-gift-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.contact-gift-form input,
.contact-gift-form textarea {
    padding: 13px 14px;
    margin-bottom: 16px;
    font-size: 0.98rem;
    border-radius: 10px;
    border: 1px solid #D4CCF5;
    background: #FFFFFF;
    color: #333;
}

.contact-gift-form input::placeholder,
.contact-gift-form textarea::placeholder {
    color: #9A93C8;
}

.contact-gift-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-gift-form button {
    padding: 13px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #7A5AF8, #C26BF5);
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

.contact-gift-form button:hover {
    opacity: 0.8;
}

.demo-note {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #5A4A9A;
    font-style: italic;
}

/*
=================
    ANIMATION
=================
*/
@keyframes giftPinDrift {
    0% {
        transform: translate(-50%, -105%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -110%) rotate(1deg);
    }

    100% {
        transform: translate(-50%, -105%) rotate(0deg);
    }
}


/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .contact-gift-hero {
        margin: 40px 16px 30px;
        padding: 0;
    }

    .contact-gift-hero h1 {
        font-size: 1.7rem;
    }

    .contact-gift-hero p {
        font-size: 0.95rem;
    }

    .contact-gift-wrapper {
        flex-direction: column;
        margin: 30px auto 60px;
        padding: 0 16px;
        gap: 20px;
    }

    .contact-gift-map-card,
    .contact-gift-form-card {
        min-width: unset;
        width: 100%;
    }

    .contact-gift-map-wrapper {
        height: 260px;
    }

    .gift-watermark {
        width: 160px;
        height: 160px;
    }
}

/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 768px) {
    .contact-gift-hero {
        margin: 50px 20px 32px;
        padding: 0;
    }

    .contact-gift-hero h1 {
        font-size: 2rem;
    }

    .contact-gift-wrapper {
        flex-direction: column;
        margin: 36px auto 70px;
        padding: 0 20px;
        gap: 24px;
    }

    .contact-gift-map-card,
    .contact-gift-form-card {
        min-width: unset;
        width: 100%;
    }

    .contact-gift-map-wrapper {
        height: 300px;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-gift-hero {
        max-width: 800px;
        margin: 60px auto 36px;
    }

    .contact-gift-hero h1 {
        font-size: 2rem;
    }

    .contact-gift-wrapper {
        max-width: 960px;
        gap: 24px;
    }

    .contact-gift-map-wrapper {
        height: 340px;
    }

    .gift-watermark {
        width: 200px;
        height: 200px;
    }
}