/* ==========================================
   ROOT VARIABLES
========================================== */

:root{
    --primary:#0d6efd;
    --secondary:#198754;
    --dark:#212529;
    --light:#ffffff;
    --bg:#f5f7fb;
    --shadow:0 15px 35px rgba(0,0,0,.08);
}

/* ==========================================
   BODY
========================================== */

body{
    margin:0;
    padding:0;
    background:var(--bg);
    font-family:'Segoe UI',sans-serif;
    color:#333;
    line-height:1.6;
}

/* ==========================================
   CONTAINER
========================================== */

.container{
    max-width:1200px;
    margin:auto;
    padding:0 15px;
}

/* ==========================================
   HERO SECTION
========================================== */

.contact-hero{

    background:
    linear-gradient(rgba(0,60,120,.75),
    rgba(0,100,70,.75)),
    url("../images/contact-banner.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    padding:120px 20px;

    text-align:center;

    color:#fff;
}

.contact-hero h1{

    font-size:48px;
    font-weight:700;
    margin-bottom:20px;

}

.contact-hero h1 i{

    margin-right:10px;

}

.contact-hero p{

    max-width:800px;
    margin:auto;

    font-size:20px;

    line-height:1.8;

}

/* ==========================================
   CONTACT SECTION
========================================== */

.contact-section{

    padding:80px 15px;

}

/* ==========================================
   PAGE TITLE
========================================== */

.page-title{

    text-align:center;

    margin-bottom:50px;

}

.page-title h1{

    color:var(--primary);

    font-size:42px;

    margin-bottom:12px;

}

.page-title p{

    color:#666;

    font-size:18px;

}

/* ==========================================
   GRID
========================================== */

.contact-grid{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:40px;

    align-items:start;

}

/* ==========================================
   CONTACT INFORMATION
========================================== */

.contact-info{

    background:linear-gradient(
    135deg,
    #0d6efd,
    #198754);

    color:#fff;

    padding:40px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.20);

    position:sticky;

    top:20px;

}

.contact-info h2{

    font-size:30px;

    margin-bottom:20px;

}

.contact-info h3{

    margin-top:25px;

    margin-bottom:20px;

    color:#fff;

}

.info-text{

    line-height:1.8;

    margin-bottom:30px;

    opacity:.95;

}

/* ==========================================
   INFORMATION BOX
========================================== */

.info-box{

    display:flex;

    align-items:flex-start;

    margin-bottom:25px;

}

.info-box .icon{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#fff;

    color:#0d6efd;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    margin-right:15px;

    flex-shrink:0;

}

.info-box h4{

    margin:0;

    font-size:18px;

}

.info-box p{

    margin:6px 0 0;

    line-height:1.6;

}

/* ==========================================
   TRUST ITEMS
========================================== */

.trust-item{

    margin:15px 0;

    font-size:16px;

}

.trust-item i{

    color:#ffe082;

    margin-right:10px;

}

/* ==========================================
   HORIZONTAL LINE
========================================== */

.contact-info hr{

    border:none;

    height:1px;

    background:rgba(255,255,255,.35);

    margin:30px 0;

}

/* ==========================================
   SOCIAL LINKS
========================================== */

.social-links{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.social-links a{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#fff;

    color:#0d6efd;

    text-decoration:none;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    transition:.3s;

}

.social-links a:hover{

    transform:translateY(-6px);

    background:#ffd54f;

    color:#000;

}
/* ==========================================
   CONTACT FORM
========================================== */

.contact-form{
    width:100%;
}

.form-card{

    background:#fff;

    padding:45px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

/* ==========================================
   FORM HEADER
========================================== */

.form-header{

    margin-bottom:30px;

}

.form-header h2{

    color:var(--primary);

    font-size:32px;

    margin-bottom:10px;

}

.form-header h2 i{

    margin-right:8px;

}

.form-header p{

    color:#666;

    line-height:1.8;

}

/* ==========================================
   FORM GROUP
========================================== */

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#333;

}

.form-group label i{

    color:var(--primary);

    margin-right:6px;

}

/* ==========================================
   INPUTS
========================================== */

.form-group input,
.form-group textarea,
.mobile-row input,
.mobile-row select{

    width:100%;

    padding:15px;

    border:1px solid #dcdcdc;

    border-radius:12px;

    font-size:15px;

    background:#fafafa;

    transition:.3s;

    box-sizing:border-box;

}

.form-group input:focus,
.form-group textarea:focus,
.mobile-row input:focus,
.mobile-row select:focus{

    outline:none;

    background:#fff;

    border-color:var(--primary);

    box-shadow:0 0 10px rgba(13,110,253,.20);

}

/* ==========================================
   MOBILE NUMBER ROW
========================================== */

.mobile-row{

    display:flex;

    gap:10px;

    margin-bottom:10px;

}

.mobile-row select{

    width:140px;

    min-width:140px;

}

.mobile-row input{

    flex:1;

}

/* ==========================================
   TEXTAREA
========================================== */

textarea{

    resize:none;

    height:170px;

    font-family:inherit;

}

#charCount{

    display:block;

    text-align:right;

    margin-top:8px;

    color:#888;

    font-size:13px;

}

/* ==========================================
   PRIVACY CHECKBOX
========================================== */

.checkbox-group{

    margin:25px 0;

    font-size:15px;

    line-height:1.8;

}

.checkbox-group label{

    display:flex;

    align-items:flex-start;

    gap:10px;

    cursor:pointer;

}

.checkbox-group input[type="checkbox"]{

    margin-top:5px;

}

.checkbox-group a{

    color:var(--primary);

    font-weight:600;

    text-decoration:none;

}

.checkbox-group a:hover{

    text-decoration:underline;

}

/* ==========================================
   CAPTCHA
========================================== */

.captcha-box{

    margin:25px 0;

}

/* ==========================================
   SUBMIT BUTTON
========================================== */

.submit-btn{

    width:100%;

    padding:17px;

    border:none;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #0d6efd,
        #198754);

    color:#fff;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.submit-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(0,0,0,.20);

}

.submit-btn i{

    margin-right:8px;

}

/* ==========================================
   BUTTON LOADING
========================================== */

.submit-btn:disabled{

    opacity:.85;

    cursor:not-allowed;

}

#btnLoader{

    display:none;

}

