/* ============================================================================
   CONTACT PAGE STYLES
   Professional, minimal contact page with corporate design
   ============================================================================ */


.contact-main {
    padding: 80px 0 60px;
    background: #ffffff;
    margin-top: 0;
    height: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}


.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-intro {
    margin-bottom: 40px;
}

.contact-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(26, 26, 26, 0.7);
    margin: 0;
}

.contact-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, rgba(26, 26, 26, 0.6));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.12);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, #1a1a1a, rgba(26, 26, 26, 0.8));
    color: #ffffff;
    transform: scale(1.1);
}

.contact-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.contact-card-content {
    color: rgba(26, 26, 26, 0.7);
    line-height: 1.5;
}

.contact-card-content p {
    margin: 0 0 8px 0;
    font-size: 15px;
}

.contact-card-content p:last-child {
    margin-bottom: 0;
}

.contact-card-content a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: rgba(26, 26, 26, 0.7);
}


.contact-form-section {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.contact-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.contact-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-form-header p {
    color: rgba(26, 26, 26, 0.6);
    font-size: 14px;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(26, 26, 26, 0.5);
}

.submit-btn {
    background: linear-gradient(135deg, #1a1a1a, rgba(26, 26, 26, 0.8));
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}


.office-hours {
    margin-top: 40px;
    padding: 24px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.office-hours h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.hours-day {
    color: rgba(26, 26, 26, 0.7);
    font-weight: 500;
}

.hours-time {
    color: #1a1a1a;
    font-weight: 600;
}


.map-section {
    margin-top: 60px;
    padding: 40px 0;
    background: #f8f9fa;
    height: auto;
}

.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.map-header p {
    color: rgba(26, 26, 26, 0.6);
    font-size: 16px;
    margin: 0;
}

.map-frame {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-embed {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-embed:hover {
    filter: grayscale(0%);
}


@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding: 24px 0 20px;
        background: #fafafa;
    }
    
    .container {
        padding: 0 14px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    
    .contact-intro {
        margin-bottom: 24px;
        text-align: center;
        padding: 0 4px;
    }
    
    .contact-intro h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.25;
        letter-spacing: -0.3px;
        color: #1a1a1a;
    }
    
    .contact-intro p {
        font-size: 14px;
        line-height: 1.5;
        color: rgba(26, 26, 26, 0.65);
        margin: 0;
    }
      
    .contact-info-section {
        order: 1;
    }
    
    .contact-cards {
        display: grid;
        gap: 14px;
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 18px 20px;
        border-radius: 10px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
    }
    
    .contact-card:active {
        transform: scale(0.98);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }
    
    .contact-card-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 12px;
    }    
    .contact-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        font-size: 17px;
        background: rgba(248, 249, 250, 0.7);
        color: #1a1a1a;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .contact-card-title {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0;
        line-height: 1.3;
    }
    
    .contact-card-content p {
        font-size: 13px;
        margin-bottom: 6px;
        line-height: 1.4;
        color: rgba(26, 26, 26, 0.7);
    }
    
    .contact-card-content p:last-child {
        margin-bottom: 0;
    }
      
    .contact-form-section {
        order: 2;
        padding: 24px 20px;
        border-radius: 12px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        margin-top: 6px;
    }
    
    .contact-form-header {
        margin-bottom: 24px;
        text-align: left;
    }
    
    .contact-form-header h3 {
        font-size: 19px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #1a1a1a;
        letter-spacing: -0.2px;
    }
    
    .contact-form-header p {
        font-size: 13px;
        color: rgba(26, 26, 26, 0.6);
        margin: 0;
        line-height: 1.4;
    }
    
    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
      .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .form-group {
        display: flex;
        flex-direction: column;
    }
    
    .form-label {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #1a1a1a;
        letter-spacing: -0.1px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 15px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(248, 249, 250, 0.4);
        color: #1a1a1a;
        transition: all 0.3s ease;
        font-family: inherit;
    }
    
    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
        outline: none;
        border-color: rgba(0, 0, 0, 0.15);
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.02);
    }
    
    .form-textarea {
        min-height: 110px;
        resize: vertical;
        line-height: 1.5;
    }
    
    .submit-btn {
        padding: 16px 32px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 8px;
        margin-top: 12px;
        background: #1a1a1a;
        color: #ffffff;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        letter-spacing: -0.1px;
    }
    
    .submit-btn:hover {
        background: #333333;
        transform: translateY(-1px);
    }
    
    .submit-btn:active {
        transform: translateY(0);
    }
      
    .office-hours {
        margin-top: 24px;
        padding: 18px 20px;
        border-radius: 10px;
        background: rgba(248, 249, 250, 0.5);
        border: 1px solid rgba(0, 0, 0, 0.04);
    }
    
    .office-hours h4 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 14px;
        text-align: left;
        color: #1a1a1a;
        letter-spacing: -0.1px;
    }
    
    .hours-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .hours-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        padding: 6px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }
    
    .hours-item:last-child {
        border-bottom: none;
    }
    
    .hours-day {
        font-weight: 500;
        color: rgba(26, 26, 26, 0.8);
    }
    
    .hours-time {
        font-weight: 600;
        color: #1a1a1a;
        font-size: 13px;
    }
      
    .map-section {
        margin-top: 28px;
        padding: 24px 0;
        background: #fafafa;
    }
    
    .map-header {
        margin-bottom: 20px;
        text-align: left;
        padding: 0 14px;
    }
    
    .map-header h3 {
        font-size: 19px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #1a1a1a;
        letter-spacing: -0.2px;
    }
    
    .map-header p {
        font-size: 13px;
        color: rgba(26, 26, 26, 0.6);
        margin: 0;
        line-height: 1.4;
    }
    
    .map-frame {
        margin: 0 14px;
        padding: 8px;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.04);    }
    
    .map-embed {
        height: 280px;
        border-radius: 6px;
        border: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .contact-intro h2 {
        font-size: 22px;
        line-height: 1.2;
    }
    
    .contact-intro p {
        font-size: 13px;
    }
    
    .contact-form-section {
        padding: 20px 16px;
        border-radius: 10px;
        margin: 0 -2px;
    }
    
    .contact-form-header h3 {
        font-size: 18px;
    }
    
    .contact-form-header p {
        font-size: 12px;
    }
    
    .contact-card {
        padding: 16px 18px;
        border-radius: 8px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .contact-card-title {
        font-size: 14px;
    }
    
    .contact-card-content p {
        font-size: 12px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .office-hours {
        padding: 16px 18px;
        border-radius: 8px;
    }
    
    .office-hours h4 {
        font-size: 14px;
    }
    
    .hours-item {
        font-size: 12px;
    }
    
    .map-header {
        padding: 0 12px;
    }
    
    .map-header h3 {
        font-size: 18px;
    }
    
    .map-header p {
        font-size: 12px;
    }
    
    .map-frame {
        margin: 0 12px;
        padding: 6px;
        border-radius: 8px;
    }
    
    .map-embed {
        height: 260px;
        border-radius: 5px;
    }
}


@media (prefers-reduced-motion: no-preference) {
    .contact-card {
        animation: fadeInUp 0.6s ease-out;
        animation-fill-mode: both;
    }
    
    .contact-card:nth-child(1) { animation-delay: 0.1s; }
    .contact-card:nth-child(2) { animation-delay: 0.2s; }
    .contact-card:nth-child(3) { animation-delay: 0.3s; }
    
    .contact-form-section {
        animation: fadeInUp 0.6s ease-out 0.4s;
        animation-fill-mode: both;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
