/* Contact Section Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f8ff;
    line-height: 1.5;
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

/* Header Styles */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #5170FF;
    background: rgba(81, 112, 255, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.header-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-title .primary {
    color: #5170FF;
    position: relative;
    display: inline-block;
}

.header-title .primary::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(81, 112, 255, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.header-title .secondary {
    color: #FD8F50;
}

.header-subtitle {
    font-size: 16px;
    color: #5a6a7e;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: start;
}

/* Left Column - Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #5170FF, #FD8F50);
    transition: height 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(81, 112, 255, 0.1);
    border-color: rgba(81, 112, 255, 0.2);
}

.info-card:hover::before {
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.info-text {
    font-size: 15px;
    line-height: 1.8;
    color: #33485d;
    margin-bottom: 15px;
}

.office-hours {
    margin-top: 10px;
}

.hours-badge {
    display: inline-block;
    font-size: 12px;
    background: rgba(81, 112, 255, 0.08);
    color: #5170FF;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 500;
}

/* Contact Methods */
.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f8;
}

.contact-method:last-child {
    border-bottom: none;
}

.method-icon {
    width: 36px;
    height: 36px;
    background: #f8faff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5170FF;
    font-size: 18px;
}

.method-details {
    flex: 1;
}

.method-label {
    display: block;
    font-size: 11px;
    color: #5a6a7e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.method-value {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-value:hover {
    color: #5170FF;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.trust-badge {
    font-size: 11px;
    font-weight: 600;
    color: #5170FF;
    background: rgba(81, 112, 255, 0.08);
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(81, 112, 255, 0.1);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Right Column - Contact Form */
.contact-form-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f8;
    position: relative;
    overflow: hidden;
}

.contact-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(81, 112, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.form-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #5a6a7e;
}

/* Form Groups */
.form-group {
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-label i {
    color: #5170FF;
    font-size: 16px;
}

.required {
    color: #FD8F50;
    margin-left: 2px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
    background: #f8faff;
    border: 1.5px solid #eef2f8;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.form-input:hover,
.form-textarea:hover {
    border-color: #5170FF40;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #5170FF;
    background: white;
    box-shadow: 0 5px 15px rgba(81, 112, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #a0b3c5;
    font-size: 13px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #5170FF, #3a5ae0);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(81, 112, 255, 0.3);
}

.submit-button:hover .button-glow {
    opacity: 1;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px) translateY(-2px);
}

/* Privacy Notice */
.privacy-note {
    font-size: 12px;
    color: #5a6a7e;
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.privacy-note a {
    color: #5170FF;
    text-decoration: none;
    font-weight: 500;
}

.privacy-note a:hover {
    text-decoration: underline;
}

/* Decorative Elements */
.contact-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(81, 112, 255, 0.03) 0%, transparent 70%);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(253, 143, 80, 0.03) 0%, transparent 70%);
}

.deco-line {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(81, 112, 255, 0.05);
    transform: rotate(45deg);
    border-radius: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        padding: 0 20px;
    }
    
    .header-title {
        font-size: 36px;
    }
    
    .contact-grid {
        gap: 25px;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .header-title {
        font-size: 32px;
    }
    
    .header-subtitle {
        font-size: 15px;
        padding: 0 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-card {
        order: 1;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .card-header h3 {
        font-size: 17px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .circle-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .header-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .header-title {
        font-size: 28px;
    }
    
    .header-subtitle {
        font-size: 14px;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .card-header {
        gap: 12px;
    }
    
    .header-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .info-text {
        font-size: 14px;
    }
    
    .method-value {
        font-size: 14px;
    }
    
    .trust-badges {
        gap: 8px;
    }
    
    .trust-badge {
        font-size: 10px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .submit-button {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .privacy-note {
        font-size: 11px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-header {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-form-card {
    animation: fadeInUp 0.8s ease forwards;
}

.contact-info {
    animation: fadeInUp 1s ease forwards;
}

.purple {
    color: #5170ff !important;
}

.orange {
    color: #fd8f50 !important;
}