/* Contact Section Styles - Theme Color: rgb(29, 78, 216) */

/* 
  IMPORTANT: Add Font Awesome to your HTML for icons to display:
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
*/

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Contact Hero Section */
#contact-hero {
    position: relative;
    background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%);
    padding: 120px 1px 120px;
    overflow: hidden;
}

#contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#contact-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #ffffff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content1 {
    text-align: center;
    color: rgb(255, 255, 255);
    max-width: 900px;
    margin: 0 auto;
}

.hero-content1 h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    text-align: center;
}

.hero-content1 p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-align: center;
}

/* Contact Main Section */
#contact-main {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Contact Form Column */
.contact-form-column {
    animation: fadeInLeft 0.8s ease;
}

.form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(29, 78, 216, 0.1);
    border: 1px solid #e5e7eb;
}

.form-header {
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1f2937 0%, rgb(29, 78, 216) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 18px;
    color: #9ca3af;
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 18px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: rgb(29, 78, 216);
    background: white;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.input-wrapper:focus-within i {
    color: rgb(29, 78, 216);
}

.input-wrapper.textarea-wrapper {
    align-items: flex-start;
}

.input-wrapper.textarea-wrapper i {
    top: 18px;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 50px;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: rgb(29, 78, 216);
}

.checkbox-group label {
    margin: 0;
    font-weight: 500;
    color: #6b7280;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.5;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.3);
    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.5s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(29, 78, 216, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeInRight 0.8s ease;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(29, 78, 216, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(29, 78, 216, 0.15);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.info-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Primary Card */
.primary-card {
    background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%);
    color: white;
    border: none;
}

.primary-card h3,
.primary-card p {
    color: white;
}

.primary-card p {
    opacity: 0.95;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.3rem;
    color: white;
}

.service-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.service-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Contact Details */
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.2rem;
    color: rgb(29, 78, 216);
}

.detail-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.detail-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Social Card */
.social-card {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(29, 78, 216);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.3);
}

/* CTA Block */
.cta-block {
    padding: 25px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 12px;
    border: 2px dashed rgba(29, 78, 216, 0.2);
}

.cta-block p {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, rgb(29, 78, 216) 0%, rgb(37, 99, 235) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(29, 78, 216, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    #contact-hero {
        padding: 80px 0 160px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    #contact-main {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-wrapper {
        padding: 30px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .info-card {
        padding: 30px;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    #contact-hero {
        padding: 60px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .form-wrapper {
        padding: 25px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .input-wrapper input,
    .input-wrapper select,
    .input-wrapper textarea {
        padding: 12px 16px 12px 45px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .service-item {
        padding: 15px;
    }
    
    .service-icon,
    .detail-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Print Styles */
@media print {
    #contact-hero,
    .hero-shape {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        page-break-inside: avoid;
    }
}