html,
body {
    height: auto;
}

body {
    background-color: #0058a4;
    background-image: url(../images/topBg2.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;

    /* THIS IS THE KEY */
    background-attachment: scroll;
}


.hero-image {
    position: relative;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1 {
    p color: #ffffff;
    font-size: 32px;
    padding: 15px;
    margin: 0;
}

/* Mobile optimisation */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 24px;
        padding: 10px;
    }
}


.whatsapp-btn {
    background: linear-gradient(#6fcf12, #469b0b);
    color: #ffffff !important;
    display: inline-block;
    font-weight: 550;
    /* makes text bold */
    margin: 10px 0;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
    max-width: 100%;
    white-space: normal;
    /* allow text wrapping */
    text-align: center;
    word-break: break-word;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
    background: linear-gradient(#7fe22a, #4fb312);
    /* slightly lighter */
    color: #ffffff;
    text-decoration: none;
    /* removes underline */
}

.whatsapp-btn,
.whatsapp-btn:hover,
.whatsapp-btn:focus,
.whatsapp-btn:active {
    text-decoration: none !important;
}



@media (max-width: 480px) {
    .whatsapp-btn {
        width: 100%;
        /* full-width button on mobile */
        font-size: 16px;
        /* slightly smaller text */
        padding: 12px 15px;
    }
}

.container {
    max-width: 990px;
}

a {
    color: #666;
    text-decoration: underline;
    /*transition: all 0.3s ease 0s;*/
}

.img-spacing {
    margin-bottom: 20px;
}

a:hover {
    color: #666;
    text-decoration: none;
    /*transition: all 0.3s ease 0s;*/
}

p {
    margin-bottom: 16px;
}

ul {
    padding-left: 17px;
}

.btn-primary {
    /*transition: all 0.3s ease 0s;*/
}

.btn-primary:hover {
    /*transition: all 0.3s ease 0s;*/
}

.links {
    color: #000;
    text-decoration: underline;
}

.links:hover {
    text-decoration: none;
    color: #000;
}

.navbar {
    min-height: 70px;
    margin-bottom: 10px !important;
}

.navbar-inverse {
    background: none;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-brand {
    height: auto;
}

.navbar-brand>img {
    max-width: 100%;
}



.header-right {
    padding: 110px 0 0;
    text-align: right;
}

.header-right img {
    margin-right: 8px;
    float: right;
}

.navbar-collapse {
    padding: 0;
    background: url(../images/navBg.gif) repeat-x;
    border: 1px solid #000;
}

.navbar-inverse .navbar-nav>li {
    border-right: 1px solid #555;
}

.navbar-inverse .navbar-nav>li:last-child {
    border-right: none;
}

.navbar-inverse .navbar-nav>li>a {
    color: #fff;
    padding: 10px 0;
    text-transform: uppercase;
    width: 190px;
    text-align: center;
    text-decoration: none;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #fff;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    background: none;
    color: #fff;
}

.navbar-inverse .navbar-nav>.active>a:hover {
    color: #fff;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
    background: none;
    color: #fff;
}

.dropdown-menu {
    background-color: #222;
    left: -1px;
    border-color: #555555;
    border-top: none;
    padding: 0;
}

.dropdown-menu>li>a::before {
    content: ">>";
    margin-right: 6px;
}

.dropdown-menu>li>a {
    color: #808080;
    text-transform: uppercase;
    border-bottom: 1px dashed #434343;
    padding: 8px 12px;
    font-size: 12px;
    width: 190px;
    text-decoration: none;
}

.dropdown-menu>li:last-child>a {
    border: none;
}

.dropdown-menu>li>a:hover {
    background: #434343;
    color: #fff;
}

li.dropdown>a.dropdown-toggle::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px dashed;
    display: inline-block;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    width: 0;
    content: "";
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-inverse .navbar-toggle {
    border-color: #fff;
    margin-top: 18px;
    margin-bottom: 18px;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
    background-color: #222;
}

/*content area */
.content-area {
    background: #fff;
    padding: 30px;
}



.content-area h1 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1;
    color: #0058a4;
    text-transform: uppercase;
}

.content-area h2 {
    font-size: 24px;
    font-weight: bold;
    color: #0058a4;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}


.content-area h3 {
    font-size: 16px;
    font-weight: bold;
}

.content-area .phone,
.content-area .email,
.content-area .web {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 32px;
}

.content-area .phone img,
.content-area .email img,
.content-area .web img {
    margin-right: 8px;
    margin-bottom: 0;
    float: left;
}

.embed-responsive-16by9 {
    margin-bottom: 30px;
}

#formContainer {
    margin-top: 30px;
    margin-bottom: 30px;
}

#formContainer .errors {
    border: 1px solid #ff0000;
    padding: 10px;
    background-color: #fff7df;
    font-weight: bold;
    color: #ff0000;
    font-style: italic;
}

#formContainer .row {
    margin-bottom: 10px;
    line-height: 2;
}

