/* 
===============================================================================
CONTACT US PAGE STYLESHEET - MINAR-E PAKISTAN / SAFFRON & SPICE
===============================================================================
Fully responsive, rich animations, interactive hover states, pixel-perfect.
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --contact-primary: #FF9F1C;
    /* Saffron Orange / Gold */
    --contact-primary-hover: #e08b15;
    --contact-dark-green: #0B4A2C;
    /* Main brand green */
    --contact-bg-green: #062E19;
    /* Deeper background green */
    --contact-deep-dark: #052214;
    --contact-text-dark: #1E293B;
    /* Slate 800 */
    --contact-text-muted: #64748B;
    /* Slate 500 */
    --contact-bg-light: #FAF9F6;
    /* Soft cream */
    --contact-white: #FFFFFF;
    --contact-border: #EAECEF;
    --contact-font-heading: 'Playfair Display', serif;
    --contact-font-body: 'Plus Jakarta Sans', sans-serif;
    --contact-transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --contact-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02);
    --contact-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --contact-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Base resets & styles for contact page wrapper */
.contact-us-page-wrapper {
    font-family: var(--contact-font-body);
    color: var(--contact-text-dark);
    background-color: var(--contact-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
}

.contact-us-page-wrapper h1,
.contact-us-page-wrapper h2,
.contact-us-page-wrapper h3,
.contact-us-page-wrapper h4 {
    font-family: var(--contact-font-heading);
    margin: 0;
    font-weight: 700;
}

.contact-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
}

/* =============================================================================
1. HERO BANNER SECTION
============================================================================= */
.contact-hero-section {
    background:
        linear-gradient(135deg,
            rgba(10, 35, 25, 0.88),
            rgba(20, 55, 38, 0.75)),
        url('https://images.unsplash.com/photo-1633945274405-b6c8069047b0?auto=format&fit=crop&w=1600&q=80');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;

    padding: 130px 0 110px;
    text-align: center;
    color: var(--contact-white);
    position: relative;
    overflow: hidden;
}

/* Bullet badge style */
.contact-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 6px 16px;
    border-radius: 50px;
    background-color: rgba(255, 159, 28, 0.1);
    color: var(--contact-primary) !important;
    border: 1px solid rgba(255, 159, 28, 0.25);
}

.contact-section-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--contact-primary);
    border-radius: 50%;
}

.contact-hero-title {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: auto !important;
    color: white;
}

.contact-hero-title .highlight {
    color: var(--contact-primary);
}

.contact-hero-desc {
    font-size: 17px;
    color: #E2E8F0;
    max-width: 660px;
    margin: 0 auto !important;
    line-height: 1.7;
}

/* =============================================================================
2. CONTACT INFO CARDS GRID
============================================================================= */
.contact-info-section {
    margin-top: -45px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-info-card {
    background-color: var(--contact-white);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--contact-shadow-md);
    transition: var(--contact-transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--contact-shadow-lg);
    border-color: rgba(11, 74, 44, 0.1);
}

/* Icon Box inside card */
.contact-info-icon-box {
    width: 54px;
    height: 54px;
    background-color: #E6F3EC;
    /* soft green tint */
    color: var(--contact-dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
    transition: var(--contact-transition);
}

/* Specific soft background variations matching original styles */
.contact-info-card:nth-child(1) .contact-info-icon-box {
    background-color: #FDF2F2;
    color: #DC2626;
}

/* Red Pin */
.contact-info-card:nth-child(2) .contact-info-icon-box {
    background-color: #E6F3EC;
    color: #16A34A;
}

/* Green Phone */
.contact-info-card:nth-child(3) .contact-info-icon-box {
    background-color: #ECFDF5;
    color: #0D9488;
}

/* Teal Email */
.contact-info-card:nth-child(4) .contact-info-icon-box {
    background-color: #FDFDEC;
    color: #854D0E;
}

/* Gold Clock */

.contact-info-card:hover .contact-info-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h3 {
    font-size: 19px;
    color: var(--contact-dark-green);
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-info-details {
    font-size: 14.5px;
    color: var(--contact-text-muted);
    line-height: 1.6;
}

.contact-info-details p {
    margin: 0;
}

/* =============================================================================
3. TWO-COLUMN DETAILS GRID (FORM & SIDEBAR)
============================================================================= */
.contact-main-grid-section {
    padding-bottom: 80px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: stretch;
    /* Stretch columns to be equal height */
}

/* LEFT COLUMN: FORM BOX */
.contact-form-col {
    background-color: var(--contact-white);
    border-radius: 30px;
    padding: 50px 45px;
    box-shadow: var(--contact-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: var(--contact-transition);
}

.contact-form-col:hover {
    box-shadow: var(--contact-shadow-lg);
}

.contact-form-col .form-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--contact-dark-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.contact-form-col h2 {
    font-size: 38px;
    color: var(--contact-dark-green);
    line-height: 1.2;
    margin-bottom: 10px;
}

.contact-form-col .form-intro {
    font-size: 15px;
    color: var(--contact-text-muted);
    margin-bottom: 35px;
}

/* Form layout spacing */
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-group.full-width {
    grid-column: span 2;
    margin-bottom: 22px;
}

.contact-form-group label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--contact-text-muted);
}

/* Input / Dropdown / Textarea controls styling */
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    font-family: var(--contact-font-body);
    font-size: 14.5px;
    color: var(--contact-text-dark);
    background-color: var(--contact-bg-light);
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 14px 18px;
    transition: var(--contact-transition);
    outline: none;
    width: 100%;
}

.contact-form-group textarea {
    resize: none;
    min-height: 140px;
}

