/* Contact Section */
.contact-section {
    background: #fff;
    padding: 60px 20px 80px;
    min-height: 70vh;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width:  1200px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: #fff;
}

.contact-title {
    font-size: 48px;
    font-weight: 700;
    color: #00b8a9;
    margin-bottom: 40px;
}

.contact-form {
    margin-bottom: 50px;
}

.form-group {
    margin-bottom:  25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    font-size:  16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background:  #ececec;
    box-shadow:  0 0 0 3px rgba(0, 184, 169, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #000;
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 5px;
    font-size:  16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
}

.info-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-item p {
    font-size: 16px;
    color: #555;
    line-height:  1.8;
    margin: 5px 0;
}

.opening-hours {
    text-align: right;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius:  10px;
    overflow:  hidden;
    box-shadow:  0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.logo-display {
    text-align: center;
    padding:  30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.logo-display img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Success Message */
.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    animation: slideDown 0.5s ease;
}

.success-message.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error-message {
    display: none;
    background: #f8d7da;
    color:  #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom:  20px;
    border:  1px solid #f5c6cb;
    animation: slideDown 0.5s ease;
}

.error-message.show {
    display: block;
}

/* Responsive Design - Tablet (1024px and below) */
@media (max-width: 1024px) {
    .contact-wrapper {
        gap: 50px;
    }

    .contact-title {
        font-size: 42px;
    }

    .logo-display img {
        max-width: 250px;
    }
}

/* Responsive Design - Tablet (968px and below) */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-sidebar {
        order: -1; /* Move map and logo above form on mobile */
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    .opening-hours {
        text-align: left;
    }

    .contact-title {
        font-size: 38px;
    }
}

/* Responsive Design - Mobile (768px and below) */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 20px 70px;
    }

    .contact-wrapper {
        gap: 35px;
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 13px 18px;
        font-size: 15px;
    }

    .submit-button {
        padding: 14px 40px;
        font-size: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 25px;
        margin-top: 30px;
    }

    .info-item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .info-item p {
        font-size: 15px;
    }

    .opening-hours {
        text-align: left;
    }

    .map-container {
        height: 300px;
    }

    .logo-display {
        padding: 25px;
    }

    .logo-display img {
        max-width: 220px;
    }
}

/* Responsive Design - Small Mobile (480px and below) */
@media (max-width:  480px) {
    .contact-section {
        padding:  40px 15px 60px;
    }

    .contact-wrapper {
        gap: 30px;
    }

    .contact-title {
        font-size: 26px;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 6px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-button {
        width: 100%;
        padding:  14px 30px;
        font-size:  14px;
    }

    .contact-form {
        margin-bottom: 35px;
    }

    .contact-info {
        gap: 20px;
        margin-top: 25px;
    }

    .info-item h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .info-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    .map-container {
        height: 250px;
        border-radius: 8px;
    }

    .logo-display {
        padding:  20px;
        border-radius: 8px;
    }

    .logo-display img {
        max-width:  180px;
    }

    .contact-sidebar {
        gap: 30px;
    }

    .success-message,
    .error-message {
        padding: 12px 15px;
        font-size:  14px;
        margin-bottom: 15px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .contact-title {
        font-size: 24px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size:  13px;
    }

    .submit-button {
        padding: 12px 25px;
        font-size:  13px;
    }

    .info-item h3 {
        font-size: 16px;
    }

    .info-item p {
        font-size: 13px;
    }

    .logo-display img {
        max-width: 150px;
    }

    .map-container {
        height: 220px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .contact-section {
        padding: 40px 20px 60px;
    }

    .map-container {
        height: 250px;
    }

    .contact-wrapper {
        gap: 30px;
    }
}

/* Touch Device Optimizations */
@media (hover:  none) and (pointer: coarse) {
    .submit-button {
        padding: 16px 50px;
        font-size:  16px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}