/* ================================================================
   layout.css  –  Comply4HR .NET Core Project
   v2 – Fixes: glassmorphism, logo size, second-nav borders,
        active state, button sizing
   ================================================================ */

/* ---------------------------------------------------------------
   CSS Variables
--------------------------------------------------------------- */
:root {
    --backcolor: #F58732;
    --whitcolor: #ffffff;
    --darkblue: #1C305E;
    --blue-grey: #F1F2F2;
    --c4hrGrey: #747474;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.font-family-play {
    font-family: 'DM Sans', sans-serif;
}

.font-size-15 {
    font-size: 15px;
}

.websitecolor {
    background-color: var(--darkblue);
    color: #fff;
}

/* ================================================================
   FIXED NAV WRAPPER
================================================================ */
.navbarsection {
    position: relative;
    z-index: 9999;
}

.fullnav {
    z-index: 10000;
}

/* ----------------------------------------------------------------
   GLASSMORPHISM
   The key fix: use !important to override Bootstrap's bg-transparent
   which was making it plain white in the new build
---------------------------------------------------------------- */
.bg-darkk {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

/* ================================================================
   TOP NAV (first bar)
================================================================ */
.firstnavbar {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(28, 48, 94, 0.12);
}

.firstnav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
}

/* Logo */
.logo {
    width: auto;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

/* Phone & Email */
.navcontactdetails {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .navcontactdetails a {
        color: var(--darkblue);
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        line-height: 1.6;
    }

        .navcontactdetails a:hover {
            color: var(--backcolor);
        }

/* CTA buttons */
.singinbtn {
    display: flex;
    align-items: center;
}

/* ================================================================
   NAVBAR CONTACT LINKS
   Extracted from inline styles in _Layout.cshtml
================================================================ */

/* Phone number links (+91-98719 90806 | +91-99910 53587) */
.nav-phone-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--darkblue);
    text-decoration: none;
}

    .nav-phone-link:hover {
        color: var(--backcolor);
    }

/* Pipe separator between phone numbers */
.nav-separator {
    color: var(--darkblue);
    font-size: 10px;
    font-weight: 700;
}

/* Email link */
.nav-email-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--darkblue);
    text-decoration: none;
}

    .nav-email-link:hover {
        color: var(--backcolor);
    }

/* Welcome username link (authenticated state) */
.nav-welcome-link {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--darkblue);
    text-decoration: none;
}

/* Logout form — keeps it inline alongside sibling buttons */
.nav-logout-form {
    display: inline;
}

.normal-btn {
    background-color: var(--darkblue);
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background 0.2s;
}

    .normal-btn:hover {
        background-color: #14254a;
    }

.normal-btn2 {
    background-color: var(--backcolor);
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background 0.2s;
}

    .normal-btn2:hover {
        background-color: #d6731e;
    }

/* Mobile hamburger — hidden on desktop */
.menupng {
    display: none;
    cursor: pointer;
}

    .menupng img {
        width: 32px;
    }

/* Mobile nav drawer — hidden by default */
#navdivmy1 {
    display: none;
}

/* ================================================================
   SECOND NAV BAR
================================================================ */
.secondnavbarsetion {
    border-top: none;
    padding: 0;
}

.mysecondnavrow {
    border-radius: 0 0 12px 12px;
    overflow: visible;
}

    /* Column dividers */
    .mysecondnavrow .col {
        border-right: 1px solid rgba(28, 48, 94, 0.35);
        padding: 0;
        position: relative;
        overflow: visible !important;
        transition: background-color 0.2s ease;
    }

        .mysecondnavrow .col:last-child {
            border-right: none;
        }

    /* Soft rounded background on hover and active */
    .mysecondnavrow .col:hover,
    .mysecondnavrow .col.active {
        background-color: #E8EEF5;
        border-radius: 8px 8px 0 0;
    }

/* Nav link base */
.secondnav .nav-link,
.dropbtn1, .dropbtn3, .dropbtn4 {
    color: var(--darkblue);
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    padding: 8px 6px;
    line-height: 1.35;
    letter-spacing: 0.2px;
    display: block;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: color 0.15s;
}

    .secondnav .nav-link span,
    .dropbtn1 span, .dropbtn3 span, .dropbtn4 span {
        display: block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        color: var(--darkblue);
        margin-bottom: 2px;
    }

/* Active and hover text styling keeps crisp navy */
.mysecondnavrow .col.active .nav-link,
.mysecondnavrow .col.active .dropbtn1,
.mysecondnavrow .col.active .dropbtn3,
.mysecondnavrow .col.active .dropbtn4,
.secondnav .nav-link:hover,
.dropbtn1:hover, .dropbtn3:hover, .dropbtn4:hover {
    color: var(--darkblue);
}

