
/* ==========================================
   MANNREX - PREMIUM HYBRID WEBSITE
   Version 1.0
========================================== */

/* GLOBAL SETTINGS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* BRAND LOGO */

.logo {
    font-size: 29px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-silver {
    color: #C5CBD5;
}

.logo-blue {
    color: #168BFF;
}

/* NAVIGATION */

.navbar {
    width: 100%;
    min-height: 85px;
    padding: 15px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #080D18;
    border-bottom: 1px solid #1D2B40;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.navbar nav a {
    color: #D5DCE7;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #168BFF;
}

/* HERO SECTION */

.hero {
    min-height: 650px;
    padding: 120px 8%;
    background:
        radial-gradient(circle at 80% 40%, #142C4B 0%, transparent 38%),
        linear-gradient(120deg, #080D18, #101E32);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-label,
.section-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #168BFF;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 95px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #168BFF;
}

.hero-description {
    max-width: 650px;
    font-size: 18px;
    color: #BBC7D8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 27px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: #168BFF;
    color: white;
}

.btn-primary:hover {
    background: #006BD6;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid #8494A8;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #080D18;
}

/* COMMON SECTIONS */

.section {
    padding: 100px 8%;
}

.section h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 25px;
    color: #101827;
}

.section > p:not(.section-label) {
    max-width: 750px;
    font-size: 17px;
    color: #64748B;
}

/* ABOUT */

.about {
    background: #ffffff;
}

/* TECHNOLOGIES */

.technologies {
    background: #F3F6FA;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.technology-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 8px;
    border: 1px solid #E1E7EF;
    border-bottom: 3px solid #168BFF;
    transition: 0.3s;
}

.technology-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 30, 70, 0.09);
}

.technology-card h3 {
    color: #12233B;
    font-size: 21px;
    margin-bottom: 12px;
}

.technology-card p {
    color: #64748B;
    font-size: 14px;
}

/* PRODUCTS */

.products {
    background: #ffffff;
}

/* SERVICES */

.services {
    background: #F3F6FA;
}

/* CONTACT */

.contact {
    background: #0B1423;
    color: white;
}

.contact h2 {
    color: white;
}

.contact > p:not(.section-label) {
    color: #B8C5D6;
}

/* FOOTER */

footer {
    background: #050A12;
    color: white;
    text-align: center;
    padding: 45px 20px;
}

footer .logo {
    display: inline-block;
    margin-bottom: 12px;
}

footer p {
    color: #9CAABD;
    font-size: 14px;
}

.copyright {
    margin-top: 25px;
    font-size: 12px;
    border-top: 1px solid #253246;
    padding-top: 20px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar nav {
        justify-content: center;
        gap: 15px;
    }

    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .navbar {
        padding: 18px 5%;
    }

    .navbar nav {
        gap: 12px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 550px;
        padding: 80px 7%;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding: 70px 7%;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =====================================
   NARESYS SECURE VISION
   MANNREX BUSINESS DIVISION
===================================== */

.divisions {
    background: #080F1C;
    color: #FFFFFF;
}

.divisions h2 {
    color: #FFFFFF;
}

.division-intro {
    color: #B8C5D6 !important;
    margin-bottom: 40px;
}

.division-card {
    position: relative;
    overflow: hidden;
    padding: 55px;
    border: 1px solid #263D59;
    border-radius: 12px;
    background:
        radial-gradient(circle at 90% 20%, #163D67 0%, transparent 40%),
        linear-gradient(120deg, #101D30, #0A1220);
}

.division-content {
    max-width: 750px;
}

.division-label {
    color: #168BFF;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.division-card h3 {
    font-size: clamp(28px, 5vw, 48px);
    color: #FFFFFF;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.division-card h3 span {
    color: #BFC9D8;
}

.division-card h4 {
    color: #168BFF;
    font-size: 19px;
    margin-bottom: 18px;
}

.division-card p:not(.division-label) {
    color: #C0CBD9;
    font-size: 15px;
    margin-bottom: 22px;
}

.division-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.division-card li {
    color: #E1E8F1;
    padding: 8px 0;
    font-size: 14px;
}

.division-card li::before {
    content: "✓";
    color: #168BFF;
    font-weight: bold;
    margin-right: 12px;
}

.division-card .btn-primary {
    display: inline-block;
}

@media (max-width: 600px) {

    .division-card {
        padding: 28px 22px;
    }

}

/* NARESYS CUSTOMER ENQUIRY FORM */

.enquiry {
    background: #0b1220;
    padding: 80px 8%;
    text-align: center;
}

.enquiry h2 {
    color: #ffffff;
    font-size: 38px;
    margin-bottom: 15px;
}

.enquiry > p {
    color: #b8c5d8;
    font-size: 18px;
    margin-bottom: 35px;
}

#enquiryForm {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
    background: #111c2e;
    padding: 35px;
    border: 1px solid #263b58;
    border-radius: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    background: #080f1c;
    color: #ffffff;
    border: 1px solid #40536d;
    border-radius: 6px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #168bff;
    box-shadow: 0 0 0 2px rgba(22, 139, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#enquiryForm .btn-primary {
    display: block;
    margin: 25px auto 0;
    padding: 14px 30px;
    background: #168bff;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#enquiryForm .btn-primary:hover {
    background: #0874df;
}

#formStatus {
    color: #ffffff;
    text-align: center;
    margin-top: 15px;
}

/* MOBILE FORM LAYOUT */

@media (max-width: 650px) {
    .enquiry {
        padding: 55px 5%;
    }

    .enquiry h2 {
        font-size: 28px;
    }

    #enquiryForm {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }
}

/* WHATSAPP CONTACT SECTION */

.whatsapp-section {
    background: #080d18;
    padding: 65px 8%;
    text-align: center;
    border-top: 1px solid #263b58;
}

.whatsapp-section h2 {
    color: #ffffff;
    font-size: 34px;
    margin: 12px 0;
}

.whatsapp-section p {
    color: #b8c5d8;
    font-size: 17px;
    line-height: 1.7;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 22px;
    padding: 15px 30px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-3px);
}

.whatsapp-section .whatsapp-number {
    margin-top: 15px;
    font-size: 15px;
    color: #ffffff;
}

/* FLOATING WHATSAPP BUTTON */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    background: #25D366;
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: 0.3s;
}

.floating-whatsapp:hover {
    background: #1da851;
    transform: scale(1.07);
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        padding: 12px 17px;
    }
}

