﻿html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    color: #333;
}


/* REMOVE ALL LEFT RIGHT GUTTER */
/* FIX: margin ko 0 se auto kiya — pehle margin:0 !important hone ki wajah se
   Bootstrap ka .container jahan bhi uska fixed max-width viewport se kam hota
   tha (jaise tablet 768-991px par max-width:720px, ya mobile >=576px par
   max-width:540px), wahan container center hone ke bajaye LEFT side chipak
   jaata tha. Chhoti mobile width par max-width apply hi nahi hota (container
   full-width hota hai) isliye wahan bug dikhta nahi tha — yehi wajah thi ki
   "kabhi thik, kabhi left-aligned" wala pattern dikh raha tha. margin:auto se
   gutter padding 0 hi rahega, bas centering wapas aa jaayegi. */
.container,
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Bootstrap row gutter fix */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/*html {
    scroll-behavior: smooth;
}*/



a {
    text-decoration: none;
    transition: .3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}





/*====================================================
                    LOGIN BUTTON
====================================================*/
.login-btn {
    display: inline-block;
    background: #d4af37;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    transition: .3s;
}

    .login-btn:hover {
        background: #0A2342;
    }



/*====================================================
            TOPBAR RESPONSIVE
====================================================*/
@media (max-width:768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }

        .top-bar .container {
            display: block;
        }

        .top-bar .row {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .top-bar .col-md-6 {
            width: 100%;
            text-align: center !important;
            white-space: normal;
            word-break: break-word;
        }
}

