* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica Neue, Helvetica, Ubuntu, Segoe UI, Verdana, sans-serif;
}

:root {
    --primary-color: #47E584;
    --primary-dark: #38c772;
    --primary-light: rgba(71, 229, 132, 0.1);
    --dark-color: #222;
    --light-color: #fff;
    --gray-color: #f8f9fa;
    --border-color: #eaeaea;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --text-primary: #333;
    --text-secondary: #555;
}

body {
    /* background-color: #B0B0B0; */
    background-color: #C3F3D8;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background-color: transparent;
}

.wipe {
    position: absolute;
    bottom: 0;
    width: 20%;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateY(0);
    animation: wipeUp 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    opacity: 1;
}

/* Position each wipe from the right */
.wipe:nth-child(1) {
    right: 0%;
    animation-delay: 0.1s;
}

.wipe:nth-child(2) {
    right: 20%;
    animation-delay: 0.2s;
}

.wipe:nth-child(3) {
    right: 40%;
    animation-delay: 0.3s;
}

.wipe:nth-child(4) {
    right: 60%;
    animation-delay: 0.4s;
}

.wipe:nth-child(5) {
    right: 80%;
    animation-delay: 0.5s;
}

@keyframes wipeUp {
    to {
        transform: translateY(-100%);
    }
}

/* Page Container */
.page-container {
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
    position: relative;
    min-height: 100vh;
    background-color: var(--light-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.page-container.show {
    opacity: 1;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    z-index: 100;
    transition: var(--transition);
}

.close-btn:hover {
    background-color: var(--light-color);
    color: red;
    transform: rotate(90deg);
}

.close-btn::before, .close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: currentColor;
}

.close-btn::before {
    transform: rotate(45deg);
}

.close-btn::after {
    transform: rotate(-45deg);
}

/* Header Section */
.contact-header {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    /* background:black; */
    background: linear-gradient(to bottom, var(--primary-light), var(--gray-color));
    border-radius: 16px 16px 0 0;
    margin: 0 0 2rem 0;
}

.header-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.man-image-container {
    position: relative;
    height: 120px;
    width: 246px;
    margin: 0 auto 2rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.man-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    height: auto;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Main Section */
.contact-main {
    padding: 0 2rem 2rem;
}

/* Booking Section */
.booking-section {
    margin-bottom: 4rem;
}

.booking-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--text-primary);
}

.booking-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.coffee-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.coffee-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 2rem;
    width: 300px;
    box-shadow: 0 10px 20px var(--shadow-color);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.coffee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.coffee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.coffee-card:hover::before {
    opacity: 1;
}

.coffee-card.active {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(71, 229, 132, 0.2);
}

.coffee-card.active::before {
    opacity: 1;
}

.coffee-icon {
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.coffee-card:hover .coffee-icon {
    transform: scale(1.1);
}

.coffee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.coffee-card:hover h3 {
    color: var(--primary-color);
}

.duration, .price {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.coffee-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Calendar Section */
.booking-form-section {
    margin-bottom: 4rem;
}

.booking-form-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--text-primary);
}

.booking-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.calendar-container {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.calendar-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.month-selector {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#currentMonth {
    font-size: 1.4rem;
    font-weight: 600;
    min-width: 150px;
    text-align: center;
}

.month-nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition);
}

.month-nav:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.1);
}

.calendar-grid {
    margin-bottom: 2.5rem;
}

.day-names {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 1rem;
}

.day-names span {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0.8rem;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8rem;
}

.day {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
}

.day.empty {
    cursor: default;
}

.day.available {
    background-color: var(--gray-color);
}

.day.available:hover {
    background-color: rgba(71, 229, 132, 0.2);
    transform: scale(1.05);
    font-weight: 600;
}

.day.selected {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(71, 229, 132, 0.3);
}