/* ROUND FLOATING WHATSAPP APP ICON */

.floating-whatsapp {
    position: fixed !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    right: 20px;
    bottom: 20px;
    background: #25D366;
    border-radius: 50%;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
    transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #1da851;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 16px;
    }
}

/* ==============================
   NARESYS ADMIN LOGIN
================================ */

.admin-login {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background: #080D18;
}

.admin-login-card {
    width: 100%;
    max-width: 430px;
    padding: 40px 32px;
    background: #111B2B;
    border: 1px solid #26364D;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.admin-login-card h1 {
    font-size: 32px;
    margin-bottom: 22px;
    letter-spacing: 2px;
}

.admin-label {
    color: #168BFF;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.admin-login-card h2 {
    color: #FFFFFF;
    font-size: 27px;
    margin-bottom: 10px;
}

.admin-login-card > p:not(.admin-label) {
    color: #AAB5C5;
    margin-bottom: 25px;
}

#adminLoginForm {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 12px;
}

#adminLoginForm label {
    color: #DCE4EF;
    font-size: 14px;
}

#adminLoginForm input {
    width: 100%;
    padding: 13px;
    background: #080D18;
    border: 1px solid #34445B;
    border-radius: 7px;
    color: #FFFFFF;
    font-size: 15px;
    outline: none;
}

#adminLoginForm input:focus {
    border-color: #168BFF;
}

#adminLoginForm button {
    margin-top: 12px;
    padding: 14px;
    background: #168BFF;
    color: #FFFFFF;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#adminLoginForm button:hover {
    background: #0874DF;
}

#loginStatus {
    color: #FF7777;
    font-size: 13px;
    text-align: center;
}

.admin-login-card > a {
    display: inline-block;
    margin-top: 25px;
    color: #AAB5C5;
    text-decoration: none;
    font-size: 14px;
}

.admin-login-card > a:hover {
    color: #168BFF;
}

/* ==============================
   NARESYS ADMIN DASHBOARD
================================ */

.admin-dashboard {
    min-height: 100vh;
    padding: 45px 6%;
    background: #080D18;
    color: #FFFFFF;
}

.dashboard-heading {
    margin-bottom: 35px;
}

.dashboard-heading h1 {
    font-size: 32px;
    margin: 10px 0;
}

.dashboard-heading > p:last-child {
    color: #AAB5C5;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.dashboard-card {
    padding: 25px;
    background: #111B2B;
    border: 1px solid #26364D;
    border-radius: 12px;
}

.dashboard-card h3 {
    color: #AAB5C5;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 15px;
}

.dashboard-card p {
    color: #168BFF;
    font-size: 32px;
    font-weight: bold;
}

.enquiry-management {
    padding: 25px;
    background: #111B2B;
    border: 1px solid #26364D;
    border-radius: 12px;
}

.enquiry-management h2 {
    margin-bottom: 25px;
    font-size: 22px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
    text-align: left;
}

.table-container th,
.table-container td {
    padding: 15px;
    border-bottom: 1px solid #26364D;
    font-size: 14px;
}

.table-container th {
    color: #168BFF;
    font-weight: bold;
}

