/* ============================================
   MODERN CONTACT FORM STYLES
   ============================================ */

.contact-form-container {
    background: var(--brew-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(198, 124, 78, 0.1);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--brew-text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--brew-text);
    background: var(--brew-white);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brew-primary);
    box-shadow: 0 0 0 3px rgba(198, 124, 78, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Poppins', sans-serif;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
    -webkit-appearance: none;
    appearance: none;
}

.btn-submit {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--brew-primary) 0%, var(--brew-primary-dark) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(198, 124, 78, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(198, 124, 78, 0.4);
}

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

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Form Messages */
.form-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brew-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 400px;
    animation: messageSlideIn 0.5s ease-out;
    border: 1px solid rgba(198, 124, 78, 0.1);
}

.form-message.success {
    border-color: #4CAF50;
}

.form-message.success .message-icon {
    color: #4CAF50;
}

.form-message.error {
    border-color: #F44336;
}

.form-message.error .message-icon {
    color: #F44336;
}

.message-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.form-message h3 {
    color: var(--brew-text);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.form-message p {
    color: var(--brew-text-light);
    margin: 0;
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes messageFadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes steam-rise {
    0% { transform: translateY(0) scaleX(1); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: translateY(-150px) scaleX(2); opacity: 0; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 1;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(198, 124, 78, 0.2);
    border: 2px solid var(--brew-primary);
    border-radius: 50px;
    color: var(--brew-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #FFFFFF !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-accent {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--brew-primary), var(--brew-primary-light));
    margin: 0 auto 2rem;
    border-radius: 2px;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    z-index: 10;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    z-index: 10;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
    position: relative;
    z-index: 10;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-dark));
    color: white !important;
    box-shadow: 0 8px 24px rgba(198, 124, 78, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(198, 124, 78, 0.6);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--brew-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 124, 78, 0.3);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

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

/* Page Hero Section - Modern Dark Theme */
.page-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #1a0f0a 100%);
    background-image:
        linear-gradient(135deg, rgba(26, 15, 10, 0.95) 0%, rgba(45, 24, 16, 0.9) 50%, rgba(26, 15, 10, 0.95) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(198,124,78,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    overflow: hidden;
}

/* Ensure hero content is visible */
.page-hero .page-hero-content {
    position: relative;
    z-index: 10 !important;
}

.page-hero .page-hero-title,
.page-hero .page-hero-subtitle,
.page-hero .page-hero-decoration {
    position: relative;
    z-index: 10 !important;
}

/* Modern Overlay */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%,
        rgba(198, 124, 78, 0.15) 0%,
        rgba(44, 44, 44, 0.3) 50%,
        rgba(26, 15, 10, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    color: var(--brew-white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--brew-white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-hero-decoration {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.coffee-bean-decoration {
    width: 12px;
    height: 20px;
    background: var(--brew-primary);
    border-radius: 50%;
    opacity: 0.7;
    animation: bean-bounce 2s ease-in-out infinite;
}

.coffee-bean-decoration:nth-child(2) {
    animation-delay: 0.2s;
}

.coffee-bean-decoration:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Section Header */
.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brew-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--brew-text);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--brew-text-light);
    max-width: 500px;
}

/* ============================================
   CONTACT SECTION STYLES
   ============================================ */

.contact {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg,
        rgba(237, 214, 200, 0.9) 0%,
        rgba(249, 242, 237, 0.95) 50%,
        rgba(237, 214, 200, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(198, 124, 78, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(198, 124, 78, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.contact .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container,
    .contact-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0 3rem;
    }
    
    .contact-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .map-section {
        padding: 4rem 0 6rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-info {
        padding: 1.5rem;
        max-width: 250px;
    }
    
    .map-info h3 {
        font-size: 1.3rem;
    }
}

/* Additional responsive rules for screens below 500px */
@media (max-width: 500px) {
    .contact {
        padding: 3rem 0 2rem;
    }
    
    .contact-grid {
        gap: 1.2rem;
        padding: 0 0.3rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 1.2rem;
        margin: 0;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 0.3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 0.6rem;
    }
    
    .section-description {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .info-cards {
        gap: 1rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-dark));
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        box-shadow: 0 2px 8px rgba(198, 124, 78, 0.2);
        flex-shrink: 0;
    }
    
    .info-icon i {
        color: white;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .map-section {
        padding: 2.5rem 0 3rem;
    }
    
    .map-container {
        height: 240px;
        border-radius: 12px;
    }
    
    .map-info {
        padding: 1.2rem;
        max-width: 200px;
        border-radius: 12px;
    }
    
    .map-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Medium small screens (576px - 500px) */
@media (max-width: 576px) and (min-width: 501px) {
    .contact-grid {
        gap: 1.75rem;
        padding: 0 1rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 1.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        gap: 1.4rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.4rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Small screens (600px - 577px) */
@media (max-width: 600px) and (min-width: 577px) {
    .contact-grid {
        gap: 2rem;
        padding: 0 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Map Section - Modern Dark Theme */
.contact {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg,
        rgba(237, 214, 200, 0.9) 0%,
        rgba(249, 242, 237, 0.95) 50%,
        rgba(237, 214, 200, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(198, 124, 78, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(198, 124, 78, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.contact .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper,
    .contact-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0 3rem;
    }
    
    .contact-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .map-section {
        padding: 4rem 0 6rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-info {
        padding: 1.5rem;
        max-width: 250px;
    }
    
    .map-info h3 {
        font-size: 1.3rem;
    }
}

/* Additional responsive rules for screens below 500px */
@media (max-width: 500px) {
    .contact {
        padding: 3rem 0 2rem;
    }
    
    .contact-grid {
        gap: 1.2rem;
        padding: 0 0.3rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 1.2rem;
        margin: 0;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 0.3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static; /* Disable sticky positioning on small screens */
        top: auto;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 0.6rem;
    }
    
    .section-description {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .info-cards {
        gap: 1rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid; /* Ensure grid layout for cards */
    }
    
    .info-card {
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-dark));
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        box-shadow: 0 2px 8px rgba(198, 124, 78, 0.2);
        flex-shrink: 0;
    }
    
    .info-icon i {
        color: white;
    }
    
    /* Form responsiveness for small screens */
    .contact-form {
        gap: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.3rem 0.8rem 0.4rem 2.8rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .form-group textarea {
        min-height: 90px;
    }
    
    .form-group label {
        top: 0.8rem;
        left: 2.8rem;
        font-size: 0.85rem;
    }
    
    .form-group.focused label,
    .form-group.has-value label {
        top: -0.4rem;
        left: 0.6rem;
        font-size: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 4px;
        padding: 0 0.3rem;
    }
    
    .input-icon {
        left: 0.8rem;
        font-size: 1rem;
    }
    
    .form-group select {
        background-position: right 0.7rem center;
        background-size: 10px;
        padding-right: 2.2rem;
    }
    
    .contact-form button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        margin-top: 1.2rem;
        width: 100%;
        max-width: 260px;
        border-radius: 50px;
        min-height: 44px;
    }
    
    /* Map responsiveness for small screens */
    .map-section {
        padding: 2.5rem 0 3rem;
    }
    
    .map-container {
        height: 240px;
        border-radius: 12px;
    }
    
    .map-info {
        padding: 1.2rem;
        max-width: 200px;
        border-radius: 12px;
    }
    
    .map-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Medium small screens (576px - 500px) */
@media (max-width: 576px) and (min-width: 501px) {
    .contact-grid {
        gap: 1.75rem;
        padding: 0 1rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 1.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        gap: 1.4rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.4rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Small screens (600px - 577px) */
@media (max-width: 600px) and (min-width: 577px) {
    .contact-grid {
        gap: 2rem;
        padding: 0 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Contact Form - Ultra Modern Glassmorphism */
.contact-form-wrapper {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 32px;
    padding: 3.5rem;
    border: 1px solid rgba(198, 124, 78, 0.15);
    box-shadow:
        0 25px 80px rgba(198, 124, 78, 0.12),
        0 12px 40px rgba(198, 124, 78, 0.08),
        0 4px 16px rgba(198, 124, 78, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(198, 124, 78, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--brew-primary) 0%,
        var(--brew-primary-light) 50%,
        var(--brew-primary-dark) 100%);
    border-radius: 32px 32px 0 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(198, 124, 78, 0.3);
}

.contact-form-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(198, 124, 78, 0.03) 50%,
        transparent 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.contact-form-wrapper:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow:
        0 40px 120px rgba(198, 124, 78, 0.18),
        0 20px 60px rgba(198, 124, 78, 0.12),
        0 8px 24px rgba(198, 124, 78, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(198, 124, 78, 0.08);
}

.contact-form-wrapper:hover::before {
    opacity: 1;
    height: 8px;
}

.contact-form-wrapper:hover::after {
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container,
    .contact-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0 3rem;
    }
    
    .contact-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .map-section {
        padding: 4rem 0 6rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-info {
        padding: 1.5rem;
        max-width: 250px;
    }
    
    .map-info h3 {
        font-size: 1.3rem;
    }
}

/* Additional responsive rules for screens below 500px */
@media (max-width: 500px) {
    .contact {
        padding: 3rem 0 2rem;
    }
    
    .contact-grid {
        gap: 1.2rem;
        padding: 0 0.3rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 1.2rem;
        margin: 0;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 0.3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 0.6rem;
    }
    
    .section-description {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .info-cards {
        gap: 1rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-dark));
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        box-shadow: 0 2px 8px rgba(198, 124, 78, 0.2);
        flex-shrink: 0;
    }
    
    .info-icon i {
        color: white;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .map-section {
        padding: 2.5rem 0 3rem;
    }
    
    .map-container {
        height: 240px;
        border-radius: 12px;
    }
    
    .map-info {
        padding: 1.2rem;
        max-width: 200px;
        border-radius: 12px;
    }
    
    .map-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Medium small screens (576px - 500px) */
@media (max-width: 576px) and (min-width: 501px) {
    .contact-grid {
        gap: 1.75rem;
        padding: 0 1rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 1.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        gap: 1.4rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.4rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Small screens (600px - 577px) */
@media (max-width: 600px) and (min-width: 577px) {
    .contact-grid {
        gap: 2rem;
        padding: 0 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .contact-form-container {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: static;
        top: auto;
    }
    
    .info-cards {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        width: 100%;
        display: grid;
    }
    
    .info-card {
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brew-primary), var(--brew-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.form-group.focused .form-line,
.form-group.has-value .form-line {
    transform: scaleX(1);
}

.contact-form button {
    align-self: center;
    margin-top: 1rem;
}

/* Contact Info */
.contact-info {
    position: sticky;
    top: 2rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(198, 124, 78, 0.1);
    box-shadow:
        0 12px 40px rgba(198, 124, 78, 0.08),
        0 4px 16px rgba(198, 124, 78, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brew-primary), var(--brew-primary-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 24px 80px rgba(198, 124, 78, 0.15),
        0 8px 32px rgba(198, 124, 78, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-dark));
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(198, 124, 78, 0.2);
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.8rem;
    color: white;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(198, 124, 78, 0.4);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--brew-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: var(--brew-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Social Connect */
.social-connect {
    padding: 2rem;
    background: linear-gradient(135deg, var(--brew-primary-10), var(--brew-surface));
    border-radius: 15px;
    border: 2px solid var(--brew-line);
    position: relative;
    overflow: hidden;
}

.social-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brew-primary), var(--brew-primary-light));
}

.social-connect h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--brew-text);
    margin-bottom: 1.5rem;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--brew-line);
    color: var(--brew-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--brew-primary);
    transform: translateX(5px);
    box-shadow: var(--brew-shadow-sm);
}

.social-icon {
    font-size: 1.5rem;
}

/* Map Section - Modern Dark Theme */
.map-section {
    padding: 6rem 0 8rem;
    background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #1a0f0a 100%);
    background-image:
        linear-gradient(135deg, rgba(26, 15, 10, 0.95) 0%, rgba(45, 24, 16, 0.9) 50%, rgba(26, 15, 10, 0.95) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(198,124,78,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(198, 124, 78, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(198, 124, 78, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.map-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.map-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-section .section-title {
    color: var(--brew-white);
    background: linear-gradient(135deg, var(--brew-white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.map-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.map-container {
    width: 100%;
    height: 500px;
    background: rgba(26, 15, 10, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(198, 124, 78, 0.2);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(198, 124, 78, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 12px 32px rgba(198, 124, 78, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 15, 10, 0.1) 0%, 
        rgba(45, 24, 16, 0.2) 50%, 
        rgba(26, 15, 10, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    border-radius: 24px;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-info {
    text-align: center;
    color: white;
    background: rgba(26, 15, 10, 0.9);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(198, 124, 78, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.map-container:hover .map-info {
    transform: translateY(0);
}

.map-info .map-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-dark));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(198, 124, 78, 0.3);
}

.map-info .map-icon i {
    font-size: 1.5rem;
    color: white;
}

.map-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.map-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Branches Grid */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

/* Branch Card */
.branch-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(198, 124, 78, 0.1);
    box-shadow:
        0 12px 40px rgba(198, 124, 78, 0.08),
        0 4px 16px rgba(198, 124, 78, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brew-primary), var(--brew-primary-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.branch-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 24px 80px rgba(198, 124, 78, 0.15),
        0 8px 32px rgba(198, 124, 78, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.branch-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(198, 124, 78, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.branch-card:hover .branch-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(198, 124, 78, 0.3);
}

.branch-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--brew-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.branch-info p {
    color: var(--brew-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.branch-status {
    display: inline-block;
    background: linear-gradient(135deg, var(--brew-primary), var(--brew-primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(198, 124, 78, 0.2);
}

.map-placeholder {
    height: 400px;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--brew-line);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--brew-shadow-md);
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--brew-line) 1px, transparent 1px),
        linear-gradient(var(--brew-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.map-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

.map-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--brew-text);
    margin-bottom: 0.5rem;
}

.map-content p {
    color: var(--brew-text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Scroll animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].animate-in {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].animate-in,
[data-aos="fade-left"].animate-in {
    transform: translateX(0);
}

[data-aos][data-delay="100"].animate-in {
    transition-delay: 0.1s;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brew-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--brew-shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--brew-primary-dark);
    transform: translateY(-3px);
}

/* Enhanced Form Responsiveness */
@media (max-width: 1200px) {
    .contact-form-wrapper {
        padding: 2.8rem;
        max-width: 100%;
    }

    .contact-form {
        gap: 1.6rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.4rem 1rem 0.6rem;
        font-size: 1rem;
    }

    .form-group label {
        top: 1rem;
        left: 1rem;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 110px;
    }
}

@media (max-width: 1024px) {
    .contact-form-wrapper {
        padding: 2.5rem 2rem;
        border-radius: 18px;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.5rem 1rem 0.5rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .form-group label {
        top: 1rem;
        left: 1rem;
        font-size: 0.95rem;
    }

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

    .contact-form button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 300px;
        align-self: center;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2.5rem 2rem;
        border-radius: 24px;
        margin: 0 auto;
    }

    .contact-form {
        gap: 2rem;
    }

    .form-group {
        border-radius: 16px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.6rem 1.2rem 0.6rem;
        font-size: 1rem;
    }

    .form-group label {
        top: 1.2rem;
        left: 1.2rem;
        font-size: 0.95rem;
    }

    .form-group.focused label,
    .form-group.has-value label,
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group select:focus + label {
        top: -0.5rem;
        left: 0.9rem;
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }

    .form-group select {
        background-position: right 1rem center;
        background-size: 14px;
        padding-right: 3rem;
    }

    .contact-form button {
        min-width: 180px;
        height: 52px;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .contact-form button:hover {
        transform: translateY(-3px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        margin: 0 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.3rem);
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 0.95rem;
        margin-bottom: 0;
        line-height: 1.6;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.4rem 0.9rem 0.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
        border: 2px solid rgba(198, 124, 78, 0.2);
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: var(--brew-primary);
        box-shadow: 0 0 0 3px rgba(198, 124, 78, 0.1);
        transform: translateY(-1px);
    }

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

    .form-group label {
        top: 0.9rem;
        left: 0.9rem;
        font-size: 0.9rem;
        padding: 0 0.3rem;
    }

    .form-group.focused label,
    .form-group.has-value label {
        top: -0.5rem;
        left: 0.6rem;
        font-size: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 3px;
    }

    .form-group select {
        background-position: right 0.8rem center;
        background-size: 10px;
        padding-right: 2.5rem;
    }

    .contact-form button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
        width: 100%;
        max-width: 280px;
        border-radius: 50px;
        font-weight: 600;
        min-height: 48px; /* Touch-friendly */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .contact-form button svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra small screens (430px and below) */
@media (max-width: 430px) {
    .hero-home {
        min-height: 75vh;
        padding: 70px 1rem 40px;
    }

    .hero-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 1.2rem;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 9vw, 2.8rem);
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }

    .hero-accent {
        width: 50px;
        height: 2px;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: clamp(0.75rem, 4.5vw, 0.95rem);
        margin-bottom: 1.8rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        max-width: 200px;
    }
    
    .contact {
        padding: 2rem 0 1.5rem;
    }
    
    .contact-grid {
        gap: 1rem;
        padding: 0 0.2rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
        margin: 0 0.2rem;
        border-radius: 10px;
    }
    
    .contact-info {
        padding: 0 0.2rem;
    }
    
    .section-header {
        margin-bottom: 1.2rem;
    }
    
    .section-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 0.5rem;
    }
    
    .section-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.1rem 0.7rem 0.3rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .form-group label {
        top: 0.7rem;
        left: 0.7rem;
        font-size: 0.8rem;
    }
    
    .form-group.focused label,
    .form-group.has-value label {
        top: -0.35rem;
        left: 0.5rem;
        font-size: 0.7rem;
        padding: 0 0.2rem;
    }
    
    .form-group select {
        background-position: right 0.6rem center;
        background-size: 9px;
        padding-right: 2rem;
    }
    
    .contact-form button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
        max-width: 240px;
        min-height: 42px;
        border-radius: 40px;
    }
    
    .info-cards {
        gap: 0.8rem;
    }
    
    .info-card {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .info-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        margin-top: 0.4rem;
    }
    
    .info-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .info-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .map-section {
        padding: 2rem 0 2.5rem;
    }
    
    .map-container {
        height: 200px;
        border-radius: 10px;
    }
    
    .map-info {
        padding: 1rem;
        max-width: 180px;
        border-radius: 10px;
    }
    
    .map-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .map-info p {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px; /* iOS touch target minimum */
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-group textarea {
        min-height: 100px;
    }

    .contact-form button {
        min-height: 48px;
        font-size: 16px;
    }

    .btn {
        min-height: 48px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        border: 2px solid;
    }

    .form-group label {
        background: white;
        padding: 0 0.25rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .form-group input,
    .form-group textarea,
    .form-group select,
    .form-group label,
    .contact-form-wrapper,
    .contact-form button,
    .btn {
        transition: none;
        animation: none;
    }

    .hero-scroll-indicator {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .hero-home {
        min-height: 90vh;
        padding: 100px 2rem 70px;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 5vw, 4rem);
    }

    .hero-content p {
        font-size: clamp(0.95rem, 2vw, 1.2rem);
        margin-bottom: 2.5rem;
    }

    .contact-grid {
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem;
    }

    .contact-info {
        position: static;
    }

    .info-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .map-container {
        height: 400px;
    }

    .map-info {
        max-width: 250px;
    }

    /* Tablet-specific form adjustments */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-home {
        min-height: 85vh;
        padding: 90px 1.5rem 60px;
    }

    .hero-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
        margin-bottom: 1.8rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3.8rem);
        margin-bottom: 1.2rem;
    }

    .hero-accent {
        width: 80px;
        height: 3px;
        margin-bottom: 1.8rem;
    }

    .hero-content p {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        justify-content: center;
    }

    .contact {
        padding: 5rem 0 4rem;
    }

    .contact-grid {
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem 2rem;
        border-radius: 20px;
    }

    .contact-form {
        gap: 1.8rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.6rem 1rem 0.6rem;
        font-size: 1rem;
    }

    .form-group label {
        top: 1rem;
        left: 1rem;
        font-size: 0.95rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 2.2rem 2rem;
        gap: 1rem;
    }

    .info-icon {
        margin-bottom: 0.5rem;
    }

    .info-content h3 {
        margin-bottom: 0.8rem;
    }

    .map-section {
        padding: 4rem 0 5rem;
    }

    .map-container {
        height: 320px;
    }

    .map-info {
        padding: 1.8rem;
        max-width: 260px;
    }

    .map-info h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .section-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-home {
        min-height: 80vh;
        padding: 80px 1rem 50px;
    }

    .hero-badge {
        padding: 0.35rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-accent {
        width: 60px;
        height: 3px;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        font-size: clamp(0.85rem, 4vw, 1rem);
        margin-bottom: 2rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        max-width: 240px;
    }

    .contact {
        padding: 3rem 0 2.5rem;
    }

    .contact-grid {
        gap: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.4rem 0.9rem 0.5rem;
        font-size: 0.95rem;
    }

    .form-group label {
        top: 0.9rem;
        left: 0.9rem;
        font-size: 0.9rem;
    }

    .contact-form button {
        margin-top: 1.5rem;
        padding: 1rem 2.5rem;
    }

    .info-cards {
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.8rem 1.5rem;
        border-radius: 16px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .info-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .info-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .map-section {
        padding: 3rem 0 4rem;
    }

    .map-container {
        height: 260px;
        border-radius: 16px;
    }

    .map-info {
        padding: 1.5rem;
        max-width: 220px;
        border-radius: 16px;
    }

    .map-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .map-info p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.3rem);
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1000px;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .contact-grid {
        gap: 6rem;
    }

    .contact-form-wrapper,
    .contact-info {
        max-width: 600px;
    }
}

/* Modern hover effects and animations */
.contact-form-wrapper {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(198, 124, 78, 0.15);
}

.info-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(198, 124, 78, 0.12);
}

.map-container {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Enhanced form animations */
.form-group {
    position: relative;
    overflow: hidden;
}

.form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(198, 124, 78, 0.05), transparent);
    transition: left 0.5s ease;
}

.form-group:focus-within::before {
    left: 100%;
}

/* Improved button animations */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(198, 124, 78, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--brew-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brew-primary-dark);
}

/* Enhanced visual effects */
.contact-form-wrapper::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--brew-primary), var(--brew-primary-light), var(--brew-primary));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form-wrapper:hover::after {
    opacity: 0.3;
}

/* Smooth focus transitions */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 124, 78, 0.2);
}

/* Loading animation for form submission */
.contact-form.submitting {
    pointer-events: none;
    opacity: 0.7;
}

.contact-form.submitting button::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message styling */
.form-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 10000;
    animation: successPopup 0.5s ease-out;
}

@keyframes successPopup {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 70vh;
        padding: 80px 1.5rem 50px;
    }

    .page-hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .page-hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 2.5rem;
    }

    .contact {
        padding: 5rem 0 4rem;
    }

    .contact .container {
        padding: 0 1.5rem;
    }

    .contact-grid {
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem;
        border-radius: 20px;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
        padding: 1.5rem 1rem 0.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
        top: 1rem;
        left: 1rem;
    }

    .info-cards {
        gap: 1.5rem;
    }

    .info-card {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
        padding: 2rem;
        align-items: flex-start;
    }

    .info-card:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .info-content h3 {
        font-size: 1.2rem;
    }

    .map-section {
        padding: 4rem 0;
    }

    .map-container {
        height: 350px;
    }

    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
        margin: 2.5rem 0;
    }

    .branch-card {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .branch-info h4 {
        font-size: 1.1rem;
    }

    .branch-info p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .section-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 60vh;
        padding: 70px 1rem 40px;
    }

    .page-hero-title {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .page-hero-subtitle {
        font-size: clamp(0.9rem, 5vw, 1rem);
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .contact {
        padding: 3rem 0 2rem;
    }

    .contact .container {
        padding: 0 1rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
        border-radius: 16px;
    }

    .section-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-form {
        gap: 1.2rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.95rem;
        padding: 1.3rem 0.9rem 0.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
        top: 0.9rem;
        left: 0.9rem;
    }

    .contact-form button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .info-cards {
        gap: 1.2rem;
    }

    .info-card {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .info-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .info-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .map-section {
        padding: 3rem 0 4rem;
    }

    .map-container {
        height: 280px;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .branch-card {
        padding: 1rem;
        gap: 0.7rem;
    }

    .branch-info h4 {
        font-size: 1rem;
    }

    .branch-info p {
        font-size: 0.85rem;
    }
}

/* Mobile-First Form Enhancements */
@media (max-width: 480px) {
    .contact-form {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.2rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 56px;
        touch-action: manipulation;
    }

    .form-group textarea {
        min-height: 100px;
        padding: 1.2rem 1rem;
    }

    .form-group label {
        font-size: 0.95rem;
        top: 0.9rem;
        left: 0.9rem;
    }

    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group select:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label,
    .form-group select:not([value=""]) + label {
        top: -0.5rem;
        left: 0.7rem;
        font-size: 0.8rem;
        padding: 0 0.25rem;
    }

    .contact-form button {
        width: 100%;
        min-width: unset;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
}

/* Extra small screens (430px and below) */
@media (max-width: 430px) {
    .hero-home {
        min-height: 75vh;
        padding: 70px 1rem 40px;
    }

    .hero-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
        margin-bottom: 1.2rem;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 9vw, 2.8rem);
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }

    .hero-accent {
        width: 50px;
        height: 2px;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: clamp(0.75rem, 4.5vw, 0.95rem);
        margin-bottom: 1.8rem;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        max-width: 200px;
    }
    
    .contact {
        padding: 2rem 0 1.5rem;
    }
    
    .contact-grid {
        gap: 1rem;
        padding: 0 0.2rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
        margin: 0 0.2rem;
        border-radius: 16px;
    }
    
    .contact-info {
        padding: 0 0.2rem;
    }
    
    .section-header {
        margin-bottom: 1.2rem;
    }
    
    .section-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-bottom: 0.5rem;
    }
    
    .section-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group {
        border-radius: 12px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1.1rem 0.7rem 0.3rem;
        font-size: 0.85rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .form-group label {
        top: 0.7rem;
        left: 0.7rem;
        font-size: 0.8rem;
    }
    
    .form-group.focused label,
    .form-group.has-value label,
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group select:focus + label {
        top: -0.35rem;
        left: 0.5rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .form-group select {
        background-position: right 0.6rem center;
        background-size: 9px;
        padding-right: 2rem;
    }
    
    .contact-form button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
        max-width: 240px;
        min-height: 42px;
        border-radius: 21px;
    }
    
    .info-cards {
        gap: 0.8rem;
    }
    
    .info-card {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .info-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        margin-top: 0.4rem;
    }
    
    .info-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .info-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .map-section {
        padding: 2rem 0 2.5rem;
    }
    
    .map-container {
        height: 200px;
        border-radius: 10px;
    }
    
    .map-info {
        padding: 1rem;
        max-width: 180px;
        border-radius: 10px;
    }
    
    .map-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .map-info p {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }
}