/*====================================================
        VERY SMALL MOBILE
====================================================*/
@media (max-width:360px) {
    .brand-title {
        font-size: 13px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .top-bar {
        font-size: 11px;
    }
}

/*====================================================
                    FOOTER
====================================================*/
footer {
    background: #0A2342;
    color: #fff;
    padding: 55px 0 20px;
    margin-top: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-title {
    text-align: left;
}

    footer h5, .footer-title h5 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: #d4af37;
    }

    .footer-title small {
        display: block;
        margin-top: 4px;
        font-size: 13px;
        color: #ddd;
        line-height: 1.5;
    }

.footer-text {
    margin-top: 18px;
    color: #ddd;
    line-height: 1.9;
    text-align: left;
}

footer h5 {
    margin-bottom: 18px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2,max-content);
    column-gap: 40px;
    row-gap: 10px;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .footer-links-grid li {
        list-style: none;
    }

        .footer-links-grid li a {
            color: #fff;
            transition: .3s;
            white-space: nowrap;
        }

            .footer-links-grid li a:hover {
                color: #d4af37;
                padding-left: 6px;
            }

@media (max-width:768px) {
    .footer-links-grid {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        justify-content: start;
        column-gap: 35px;
        row-gap: 8px;
        margin-top: 18px;
    }

        .footer-links-grid li {
            text-align: left;
        }

            .footer-links-grid li a {
                white-space: nowrap;
                display: block;
            }
}

.footer-links-grid,
.footer-title,
.footer-text,
.contact-box,
.contact-box h5,
.contact-box p,
.copyright,
.copyright p {
    text-align: left !important;
}

/*=========================================
            Contact Section
=========================================*/
.contact-box {
    text-align: left;
    color: #333;
}

    .contact-box p {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        color: #ddd;
        line-height: 1.8;
        margin-bottom: 10px;
    }

    .contact-box i {
        color: #d4af37;
        width: 18px;
        margin-top: 4px;
    }

/*=========================================
            Copyright
=========================================*/
.copyright {
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

    .copyright p {
        margin: 0;
        color: #ddd;
    }

.footer-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

    .footer-mini-links a {
        color: #ddd;
        transition: .3s;
    }

        .footer-mini-links a:hover {
            color: #d4af37;
        }

.main-content {
    min-height: 600px;
    padding: 0px 0;
}

/*====================================================
            FOOTER RESPONSIVE
====================================================*/
@media (max-width:991px) {
    footer {
        padding: 45px 0 20px;
    }

    .footer-brand {
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 20px;
    }

    .footer-logo {
        width: 70px;
        height: 70px;
    }

    .footer-title h5 {
        font-size: 22px;
    }

    .contact-box {
        margin-top: 30px;
    }

    .copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width:768px) {
    footer {
        margin-top: 35px;
        padding: 40px 0 20px;
    }

    .footer-brand {
        gap: 12px;
    }

    .footer-logo {
        width: 65px;
        height: 65px;
    }

    .footer-title h5 {
        font-size: 20px;
    }

    .footer-title small {
        font-size: 12px;
    }

    .footer-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .contact-box {
        margin-top: 25px;
    }

    .copyright {
        margin-top: 25px;
        padding-top: 15px;
    }
}

@media (max-width:576px) {
    .footer-brand {
        align-items: flex-start;
    }

    .footer-logo {
        width: 58px;
        height: 58px;
    }

    .footer-title h5 {
        font-size: 18px;
    }

    .footer-title small {
        font-size: 11px;
    }

    .footer-text {
        font-size: 13px;
    }

    .contact-box p {
        gap: 8px;
        font-size: 13px;
    }

    .copyright p {
        font-size: 13px;
    }

    .footer-mini-links {
        gap: 12px;
    }

        .footer-mini-links a {
            font-size: 13px;
        }
}

.contact-box p {
    display: flex;
    justify-content: flex-start !important;
    align-items: flex-start;
    gap: 10px;
}

.footer-mini-links {
    justify-content: flex-start;
}



.login-btn {
    box-shadow: 0 8px 20px rgba(212,175,55,.25);
}

    .login-btn:hover {
        transform: translateY(-2px);
    }

.footer-links-grid a,
.footer-mini-links a {
    position: relative;
}

    .footer-links-grid a::after,
    .footer-mini-links a::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: #d4af37;
        transition: .3s;
    }

    .footer-links-grid a:hover::after,
    .footer-mini-links a:hover::after {
        width: 100%;
    }

.footer-brand img:hover {
    transform: rotate(-5deg) scale(1.05);
}

@media (max-width:768px) {
    footer .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    footer .row {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-brand,
    .footer-text,
    .footer-links-grid,
    .contact-box,
    .copyright {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width:767px) {
    .contact-box {
        padding-top: 30px;
    }
}

@media(max-width:1200px) {
    .brand-title {
        font-size: 18px;
    }
}

@media(max-width:991px) {
    .brand-title {
        font-size: 16px;
    }
}

@media(max-width:768px) {
    .brand-text small {
        font-size: 9px;
    }
}

@media(max-width:480px) {
    .brand-text small {
        font-size: 8px;
    }
}

@media(max-width:576px) {
    .top-bar {
        padding: 6px 0;
    }

        .top-bar .row {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .top-bar .col-md-6 {
            font-size: 12px;
            text-align: center !important;
        }
}

button, a, .nav-link {
    -webkit-tap-highlight-color: transparent;
}

/*=========================================
        TOP BAR FINAL RESPONSIVE FIX
=========================================*/
.top-bar {
    background: #0A2342;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

.top-left {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .top-left span {
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .top-left i {
        color: #d4af37;
    }

.top-right {
    margin-left: auto;
}

.top-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 25px;
    background: #d4af37;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

    .top-login-btn:hover {
        background: #fff;
        color: #0A2342;
    }

@media (max-width:768px) {
    .top-bar {
        padding: 6px 0;
    }

        .top-bar .container {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            flex-wrap: nowrap;
            gap: 10px;
        }

    .top-left {
        flex: 1;
        min-width: 0;
    }

        .top-left span {
            font-size: 12px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .top-login-btn {
        padding: 5px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }
}

@media (max-width:380px) {
    .top-left span {
        font-size: 11px;
    }

    .top-login-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ===== WHY CHOOSE ILPMS ===== */
.why-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-title {
    color: #0A2342;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-subtitle {
    color: #666;
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.why-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border-top: 4px solid #d4af37;
}

    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 40px rgba(10,35,66,.18);
    }

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #0A2342;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .why-icon i {
        font-size: 32px;
        color: #d4af37;
    }

.why-card:hover .why-icon {
    background: #d4af37;
}

    .why-card:hover .why-icon i {
        color: #fff;
    }

.why-card h5 {
    color: #0A2342;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Preloader custom adjustment */
#preloader .logo {
    width: 150px;
    height: auto;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}































/*======================================================
    MOBILE & TABLET RESPONSIVE ENHANCEMENTS (ADDED)
    -- Nothing above this was removed or modified --
======================================================*/

/* ===== Tablet: 768px - 991.98px ===== */
@media (min-width:768px) and (max-width:991.98px) {
    .why-section {
        padding: 60px 0;
    }

    .why-title {
        font-size: 28px;
    }

    .why-card {
        padding: 28px 20px;
    }

    .why-icon {
        width: 70px;
        height: 70px;
    }

        .why-icon i {
            font-size: 28px;
        }

    .login-btn {
        padding: 9px 18px;
        font-size: 14px;
    }
}

/* ===== Mobile: up to 767.98px ===== */
@media (max-width:767.98px) {
    .why-section {
        padding: 45px 0;
    }

    .why-title {
        font-size: 24px;
    }

    .why-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .why-card {
        padding: 25px 18px;
        margin-bottom: 5px;
    }

    .why-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }

        .why-icon i {
            font-size: 26px;
        }

    .why-card h5 {
        font-size: 16px;
    }

    .why-card p {
        font-size: 14px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    footer {
        text-align: center;
    }
}

/* ===== Extra Small Mobile: up to 480px ===== */
@media (max-width:480px) {
    .why-icon {
        width: 58px;
        height: 58px;
    }

        .why-icon i {
            font-size: 22px;
        }

    .why-card {
        padding: 20px 15px;
    }
}


