/* --------------------------------------------------------------------------
   Global Styles
-------------------------------------------------------------------------- */
.form-container,
.main-bg {
    background-size: cover;
    background-position: center;
}

/* --------------------------------------------------------------------------
   Font Face Definitions
-------------------------------------------------------------------------- */
@font-face {
    font-family: Braked;
    src: url('fonts/BRAKED.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Braked;
    src: url('fonts/BRAKED-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: Braked;
    src: url('fonts/BRAKED-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* --------------------------------------------------------------------------
   Background Styles
-------------------------------------------------------------------------- */
.main-bg {
    background-image: url('images/backround.webp');
    min-height: 150vh;
    padding: 20px;
}

.form-container {
    width: 100%;
    max-width: 500px;
    background-image: url('images/cadre.webp');
    background-color: rgba(255, 255, 255, .85);
    border-radius: 20px !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, .2);
}

/* --------------------------------------------------------------------------
   Typography Styles
-------------------------------------------------------------------------- */
h2 {
    font-family: Braked;
    font-weight: 700;
    font-size: 3rem;
}

/* --------------------------------------------------------------------------
   Form Element Styles
-------------------------------------------------------------------------- */
.rounded-input {
    padding-left: 60px;
    border-radius: 25px;
    border: 1px solid #ccc;
    height: 50px;
    font-size: 14px;
}

textarea.rounded-input {
    height: auto;
    padding-top: 14%;
}

/* Uniform width for form inputs */
.uniform-width {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

/* Phone input specific styling */
#phone {
    display: flex;
    align-items: center;
}

.iti {
    width: 100% !important;
}

.iti__flag-container {
    margin-right: 8px;
}

/* --------------------------------------------------------------------------
   Button Styles
-------------------------------------------------------------------------- */
.rounded-button {
    border-radius: 25px;
    padding: 15px 0;
    width: 50% !important;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.rounded-button:hover {
    background-color: #e6a500;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
}

/* --------------------------------------------------------------------------
   Image Styling
-------------------------------------------------------------------------- */
img.img-fluid {
    width: 600px;
    height: auto;
}

/* --------------------------------------------------------------------------
   Error and Validation Styles
-------------------------------------------------------------------------- */
.is-invalid {
    border-color: #dc3545 !important;
}

.mb-3 {
    margin-bottom: 30px !important;
}

/* --------------------------------------------------------------------------
   Submit Button Customization
-------------------------------------------------------------------------- */
button[type="submit"] {
    background-color: #f77f00;
    border-color: #f77f00;
}

/* --------------------------------------------------------------------------
   Icon Circle Styles
-------------------------------------------------------------------------- */
.icon-circle {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .1);
}

.icon-circle {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888;
}

/* Adjust input width for icon */
.form-control {
    padding-left: 65px;
}

/* --------------------------------------------------------------------------
   Media Queries
-------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .form-container {
        max-width: 100%;
        padding-top: 5%;
    }

    .rounded-button {
        width: 100% !important;
    }
}