.fa-spinner{

    margin-right:8px;

}
/* ==========================================
   VALIDATION
========================================== */

.error-message{

    display:block;

    margin-top:5px;

    color:#dc3545;

    font-size:14px;

    font-weight:500;

}

input.invalid,
textarea.invalid,
select.invalid{

    border:2px solid #dc3545 !important;

    background:#fff5f5;

}

/* ==========================================
   PLACEHOLDER
========================================== */

input::placeholder,
textarea::placeholder{

    color:#999;

    opacity:1;

}

/* ==========================================
   SMOOTH TRANSITIONS
========================================== */

input,
textarea,
select,
button,
a{

    transition:all .3s ease;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .contact-grid{

        grid-template-columns:1fr;

    }

    .contact-info{

        position:relative;

        top:0;

    }

    .contact-hero{

        padding:90px 20px;

    }

    .contact-hero h1{

        font-size:36px;

    }

    .contact-hero p{

        font-size:17px;

    }

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

    .contact-section{

        padding:50px 15px;

    }

    .page-title h1{

        font-size:32px;

    }

    .page-title p{

        font-size:16px;

    }

    .contact-hero{

        padding:70px 15px;

    }

    .contact-hero h1{

        font-size:30px;

    }

    .contact-hero p{

        font-size:15px;

        line-height:1.7;

    }

    .contact-info{

        padding:25px;

    }

    .contact-info h2{

        font-size:24px;

    }

    .form-card{

        padding:25px;

    }

    .form-header h2{

        font-size:26px;

    }

    .mobile-row{

        flex-direction:column;

    }

    .mobile-row select{

        width:100%;

        min-width:100%;

    }

    .submit-btn{

        font-size:16px;

        padding:15px;

    }

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media(max-width:480px){

    .container{

        padding:0 10px;

    }

    .contact-hero h1{

        font-size:26px;

    }

    .contact-hero p{

        font-size:14px;

    }

    .info-box{

        flex-direction:column;

        align-items:flex-start;

    }

    .info-box .icon{

        margin-bottom:10px;

    }

    .social-links{

        justify-content:center;

        flex-wrap:wrap;

    }

    .social-links a{

        width:42px;

        height:42px;

        font-size:18px;

    }

}

/* ==========================================
   OPTIONAL SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

    background:#0d6efd;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#198754;

}