/* Hover & Focus state animations */
.contact-form-group input:hover,
.contact-form-group select:hover,
.contact-form-group textarea:hover {
    border-color: #CBD5E1;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    background-color: var(--contact-white);
    border-color: var(--contact-dark-green);
    box-shadow: 0 0 0 4px rgba(11, 74, 44, 0.08);
}

/* Custom AJAX loading indicator */
.contact-form-btn-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Submit Button */
.contact-form-submit-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    background-color: var(--contact-dark-green) !important;
    color: var(--contact-white) !important;
    font-family: var(--contact-font-body);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--contact-transition);
}

.contact-form-submit-btn:hover {
    background-color: #083821 !important;
    color: var(--contact-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(11, 74, 44, 0.2) !important;
}

.contact-form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Alert response containers */
.contact-form-response {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.4s ease;
}

.contact-form-response.success {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    display: block;
}

.contact-form-response.error {
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
    display: block;
}

/* RIGHT COLUMN: SIDEBAR DETAILS */
.contact-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.contact-sidebar-card {
    background-color: var(--contact-white);
    border-radius: 30px;
    box-shadow: var(--contact-shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.01);
}

/* Card 1: Google Map */
.contact-sidebar-card.contact-map-card {
    flex: 1;
    /* Stretch map card to take up remaining height */
    display: flex;
    flex-direction: column;
}

.contact-map-wrapper {
    flex: 1;
    /* Stretch inner wrapper */
    display: flex;
    flex-direction: column;
    min-height: 300px;
    width: 100%;
    position: relative;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    border: none;
    display: block;
}

/* Card 2: Social Media journey box */
.contact-social-card {
    padding: 35px 40px;
    flex-shrink: 0;
    /* Keep social card height stable */
}

.contact-social-card h3 {
    font-size: 22px;
    color: var(--contact-dark-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.social-pills-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* Single horizontal row */
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.social-pill-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    /* Distribute space evenly */
    padding: 10px 5px;
    background-color: var(--contact-bg-light);
    color: var(--contact-text-dark);
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: var(--contact-transition);
    border: 1px solid var(--contact-border);
    white-space: nowrap;
    text-align: center;
}

.social-pill-link:hover {
    background-color: var(--contact-dark-green);
    color: var(--contact-white) !important;
    border-color: var(--contact-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 74, 44, 0.12);
}

/* =============================================================================
📱 RESPONSIVE MEDIA QUERIES
============================================================================= */

/* 1. Desktop & Large Tablets (Max Width: 1199px) */
@media (max-width: 1199px) {
    .contact-hero-title {
        font-size: 46px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-info-section {
        margin-top: -30px;
    }

    .contact-main-grid {
        gap: 30px;
    }

    .contact-form-col {
        padding: 40px 30px;
    }
}

/* 2. Portrait Tablets & Mobile Landscapes (Max Width: 991px) */
@media (max-width: 991px) {
    .contact-hero-section {
        padding: 110px 0 85px 0;
    }

    .contact-hero-title {
        font-size: 38px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        /* Stacks column layout */
        gap: 40px;
        align-items: start;
    }

    .contact-sidebar-col {
        gap: 25px;
        height: auto;
    }

    .contact-sidebar-card.contact-map-card {
        flex: none;
    }

    .contact-map-wrapper {
        flex: none;
        height: 380px;
        /* Fixed height on tablet & mobile when stacked */
        min-height: 300px;
    }
}

/* 3. Small Mobile Devices (Max Width: 767px) */
@media (max-width: 767px) {
    .contact-hero-section {
        padding: 100px 0 75px 0;
    }

    .contact-hero-title {
        font-size: 32px;
    }

    .contact-hero-desc {
        font-size: 15px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        /* 1-column list on mobile */
        gap: 18px;
    }

    .contact-form-col {
        padding: 35px 20px;
    }

    .contact-form-col h2 {
        font-size: 30px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-form-group.full-width {
        grid-column: span 1;
    }

    .contact-catering-card {
        padding: 30px 24px;
    }

    .contact-catering-card h3 {
        font-size: 22px;
    }
}

/* Simple keyframe fade animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* =============================================================================
🎁 PREMIUM THANK YOU MODAL POPUP STYLING
============================================================================= */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 34, 20, 0.6);
    /* Deep green/black backdrop overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-card {
    background-color: var(--contact-white);
    border-radius: 28px;
    padding: 45px 35px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(11, 74, 44, 0.05);
}

.contact-modal-overlay.active .contact-modal-card {
    transform: scale(1) translateY(0);
}

.contact-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--contact-text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--contact-transition);
}

.contact-modal-close-btn:hover {
    color: var(--contact-text-dark);
    transform: rotate(90deg);
}

/* Modal Icon Box */
.contact-modal-icon-box {
    width: 80px;
    height: 80px;
    background-color: #ECFDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

/* Beautiful Animated SVG Checkmark */
.checkmark-svg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #10B981;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10B981;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s forwards;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #10B981;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #10B981;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #ECFDF5;
    }
}

.contact-modal-title {
    font-size: 26px;
    color: var(--contact-dark-green);
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-modal-message {
    font-size: 15px;
    color: var(--contact-text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-modal-action-btn {
    background-color: var(--contact-dark-green);
    color: var(--contact-white);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-family: var(--contact-font-body);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--contact-transition);
    width: 100%;
}

.contact-modal-action-btn:hover {
    background-color: #083821;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 74, 44, 0.15);
}

/* Scroll Lock */
body.contact-modal-open {
    overflow: hidden;
}

/* Responsive adjustments for social row on mobile */
@media (max-width: 480px) {
    .social-pill-link {
        font-size: 12px;
        padding: 8px 2px;
    }

    .contact-social-card {
        padding: 25px 20px;
    }
}