/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
}

/* FORM WRAPPER */
form.CUS {
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: system-ui, sans-serif;
}

/* FLEX FIELDSET */
form.CUS fieldset {
    display: flex;
    flex-wrap: wrap;
    border: none;
    padding: 0;
    margin: 0;
}

/* BASE BLOCK STYLE */
form.CUS fieldset > p {
    width: 100%;
    padding: 10px;
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

/* Universal input/select styling */
form.CUS input,
form.CUS select,
form.CUS textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* ===============================
   ROW 1: Name, Phone, Address
=============================== */
form.CUS fieldset > p:nth-of-type(1),
form.CUS fieldset > p:nth-of-type(2),
form.CUS fieldset > p:nth-of-type(3) {
    width: 33.333%;
}

/* ===============================
   ROW 2: City, State, Zip Code
=============================== */
form.CUS fieldset > p:nth-of-type(4),
form.CUS fieldset > p:nth-of-type(5),
form.CUS fieldset > p:nth-of-type(6) {
    width: 33.333%;
}

/* ===============================
   SERVICE NEEDED TEXTAREA
=============================== */
form.CUS fieldset > p:nth-of-type(7) {
    width: 100%;
}

/* ===============================
   SERVICE DATE (Month, Day, Year)
   → ALL 3 IN ONE ROW
=============================== */

/* Make the 8th <p> (Service Date block) a flex row */
form.CUS fieldset > p:nth-of-type(8) {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-start;
}

/* Month, Day, Year = 3 equal flex columns */
form.CUS fieldset > p:nth-of-type(8) select#service_date,
form.CUS fieldset > p:nth-of-type(8) select#service_day,
form.CUS fieldset > p:nth-of-type(8) input#service_year {
    flex: 1 1 0;
    width: auto;          /* flex handles width */
    margin-top: 6px;
}

/* ===============================
   SERVICE TIME (Full width)
=============================== */
form.CUS fieldset > p:nth-of-type(9) {
    width: 100%;
}

/* ===============================
   SUBMIT BUTTON (Full width)
=============================== */
form.CUS fieldset > p:nth-of-type(10) {
    width: 100%;
}

form.CUS input[type="submit"] {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

form.CUS input[type="submit"]:hover {
    background: #1d4ed8;
}

/* Hide honeypot */
form.CUS input.subject {
    display: none;
}

/* ===============================
   MOBILE RESPONSIVE (stack fields)
=============================== */
@media (max-width: 600px) {

    form.CUS fieldset > p {
        width: 100%;
        padding: 6px 0;
    }

    /* Month, Day, Year full width stacked on mobile */
    form.CUS fieldset > p:nth-of-type(8) {
        flex-direction: column;
        gap: 6px;
    }

    form.CUS fieldset > p:nth-of-type(8) select#service_date,
    form.CUS fieldset > p:nth-of-type(8) select#service_day,
    form.CUS fieldset > p:nth-of-type(8) input#service_year {
        flex: none;
        width: 100% !important;
    }
/* ===============================
   ROW 1: Name, Phone, Address
=============================== */
form.CUS fieldset > p:nth-of-type(1),
form.CUS fieldset > p:nth-of-type(2),
form.CUS fieldset > p:nth-of-type(3) {
    width: 100%;
}

/* ===============================
   ROW 2: City, State, Zip Code
=============================== */
form.CUS fieldset > p:nth-of-type(4),
form.CUS fieldset > p:nth-of-type(5),
form.CUS fieldset > p:nth-of-type(6) {
    width: 100%;
}
}
/*!
 * Start Bootstrap - Small Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

body {
    padding-top: 70px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
    font-family: 'Josefin Sans', sans-serif !important;
}
.navbar-inverse{
    background-color: #303F9F;
    border-color: #303F9F;
}

.navbar-fixed-top .nav {
    padding: 15px 0;
}

.navbar-fixed-top .navbar-brand {
    padding: 10px 15px;
    color:#fff;
}
.navbar-inverse .navbar-nav>li>a{
    color: rgba(255,255,255,0.8);
}
.btnphone {
    border: solid #fff 2px;
    border-radius: 25px;
    background: #FF5252;
}
.btnphone a{
    font-size: 20px;
}
#banner .formcontainer{
    margin-top: 50px;
    background: rgba(48, 63, 159, 0.8);
    padding: 7%;
    border-radius: 20px;
}
#banner .formcontainer h3{
    color:#fff;
    text-transform: uppercase;
}
#banner{
    background: url('../images/img-4-avondale-arizona.jpg') no-repeat;
    background-size:cover;
    height:500px;
    margin-top: 30px
}
#banner .banner-caption{
    /*margin-top:8%;*/
}
#banner .banner-caption h1{
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px #333;
    padding:1%;
}
#banner .banner-caption h2{
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px #333;
}
#banner .banner-caption span{
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px #333;
}
.title{
    text-transform: uppercase;
    font-size: 23px;
    font-weight: bold;
}
.sidebar img{
    margin:0 auto;
}
.servicessection .btn-primary{
    background: #FF5252;
    padding: 10px 20px;
    font-size: 17px;
    border-radius: 5px;
    text-transform: uppercase;
}
.servicessection .btn-primary:hover{
    text-decoration: none;
    background: #e83737
}
footer{
    background: #1d1d1d;
    padding-top: 2%;
    padding-bottom: 2%;
    color:#fff;
}
footer a{
    color:rgba(255,255,255,0.8);
}
footer a:hover{
    color:rgba(255,255,255,1);
    text-decoration: none;
}
footer h4{
    font-size:22px;
}
@media screen and (min-width: 1920px ) {
    #banner .banner-caption{
        
    }
    #banner .banner-caption h1{
        font-size: 45px;
        padding-right: 0;
    }
    #banner .banner-caption{
        padding:10% 0;
    }
    #banner .banner-caption h2{
        font-size: 40px;
    }
    #banner .banner-caption span{
        font-size: 40px;
    }
    .navbar-brand{
        margin-top: 3%;
    }
}
@media screen and (max-width: 1680px) {
    #banner .banner-caption h1{
        font-size: 45px;
        padding-right: 0;
    }
    #banner .banner-caption{
        padding:5% 0;
    }
    #banner .banner-caption h2{
        font-size: 40px;
    }
    #banner .banner-caption span{
        font-size: 40px;
    }
}
@media screen and (max-width: 1280px) {
    .navbar-brand{
       margin-top: -8px;
    }
}
@media screen and (max-width: 1024px) {
    #banner{
        background-position-y: -122px;
    }
    #banner .banner-caption{
        
    }
}
@media screen and (max-width: 768px) {


footer {
    padding: 30px 0;
}

@media(min-width:768px) {
    body {
        padding-top: 100px; /* Required padding for .navbar-fixed-top. Change if height of navigation changes. */
    }

    .navbar-fixed-top .navbar-brand {
        padding: 15px 0;
    }
}
ul.list-inline{display:inline-block;position:relative;margin:0px 0 0 0;float:right;}
ul.list-inline li{display:inline-block;margin:0 3px;}