/* ---- Custom dropdown panels ---- */
.dropdownnav1, .dropdownnav3, .dropdownnav4 {
    position: relative;
    width: 100%;
    overflow: visible !important;
}

.dropdown-content1,
.dropdown-content3,
.dropdown-content4 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff !important;
    min-width: 215px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 0 12px 12px 12px;
    z-index: 999999 !important;
    overflow: visible !important;
    border: 1px solid rgba(28, 48, 94, 0.12);
    padding: 6px 0;
}

/* Invisible hover bridge between button and dropdown to prevent flicker */
.dropdown-content1::before,
.dropdown-content3::before,
.dropdown-content4::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

    .dropdown-content1 a,
    .dropdown-content3 a,
    .dropdown-content4 a {
        display: block !important;
        padding: 9px 20px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: var(--darkblue) !important;
        text-decoration: none !important;
        border-bottom: 1px solid #f2f4f8;
        white-space: nowrap !important;
        text-align: left !important;
        background-color: #fff;
        transition: background 0.15s, color 0.15s, padding-left 0.15s;
    }

        .dropdown-content1 a:last-child,
        .dropdown-content3 a:last-child,
        .dropdown-content4 a:last-child {
            border-bottom: none;
        }

        .dropdown-content1 a:hover,
        .dropdown-content3 a:hover,
        .dropdown-content4 a:hover {
            background-color: #E8EEF5 !important;
            color: var(--backcolor) !important;
            padding-left: 24px !important;
        }

/* Show on hover */
.dropdownnav1:hover .dropdown-content1,
.dropdownnav3:hover .dropdown-content3,
.dropdownnav4:hover .dropdown-content4,
.col:hover .dropdown-content1,
.col:hover .dropdown-content3,
.col:hover .dropdown-content4,
.nav-dropdown-open {
    display: block !important;
}

/* ================================================================
   BODY OFFSET — clears the fixed navbar
   top bar ≈ 84px + second bar ≈ 48px + padding ≈ 135px
================================================================ */
main {
    margin-top: 100px;
}

/* ================================================================
   ENQUIRY MODAL (Above fixed navbar z-index 10000)
================================================================ */
.modal {
    z-index: 10500 !important;
}

.modal-backdrop {
    z-index: 10400 !important;
}

.registrationheader {
    background-color: var(--darkblue);
    padding: 12px 20px;
    border-bottom: none;
}

.modelbodycolor {
    background-color: #fff;
    padding: 2rem;
}

.registerpadder {
    padding: 1rem 0;
}

.modelsecondpadding {
    padding: 1rem 0;
}

.modelfirsthalf label {
    color: var(--backcolor);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.modelfirsthalf h3 {
    color: var(--darkblue);
    font-size: 22px;
    line-height: 1.3;
}

.modelfirsthalf p {
    color: var(--c4hrGrey);
    font-size: 13px;
    margin-top: 1rem;
}

.modelfirsthalf1 {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--blue-grey);
    border-radius: 8px;
}

    .modelfirsthalf1 label {
        font-weight: 700;
        font-size: 12px;
        color: var(--darkblue);
    }

    .modelfirsthalf1 p {
        font-size: 12px;
        color: var(--c4hrGrey);
    }

    .modelfirsthalf1 a {
        color: var(--backcolor);
    }

.forsubmodel .forminputback {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
}

.forsubmodel input[type="text"],
.forsubmodel input[type="email"],
.forsubmodel select,
.forsubmodel textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 12.5px;
    border: none;
    outline: none;
    background: transparent;
    color: #333;
    font-family: 'DM Sans', sans-serif;
}

.forsubmodel select {
    appearance: auto;
}

.forsubmodel textarea {
    resize: vertical;
    min-height: 80px;
}

.margintopreg {
    margin-top: 1.5rem;
}

