/* ==========================================================================
   Crazy Techsol — Modern Contact Us Page Styling
   ========================================================================== */

.cts-contact-section {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #0a0e1a 0%, #0d1222 100%);
    color: #f1f5f9;
    overflow: hidden;
}

.cts-contact-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(254, 0, 0, 0.12) 0%, rgba(254, 0, 0, 0) 70%);
    pointer-events: none;
}

.cts-contact-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
}

/* Hide redundant global footer contact strip on the Contact page */
.footer-top {
    display: none !important;
}

/* --- Section Header --- */
.cts-contact-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.cts-contact-header .cts-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 0, 0, 0.12);
    border: 1px solid rgba(254, 0, 0, 0.3);
    color: #ff4d4d;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cts-contact-header .cts-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cts-contact-header .cts-subtitle {
    font-size: 16px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Contact Details Info Box (Left Column) --- */
.cts-contact-info-card {
    background: rgba(18, 24, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    height: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cts-contact-info-card:hover {
    border-color: rgba(254, 0, 0, 0.3);
}

.cts-info-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
}

.cts-info-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cts-info-header p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Contact Info Items List */
.cts-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    transition: transform 0.2s ease;
}

.cts-contact-item:hover {
    transform: translateX(4px);
}

.cts-item-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(254, 0, 0, 0.15), rgba(254, 0, 0, 0.05));
    border: 1px solid rgba(254, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fe0000;
    font-size: 20px;
    transition: all 0.3s ease;
}

.cts-contact-item:hover .cts-item-icon {
    background: #fe0000;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(254, 0, 0, 0.4);
}

.cts-item-content {
    flex: 1;
}

.cts-item-content .cts-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #fe0000;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
}

.cts-item-content p,
.cts-item-content span {
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.55;
    margin-bottom: 0;
}

.cts-item-content a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cts-item-content a:hover {
    color: #fe0000;
    text-decoration: underline;
}

.cts-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #38bdf8 !important;
    margin-top: 6px;
    font-weight: 600;
}

.cts-map-link:hover {
    color: #7dd3fc !important;
}

/* Social Connect Links */
.cts-social-wrap {
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cts-social-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 14px;
}

.cts-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cts-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cts-social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.cts-social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
.cts-social-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.cts-social-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; }
.cts-social-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.cts-social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }

/* --- Contact Form Card (Right Column) --- */
.cts-contact-form-card {
    background: rgba(18, 24, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.cts-form-header {
    margin-bottom: 28px;
}

.cts-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.cts-form-header p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 0;
}

.cts-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cts-form-group.full-width {
    grid-column: span 2;
}

.cts-input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.cts-input-wrapper label {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.cts-input-wrapper input,
.cts-input-wrapper textarea {
    width: 100%;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 13px 16px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.25s ease;
    outline: none;
}

.cts-input-wrapper input:focus,
.cts-input-wrapper textarea:focus {
    border-color: #fe0000;
    box-shadow: 0 0 0 3px rgba(254, 0, 0, 0.2);
    background: rgba(15, 23, 42, 0.95);
}

.cts-input-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

.cts-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #fe0000 0%, #c40000 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(254, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.cts-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(254, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff1a1a 0%, #e00000 100%);
    color: #ffffff;
}

/* --- Interactive Map Section --- */
.cts-map-wrapper {
    position: relative;
    padding-bottom: 80px;
    background: #0d1222;
}

.cts-map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    height: 440px;
}

.cts-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: contrast(1.05) saturate(1.1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .cts-form-grid {
        grid-template-columns: 1fr;
    }
    .cts-form-group.full-width {
        grid-column: span 1;
    }
    .cts-contact-info-card {
        margin-bottom: 40px;
    }
    .cts-contact-header .cts-title {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .cts-contact-section {
        padding: 50px 0 60px;
    }
    .cts-contact-info-card,
    .cts-contact-form-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
    .cts-contact-item {
        gap: 14px;
    }
    .cts-item-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 17px;
    }
    .cts-map-container {
        height: 320px;
        border-radius: 14px;
    }
}
