html, body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(3, 122, 122, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(3, 122, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

* {
    font-family: 'Lato', sans-serif;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 20px 80px; /* Top padding accounts for fixed header */
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

/* Adjust padding when flash sale banner is visible */
body:has(.flash-sale-banner[style*="display: block"]) .contact-container {
    padding-top: 150px; /* Extra padding when banner is visible */
}

.contact-content {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(42, 42, 42, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(3, 122, 122), #4dd0e1);
    z-index: 0;
}

.contact-content > * {
    position: relative;
    z-index: 1;
}

.contact-content h1 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.contact-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(3, 122, 122), transparent);
    border-radius: 2px;
}

.contact-subtitle {
    color: #b0b0b0;
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.6) 0%, rgba(31, 31, 31, 0.6) 100%);
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 42, 42, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(3, 122, 122), #4dd0e1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(3, 122, 122, 0.2), 0 4px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(3, 122, 122, 0.5);
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgb(3, 122, 122), rgb(3, 94, 94));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.4);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(3, 122, 122, 0.5);
}

.contact-card h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card p {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-card a {
    color: rgb(3, 122, 122);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.contact-card a:hover {
    color: #4dd0e1;
    border-bottom-color: #4dd0e1;
}

.contact-hours {
    color: #b0b0b0;
    font-size: 14px;
    font-style: italic;
    margin-top: 8px;
}

.contact-form-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid rgba(42, 42, 42, 0.8);
}

.contact-form-section h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(3, 122, 122), transparent);
    border-radius: 2px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(42, 42, 42, 0.8);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #0f0f0f;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(3, 122, 122);
    box-shadow: 0 0 0 3px rgba(3, 122, 122, 0.2);
    background-color: #1a1a1a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

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

.submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, rgb(3, 122, 122), rgb(3, 94, 94));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Lato', sans-serif;
    box-shadow: 0 4px 15px rgba(3, 122, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgb(3, 94, 94), rgb(3, 122, 122));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 122, 122, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 18px;
}

/* ----------------------------- MEDIA QUERY --------------------------- */

/* Tablet Portrait (768px - 1023px) */
@media(max-width: 1023px) {
    .contact-container {
        padding: 100px 20px 70px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) .contact-container {
        padding-top: 150px;
    }

    .contact-content {
        padding: 50px 40px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .contact-content h1 {
        font-size: 36px;
    }

    .contact-form-section h2 {
        font-size: 28px;
    }
}

/* Mobile Landscape (600px - 767px) */
@media(max-width: 767px) {
    .contact-container {
        padding: 100px 20px 60px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) .contact-container {
        padding-top: 150px;
    }
    
    .contact-content {
        padding: 40px 30px;
    }
    
    .contact-content h1 {
        font-size: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card {
        padding: 30px 25px;
    }
    
    .contact-form-section {
        margin-top: 50px;
        padding-top: 40px;
    }

    .contact-form-section h2 {
        font-size: 26px;
    }
}

/* Mobile Portrait (480px - 599px) */
@media(max-width: 599px) {
    .contact-container {
        padding: 100px 20px 50px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) .contact-container {
        padding-top: 150px;
    }

    .contact-content {
        padding: 35px 25px;
    }
    
    .contact-content h1 {
        font-size: 28px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-card h3 {
        font-size: 20px;
    }
    
    .contact-form-section h2 {
        font-size: 24px;
    }
}

/* Small Mobile (320px - 479px) */
@media(max-width: 479px) {
    .contact-container {
        padding: 100px 15px 40px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) .contact-container {
        padding-top: 150px;
    }

    .contact-content {
        padding: 30px 20px;
    }
    
    .contact-content h1 {
        font-size: 24px;
    }

    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-card {
        padding: 20px 18px;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .contact-card h3 {
        font-size: 18px;
    }
    
    .contact-form-section h2 {
        font-size: 22px;
    }
}