/* Ensure Enquiry Modal Submit button is always prominently visible */
#enquiryModal input[type="submit"],
#enquiryForm input[type="submit"],
.forsubmodel input[type="submit"],
.forsubmodel .normal-btn2 {
    background-color: var(--backcolor, #f58732) !important;
    color: #ffffff !important;
    border: 1px solid var(--backcolor, #f58732) !important;
    border-radius: 25px !important;
    padding: 10px 42px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    width: auto !important;
    display: inline-block !important;
    box-shadow: 0 4px 14px rgba(245, 135, 50, 0.35) !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

#enquiryModal input[type="submit"]:hover,
#enquiryForm input[type="submit"]:hover,
.forsubmodel input[type="submit"]:hover,
.forsubmodel .normal-btn2:hover {
    background-color: #d6731e !important;
    color: #ffffff !important;
    border-color: #d6731e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(214, 115, 30, 0.45) !important;
}

/* ================================================================
   FOOTER
================================================================ */
footer.websitecolor {
    padding: 4rem 0 2rem;
}

/* ----------------------------------------------------------------
   DASHBOARD FOOTER — mirrors Landing page footer, dark navy bg
---------------------------------------------------------------- */
footer.dashboard-footer {
    display: block;
    background: var(--darkblue); /* #1C305E — keep dashboard colour */
    padding-top: 32px;
    padding-bottom: 0;
}

/* Outer flex wrapper — mirrors landing .wrap */
.dsh-ftr-wrap {
    margin: 0 auto;
    width: 96%;
    max-width: 1341px;
    min-width: 280px;
    display: flex;
    justify-content: space-between;
}

/* LEFT ASIDE — contact data */
.dsh-ftr-data {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 57%;
}

.dsh-ftr-mob {
    margin-bottom: 10px;
}

.dsh-ftr-hd {
    display: block;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
    font-family: 'DM Sans', sans-serif;
}

.dsh-ftr-data .dsh-ftr-mob p {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Contact list rows */
.dsh-ftr-data ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.dsh-ftr-data ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;                          /* compact vs landing 33px */
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dsh-ftr-data ul li:last-child {
    border-bottom: none;
}

.dsh-ftr-data ul li > span:first-child {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.dsh-ftr-data ul li > span:last-child {
    color: #fff;
    font-size: 13px;
    max-width: 72%;
    text-align: right;
}

.dsh-ftr-data ul li span a {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.dsh-ftr-data ul li span a:hover {
    color: var(--backcolor);
}

/* Social icons — white circle (mirrors landing) */
.dsh-ftr-social {
    display: flex;
    align-items: center;
    gap: 0;
}

.dsh-ftr-social a {
    display: inline-flex !important;
    background: #fff;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-right: 11px;
    transition: background 0.2s;
    text-decoration: none;
}

.dsh-ftr-social a:hover {
    background: var(--backcolor) !important;
}

.dsh-ftr-social a img {
    max-height: 16px;
    width: auto;
}

/* RIGHT ASIDE — white card form (mirrors landing .formSide) */
.dsh-ftr-form-side {
    display: block;
    width: 38.2%;
}

.dsh-ftr-form-side form {
    display: block;
    padding: 24px;                /* compact vs landing 32px */
    background: #fff;
}

.dsh-ftr-form-side h3 {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #22262b;
    margin-bottom: 18px;
    line-height: 1.5;
    font-family: 'DM Sans', sans-serif;
}

/* Field wrappers */
.dsh-ftr-form-side .fldWrp {
    display: block;
    margin-bottom: 14px;
}

.dsh-ftr-form-side .fldWrp input,
.dsh-ftr-form-side .fldWrp select,
.dsh-ftr-form-side .fldWrp textarea {
    display: block;
    width: 100%;
    outline: 0;
    color: #22262b;
    border: 0;
    background: transparent;
    padding: 0 0 10px;
    line-height: 1em;
    border-bottom: 1px solid #1C305E;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
}

.dsh-ftr-form-side .fldWrp select {
    background: url(../images/landing/icons/dropdown.svg) 98% center no-repeat;
    padding-right: 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dsh-ftr-form-side .fldWrp textarea {
    border: 1px solid #1C305E;
    padding: 8px;
    min-height: 60px;
    resize: vertical;
}

.dsh-ftr-form-side .fldWrp input:focus,
.dsh-ftr-form-side .fldWrp select:focus,
.dsh-ftr-form-side .fldWrp textarea:focus {
    border-color: var(--backcolor);
    outline: 0;
}

.dsh-ftr-form-side .fldWrp label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #555;
}

/* Submit button row — right-aligned inside white card */
.dsh-ftr-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Submit button — mirrors landing .btn with arrow icon */
.dsh-ftr-btn {
    display: inline-flex;
    align-items: center;
    background: var(--backcolor);
    color: #fff;
    padding: 13px 52px 13px 24px;
    border-radius: 40px;
    border: 0;
    outline: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
    min-width: 160px;
    line-height: normal;
}

.dsh-ftr-btn:hover {
    background: #d6731e;
}

.dsh-ftr-btn .icn {
    display: block;
    width: 32px;
    height: 32px;
    background: url(../images/landing/icons/btn-arw.svg) center/9px no-repeat var(--darkblue);
    border-radius: 50%;
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -16px;
}

/* Copyright bar — flush to footer bottom, no gap */
.dsh-ftr-btm {
    display: block;
    background: #111e3d;
    text-align: center;
    color: #aaa !important;
    font-size: 12px;
    padding: 10px;
    margin-top: 24px;
    margin-bottom: 0;
}

/* ---- Responsive ---- */
@media screen and (max-width: 991px) {
    .dsh-ftr-wrap {
        flex-direction: column;
    }
    .dsh-ftr-data,
    .dsh-ftr-form-side {
        width: 100%;
    }
    .dsh-ftr-form-side {
        margin-top: 24px;
    }
    .dsh-ftr-data ul li > span:last-child {
        max-width: 60%;
    }
}


footer p {
    color: #ccc;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 0.3rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.1;
    display: inline-block;
}

    footer a:hover {
        color: var(--backcolor);
    }

footer h6.font-size-15 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-common-mt {
    margin-top: 0.5rem;
}

.quick_links {
    margin-left: 0;
}

.ftr_form {
    margin: 0;
}

.rowbtn {
    background-color: var(--backcolor);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'DM Sans', sans-serif;
}

    .rowbtn:hover {
        background-color: #d6731e;
    }

.semi_footer {
    background-color: #111e3d;
    color: #aaa;
    font-size: 12px;
    padding: 0.8rem 0;
    text-align: center;
}

    .semi_footer p {
        margin: 0;
        color: #aaa;
    }

/* ================================================================
   RESPONSIVE
================================================================ */
@media screen and (max-width: 1400px) {
    .logo {
        width: 210px;
        height: 76px;
    }

    .secondnav .nav-link span,
    .dropbtn1 span, .dropbtn3 span, .dropbtn4 span {
        font-size: 11.5px;
    }

    .secondnav .nav-link,
    .dropbtn1, .dropbtn3, .dropbtn4 {
        font-size: 10.5px;
    }
}

@media screen and (max-width: 1199px) {
    .logo {
        width: 190px;
        height: 70px;
    }

    .navcontactdetails {
        display: none !important;
    }

    .normal-btn, .normal-btn2 {
        padding: 7px 14px;
        font-size: 11px;
    }

    .secondnav .nav-link,
    .dropbtn1, .dropbtn3, .dropbtn4 {
        font-size: 10px;
        padding: 10px 4px;
    }

        .secondnav .nav-link span,
        .dropbtn1 span, .dropbtn3 span, .dropbtn4 span {
            font-size: 11px;
        }

    main {
        margin-top: 120px;
    }
}

@media screen and (max-width: 991px) {
    .secondnavbarsetion {
        display: none;
    }

    .menupng {
        display: block;
    }

    .normal-btn, .normal-btn2 {
        padding: 6px 11px;
        font-size: 10.5px;
    }

    .logo {
        width: 175px;
        height: 64px;
    }

    main {
        margin-top: 85px;
    }
}

@media screen and (max-width: 767px) {
    .logo {
        width: 160px;
        height: 58px;
    }

    footer .col-md-6 {
        margin-bottom: 2rem;
    }

    footer h6.font-size-15 {
        font-size: 14px;
    }

    .font-size-15 {
        font-size: 12px;
    }

    main {
        margin-top: 78px;
    }

    #enquiryModal .col-md-6 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .logo {
        width: 179px;
        height: 65px;
    }

    .navcontactdetails {
        display: none !important;
    }

    .normal-btn, .normal-btn2 {
        padding: 6px 9px;
        font-size: 10px;
    }

    .singinbtn.me-4 {
        margin-right: 6px !important;
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
        transform: none !important;
        padding: 0;
    }

    .navbar-nav .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding-left: 4px;
    }

    .navbar-nav {
        max-height: 320px;
        overflow: auto;
    }

    .quick_links {
        margin-left: 1rem;
    }

    .ftr_form {
        margin: 0 1rem;
    }

    .font-size-15 {
        font-size: 10px;
    }

    main {
        margin-top: 90px;
    }
}

/* ================================================================
   SHARED UTILITIES — replaces scattered inline styles
================================================================ */

/* Footer logo */
.ftr-logo-img { width: 180px; }

/* Footer icon helpers (replaces inline color / size on FA icons) */
.ftr-icon {
    color: #F58732;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.ftr-icon-lg {
    color: #F58732;
    font-size: 22px;
    margin-left: 2px;
}

/* Footer paragraph helpers */
.ftr-p { margin-top: 0; }

/* Coming-soon placeholder banner (used in Notifications, MinimumWages, Products) */
.coming-soon-banner {
    background: #edf2ff;
    border-radius: 12px;
}

.coming-soon-banner h2 {
    color: #3e4095;
    font-weight: 700;
}

.coming-soon-banner p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.coming-soon-banner p.coming-soon-note {
    font-size: 16px;
    color: #3e4095;
    font-weight: 600;
    margin: 0;
}

/* Product cards */
.product-card { border: none !important; }
.product-card-navy  { border-left: 4px solid #3e4095 !important; }
.product-card-accent { border-left: 4px solid #f58634 !important; }
.product-card-title { color: #3e4095; font-weight: 700; }

/* Notification / detail coming soon */
.coming-soon-detail p { font-size: 18px; }

/* Landing layout form-message alignment */
.form-message-center { text-align: center; }
