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

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    margin: 0;
    padding: 0;
    color: #222;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    padding-top: 120px;
    padding-bottom: 80px;
}


.flash-notice {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  min-width: 250px;
  max-width: 400px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 6px;
  margin-top: 70px;
}
.flash-notice .alert {
  margin: 0;
}

.panel-default {
    margin-top: 100px !important;
}

/* Main content containers: same max-width and padding as header */
.home-page .container.my-5,
.home-page .container.my-4 {
    max-width: var(--content-max-width);
    margin-inline: auto;
    padding-inline: var(--content-padding);
}

/* Nested container (cards section): no extra padding so cards align with content above */
.home-page .container.my-5 .container.my-4 {
    padding-inline: 0;
    max-width: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

p, li {
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none !important;
}

form label {
    font-size: 14px;
    font-weight: 500 !important;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: #000;
}

/* ---------------------------
   CENTERED LAYOUT (equal left/right space)
--------------------------- */
:root {
    --content-max-width: 1200px;
    --content-padding: clamp(24px, 5vw, 80px);
}

/* ---------------------------
   NAVBAR
--------------------------- */
.navbar_new {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: fixed;
}

.navbar_new-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--content-max-width);
    padding: clamp(12px, 2.5vw, 20px) var(--content-padding);
}

/* Logo */
.navbar_new img.logo {
    width: clamp(110px, 14.5vw, 161px) !important;
}

/* Navbar buttons */
ul.navbar-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style-type: none;
    margin: 0;
}

ul.navbar-buttons a,
ul.navbar-buttons button,
.navbar-user-buttons a span {
    font-size: 13px;
    font-weight: 600;
}

ul.navbar-buttons a:not(.navbar-contact-link) {
    color: #1b355f;
}

/* Navbar: responsive padding for inner */
@media (max-width: 768px) {
    .navbar_new-inner {
        padding: 12px var(--content-padding);
    }

    .navbar_new .navbar-buttons {
        gap: 10px;
    }

    /* Small screens: show only Login, hide Contact Us */
    .navbar_new .navbar-contact-link {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar_new .navbar-buttons {
        gap: 8px;
    }
}

/* Navbar buttons styling */
.header-login-button {
    padding: 0 clamp(16px, 2.8vw, 28px);
    background-color: #009FDF;
    color: #002855;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.header-login-button:hover {
    background-color: #007bb8;
}

.header-contact-us-button {
    padding: 0 clamp(16px, 2.8vw, 28px);
    background-color: #fff;
    color: #002855;
    border: clamp(1.5px, 0.2vw, 2px) solid #002855;
    border-radius: 999px;
    cursor: pointer;
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-login-button,
.header-contact-us-button {
    display: inline-flex;
    height: clamp(36px, 3vw, 42px);
    padding: 0 clamp(16px, 2.8vw, 28px);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.header-contact-us-button-above-footer {
    display: none;
}

/* Mobile view (phones + small tablets) */
@media (max-width: 768px) {
    .header-contact-us-button {
        display: none;
    }

    .header-contact-us-button-above-footer {
        display: inline-flex;
    }
}

/* ---------------------------
   HEADER / HERO
--------------------------- */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 60px;
    min-height: 500px;
    background-size: cover;
    color: #002855;
}

.home-page header {
    background: url('/images/dropmysite-new-home/Hero.png') no-repeat center top;
    background-size: cover;
}

.text-top-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--content-max-width);
    margin-inline: auto;
    gap: clamp(16px, 4vw, 48px);
    padding-inline: var(--content-padding);
    padding-block: clamp(24px, 6vh, 80px);
}

.text-top-banner {
    max-width: 55%;
}

.text-top-banner h1 {
    font-size: 70px;
    line-height: 1.1;
}

.text-top-banner span {
    display: block;
    font-size: 24px;
    font-weight: 400;
    margin-top: 10px;
}

.text-top-banner-container img {
    width: 35%;
    height: auto;
}

/* Hero responsive (Mobile ≤768px) */
@media (max-width: 768px) {
    .text-top-banner-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .text-top-banner {
        max-width: 100%;
    }

    .text-top-banner-container img {
        align-self: flex-start;
        width: 85%;
    }
}

/* Fix specifically between 481px–779px */
@media (min-width: 481px) and (max-width: 779px) {
    .text-top-banner-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-top: 30%;
    }

    .text-top-banner {
        max-width: 100%;
    }

    .text-top-banner-container img {
        align-self: center;
        max-width: 40%;
    }
}

/* ---------------------------
   IMAGE CONTAINERS
--------------------------- */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    opacity: 0.75;
    transition: transform 0.3s ease, opacity 0.3s ease;
}



