/* ==========================================================
   CONTACT US PAGE
   The Science Signal
========================================================== */

.tss-contact-page {
    background: #f8fbff;
    color: #1e293b;
}

/* ==========================================================
   COMMON
========================================================== */

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading span {
    display: inline-block;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
}

.btn-primary {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-3px);
}

/* ==========================================================
   HERO
========================================================== */

.contact-hero {
    padding: 100px 0;
    background: linear-gradient(135deg,#0d6efd,#1e88e5);
    color: #fff;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 760px;
    margin: auto;
    line-height: 1.8;
    font-size: 18px;
}

/* ==========================================================
   CONTACT INFO
========================================================== */

.contact-info {
    padding: 90px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: .3s;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.contact-card .icon {
    font-size: 46px;
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 12px;
    color: #0d6efd;
}

.contact-card p {
    color: #555;
    line-height: 1.7;
}

/* ==========================================================
   FORM
========================================================== */

.contact-form-section {
    padding: 90px 0;
    background: #ffffff;
}

.contact-form {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: 16px;
    transition: .3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================================
   FAQ
========================================================== */

.contact-faq {
    padding: 90px 0;
    background: #f5f9ff;
}

.faq-box {
    background: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-left: 5px solid #0d6efd;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
}

.faq-box h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.faq-box p {
    color: #555;
    line-height: 1.8;
}

/* ==========================================================
   CTA
========================================================== */

.contact-cta {
    padding: 90px 20px;
    background: linear-gradient(135deg,#0d6efd,#1e88e5);
    text-align: center;
    color: #fff;
}

.contact-cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-cta p {
    max-width: 700px;
    margin: auto auto 35px;
    line-height: 1.8;
    font-size: 18px;
}

.contact-cta .btn-primary {
    background: #fff;
    color: #0d6efd;
}

.contact-cta .btn-primary:hover {
    background: #f2f2f2;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px) {

    .contact-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 42px;
    }

}

@media (max-width:768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .contact-hero {
        padding: 70px 0;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

    .contact-cta h2 {
        font-size: 30px;
    }

}
/*=========================================
    FORM NOTICE
==========================================*/

.form-notice{
    padding:16px 22px;
    border-radius:10px;
    margin-bottom:24px;
    font-weight:600;
}

.form-notice--success{
    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
}

.form-notice--error{
    background:#fee2e2;
    color:#b91c1c;
    border:1px solid #fca5a5;
}
