/* ===============================
   Google Fonts
================================ */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&family=Roboto:wght@100..900&display=swap');

/* ===============================
   Global Styles
================================ */
body {
    font-family: 'Jost', sans-serif;
    color: #001c3b;
    background-color: #f4f6f9;
    margin: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
}

/* ===============================
   Form Wrapper
================================ */
.form-elem {
    font-size: 15px;
    font-weight: 500;
}

/* ===============================
   Contact Section
================================ */
.contact {
    padding: 4%;
    min-height: auto; /* removed fixed height */
}

/* ===============================
   Header Section
================================ */
.bg_head {
	background: linear-gradient(135deg, rgba(63, 94, 251, 1) 0%, rgba(81, 62, 201, 1) 54%, rgba(252, 70, 107, 1) 100%);    
	color: #701014;
    padding: 15px;
}

.bg_head h1 {
    font-size: 24px;
	color:#f5f5f5;
    margin-bottom: 5px;
}

.bg_head h2 {
    font-size: 22px;
	color:#d2d2d2;
    margin-bottom: 0;
}

.bg_head h3 {
    font-size: 20px;
	color:#e5e5e5;
    margin-bottom: 0;
}

.bg_head h4 {
    font-size: 18px;
	color:#ff0;
    margin-bottom: 0;
}

/* ===============================
   Contact Info
================================ */
.contact-info {
    margin: 1% 0;
}

.contact-info h1 {
    font-size: 24px;
}

.contact-info h2 {
    margin-bottom: 10px;
}

/* ===============================
   Form Layout
================================ */
.contact-form {
    margin: 10px auto;
    width: 100%;
    max-width: 900px;
}

.contact-form label {
    font-weight: 600;
}

/* ===============================
   Buttons
================================ */
.contact-form button {
    background-color: #001c3b;
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
}

.contact-form button:focus {
    box-shadow: none;
}

/* ===============================
   Logos
================================ */
.logo-img {
    height: 60px;
    float: right;
}

.logo-img-alf {
    height: 100px;
    float: left;
}

/* ===============================
   Footer
================================ */
.footer {
    min-height: 30px;
    padding: 15px;
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #555;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

/* ===============================
   Responsive Tweaks
================================ */
@media (max-width: 767px) {
    .logo-img,
    .logo-img-alf {
        display: block;
        float: none;
        margin: 10px auto;
        text-align: center;
    }

    .logo-img {
        height: 45px;
    }

    .logo-img-alf {
        height: 80px;
    }
}


	/* ===============================
   Global Form Styling
================================ */


/* ===============================
   Form Wrapper
================================ */
.contact-form1 {
    max-width: 1100px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* ===============================
   Form Sections
================================ */
.form-elem {
    border-radius: 8px;
}

/* ===============================
   Labels
================================ */
.form-label {
    font-weight: 600;
    color: #333;
}

/* Required star */
.form-label .text-danger {
    font-weight: 700;
}

/* ===============================
   Inputs & Selects
================================ */
.form-control,
.form-select {
    border-radius: 6px;
    height: 42px;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.15rem rgba(25,135,84,.25);
}

/* Readonly field */
.form-control[readonly] {
    background-color: #f1f1f1;
    cursor: not-allowed;
}

/* ===============================
   Validation Styling
================================ */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #198754;
}

/* ===============================
   Rules & Guidelines Box
================================ */
.rules {
    background: #f8f9fa;
	width:90%;
	margin:8px auto;
    border: 1px solid #dee2e6;
    border-left: 4px solid #198754;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.rules h6 {
    font-weight: 700;
    margin-bottom: 5px;
}

.rules ul {
    padding-left: 18px;
    margin-top: 10px;
}

.rules ul li {
    font-size: 13px;
    margin-bottom: 6px;
}

/* Hide helper */
.hidden {
    display: none;
}

/* ===============================
   Buttons
================================ */
.btn_disp {
    min-width: 160px;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 6px;
}

.btn-success {
    background: linear-gradient(135deg, #198754, #157347);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347, #146c43);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #bb2d3b);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #bb2d3b, #b02a37);
}

/* ===============================
   Checkbox
================================ */
.form-check-input {
    margin-top: 6px;
}

.form-check-label {
    font-size: 13.5px;
    line-height: 1.5;
}

/* ===============================
   Captcha
================================ */
img[src*="captcha"] {
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-left: 8px;
}

/* ===============================
   Footer
================================ */
.footer {
    margin-top: 30px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: #666;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
}

/* ===============================
   Mobile Tweaks
================================ */
@media (max-width: 576px) {
    .btn_disp {
        width: 100%;
        margin-bottom: 10px;
    }
}




	.logo-img{height: 60px !important;float:right;}
	.logo-img-alf{height:100px;float:left;}
	@media only screen and (max-width: 767px) {
		.logo-img{height:45px !important;text-align: center !important; display:block;	margin-left: auto;margin-right: auto;float: none;}
		.logo-img-alf{height:80px;text-align: center !important;display:block;	margin-left: auto;margin-right: auto;float: none;}
	}



	.bg-img-m 
	{
		display: none;
	}
	@media only screen and (max-width:767px) 
	{
		.bg-img-m {
		display: block;
		}
		.bg-img-d {
		display: none
		}
	}   