/* Optional hover effect (desktop only feel) */
@media (hover: hover) {
    .main-image:hover {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* Tablet ≤1024px */
@media (max-width: 1024px) {
    .image-container {
        padding: 16px;
    }

    .main-image {
        max-width: 95%;
        border-radius: 14px;
    }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
    .image-container {
        padding: 12px;
        margin-top: 24px;
    }

    .main-image {
        max-width: 100%;
        border-radius: 12px;
        opacity: 0.85;
    }
}

/* Small Mobile ≤480px */
@media (max-width: 480px) {
    .image-container {
        padding: 8px;
    }

    .main-image {
        border-radius: 10px;
    }
}

/* ---------------------------
   ABOUT SECTION
--------------------------- */
.about-section {
    padding: 8rem 0 !important;
}

.about-text-column {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-heading {
    font-size: clamp(28px, 4vw, 38px);
    color: #002855;
    margin-bottom: 2rem;
}

.about-text-column p {
    font-size: clamp(14px, 1.6vw, 18px);
    color: #002855;
}

/* ---------------------------
   FEATURE BLOCKS
--------------------------- */
.design-box {
    background: rgba(216, 223, 229, 0.5);
    border-radius: 12px;
    padding: 2.5rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.item-svg {
    width: clamp(60px, 10vw, 80px);
    margin-bottom: 1rem;
}

.item-title {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 1rem;
    color: #002855;
    min-height: 60px;
    display: flex;
    line-height: 1.3;
}

.item-text {
    font-size: clamp(13px, 1.5vw, 16px);
    color: #002855;
}

/* ---------------------------
   FOOTER
--------------------------- */
footer {
    background-color: #002855;
    color: #fff;
    padding: 32px 0;
    font-size: 14px;
}

footer .footer-hr {
    border: none;
    height: 1px;
    background-color: white;
    margin: 35px auto;
    max-width: var(--content-max-width);
    width: calc(100% - (2 * var(--content-padding)));
}

footer .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-max-width);
    margin-inline: auto;
    padding: 0 var(--content-padding);
    gap: 16px;
}

footer .footer-left,
footer .footer-right {
    flex: 1;
    min-width: 250px;
}

footer .footer-left {
    text-align: left;
}

footer .footer-right {
    text-align: right;
}

/* Footer links */
footer a.no-link {
    color: #ffffff;
    transition: opacity 0.2s ease;
}

footer a.no-link:hover {
    opacity: 0.8;
}

/* Footer responsive */
@media (max-width: 1024px) {
    footer {
        padding: 28px 0;
    }

    footer .footer-hr {
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    footer {
        font-size: 13px;
    }

    footer .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 0 var(--content-padding);
        gap: 12px;
    }

    footer .footer-left,
    footer .footer-right {
        text-align: center;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 12px;
        padding: 24px 0;
    }

    footer .footer-left {
        line-height: 1.6;
    }
}

/* ---------------------------
   CONTACT PAGE
--------------------------- */
.contact-page {
    color: #002855;
}

.contact-page__intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 4rem;
}

.contact-card {
    background-color: #EDF5FB !important;
    border-radius: 1rem;
}

.contact-card__body {
    padding: 6rem !important;
}

.recaptcha-wrapper {
    display: inline-block;
    position: relative;
}

.recaptcha-wrapper.is-invalid {
    border: 2px solid #dc3545;
    border-radius: 4px;
    padding: 2px;
}

.recaptcha-wrapper .g-recaptcha {
    display: block;
}

@media (max-width: 768px) {
    .contact-card__body {
        padding: 4rem !important;
    }
}

@media (max-width: 480px) {
    .contact-card__body {
        padding: 3rem !important;
    }
}

.contact-page .contact-page__intro-text {
    max-width: var(--content-max-width);
    margin-inline: auto;
    padding-inline: var(--content-padding);
}

/* ---------------------------
   LOGIN PAGE
--------------------------- */
.login-page
.login-form__two-factor label {
    font-size: 10px;
}

.login-card {
    background-color: #EDF5FB !important;
    padding: 5rem !important;
}

.login-card__title {
    letter-spacing: normal;
    line-height: 1.2;
    color: #002855;
}

.login-page .login-form__checkbox {
    margin-top: 7px;
}

.login-form__info-icon {
    width: 14px;
    height: 14px;
    background-color: #009FDF;
    border: 2px solid #009FDF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-form__info-icon .bi {
    color: #fff;
    font-size: 9px;
    line-height: 1;
}

.login-form__2fa-modal h3,h4 {
  color: #002855;
}


@media (max-width: 768px) {
    .login-card {
        padding: 4rem !important;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1rem !important;
    }
}

/* ---------------------------
   FORGOT PAGE
--------------------------- */
.forgot-password-page
.forgot-password-form__two-factor label {
    font-size: 10px;
}

.forgot-password-card {
    background-color: #EDF5FB !important;
    padding: 5rem !important;
}

.forgot-password-card__title {
    letter-spacing: normal;
    line-height: 1.2;
}

.forgot-password-page .forgot-password-form__checkbox {
    margin: 2px;
}

.forgot-password-form__recaptcha-wrapper,
.forgot-password-form__recaptcha {
    transform: scale(0.8);
    transform-origin: 0 0;
}

@media (max-width: 768px) {
    .forgot-password-card {
        padding: 3rem !important;
    }
}

@media (max-width: 480px) {
    .forgot-password-card {
        padding: 2rem !important;
    }
}

/* ---------------------------
   PRIVACY & TERMS
--------------------------- */
.privacy-policy-page h1{
    font-size: 3rem !important;
}

.terms-page h1{
    font-size: 3rem !important;
}

.privacy-policy-page,
.terms-page {
    color: #002855;
}

/* Main content containers */
.privacy-policy-page .container.my-5,
.privacy-policy-page .container.my-4,
.terms-page .container.my-5,
.terms-page .container.my-4 {
    max-width: var(--content-max-width);
    margin-inline: auto;
    padding-inline: var(--content-padding);
}

.privacy-policy-page p,
.privacy-policy-page li,
.terms-page p,
.terms-page li {
    text-align: justify !important;
}

.terms-page .roman-list {
    list-style-type: upper-roman;
    padding-left: 4rem;
}

.terms-page .roman-list li::marker {
    font-weight: 800;
}

.terms-page .roman-list li {
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Recaptcha adjustments */
.login-form__recaptcha-wrapper,
.contact-form__recaptcha {
    transform: scale(0.7);
    transform-origin: 0 0;
}

/* =========================================================
   FINAL RESPONSIVE FONT OVERRIDES
========================================================= */

/* Desktop / Default ≥1024px */
body { font-size: 16px; }

p, li, footer, footer a, form label,
input, textarea, select, span {
    font-size: 14px;
}

button,
.header-login-button,
.header-contact-us-button {
    font-size: 15px;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.text-top-banner h1 { font-size: 70px; }
.text-top-banner span { font-size: 24px; }

/* Tablet ≤1023px */
@media (max-width: 1023px) {
    body { font-size: 15px; }

    p, li, footer, footer a, form label,
    input, textarea, select, span {
        font-size: 13.5px;
    }

    button,
    .header-login-button,
    .header-contact-us-button {
        font-size: 14px;
    }

    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    h5 { font-size: 17px; }
    h6 { font-size: 15px; }

    .text-top-banner h1 { font-size: 48px; }
    .text-top-banner span { font-size: 18px; }
}

/* Mobile ≤767px */
@media (max-width: 767px) {
    body { font-size: 14px; }

    p, li, footer, footer a, form label,
    input, textarea, select, span {
        font-size: 13px;
    }

    button,
    .header-login-button,
    .header-contact-us-button {
        font-size: 13px;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    h5 { font-size: 16px; }
    
    .text-top-banner h1 { font-size: 48px; }
    .text-top-banner span { font-size: 18px; }

    .item-title {
        min-height: 30px;
    }
}

/* Style for mobileview navbar on the dashboard Begin */

@media (min-width: 768px) {
    #navbarSupportedContent.collapse {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* Hide desktop navbar if mobile navbar exists */
    body:has(.mobile-view-navbar) .desktop-view-navbar {
        display: none;
    }
    .mobile-view-navbar {
        display: block;
    }
}




/* Navbar inner relative */
.navbar_new-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between; /* logo left, hamburger right */
  align-items: center;
}

/* Hamburger top-right */
.mobile-hamburger.visible-xs {
  position: absolute;
  top: 0;
  right: 15px;
  z-index: 1100;
}

/* Hamburger icon black */
.navbar-toggle .icon-bar {
  background-color: #000 !important;
}

/* Collapse menu as overlay (mini jumbotron) */
#navbarSupportedContent.collapse.navbar-collapse {
  display: none;
  position: fixed;         /* overlay on top of page */
  top: 50px;               /* just below navbar */
  right: 15px;             /* align right */
  z-index: 9;
  background-color: #fff;
  padding: 20px 15px;
  min-width: 200px;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Show collapse when toggled */
#navbarSupportedContent.collapse.in {
  display: block !important;
}

/* Stack buttons vertically, right-aligned */
@media (max-width: 767px) {
  #navbarSupportedContent .header-login-button,
  #navbarSupportedContent .navbar-contact-link,
  #navbarSupportedContent .navbar-user-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex;
    margin: 5px 0;
    width: 100%;
    text-align: right;
  }

  #navbarSupportedContent .btn {
    width: 100%; /* fill overlay width */
    margin-bottom: 8px;
  }
}

/* Style for mobileview navbar on the dashboard End */