.table-container td {
    color: #DCE4EF;
}

.logout-button {
    margin-top: 30px;
    padding: 12px 25px;
    background: #D93636;
    color: #FFFFFF;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
}

.logout-button:hover {
    background: #B92323;
}

@media (max-width: 800px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-dashboard {
        padding: 30px 5%;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-heading h1 {
        font-size: 25px;
    }

    .enquiry-management {
        padding: 15px;
    }
}
.required-star {
    color: #ff3333;
    font-weight: bold;
    font-size: 17px;
}
/* SAVED DOCUMENTS MODAL */
.documents-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.documents-modal-content {
    background: #ffffff;
    color: #1a1a1a;
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.documents-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.documents-modal-header h2 {
    margin: 0;
}

#closeDocumentsModal {
    border: none;
    background: #eeeeee;
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 12px;
}

.document-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}

.document-item button {
    background: #1769aa;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 9px 16px;
    cursor: pointer;
}

.document-item button:hover {
    background: #0d4f85;
}

@media (max-width: 600px) {
    .documents-modal-content {
        padding: 16px;
    }
}
/* EQUIPMENT TABLE PRINT FIX */
@media print {

    .table-responsive {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .table-responsive::-webkit-scrollbar,
    .table-responsive::after {
        display: none !important;
        content: none !important;
    }

    .equipment-table {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
        overflow: visible !important;
    }

    .equipment-table th,
    .equipment-table td {
        box-sizing: border-box !important;
        padding: 4px !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    /* SI.No */
    .equipment-table th:nth-child(1),
    .equipment-table td:nth-child(1) {
        width: 5% !important;
    }

    /* Description */
    .equipment-table th:nth-child(2),
    .equipment-table td:nth-child(2) {
        width: 37% !important;
    }

    /* HSN */
    .equipment-table th:nth-child(3),
    .equipment-table td:nth-child(3) {
        width: 10% !important;
    }

    /* Quantity */
    .equipment-table th:nth-child(4),
    .equipment-table td:nth-child(4) {
        width: 8% !important;
    }

    /* Rate */
    .equipment-table th:nth-child(5),
    .equipment-table td:nth-child(5) {
        width: 18% !important;
    }

    /* Amount */
    .equipment-table th:nth-child(6),
    .equipment-table td:nth-child(6) {
        width: 22% !important;
    }

    /* Hide action column */
    .equipment-table th:nth-child(7),
    .equipment-table td:nth-child(7) {
        display: none !important;
    }
}
/* ================================
   NARESYS SERVICE CARD IMAGES
================================ */

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
    margin-bottom: 18px;
}

/* Service card image appearance */
.technology-card {
    overflow: hidden;
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Card hover effect */
.technology-card:hover {
    transform: translateY(-5px);
}

/* Image hover zoom */
.technology-card:hover .service-image {
    transform: scale(1.03);
    transition: transform 0.4s ease;
}

/* Image smooth transition */
.service-image {
    transition: transform 0.4s ease;
}

/* Mobile image sizing */
@media (max-width: 600px) {

    .service-image {
        height: 180px;
    }

}
/* ================================
   NARESYS EXPANDABLE SERVICE PANEL
================================ */

.technology-card {
    cursor: pointer;
}

/* Selected service card */
.technology-card.active {
    border-color: #008cff;
    box-shadow: 0 0 18px rgba(0, 140, 255, 0.18);
}

/* Details panel */
.service-details-panel {
    margin-top: 25px;
    padding: 35px;
    border: 1px solid rgba(0, 140, 255, 0.6);
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #071629,
        #0b2340,
        #071629
    );
    box-shadow: 0 0 25px rgba(0, 140, 255, 0.08);
}

/* Keep hidden panel fully hidden */
.service-details-panel[hidden] {
    display: none !important;
}

/* Panel content */
.service-details-content {
    max-width: 100%;
}

/* Details title */
.service-details-text h3 {
    font-size: 28px;
    margin: 10px 0 15px;
    color: #ffffff;
}

/* Description */
.service-details-text > p:not(.section-label) {
    color: #c6d5e6;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Sub-service list */
#service-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#service-details-list li {
    color: #e4efff;
    padding: 12px 15px;
    background: rgba(0, 140, 255, 0.08);
    border: 1px solid rgba(0, 140, 255, 0.15);
    border-radius: 8px;
}

/* List check mark */
#service-details-list li::before {
    content: "✓";
    color: #008cff;
    font-weight: bold;
    margin-right: 10px;
}

/* Quote button spacing */
#service-quote-button {
    display: inline-block;
    text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 600px) {

    .service-details-panel {
        padding: 22px 18px;
        margin-top: 18px;
    }

    .service-details-text h3 {
        font-size: 23px;
    }

    #service-details-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}