﻿.contact-section {
    background: #f8fbff;
    min-height: 100vh;
}


/* =========================
   Contact Heading
========================= */

.contact-title {
    color: #123b5d;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-subtitle {
    color: #6c757d;
    font-size: 17px;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}


/* =========================
   Success Message
========================= */

.contact-success {
    max-width: 850px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #eaf8f0;
    border: 1px solid #bce5cc;
    border-radius: 10px;
    color: #176b3a;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.5s ease;
}

    .contact-success i {
        font-size: 20px;
    }


/* =========================
   Contact Information
========================= */

.contact-info {
    background: #123b5d;
    color: #ffffff;
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.14);
}

    .contact-info h2 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .contact-info > p {
        color: #dce8f2;
        line-height: 1.7;
        margin-bottom: 30px;
    }


/* =========================
   Contact Items
========================= */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: #ffffff;
    color: #123b5d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h5 {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #dce8f2;
    line-height: 1.5;
}


/* =========================
   Contact Form
========================= */

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(18, 59, 93, 0.10);
}

    .contact-form h2 {
        color: #123b5d;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 25px;
    }

    .contact-form .form-label {
        font-weight: 600;
        color: #34495e;
        margin-bottom: 7px;
    }

    .contact-form .form-control {
        padding: 12px 15px;
        border: 1px solid #d9e2ec;
        border-radius: 8px;
        color: #34495e;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

        .contact-form .form-control::placeholder {
            color: #9aa7b3;
        }

        .contact-form .form-control:focus {
            border-color: #123b5d;
            box-shadow: 0 0 0 0.15rem rgba(18, 59, 93, 0.15);
        }

    .contact-form textarea.form-control {
        min-height: 130px;
        resize: vertical;
    }


    /* =========================
   Validation Errors
========================= */

    .contact-form .text-danger {
        display: block;
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.4;
    }


/* =========================
   Submit Button
========================= */

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #123b5d;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-btn:hover {
        background: #0d2c45;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(18, 59, 93, 0.20);
    }

    .contact-btn i {
        font-size: 15px;
    }


/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    .contact-title {
        font-size: 34px;
    }

    .contact-subtitle {
        font-size: 15px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

        .contact-info h2,
        .contact-form h2 {
            font-size: 24px;
        }

    .contact-success {
        margin-bottom: 25px;
    }
}


/* =========================
   Small Mobile
========================= */

@media (max-width: 480px) {

    .contact-title {
        font-size: 30px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .contact-btn {
        width: 100%;
    }
}
