/* ---------- Section ---------- */
.contact-section {
    padding: 30px 15px;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}


/* ---------- Grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

/* ---------- Info Cards ---------- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #f0e6e2;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(80, 33, 16, 0.05);
    word-break: break-word;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(80, 33, 16, 0.12);
    border-color: rgba(80, 33, 16, 0.2);
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #502110;
    color: #ffffff;
    border-radius: 6px;
    font-size: 22px;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: rotate(-8deg) scale(1.05);
}

.info-text {
    flex: 1;
    min-width: 0;
}

.info-text h4 {
    color: #502110;
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
}

.info-text p {
    color: #666;
    margin: 3px 0;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.info-text a {
    color: #502110;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    word-break: break-all;
}

.info-text a:hover {
    color: #3a180c;
    text-decoration: underline;
}

/* ---------- Working Hours List ---------- */
.timing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timing-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px dashed #f0e6e2;
    flex-wrap: wrap;
}

.timing-list li:last-child {
    border-bottom: none;
}

.timing-list li i {
    color: #502110;
    font-size: 15px;
    min-width: 16px;
    text-align: center;
}

.timing-list .day {
    font-weight: 600;
    color: #502110;
    min-width: 90px;
}

.timing-list .time {
    color: #666;
    font-weight: 500;
}

.timing-list .closed {
    color: #c0392b;
    font-weight: 600;
}

.timing-list .closed-row i {
    color: #c0392b;
}

/* ---------- Form ---------- */
.contact-form-wrapper {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #f0e6e2;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(80, 33, 16, 0.08);
}

.contact-form-wrapper h3 {
    color: #502110;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}

.form-subtitle {
    color: #888;
    font-size: 14px;
    margin: 0 0 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #502110;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper > i {
    position: absolute;
    left: 14px;
    color: #502110;
    font-size: 16px;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #e8ddd8;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    background-color: #fdfbfa;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #aaa;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: #502110;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(80, 33, 16, 0.08);
}

.input-wrapper input:focus ~ i,
.input-wrapper textarea:focus ~ i {
    opacity: 1;
}

.textarea-wrapper > i {
    top: 16px;
    transform: none;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #502110;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.3px;
}

.submit-btn:hover {
    background-color: #3a180c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(80, 33, 16, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.submit-btn:hover i {
    transform: translateX(4px) rotate(-15deg);
}

/* ---------- Alerts & Errors ---------- */
.alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-success i {
    font-size: 18px;
    flex-shrink: 0;
}

.alert-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #fdecea;
    color: #c0392b;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-error i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-error ul {
    margin: 0;
    padding-left: 18px;
}

.error {
    color: #d32f2f;
    font-size: 12.5px;
    margin-top: 5px;
    display: block;
}

/* ---------- Map Section ---------- */
.map-section {
    margin-top: 40px;
    background-color: #ffffff;
    border: 1px solid #f0e6e2;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(80, 33, 16, 0.08);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    border-bottom: 1px solid #f0e6e2;
}

.map-header i {
    color: #502110;
    font-size: 22px;
}

.map-header h3 {
    color: #502110;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.map-wrapper {
    width: 100%;
    line-height: 0;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 350px;
    filter: grayscale(15%);
    transition: filter 0.3s ease;
}

.map-wrapper iframe:hover {
    filter: grayscale(0%);
}

/* ---------- Responsive: Tablet (max-width: 992px) ---------- */
@media (max-width: 992px) {
    .contact-grid {
       grid-template-columns: 1fr 1.2fr;
        gap: 25px;
    }

    .contact-form-wrapper {
        order: -1;
    }

    .xpertnext-heading h2 {
        font-size: 28px;
    }
}

/* ---------- Responsive: Small Tablet (max-width: 768px) ---------- */
@media (max-width: 768px) {
    .contact-section {
        padding: 25px 12px;
    }

 

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .contact-form-wrapper h3 {
        font-size: 20px;
    }

    .info-card {
        padding: 16px;
        gap: 14px;
    }

    .info-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .map-header {
        padding: 16px 20px;
    }
}

/* ---------- Responsive: Mobile (max-width: 600px) ---------- */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
    }

    .contact-form-wrapper h3 {
        font-size: 19px;
    }

    .form-subtitle {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 12.5px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 11px 12px 11px 40px;
        font-size: 14px;
    }

    .input-wrapper > i {
        left: 12px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 13px 24px;
        font-size: 14px;
    }

    .info-card {
        padding: 15px;
        gap: 12px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }

    .info-text h4 {
        font-size: 15px;
    }

    .info-text p,
    .info-text a {
        font-size: 13px;
    }

    .timing-list li {
        font-size: 13px;
        gap: 8px;
    }

    .timing-list .day {
        min-width: 70px;
    }

    .map-header {
        padding: 14px 16px;
        gap: 10px;
    }

    .map-header i {
        font-size: 18px;
    }

    .map-header h3 {
        font-size: 16px;
    }

    .map-wrapper iframe {
        height: 250px;
    }
}

/* ---------- Responsive: Extra Small Mobile (max-width: 400px) ---------- */
@media (max-width: 400px) {

    .info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .timing-list li {
        flex-wrap: wrap;
    }

    .timing-list .day {
        min-width: auto;
        width: 100%;
        margin-bottom: 2px;
    }

    .map-wrapper iframe {
        height: 220px;
    }
}