/* Contact Hero Section */
.contact-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

.contact-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: transform 0.5s ease;
}

.contact-hero:hover img {
    transform: scale(1.02);
}

.contact-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 80%;
    font-family: 'Poppins', sans-serif;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.contact-hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Container */
.contact-container {
    display: flex;
    gap: 30px;
    padding: 40px 5%;
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 0.8s ease-out;
}

.support-center, 
.contact-form-container {
    width: 50%;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.support-center .contact-material h1 {
    color: #E67E22;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInLeft 0.6s ease-out;
}

.support-center .contact-material p {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

/* Contact Info Items */
.contact-info {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.contact-info .info-item {
    max-width: 100%;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.contact-info .info-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-info .info-item i {
    color: #E67E22;
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.contact-info .info-item:hover i {
    transform: scale(1.1);
}

.contact-info .info-item h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-info .info-item p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Contact Form */
.contact-form-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 40px;
    animation: fadeIn 0.8s ease-out 0.4s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.form-group {
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
    box-sizing: border-box;
}

.form-group:nth-child(1) { animation-delay: 0.4s; }
.form-group:nth-child(2) { animation-delay: 0.5s; }
.form-group:nth-child(3) { animation-delay: 0.6s; }
.form-group:nth-child(4) { animation-delay: 0.7s; }

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 15px 18px;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E67E22;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-weight: 300;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: #E67E22;
    color: white;
    border: none;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.submit-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px 3%;
    }
    
    .support-center, 
    .contact-form-container {
        width: 100%;
    }
    
    .contact-hero-text {
        max-width: 90%;
    }
    
    .contact-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .contact-hero-text p {
        font-size: 1rem;
    }
    
    .location-map iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 400px;
    }
    
    .contact-hero-text {
        max-width: 95%;
        padding: 0 20px;
    }
    
    .contact-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .contact-hero-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .contact-container {
        padding: 25px 4%;
        gap: 30px;
    }
    
    .support-center .contact-material h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .support-center .contact-material p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .contact-form-container {
        padding: 30px 25px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .contact-form {
        width: 100%;
        gap: 22px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        padding: 13px 16px;
        font-size: 0.98rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px 28px;
    }
    
    .contact-info .info-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .contact-info .info-item h1 {
        font-size: 1.3rem;
    }
    
    .contact-info .info-item i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .location-map iframe {
        height: 300px;
    }
    
    .location-info {
        padding: 1.5rem;
    }
    
    .location-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 300px;
    }
    
    .contact-hero-text {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .contact-hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .contact-hero-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .contact-container {
        padding: 20px 3%;
        gap: 25px;
    }
    
    .support-center .contact-material h1 {
        font-size: 1.8rem;
    }
    
    .support-center .contact-material p {
        font-size: 0.95rem;
    }
    
    .contact-form-container {
        padding: 25px 20px;
        border-radius: 12px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form {
        gap: 20px;
        width: 100%;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 0;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
        display: block;
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .submit-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        border-radius: 6px;
    }
    
    .contact-info .info-item {
        padding: 18px 15px;
    }
    
    .contact-info .info-item h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .contact-info .info-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-info .info-item i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .location-map iframe {
        height: 250px;
    }
    
    .location-info {
        padding: 1rem;
    }
    
    .location-info h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .location-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 360px) {
    .contact-hero {
        height: 250px;
    }
    
    .contact-hero-text h1 {
        font-size: 1.4rem;
    }
    
    .contact-hero-text p {
        font-size: 0.85rem;
    }
    
    .contact-container {
        padding: 15px 2%;
    }
    
    .support-center .contact-material h1 {
        font-size: 1.6rem;
    }
    
    .contact-form-container {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow: hidden;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .submit-btn {
        min-height: 44px;
        width: 100%;
    }
    
    .contact-info .info-item {
        padding: 15px 12px;
    }
    
    .location-map iframe {
        height: 200px;
    }
}
.location-map {
    grid-column: 1 / -1;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.location-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.location-info {
    padding: 2rem;
}

.location-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.location-info p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}
.scroll-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}