input,
select,
textarea {
    max-width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0 5px;
    width: 250px;
}

input.submit {
    background: #5db20d;
    background: -webkit-linear-gradient(#6fcf12, #469b0b);
    background: -o-linear-gradient(#6fcf12, #469b0b);
    background: -moz-linear-gradient(#6fcf12, #469b0b);
    background: linear-gradient(#6fcf12, #469b0bf);
    padding: 10px 20px;
    line-height: 1;
    font-size: 16px;
    font-style: italic;
    color: #fff;
    margin-bottom: 0;
    border: none;
    width: auto;
}

.imagegallery {
    margin-top: 35px;
}

img.gap-right {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* sidebar */
.sidebar-box {
    margin-bottom: 30px;
    background: #eee;
    border: 1px solid #fff;
    outline: 1px solid #e3e3e3;
}

.sidebar-box h3::before {
    content: url(../images/rightArrow.gif);
    ;
    margin-right: 6px;
}

.sidebar-box h3 {
    background: #00549c;
    background: -webkit-linear-gradient(#0057a4, #014f95);
    background: -o-linear-gradient(#0057a4, #014f95);
    background: -moz-linear-gradient(#0057a4, #014f95);
    background: linear-gradient(#0057a4, #014f95);
    padding: 10px 10px 10px 20px;
    line-height: 1;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    margin: 2px;
}

.sidebar-content-box {
    padding: 15px 20px;
}

.fb-like-box,
.fb-like-box span,
.fb-like-box span iframe[style],
._2p3a,
. fb_iframe_widget iframe {
    width: 100% !important;
}

a.read-more {
    color: #0058A4;
    text-decoration: none;
    display: block;
    text-align: right;
}

a.read-more:hover {
    color: #0058A4;
    text-decoration: underline;
    display: block;
    text-align: right;
}



/*footer */
footer {
    background: #000;
    border-top: 1px solid #fff;
    color: #fff;
    padding-top: 25px;
    padding-bottom: 20px;
}

footer h3 {
    font-size: 15px;
    font-weight: bold;
}

footer .navbar-nav {
    margin-bottom: 15px;
    float: none;
}

footer .navbar-nav>li {
    float: none;
    display: block;
    margin-bottom: 3px;
}

footer .navbar-nav>li>a {
    font-size: 13px;
    padding: 0;
    color: #7d7d7d;
    text-decoration: none;
}

footer .navbar-nav>li>a:hover {
    background: none;
    color: #7d7d7d;
    text-decoration: underline;
}

ul.socialicons {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.socialicons li {
    margin: 0 5px 0 0;
    line-height: 26px;
    display: inline-block;
}

ul.socialicons li a {
    font-size: 26px;
    line-height: 1;
    position: relative;
    top: 4px;
}

.copyright {
    color: #fff;
    margin-top: 30px;
}

.copyright span {
    color: #7d7d7d;
}

.copyright span a {
    color: #7d7d7d;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;

    background: #00549c;
    background: -webkit-linear-gradient(#0057a4, #014f95);
    background: -o-linear-gradient(#0057a4, #014f95);
    background: -moz-linear-gradient(#0057a4, #014f95);
    background: linear-gradient(#0057a4, #014f95);
}

@media (max-width: 1199px) {
    .navbar-inverse .navbar-nav>li>a {
        width: 186px;
    }

    footer .ftext {
        font-size: 13px;
    }
}

@media only screen and (max-width: 991px) {
    .navbar-inverse .navbar-nav>li>a {
        padding: 10px 18px;
        width: auto;
        text-align: left;
    }

    .dropdown-menu>li>a {
        width: auto;
    }

    .header-right {
        display: block;
        clear: both;
        padding-bottom: 12px;
        background: none;
    }

    footer img {
        margin: 15px auto 0;
    }

    .bottom-gallery .col-md-4 {
        width: 33.3333%;
        float: left;
    }

    footer {
        text-align: center;
    }

    footer .socialtext ul li {
        float: none;
        display: inline;
    }

    .imagegallery img {
        margin-bottom: 15px;
    }

    .embed-responsive {
        margin-bottom: 15px;
    }




}

@media only screen and (max-width: 767px) {
    .navbar .col-md-6 {
        width: 100%;
        float: none;
    }

    .header-right {
        padding-top: 0;
    }

    .navbar-brand {
        width: 75%;
    }

    .navbar-brand>img {
        max-width: 100%;
    }

    .navbar-collapse {
        padding: 0;
        border: 1px solid #000;
    }

    .navbar-inverse .navbar-nav>li {
        background: url(../images/navBg.gif) repeat-x;
        border: none;
    }

    .navbar-collapse {
        border-bottom-right-radius: 7px;
        -moz-border-radius-bottomright: 7px;
        -webkit-border-bottom-right-radius: 7px;
        border-bottom-left-radius: 7px;
        -moz-border-radius-bottomleft: 7px;
        -webkit-border-bottom-left-radius: 7px;

        border-radius: 0;
        margin-bottom: 15px;
    }

    .navbar-inverse .navbar-nav>li {
        border-bottom: 1px solid #000;
    }

    .navbar-inverse .navbar-nav>li:last-child {
        border-bottom: none;
    }

    .dropdown-menu>li {
        background: #222;
    }

    .header-right img {
        float: none;
    }

    .footer-widget {
        text-align: center;
    }

    .footer-widget .form-inline .form-control {
        margin: 0 auto 10px;
    }

    .bottom-gallery .col-md-4 {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    .header-right {
        text-align: left;
        margin-left: 15px;
    }

    .navbar-brand {
        margin-top: 0;
    }

    .navbar-inverse .navbar-toggle {
        margin-top: 56px;
        margin-bottom: 27px;
        margin-right: 0;
    }

    .navbar-nav {
        margin: 0;
    }



    .content-area .phone,
    .content-area .email,
    .content-area .web {
        font-size: 14px;
        clear: both;
    }

    .bottom-gallery .col-md-4 {
        width: 33.3333%;
        float: left;
    }

    .content-area .phone img,
    .content-area .email img,
    .content-area .web img {
        float: left;
    }

    .sidebar-box h3 {
        padding: 10px 0 10px 20px;
        line-height: 1;
        font-size: 14px;
    }


}

@media only screen and (max-width: 479px) {

    .content-area .phone img,
    .content-area .email img,
    .content-area .web img {
        display: block;
    }

    .bottom-gallery .col-md-4 {
        width: 100%;
        float: none;
        display: block;
    }

    footer .socialtext {
        background: url(../images/social-bg.png) no-repeat;
        background-size: contain;
        background-position: center;
        color: #fff;
        text-align: center;
        padding-top: 4px;
        padding-bottom: 8px;
        margin: 0 auto;
    }

}

@media only screen and (max-width: 767px) {
    .fb-comments {
        width: 100% !important;
    }

    .fb-comments iframe[style] {
        width: 100% !important;
    }

    .fb-like-box {
        width: 100% !important;
    }

    .fb-like-box iframe[style] {
        width: 100% !important;
    }

    .fb-comments span {
        width: 100% !important;
    }

    .fb-comments iframe span[style] {
        width: 100% !important;
    }

    .fb-like-box span {
        width: 100% !important;
    }

    .fb-like-box iframe span[style] {
        width: 100% !important;
    }
}

#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

.errmsg {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    line-height: 18px !important;
    display: block;
    clear: both;
    margin-bottom: 5px;
    color: red !important;
}

.grecaptcha-badge {
    display: none !important
}

.term_text {
    line-height: 1.33;
    font-size: 10px !important;
    font-family: 'Lato', sans-serif !important;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 14px !important
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 14px !important
}

:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 14px !important
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 14px !important
}

.disable {
    pointer-events: none !important;
}

#errormsg {
    display: none !important;
}

#submitBtn {
    background: -webkit-linear-gradient(#6fcf12, #469b0b);
    background: linear-gradient(#6fcf12, #469b0b);
    border: none;
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 180px;
    /* match input width */
    text-align: center;
}

#submitBtn:hover {
    background: -webkit-linear-gradient(#7fe22a, #52b012);
    background: linear-gradient(#7fe22a, #52b012);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-details {
    background: #f5f7fa;
    border-left: 4px solid #0058a4;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #555;
    margin-bottom: 18px;
}

#formContainer {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 4px;
}






#submitBtn {
    letter-spacing: 0.5px;
}





.contact-value {
    color: #666;
}

.contact-details {
    padding-left: 40px;
    /* shifts content right */
}

.contact-label {
    width: 65px;
    font-weight: 600;
    color: #444;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

#submitBtn.loading .btn-text {
    display: none;
}

#submitBtn.loading .btn-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-wrapper {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.popup-box {
    position: relative;
    background: #fff;
    width: 420px;
    max-width: 90%;
    margin: 15% auto;
    padding: 25px;
    border-radius: 6px;
    text-align: center;
}

.popup-box h2 {
    color: #0058a4 !important;
    font-size: 30px;
    font-weight: 600;
    margin-top: 0;
}

.popup-box {
    position: relative;
    background: #fff;
    width: 420px;
    max-width: 90%;
    margin: 15% auto;
    padding: 30px 25px 30px 45px;
    /* LEFT space for line */
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}





.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}


/* === CONTACT FORM OVERRIDES (FINAL) === */

#formContainer {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 4px;
}

#submitBtn {
    background: linear-gradient(#6fcf12, #469b0b);
    border: none;
    color: #fff;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 180px;
}

#submitBtn.loading .btn-text {
    display: none;
}

#submitBtn.loading .btn-spinner {
    display: inline-block;
}

/* ===== MODAL FINAL STYLING ===== */

#formSuccessModal .popup-box {
    position: relative;
    padding-left: 20px;
}

#formSuccessModal .popup-box::before {
    content: "";
    position: absolute;
    top: 18%;
    bottom: 18%;
}


/* Modal heading */
#formSuccessModal h2 {
    color: #0058a4;
    font-size: 30px;
    font-weight: 600;
    margin-top: 0;
}

/* ===============================
   MOBILE & TABLET RESPONSIVENESS
   =============================== */

/* Make images & iframes fluid */
img,
iframe {
    max-width: 100%;
    height: auto;
}

/* ---------- TABLET (≤ 991px) ---------- */
@media (max-width: 991px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-right {
        padding: 20px 0 0;
        text-align: center;
    }

    .header-right img {
        float: none;
        margin: 0 auto;
    }

    /* Stack main + sidebar */
    .col-md-8,
    .col-md-4 {
        width: 100%;
        float: none;
    }

    .content-area {
        padding: 20px;
    }

    /* Contact details stack */
    .contact-item {
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact-label {
        width: auto;
    }
}

/* ---------- MOBILE (≤ 767px) ---------- */
@media (max-width: 767px) {

    body {
        background-size: cover;
    }

    /* Logo */
    .navbar-brand {
        width: 70%;
        padding: 10px 15px;
    }

    /* Mobile menu */
    .navbar-collapse {
        border-radius: 0;
        margin-bottom: 15px;
    }

    .navbar-inverse .navbar-nav>li {
        border-right: none;
        border-bottom: 1px solid #000;
    }

    .navbar-inverse .navbar-nav>li>a {
        width: 100%;
        padding: 12px 15px;
        text-align: left;
    }

    /* Content spacing */
    .content-area {
        padding: 15px;
    }

    .content-area h1 {
        font-size: 22px;
    }

    .content-area h2 {
        font-size: 20px;
    }

    /* Form: full width inputs */
    input,
    select,
    textarea {
        width: 100%;
    }

    #submitBtn {
        width: 100%;
    }

    /* Sidebar */
    .sidebar-box {
        margin-top: 25px;
    }

    /* Footer */
    footer {
        text-align: center;
    }

    footer .navbar-nav {
        margin: 0 auto 15px;
    }
}

/* ---------- SMALL PHONES (≤ 479px) ---------- */
@media (max-width: 479px) {

    .content-area h1 {
        font-size: 20px;
    }

    .content-area h2 {
        font-size: 18px;
    }

    .popup-box {
        margin: 25% auto;
        padding: 25px 20px 25px 40px;
    }

    .popup-box h2 {
        font-size: 22px;
    }

    /* Blue modal line stays visible */
    #formSuccessModal .popup-box::before {
        top: 20%;
        bottom: 20%;
    }
}

@media (max-width: 767px) {
    body {
        background-size: auto;
        background-position: top center;
    }
}

/* ===============================
   MOBILE HEADER (MATCH OLD SITE)
   =============================== */
@media (max-width: 767px) {

    /* Stack header columns */
    .navbar .col-md-6 {
        width: 100%;
        float: none;
    }

    /* Logo */
    .navbar-brand {
        width: 75%;
        padding: 0;
        margin: 0;
        margin-top: 15px;
        /* pushes logo down from browser edge */
    }

    .navbar-brand img {
        max-width: 100%;
        height: auto;
    }

    /* Burger button */
    .navbar-toggle {
        float: right;
        margin-top: 56px;
        margin-bottom: 27px;
        margin-right: 0;
        border-color: #fff;
    }

    /* Phone image BELOW logo + burger */
    .header-right {
        clear: both;
        padding-top: 0;
        text-align: left;
        margin-left: 15px;
    }

    .header-right img {
        float: none;
        max-width: 260px;
    }

    .navbar-collapse {
        margin-top: 25px !important;
    }

    .content-area {
        border-radius: 8px 8px 0 0;
        overflow: hidden;
        /* prevents blue background bleed */
    }

    .navbar-collapse {
        border-radius: 8px;
        overflow: hidden;
    }

    .sidebar-box {
        border-radius: 8px;
        overflow: hidden;
        /* keeps inner background clean */
    }

    .sidebar-box h3 {
        background: linear-gradient(#0057a4, #014f95);
        padding: 12px 15px;
        line-height: 1;
        font-size: 15px;
        font-weight: bold;
        text-transform: uppercase;
        color: #fff;

        /* Rounded top only */
        border-radius: 8px 8px 0 0;

        /* REMOVE margin – this is important */
        margin: 0;
    }
}



@media (max-width: 767px) {

    .content-area .col-md-5 {
        margin-bottom: 15px;
        /* space between image & text */
    }

    footer .navbar-nav>li>a {
        font-size: 16px;
        /* bigger & finger-friendly */
        line-height: 1;
        padding: 6px 0;
        /* better tap area */
    }

    footer h3 {
        font-size: 18px;
        /* optional: bigger headings */
    }
}

/* Allow scaling without clipping */
ul.socialicons,
ul.socialicons li,
ul.socialicons li a {
    overflow: visible;
}

/* Make hover transform visible */
ul.socialicons li a {
    display: inline-block;
}

ul.socialicons li img {
    transition: transform 0.2s ease-in-out;
    transform-origin: center center;
}

/* Hover effect */
ul.socialicons li a:hover img {
    transform: scale(1.2);
}

@media (max-width: 991px) {

    .content-area .col-md-5,
    .content-area .col-md-7 {
        float: none !important;
        width: 100% !important;
    }

    .content-area .col-md-5 {
        margin-bottom: 20px;
    }
}

.content-area img.img-responsive {
    width: 100%;
}

@media (max-width: 991px) {
    .header-right {
        text-align: center;
        padding: 15px 0 0;
    }

    .header-right img {
        max-width: 260px;
        /* keeps phone image readable */
        margin: 0 auto;
        float: none;
    }
}

/* ===== HEADER: TABLET INLINE, MOBILE STACKED ===== */

/* TABLET: keep logo + phone on same line */
@media (min-width: 768px) and (max-width: 991px) {

    .navbar .col-md-6 {
        width: 50%;
        float: left;
    }

    .navbar-brand {
        text-align: left;
        margin: 0;
    }

    .header-right {
        text-align: right;
        padding-top: 20px;
    }

    .header-right img {
        max-width: 260px;
        float: right;
        margin: 0;
    }
}

/* MOBILE: stack logo + phone */
@media (max-width: 767px) {

    .navbar .col-md-6 {
        width: 100%;
        float: none;
    }

    .navbar-brand {
        text-align: center;
        margin: 10px auto;
    }

    .header-right {
        text-align: center;
        padding-top: 10px;
    }

    .header-right img {
        float: none;
        margin: 0 auto;
    }
}

/* Tablet: align phone image with logo */
@media (min-width: 768px) and (max-width: 991px) {

    .header-right {
        padding-top: 78px;
        /* adjust as needed */
    }
}

/* Tablet: force submit button + captcha text left */
@media (min-width: 768px) and (max-width: 991px) {

    #submitBtn {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: inline-block;
    }

    .term_text,
    .g-recaptcha,
    #formContainer small,
    #formContainer p {
        text-align: left !important;
    }
}

/* Tablet: force form rows left-aligned */
@media (min-width: 768px) and (max-width: 991px) {

    #formContainer .row {
        text-align: left !important;
    }

    #formContainer .row .col-md-12,
    #formContainer .row .col-sm-12 {
        text-align: left !important;
    }
}

.short-video-portrait {
    position: relative;
    width: 100%;
    background: #000;
    padding: 8px;
    border-radius: 6px;
}

.short-video-portrait::before {
    content: "";
    display: block;
    padding-top: 177.78%;
    /* 9:16 portrait */
}

.short-video-portrait iframe {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 0;
}

@media (min-width: 768px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }
}