.day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.time-slots {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.time-slots h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-primary);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.time-slot {
    padding: 0.8rem;
    text-align: center;
    background-color: var(--gray-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
}

.time-slot:hover {
    background-color: rgba(71, 229, 132, 0.2);
    transform: translateY(-3px);
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(71, 229, 132, 0.3);
}

.time-slot.booked {
    background-color: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Booking Form */
.booking-form {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-top: 2rem;
    display: none;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.5s ease-in;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

.booking-summary {
    background-color: var(--gray-color);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    border-left: 4px solid var(--primary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(71, 229, 132, 0.2);
}

/* File Upload Styles */
.file-upload {
    margin-top: 1.5rem;
}

.file-upload-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.file-upload-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--gray-color);
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background-color: rgba(71, 229, 132, 0.05);
}

.file-upload-icon {
    margin-right: 1rem;
    color: var(--text-secondary);
}

.file-upload-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.file-upload-input {
    display: none;
}

/* Files List Styling */
.files-list {
    margin-top: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--gray-color);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.file-item:hover {
    background-color: #f0f0f0;
}

.file-name {
    flex: 1;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0.8rem;
    color: var(--text-primary);
}

.file-remove {
    color: #ff4d4d;
    cursor: pointer;
    padding: 0.3rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.file-remove:hover {
    color: #ff3333;
    transform: scale(1.2);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 4px 8px rgba(71, 229, 132, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(71, 229, 132, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.upi-image-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upi-image-container label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    align-self: flex-start;
}

.upi-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
}

.upi-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px var(--shadow-color);
}

/* Contact Section */
.contact-section {
    margin-bottom: 4rem;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--text-primary);
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-form {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.contact-info {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-detail:hover {
    transform: translateX(5px);
}

.contact-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-icon {
    margin-right: 1.2rem;
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-detail:hover .contact-icon {
    background-color: var(--primary-color);
}

.contact-detail:hover .contact-icon svg path {
    fill: var(--light-color);
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-text a, .contact-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-link {
    width: 42px;
    height: 42px;
    background-color: var(--gray-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(71, 229, 132, 0.3);
}

/* Footer */
.contact-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal.show {
    opacity: 1;
    display: flex;
}

.modal-content {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
}

.success-icon {
    margin: 0 auto 2rem;
    width: 90px;
    height: 90px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(71, 229, 132, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(71, 229, 132, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(71, 229, 132, 0);
    }
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.modal p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .page-container {
        margin: 1.5rem;
    }
    
    .coffee-options {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .page-container {
        padding: 0;
        margin: 1rem;
    }
    
    .contact-header {
        padding: 3rem 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .man-image-container {
        height: 100px;
        width: 205px;
    }
    
    .contact-main {
        padding: 0 1.5rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .coffee-card {
        width: 280px;
        padding: 1.8rem;
    }
    
    .booking-form, .contact-form, .contact-info {
        padding: 2rem;
    }
    
    .calendar-container {
        padding: 1.5rem;
    }
    
    .upi-image-container {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .page-container {
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .contact-header {
        padding: 2.5rem 1rem;
    }
    
    .contact-header h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .booking-section h2, .booking-form-section h2, .contact-section h2 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }
    
    .coffee-options {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    
    .coffee-card {
        width: 100%;
        max-width: 350px;
    }
    
    .days-grid {
        gap: 0.5rem;
    }
    
    .day {
        height: 40px;
        font-size: 0.9rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.8rem;
    }
    
    .time-slot {
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .modal h3 {
        font-size: 1.5rem;
    }
    
    .modal p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-container {
        margin: 0;
        border-radius: 0;
    }
    
    .contact-header {
        padding: 2rem 0.8rem;
        border-radius: 0;
    }
    
    .man-image-container {
        height: 80px;
        width: 164px;
        margin-bottom: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .contact-main {
        padding: 0 1rem 1rem;
    }
    
    .coffee-card {
        padding: 1.5rem;
    }
    
    .booking-form, .contact-form, .contact-info {
        padding: 1.5rem;
    }
    
    .calendar-container {
        padding: 1.2rem;
    }
    
    .day-names span {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .day {
        height: 35px;
        font-size: 0.8rem;
    }
    
    .month-selector {
        gap: 1rem;
    }
    
    #currentMonth {
        font-size: 1.2rem;
        min-width: 120px;
    }
    
    .month-nav {
        width: 35px;
        height: 35px;
    }
    
    .booking-summary {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .file-upload-container {
        padding: 1.5rem 1rem;
    }
    
    .file-upload-text {
        font-size: 0.9rem;
    }
    
    .contact-detail {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .contact-icon {
        margin-right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
    }
    
    .contact-text a, .contact-text p {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .contact-footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .coffee-card h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .contact-header h1 {
        font-size: 1.7rem;
    }
    
    .booking-section h2, .booking-form-section h2, .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .day-names {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }
    
    .day-names span {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem;
    }
    
    .days-grid {
        gap: 0.3rem;
    }
    
    .day {
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Preloader fix for mobile */
@media (max-width: 576px) {
    .preloader {
        display: flex;
    }
    
    .wipe {
        width: 20%;
    }
}

/* Form fields focus state for mobile */
@media (max-width: 768px) {
    .form-group input:focus,
    .form-group textarea:focus {
        box-shadow: 0 0 0 2px rgba(71, 229, 132, 0.2);
    }
}

/* Better touch area for buttons on mobile */
@media (max-width: 576px) {
    .btn, .time-slot, .coffee-card, .day, .month-nav {
        cursor: default; /* Remove hover cursor on touch devices */
    }
    
    .close-btn {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
    
    .file-remove {
        padding: 0.5rem;
    }
}

/* Fix for notch phones */
@media (max-width: 576px) and (display-mode: standalone) {
    .page-container {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Fix for landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-header {
        padding: 1.5rem 1rem;
    }
    
    .man-image-container {
        height: 60px;
        width: 123px;
        margin-bottom: 1rem;
    }
    
    .contact-header h1 {
        font-size: 1.7rem;
        margin-bottom: 0.4rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .booking-section h2, .booking-form-section h2, .contact-section h2 {
        margin-bottom: 1rem;
    }
    
    .coffee-options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .coffee-card {
        width: 220px;
        padding: 1.2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}