﻿*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: unset;
}

body {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.header-box {
    width: 1300px;
    max-width: 1300px;
    padding: 2.5rem 8.5rem;
    text-align: center;
    color: #fff;
    border-radius: 14px;
    margin-top: 50px;
    margin-bottom: 100px;
    background: linear-gradient(90deg, #2C3E50 0%, #33485D 13%, #3A526A 25%, #415C76 38%, #486683 50%, #4F6F90 63%, #56799D 75%, #5D83A9 88%);
}

    .header-box h1 {
        font-size: 45px;
        font-weight: 600;
        margin-bottom: 12px;
        font-family: unset;
    }

    .header-box p {
        font-size: 19px;
        line-height: 1.6;
        max-width: 818px;
        margin: 0 auto;
        text-align: justify;
        font-family: unset;
    }

.main-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 1300px;
    max-width: 1300px;
    padding-left: 2rem;
}

.contact-form {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0px;
}


.form-row input, .form-row textarea {
        flex: 1;
        padding: 12px 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 17px;
        outline: none;
        transition: border-color 0.2s ease;
    }

 .form-row input:focus, .form-row textarea:focus {
           border-color: #4F6F90;
 }

textarea {
    resize: none;
    height: 140px;
    font-size: 18px; 
} 
textarea::placeholder {
        font-size: 20px;
        color: #555;
        height:150px;
        width:200px;
        opacity:1;
        
    }

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


.captcha {
    background: #ffe1e1;
    color: #d9534f;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-family: monospace;
    margin-top: -1.5rem;
}

.captcha-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}
.form-group {
    flex:1;
    display:flex;
    flex-direction:column;
}

    .form-group label {
        margin-bottom: 6px;
        font-size: 19px;
        font-weight: 600;
        color: #3b3b3b;
        font-family: unset;
    }

.submit-btn {
    width: 100%;
    padding: 20px;
    background: #333;
    color: #fbfbfb;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: unset;
}

    .submit-btn:hover {
        background: #111;
    }

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .right-section img {
        width: 40rem;
        margin-top: -5rem;
    }


.img {
    max-width: 90%;
    height: 260px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.contact-info {
    display: flex;
    flex-direction: column;
    margin-top: -1rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 15px;
    border-radius: 10px;
}
    .info-box img {
        width: 26px;
        height: 24px;
        margin-top: 0rem;
    }
.vertical-line {
    border-left: 1px solid black;
    height: 217px;
    margin: 20px;
    margin-top: -1rem;
}
.icon-box {
    width: 49px;
    height: 49px;
    border: 2px solid black;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: #fff;
}

.info-text {
    display: flex;
    flex-direction: column;
    font-size: 17px;
    color: #3b3b3b;
    font-family: unset;
}

    .info-text strong {
        margin-bottom: 4px;
    }

input::placeholder {
    color: #d9d9d9;
    opacity: 1; 
}
textarea::placeholder {
    color: #d9d9d9;
    opacity: 1;
}
.Line{
    border:0.5px solid black;
    margin-top:90px;
    margin-bottom:90px;
}

/* =========================
   ✅ RESPONSIVE MEDIA QUERIES
   ========================= */

/* Tablet View (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Layout: stack form and info vertically */
    .main-section {
        flex-direction: column;
        align-items: center;
        gap: 35px;
        width: 100%;
        margin-top: -33px;
        margin-left: -1rem;
    }
    .header-box {
        width: 61rem;
        margin-top: 7rem;
    }
        .header-box h1 {
            font-size: 60px;
            font-weight: 600;
            margin-bottom: 20px;
        }
        .header-box p {
            font-size: 30px;
            line-height: 3rem;
            width: 120%;
            margin-left: -4.4rem;
        }
        .right-section .img {
        display: none !important;
    }

    .vertical-line {
        display: none !important;
    }

    .contact-form {
        width: 100%;
        order: 1;
    }

    .right-section {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact-info {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: 600px;
        gap: 15px;
        margin-top: 20px;
    }

    .info-box {
        display: flex;
        align-items: center;
        gap: 15px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 14px 16px;
        background: #f9f9f9;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

        .info-box .icon-box {
            border: none;
            background: #eef3f9;
            border-radius: 8px;
            padding: 8px;
        }

    .info-text {
        font-size: 15px;
        color: #333;
    }
    .right-section img {
        margin-top: 3rem !important
    }
    .form-group label {
        margin-bottom: 6px;
        font-size: 30px;
        font-weight: 500;
        color: #3b3b3b;
    }
    .form-row input, .form-row textarea {
        flex: 1;
        padding: 17px 22px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 24px;
        outline: none;
        transition: border-color 0.2s ease;
    }
}

/* Mobile View (max-width: 600px) */
@media (max-width: 600px) {
    /* Stack everything vertically */
    .main-section {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .header-box {
        width: 55rem;
        margin-top: 8rem;
    }
        .header-box p {
            font-size: 22px;
            line-height: 3rem;
        }
        /* Hide the image */
        .right-section .img {
            margin-top: 3rem !important
        }

    /* Hide the vertical line */
    .vertical-line {
        display: none !important;
    }

    /* Move contact info directly below form */
    .right-section {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .contact-info {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: 100%;
        gap: 12px;
        max-width: 500px;
        margin-top: 10px;
    }

    .info-box {
        display: flex;
        align-items: center;
        gap: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #f9f9f9;
        padding: 10px 12px;
    }

        .info-box .icon-box {
            border: none;
            background: #eef3f9;
            padding: 8px;
            border-radius: 8px;
        }

    .info-text {
        font-size: 14px;
        text-align: left;
    }
}
