/* ================================
   Base HTML & Body
================================ */
html,
body {
    height: 100%;    /* Fill entire window height */
    margin: 0;       /* Reset default margin */
    padding: 0;      /* Reset default padding */
    font-size: clamp(16px, 2vw, 18px);
    background: var(--bs-body-bg);
    box-sizing: border-box;
}

/* body as a flex container */
body {
    display: flex;
    flex-direction: column;
    background: rgb(255, 255, 255);
    font-family: 'Truculenta', sans-serif; /* fallback if Truculenta doesn't load */
}

/* .section (main content) grows to fill remaining space */
.section {
    flex: 1;
}

/* Custom styling for the page title and spacing */
.page-title {
    color: #30a3a6;
    font-family: 'Truculenta', sans-serif;
    margin: 20px 0;
    text-align: center;
    }
    /* Custom modal styles (similar to your scheduling modal) */
    #downloadModal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased; 
    z-index: 1050;
    width: auto;
    max-width: 90%;
    }
    /* Ensure the modal card looks like a standalone card */
    #downloadModal .card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    /* Backdrop styling */
    .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    }

/* ================================
   Navbar & Header
================================ */
.nav-white-bg {
    background: rgb(255, 255, 255);
}

/* Logo Icon */
.logo-icon {
    background: url('/assets/img/dearhire_logo1.webp') center / contain;
    width: 40px;
    height: 40px;
}

/* Transparent Logo Button */
.btn-logo {
    background: transparent;
    border-style: none;
    padding-right: 0px;
    padding-left: 0px;
    font-size: 2rem;
    font-weight: bold;
    color: rgb(48, 163, 166);
}

/* Login / Register Button */
.btn-login-register {
    background: #258b8d;
    border-style: none;
    font-size: 1.25rem;
}

/* Span text color for "DearHire" */
.dearhire-text {
    color: rgb(48, 163, 166);
    font-family: 'Truculenta', sans-serif;
}

/* ================================
   Banner Image
================================ */
.banner-container {
    width: 100%;
}

.banner-image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

/* ================================
   Technical Error Text
================================ */
.tech-error-heading {
    font-family: 'Truculenta', sans-serif;
    font-size: 3rem;
    padding-top: 0px; /* from inline */
}

.tech-error-subheading {
    font-family: 'Truculenta', sans-serif;
    font-size: 1.5rem;
}

/* CTA Button */
.btn-aqua {
    font-family: 'Truculenta', sans-serif;
    font-size: 1.5rem;
    background: #30a3a6;
    border-color: #30a3a6;
    border-style: none;
}


/* ================================
   Modal (if needed)
================================ */
.modal {
    display: none; 
    align-items: center;
    justify-content: center;
    position: fixed; 
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: transparent; 
    border: none; 
}

.modal-content img {
    max-width: 50%;
    max-height: 70vh;
    height: auto;
}

img {
    margin-bottom: 20px;
}

.btn-main-color {
    background-color: #30a3a6;
    color:white;
}

/* ================================
   Footer Styles
================================ */
.footer-link {
    color: #30a3a6;
    font-family: 'Truculenta';
}

.footer-social-icon {
    color: #30a3a6;
}

/* -----------------------------------
   OVERRIDE: Navbar Brand Hover
----------------------------------- */
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
    background-color: transparent !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* -----------------------------------
   OVERRIDE: Logo Button Hover
----------------------------------- */
.btn-logo:hover,
.btn-logo:focus,
.btn-logo:active {
    background-color: transparent !important;
    color: rgb(48, 163, 166) !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* -----------------------------------
   OVERRIDE: .btn-primary + .btn-transparent
----------------------------------- */
.btn.btn-primary.btn-transparent:hover,
.btn.btn-primary.btn-transparent:focus,
.btn.btn-primary.btn-transparent:active {
    background-color: transparent !important;
    border-color: transparent !important;
    color: rgb(48, 163, 166) !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #a0674b !important;
    border-color: #a0674b !important;
    color: #fff !important;
}

/* -----------------------------------
   OVERRIDE: Default Link Color 
----------------------------------- */
a {
    color: #30a3a6;
    text-decoration: none; /* optional if you want to remove underlines */
}
