.container {
    max-width: 1200px;
    margin: 0.5rem auto;
    padding: 0 1rem;
}

section {
    padding: 20px 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* Left Side - Contact Info */
.contact-info-section {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #f8fafc;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.info-content .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: left;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 0.5rem;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.contact-text p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.availability {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-btn {
    background: #f8fafc;
    color: #2563eb;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.8rem;
    font-weight: 500;
    width: fit-content;
    min-width: 160px;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #fff;
}

/* Right Side - Contact Form */
.contact-form-section {
    padding: 3rem 2rem;
    background: #f8fafc;
}

.form-content h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.form-content .subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #334155;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    color: #1e293b;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    font-weight: 500;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        margin: 0.5rem auto;
    }
    
    section {
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 0.25rem auto;
    }
    
    section {
        padding: 10px 0;
    }

    .contact-card {
        grid-template-columns: 1fr;
        margin: 0;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 1.5rem 1rem;
    }

    .info-content h2,
    .form-content h2 {
        font-size: 2rem;
    }

    .contact-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        border-radius: 10px;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-right: 0.8rem;
        border-radius: 8px;
    }

    .icon-wrapper i {
        font-size: 1.2rem;
    }

    .contact-text h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .contact-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .contact-btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    
    section {
        padding: 10px 0;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 1rem;
    }

    .info-content h2,
    .form-content h2 {
        font-size: 1.8rem;
    }

    .info-content .subtitle,
    .form-content .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 0.7rem;
        margin-bottom: 0.6rem;
        border-radius: 8px;
    }

    .icon-wrapper {
        width: 32px;
        height: 32px;
        margin-right: 0.6rem;
        border-radius: 6px;
    }

    .icon-wrapper i {
        font-size: 1rem;
    }

    .contact-text h3 {
        font-size: 0.95rem;
    }

    .contact-text p {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }

    .submit-btn,
    .contact-btn {
        padding: 0.8rem 1.6rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
}

.text-white {
    color: #ffffff !important;
}

.about-description {
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--light-bg), var(--white));
    margin-top: 0;
}

.container > h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .container > h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container > h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
