/* =====================================================
   J P BIOTECH WEBSITE
   Professional Pharmaceutical Theme
   FINAL CLEAN CSS
===================================================== */


/* =====================================================
   GLOBAL RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: #f5f9fc;
    color: #1f2937;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 60px 8%;
}


/* =====================================================
   HEADER
   Clean professional blue/teal header
   NO COLOR ANIMATION
   NO GLASS EFFECT
===================================================== */

header {
    width: 100%;
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 20px;
    margin: 0;

    background: linear-gradient(
        90deg,
        #0d5ca6 0%,
        #087fa0 50%,
        #17b39b 100%
    );

    position: sticky;
    top: 0;
    left: 0;

    z-index: 9999;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);

    opacity: 1;
    visibility: visible;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    box-sizing: border-box;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    flex: 0 0 auto;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}


/* Logo image */

.logo img {
    display: block;

    width: 58px;
    height: 58px;

    min-width: 58px;
    min-height: 58px;

    object-fit: contain;

    opacity: 1 !important;
    visibility: visible !important;

    filter: none !important;
    mix-blend-mode: normal !important;

    transform: none !important;

    transition: none !important;
}


/* Logo text */

.logo-text {
    display: flex;
    align-items: center;

    line-height: 1;

    opacity: 1 !important;
    visibility: visible !important;
}


.logo-main {
    display: block;

    font-size: 28px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #ffffff !important;

    background: none !important;
    background-image: none !important;

    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    -webkit-text-fill-color: #ffffff !important;

    animation: none !important;
    transition: none !important;

    opacity: 1 !important;

    white-space: nowrap;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
}


/* Remove all logo hover effects */

.logo:hover {
    transform: none !important;
}

.logo:hover img {
    transform: none !important;
}


/* Optional subtitle */

.logo-sub {
    font-size: 14px;
    font-weight: 700;

    color: #e8fff7;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =====================================================
   NAVIGATION
===================================================== */

nav {
    display: flex;

    align-items: center;

    gap: 8px;
}


nav a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 9px 13px;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 600;

    color: #ffffff !important;

    background: transparent;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Navigation hover */

nav a:hover {
    background: rgba(255, 255, 255, 0.18);

    color: #ffffff !important;

    transform: none;

    box-shadow: none;
}


/* Active page */

nav a.active {
    background: rgba(255, 255, 255, 0.20);

    color: #ffffff !important;

    transform: none;
}


/* =====================================================
   ADMIN LOGIN BUTTON
===================================================== */

.login-btn {
    background: #ffffff !important;

    color: #0d5ca6 !important;

    padding: 10px 18px;

    border-radius: 8px;

    font-weight: 700;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.login-btn:hover {
    background: #e8fff7 !important;

    color: #087f9b !important;

    transform: none !important;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}


/* Header hover - shadow only */

header:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100px;

    display: flex;

    align-items: center;

    position: relative;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 70, 140, 0.75),
            rgba(0, 150, 120, 0.35)
        ),
        url("../images/pharma-banner.jpg");

    background-size: cover;

    background-repeat: no-repeat;

    background-position: center;

    color: white;
}


/* Hero content */

.hero-content {
    max-width: 900px;

    padding: 45px;

    background: rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(5px);

    -webkit-backdrop-filter: blur(5px);

    border-radius: 20px;
}


.hero h1 {
    font-size: 52px;

    font-weight: 700;

    line-height: 1.15;

    margin-bottom: 20px;

    letter-spacing: -1px;
}


.hero h2 {
    line-height: 1.25;
}


.hero p {
    font-size: 21px;

    line-height: 1.7;

    margin-bottom: 35px;

    max-width: 650px;
}


/* Hero bottom curve */

.hero::after {
    content: "";

    position: absolute;

    bottom: -1px;
    left: 0;

    width: 100%;
    height: 80px;

    background: #f5f9fc;

    clip-path: ellipse(70% 50% at 50% 100%);
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
    display: inline-block;

    background: linear-gradient(
        90deg,
        #0d5ca6,
        #17b39b
    );

    color: white;

    padding: 13px 30px;

    border-radius: 30px;

    font-weight: 700;

    margin: 8px;

    border: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(13, 92, 166, 0.35);

    color: white;
}


/* =====================================================
   SECTION TITLES
===================================================== */

.section-title {
    text-align: center;

    margin-bottom: 40px;
}


.section-title h1,
.section-title h2 {
    font-size: 34px;

    color: #003b73;

    margin-bottom: 10px;
}


.section-title p {
    color: #64748b;
}


/* =====================================================
   GENERAL CARDS
===================================================== */

.cards {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;
}


.card {
    background: #ffffff;

    padding: 35px;

    border-radius: 22px;

    border: 1px solid #e6eef5;

    box-shadow:
        0 10px 30px rgba(0, 80, 140, 0.10);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    position: relative;

    overflow: hidden;
}


.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    height: 5px;

    width: 100%;

    background: linear-gradient(
        90deg,
        #0066cc,
        #00a878
    );
}


.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 80, 140, 0.18);
}


.card h2,
.card h3 {
    color: #0056a6;

    margin-bottom: 15px;
}


.card p {
    color: #475569;

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   PRODUCT CARDS
===================================================== */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

    padding: 40px 8%;
}


.product-card {
    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    position: relative;
}


.product-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 80, 140, 0.18);
}


.product-card img {
    width: 100%;

    height: 200px;

    object-fit: cover;

    display: block;
}


.product-card h3,
.product-card p {
    padding-left: 20px;
    padding-right: 20px;
}


.product-card h3 {
    margin-top: 15px;

    color: #0056a6;
}


.product-card p {
    padding-bottom: 20px;

    color: #475569;
}


/* =====================================================
   PRODUCT OVERLAY CARDS
===================================================== */

.product-overlay {
    position: absolute;

    bottom: 0;

    left: 0;
    right: 0;

    padding: 30px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(0, 40, 80, 0.95)
        );
}


.product-overlay h3 {
    font-size: 28px;

    color: white;

    margin-bottom: 10px;
}


.product-overlay p {
    color: #eaf8ff;

    line-height: 1.5;
}


.product-overlay .btn {
    margin-top: 15px;

    background:
        linear-gradient(
            135deg,
            #00a878,
            #0077c8
        );
}


.product-overlay .btn:hover {
    background: white;

    color: #0077c8;
}


/* =====================================================
   PRODUCTS SECTION
===================================================== */

.products-section {
    padding: 60px 5%;

    background:
        linear-gradient(
            135deg,
            #f0f8ff,
            #e8fff7
        );

    border-radius: 40px;

    margin: 40px auto;

    width: 90%;
}


/* =====================================================
   QUALITY SECTION
===================================================== */

.quality-section {
    margin: 80px auto;

    width: 90%;

    padding: 70px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #005ea8,
            #00b386
        );

    color: white;

    text-align: center;
}


.quality-features {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

    margin-top: 40px;
}


.quality-features div {
    background: rgba(255, 255, 255, 0.15);

    padding: 25px;

    border-radius: 20px;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);
}


/* =====================================================
   MEDICINE MOVING SHOWCASE
===================================================== */

.medicine-slider {
    background: #f5faff;

    overflow: hidden;

    padding: 50px 0;
}


.medicine-track {
    display: flex;

    align-items: center;

    width: max-content;

    animation:
        medicineMove 25s linear infinite;
}


.medicine-item {
    width: 260px;

    height: 260px;

    margin: 0 25px;

    background: #ffffff;

    border-radius: 25px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);
}


.medicine-item img {
    width: 100%;

    height: 230px;

    object-fit: cover;

    border-radius: 20px;

    display: block;
}


.medicine-item:hover img {
    transform: scale(1.06);
}


.medicine-item span {
    position: absolute;

    bottom: 10px;

    left: 0;

    width: 100%;

    text-align: center;

    background: rgba(255, 255, 255, 0.85);

    padding: 8px;

    font-size: 18px;

    font-weight: 700;

    color: #0056a6;
}


@keyframes medicineMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =====================================================
   STATS
===================================================== */

.stats-section {
    padding: 50px 8%;

    background: #f5faff;
}


.stats-container {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.stat-box {
    background: white;

    padding: 30px;

    text-align: center;

    border-radius: 15px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);
}


.stat-box h2 {
    font-size: 38px;

    color: #0066cc;
}


/* =====================================================
   ABOUT
===================================================== */

.about-home {
    display: flex;

    align-items: center;

    gap: 50px;

    padding: 70px 8%;
}


.about-image img {
    width: 450px;

    border-radius: 20px;
}


.about-content {
    flex: 1;
}


/* =====================================================
   HEALTHCARE CTA
===================================================== */

.healthcare-cta {
    max-width: 900px;

    margin: 50px auto;

    padding: 45px;

    background: white;

    border-radius: 22px;

    text-align: center;

    border: 1px solid #e6eef5;

    box-shadow:
        0 10px 35px rgba(0, 80, 140, 0.12);

    position: relative;

    overflow: hidden;
}


.healthcare-cta::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #0d5ca6,
            #17b39b
        );
}


.healthcare-cta h2 {
    font-size: 32px;

    color: #0056a6;

    margin-bottom: 15px;
}


.healthcare-cta p {
    font-size: 18px;

    color: #475569;

    margin-bottom: 25px;
}


/* =====================================================
   HEALTH BANNER
===================================================== */

.health-banner {
    max-width: 900px;

    margin: 60px auto;

    padding: 45px;

    background: white;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(0, 80, 140, 0.12);

    border: 1px solid #e5eef5;
}


.health-banner h2 {
    color: #0056a6;

    font-size: 32px;
}


.health-banner p {
    color: #475569;

    font-size: 18px;

    margin: 20px 0;
}


.health-banner .btn {
    background: #0066cc;

    color: white;

    padding: 14px 35px;

    border-radius: 30px;

    font-weight: 600;
}


.health-banner .btn:hover {
    background: #004c99;
}


/* =====================================================
   WHY CHOOSE
===================================================== */

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

    padding: 40px 8%;
}


.why-grid div {
    background: #ffffff;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   ENQUIRY
===================================================== */

.enquiry-container {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 40px;

    align-items: stretch;
}


.enquiry-info {
    background:
        linear-gradient(
            135deg,
            #003b73,
            #00a878
        );

    padding: 40px;

    border-radius: 25px;

    color: white;
}


.enquiry-info h2 {
    color: white;

    font-size: 32px;

    margin-bottom: 20px;
}


.enquiry-info p {
    color: #e8f8ff;
}


.info-box {
    margin-top: 25px;

    padding: 18px;

    background:
        rgba(255, 255, 255, 0.15);

    border-radius: 15px;
}


.info-box h3 {
    color: white;

    margin-bottom: 8px;
}


.contact-highlight {
    margin-top: 30px;

    background: white;

    padding: 20px;

    border-radius: 18px;

    text-align: center;

    color: #003b73;
}


.contact-highlight h2 {
    color: #00a878;
}


.enquiry-form {
    background: white;

    border-radius: 25px;

    padding: 40px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);
}


.enquiry-form h2 {
    text-align: center;

    color: #003b73;

    margin-bottom: 25px;
}


.enquiry-form button {
    width: 100%;

    font-size: 17px;
}


/* =====================================================
   FORMS
===================================================== */

.form-box {
    max-width: 650px;

    margin: auto;

    background: white;

    padding: 40px;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);
}


form label {
    display: block;

    font-weight: 600;

    margin-top: 15px;
}


input,
textarea,
select {
    width: 100%;

    padding: 14px;

    margin-top: 8px;

    border: 1px solid #cbd5e1;

    border-radius: 8px;

    font-size: 15px;
}


textarea {
    resize: vertical;
}


button {
    border: none;

    cursor: pointer;

    background: #0066cc;

    color: white;

    padding: 14px 30px;

    border-radius: 30px;

    font-size: 16px;

    font-weight: 600;

    margin-top: 20px;
}


button:hover {
    background: #004a99;
}


/* =====================================================
   TABLE
===================================================== */

table {
    border-collapse: collapse;

    width: 100%;

    background: white;
}


th {
    background: #0066cc;

    color: white;

    padding: 14px;

    text-align: left;
}


td {
    padding: 12px;

    border-bottom: 1px solid #e2e8f0;
}


tr:hover {
    background: #f1f5f9;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #003b73;

    color: white;

    padding: 30px 8%;

    text-align: center;
}


footer p {
    margin: 8px;

    opacity: 0.9;
}


/* =====================================================
   BADGES
===================================================== */

.badge {
    background: #00a86b;

    color: white;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 12px;
}


/* =====================================================
   ADMIN DASHBOARD
===================================================== */

#totalEnquiries {
    font-size: 40px;

    color: #00a86b;
}


/* =====================================================
   MEDICINE BANNER
===================================================== */

.medicine-banner {
    margin: 80px auto;

    width: 90%;

    border-radius: 30px;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(0, 70, 140, 0.75),
            rgba(0, 170, 120, 0.65)
        ),
        url("../images/pharma-banner.jpg");

    background-size: cover;

    background-position: center;

    padding: 90px;

    text-align: center;

    color: white;
}


/* =====================================================
   CUSTOMER REVIEWS
===================================================== */

.review-slider {
    overflow: hidden;
}


#reviewContainer {
    display: flex;

    gap: 30px;

    animation:
        reviewMove 25s linear infinite;
}


.review-card {
    min-width: 320px;

    background: white;

    padding: 30px;

    border-radius: 22px;

    box-shadow:
        0 10px 30px rgba(0, 80, 140, 0.12);

    border-top: 5px solid #0d5ca6;
}


.review-card h3 {
    color: #0056a6;
}


.stars {
    color: #17b39b;

    font-size: 22px;

    margin: 10px 0;
}


.review-card p {
    color: #475569;
}


.review-card span {
    font-weight: 600;

    color: #0d5ca6;
}


@keyframes reviewMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =====================================================
   REVIEW PAGE
===================================================== */

.review-page {
    background: #f5f9fc;
}


.review-layout {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 40px;

    align-items: stretch;

    max-width: 1100px;

    margin: auto;
}


.review-info {
    background:
        linear-gradient(
            135deg,
            #0d5ca6,
            #17b39b
        );

    color: white;

    padding: 45px;

    border-radius: 25px;

    box-shadow:
        0 10px 30px rgba(0, 80, 140, 0.18);
}


.review-info h2 {
    font-size: 32px;

    margin-bottom: 20px;

    color: white;
}


.review-info p {
    color: white;

    line-height: 1.8;
}


.review-point {
    margin-top: 20px;

    background:
        rgba(255, 255, 255, 0.15);

    padding: 15px;

    border-radius: 15px;
}


.review-form {
    background: white;

    border-radius: 25px;

    box-shadow:
        0 10px 35px rgba(0, 80, 140, 0.12);

    position: relative;

    overflow: hidden;
}


.review-form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #0d5ca6,
            #17b39b
        );
}


.review-form button {
    background:
        linear-gradient(
            90deg,
            #0d5ca6,
            #17b39b
        );

    width: 100%;
}


.review-form button:hover {
    background:
        linear-gradient(
            90deg,
            #17b39b,
            #0d5ca6
        );
}


#message {
    text-align: center;

    margin-top: 20px;

    font-weight: 600;

    color: #17b39b;
}


/* =====================================================
   TRUSTED & CERTIFIED
===================================================== */

.certified-section {
    padding: 70px 20px;

    background: #f5f9fc;
}


.certified-section .section-title {
    text-align: center;

    margin-bottom: 40px;
}


.certified-section .section-title h2 {
    margin-bottom: 10px;
}


.certified-section .section-title p {
    max-width: 700px;

    margin: auto;

    color: #666;
}


/* Certificate container */

.certified-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;
}


/* Certificate card */

.certified-card {
    background: #ffffff;

    border: 2px solid #0d5ca6;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.certified-card:hover {
    transform: translateY(-8px);

    border-color: #17b39b;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.15);
}


/* Certificate image */

.certificate-image-wrapper {
    position: relative;

    height: 300px;

    background: #eef4f8;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


.certificate-image-wrapper img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 15px;

    transition:
        transform 0.4s ease;
}


.certified-card:hover .certificate-image-wrapper img {
    transform: scale(1.04);
}


/* View certificate */

.view-certificate {
    position: absolute;

    left: 50%;

    bottom: 20px;

    transform: translateX(-50%);

    background:
        rgba(13, 92, 166, 0.95);

    color: #ffffff;

    padding: 10px 20px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 600;

    opacity: 0;

    transition:
        opacity 0.3s ease;

    white-space: nowrap;
}


.certified-card:hover .view-certificate {
    opacity: 1;
}


.view-certificate span {
    margin-right: 5px;
}


/* Certificate content */

.trust-content {
    padding: 25px;
}


.trust-content h3 {
    margin: 0 0 12px;

    color: #0d5ca6;

    font-size: 21px;
}


.trust-content p {
    color: #555;

    line-height: 1.7;

    margin-bottom: 18px;
}


.trust-content ul {
    list-style: none;

    padding: 0;

    margin: 0;
}


.trust-content li {
    margin-bottom: 8px;

    color: #333;

    font-size: 14px;
}


/* =====================================================
   CERTIFICATE POPUP
===================================================== */

.image-popup {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(0, 0, 0, 0.88);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    z-index: 99999;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.image-popup.active {
    opacity: 1;

    visibility: visible;
}


.popup-content {
    position: relative;

    max-width: 95vw;

    max-height: 95vh;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.popup-content h3 {
    color: #ffffff;

    margin-bottom: 15px;

    text-align: center;

    font-size: 20px;
}


.popup-image {
    max-width: 90vw;

    max-height: 82vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 8px;

    background: #ffffff;

    padding: 8px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5);
}


/* Close button */

.close-popup {
    position: fixed;

    top: 20px;

    right: 25px;

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #222;

    font-size: 32px;

    line-height: 40px;

    cursor: pointer;

    z-index: 100000;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.close-popup:hover {
    transform: rotate(90deg);

    background: #eeeeee;
}


body.popup-open {
    overflow: hidden;
}


/* =====================================================
   LOGIN PAGE
===================================================== */

body.login-page {
    min-height: 100vh;

    margin: 0;
    padding: 0;

    background:
        linear-gradient(
            135deg,
            #0d5ca6 0%,
            #17b39b 100%
        );

    font-family:
        'Segoe UI',
        Arial,
        sans-serif;

    display: flex;

    flex-direction: column;
}


/* Login header */

body.login-page .login-header {
    width: 100%;

    min-height: 80px;

    padding: 12px 35px;

    display: flex;

    align-items: center;

    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.12);

    position: relative;

    z-index: 10;
}


/* Login logo */

body.login-page .login-header .logo {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 0;

    padding: 0;

    width: auto;

    text-align: left;

    transform: none !important;
}


body.login-page .login-header .logo img {
    width: 58px;

    height: 58px;

    object-fit: contain;

    margin: 0;

    filter: none !important;

    transition: none !important;
}


body.login-page .login-header .logo-text {
    display: flex;

    flex-direction: column;

    justify-content: center;

    line-height: 1;

    margin: 0;

    padding: 0;
}


body.login-page .login-header .logo-main {
    font-size: 27px;

    font-weight: 800;

    letter-spacing: 0.5px;

    color: #0d5ca6 !important;

    background: none !important;

    -webkit-background-clip: initial !important;

    -webkit-text-fill-color: #0d5ca6 !important;

    animation: none !important;
}


body.login-page .login-header .logo-sub {
    font-size: 14px;

    font-weight: 700;

    color: #17a889;

    letter-spacing: 3px;

    margin-top: 4px;

    text-transform: uppercase;
}


/* Login section */

body.login-page .login-section {
    flex: 1;

    width: 100%;

    min-height:
        calc(100vh - 82px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px 20px;
}


/* Login box */

body.login-page .login-box {
    width: 100%;

    max-width: 410px;

    background: #ffffff;

    padding: 42px 40px;

    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 25px 60px rgba(0, 40, 80, 0.25);

    border:
        1px solid rgba(255, 255, 255, 0.7);

    position: relative;

    overflow: hidden;
}


body.login-page .login-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            #0d5ca6,
            #17b39b
        );
}


body.login-page .login-box h2 {
    margin: 0 0 10px;

    color: #003b73;

    font-size: 30px;

    font-weight: 750;

    line-height: 1.2;
}


body.login-page .login-description {
    margin: 0 auto 28px;

    max-width: 320px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


/* Login form */

body.login-page #loginForm {
    width: 100%;

    margin: 0;

    padding: 0;
}


body.login-page #loginForm input {
    display: block;

    width: 100%;

    height: 50px;

    padding: 0 16px;

    margin: 0 0 16px;

    border:
        1px solid #d5dee8;

    border-radius: 12px;

    background: #f8fafc;

    color: #1f2937;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


body.login-page #loginForm input::placeholder {
    color: #94a3b8;

    opacity: 1;
}


body.login-page #loginForm input:focus {
    background: #ffffff;

    border-color: #17b39b;

    box-shadow:
        0 0 0 4px rgba(23, 179, 155, 0.12);
}


/* Login button */

body.login-page #loginForm button {
    display: block;

    width: 100%;

    height: 50px;

    margin: 8px 0 0;

    padding: 0 20px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            #0d5ca6,
            #17b39b
        );

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(13, 92, 166, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


body.login-page #loginForm button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(13, 92, 166, 0.30);
}


body.login-page #loginForm button:active {
    transform: translateY(0);
}


body.login-page #loginForm button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* Login message */

body.login-page #loginMessage {
    min-height: 20px;

    margin: 15px 0 0;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.4;
}


/* Login footer */

body.login-page .login-footer {
    margin: 25px 0 0;

    padding-top: 18px;

    border-top: 1px solid #e5e7eb;

    color: #94a3b8;

    font-size: 12px;

    line-height: 1.5;
}


/* =====================================================
   TABLET - 900px
===================================================== */

@media (max-width: 900px) {

    header {
        width: 100%;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 12px;

        padding: 10px 15px;
    }


    .logo {
        width: 100%;

        justify-content: center;
    }


    .logo img {
        width: 52px !important;

        height: 52px !important;

        min-width: 52px;

        min-height: 52px;
    }


    .logo-main {
        font-size: 24px;
    }


    nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 6px;
    }


    nav a {
        font-size: 14px;

        padding: 8px 12px;
    }


    .hero {
        min-height: 450px;

        padding: 40px 25px;
    }


    .hero-content {
        width: 100%;

        max-width: 750px;

        padding: 35px 25px;
    }


    .hero h1 {
        font-size: 40px;
    }


    .hero p {
        font-size: 18px;
    }


    .about-home {
        flex-direction: column;

        text-align: center;

        padding: 50px 30px;
    }


    .about-image img {
        width: 250px;

        max-width: 80%;
    }


    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;

        padding: 30px;
    }


    .cards {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }


    .stats-container {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .enquiry-container {
        grid-template-columns: 1fr;
    }


    .review-layout {
        grid-template-columns: 1fr;
    }


    .quality-features {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .certified-container {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE - 600px
===================================================== */

@media (max-width: 600px) {

    body {
        width: 100%;

        overflow-x: hidden;
    }


    section {
        width: 100%;

        padding: 40px 15px;
    }


    /* Header */

    header {
        width: 100%;

        padding: 10px;

        gap: 12px;

        position: sticky;

        top: 0;

        z-index: 9999;
    }


    .logo {
        width: 100%;

        display: flex;

        justify-content: center;

        align-items: center;

        gap: 8px;
    }


    .logo img {
        width: 50px !important;

        height: 50px !important;

        min-width: 50px;

        min-height: 50px;

        transform: none !important;

        filter: none !important;
    }


    .logo-main {
        font-size: 23px;

        letter-spacing: 0.3px;
    }


    .logo-sub {
        font-size: 13px;

        letter-spacing: 2px;
    }


    /* Mobile nav */

    nav {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 6px;

        justify-content: center;

        align-items: center;
    }


    nav a {
        width: 100%;

        min-height: 40px;

        display: flex;

        align-items: center;

        justify-content: center;

        padding: 7px 5px;

        font-size: 12px;

        line-height: 1.2;

        text-align: center;

        border-radius: 18px;
    }


    nav .login-btn {
        grid-column: 1 / -1;

        width: 100%;
    }


    /* Hero */

    .hero {
        width: 100%;

        min-height: 430px;

        padding: 30px 15px;

        display: flex;

        align-items: center;

        justify-content: center;

        background-position: center;

        background-size: cover;
    }


    .hero-content {
        width: 100%;

        max-width: 100%;

        padding: 25px 15px;

        text-align: center;

        border-radius: 18px;
    }


    .hero h1 {
        font-size: 29px;

        line-height: 1.2;

        letter-spacing: -0.5px;

        margin-bottom: 15px;
    }


    .hero h2 {
        font-size: 26px;
    }


    .hero p {
        font-size: 15px;

        line-height: 1.6;

        margin-bottom: 20px;
    }


    /* Buttons */

    .btn {
        display: flex;

        width: 90%;

        max-width: 300px;

        min-height: 44px;

        align-items: center;

        justify-content: center;

        margin: 10px auto;

        padding: 11px 15px;

        font-size: 14px;

        text-align: center;
    }


    /* Medicine slider */

    .medicine-slider {
        width: 100%;

        padding: 25px 0;

        overflow: hidden;
    }


    .medicine-item {
        width: 145px;

        height: 145px;

        flex: 0 0 145px;

        margin: 0 10px;

        border-radius: 18px;
    }


    .medicine-item img {
        width: 100%;

        height: 145px;

        object-fit: cover;

        border-radius: 18px;
    }


    .medicine-item:hover img {
        transform: none;
    }


    /* Stats */

    .stats-section {
        width: 100%;

        padding: 30px 12px;
    }


    .stats-container {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }


    .stat-box {
        width: 100%;

        padding: 20px 8px;

        border-radius: 14px;
    }


    .stat-box h2 {
        font-size: 27px;
    }


    .stat-box p {
        font-size: 12px;

        line-height: 1.4;
    }


    /* About */

    .about-home {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 25px;

        padding: 40px 20px;

        text-align: center;
    }


    .about-image {
        width: 100%;

        display: flex;

        justify-content: center;
    }


    .about-image img {
        width: 170px;

        max-width: 70%;

        border-radius: 18px;
    }


    .about-content {
        width: 100%;
    }


    .about-content h2 {
        font-size: 27px;

        line-height: 1.3;

        margin-bottom: 15px;
    }


    .about-content p {
        font-size: 14px;

        line-height: 1.7;
    }


    /* Titles */

    .section-title {
        width: 100%;

        margin-bottom: 25px;

        text-align: center;
    }


    .section-title h1,
    .section-title h2 {
        font-size: 26px;

        line-height: 1.3;
    }


    .section-title p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* Products */

    .product-grid {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;

        padding: 20px 10px;
    }


    .product-card {
        width: 100%;

        min-height: auto;

        height: auto;

        border-radius: 18px;

        overflow: hidden;
    }


    .product-card img {
        width: 100%;

        height: 190px;

        object-fit: cover;
    }


    .product-card h3 {
        font-size: 19px;

        line-height: 1.3;

        padding: 0 18px;

        margin-top: 10px;
    }


    .product-card p {
        font-size: 14px;

        line-height: 1.5;

        padding: 0 18px 18px;
    }


    /* General cards */

    .cards {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 18px;

        padding: 15px 5px;
    }


    .card {
        width: 100%;

        padding: 25px 18px;

        text-align: center;

        border-radius: 18px;
    }


    .card h2,
    .card h3 {
        font-size: 21px;
    }


    .card p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* Healthcare CTA */

    .healthcare-cta {
        width: 100%;

        margin: 25px auto;

        padding: 32px 18px;

        border-radius: 18px;

        text-align: center;
    }


    .healthcare-cta h2 {
        font-size: 25px;

        line-height: 1.3;
    }


    .healthcare-cta p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* Reviews */

    #reviewContainer {
        width: 100%;

        display: flex;

        gap: 15px;

        overflow-x: auto;

        padding: 10px 5px 20px;

        animation: none;

        scrollbar-width: none;
    }


    #reviewContainer::-webkit-scrollbar {
        display: none;
    }


    .review-card {
        min-width: 280px;

        max-width: 280px;

        flex: 0 0 280px;

        padding: 22px;

        border-radius: 18px;
    }


    .review-card h3 {
        font-size: 18px;
    }


    .review-card p {
        font-size: 14px;

        line-height: 1.6;
    }


    .stars {
        font-size: 19px;
    }


    /* Enquiry */

    .enquiry-container {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .enquiry-info {
        padding: 28px 20px;

        border-radius: 20px;
    }


    .enquiry-info h2 {
        font-size: 26px;
    }


    .enquiry-form {
        padding: 25px 18px;

        border-radius: 20px;
    }


    /* Quality */

    .quality-section {
        width: 100%;

        margin: 40px auto;

        padding: 40px 20px;

        border-radius: 22px;
    }


    .quality-features {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    /* Medicine banner */

    .medicine-banner {
        width: 100%;

        margin: 40px auto;

        padding: 55px 20px;

        border-radius: 22px;
    }


    /* Forms */

    .form-box {
        width: 100%;

        padding: 25px 18px;

        border-radius: 18px;
    }


    input,
    textarea,
    select {
        width: 100%;

        font-size: 15px;

        padding: 12px;
    }


    /* Review page */

    .review-layout {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .review-info {
        padding: 30px 20px;

        border-radius: 20px;
    }


    .review-info h2 {
        font-size: 27px;
    }


    .review-form {
        width: 100%;

        padding: 25px 18px;

        border-radius: 20px;
    }


    /* Certificate */

    .certified-section {
        padding: 50px 15px;
    }


    .certified-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .certificate-image-wrapper {
        height: 260px;
    }


    .trust-content {
        padding: 20px;
    }


    .view-certificate {
        opacity: 1;
    }


    .image-popup {
        padding: 15px;
    }


    .popup-image {
        max-width: 95vw;

        max-height: 80vh;
    }


    .close-popup {
        top: 12px;

        right: 12px;

        width: 40px;

        height: 40px;

        font-size: 28px;
    }


    /* Footer */

    footer {
        width: 100%;

        padding: 25px 15px;

        text-align: center;
    }


    footer p {
        font-size: 12px;

        line-height: 1.6;

        margin: 7px 0;
    }


    /* Login */

    body.login-page .login-header {
        min-height: 72px;

        padding: 10px 18px;

        justify-content: center;
    }


    body.login-page .login-header .logo img {
        width: 50px;

        height: 50px;
    }


    body.login-page .login-header .logo-main {
        font-size: 23px;
    }


    body.login-page .login-header .logo-sub {
        font-size: 12px;

        letter-spacing: 2.5px;
    }


    body.login-page .login-section {
        min-height:
            calc(100vh - 72px);

        padding: 25px 16px;
    }


    body.login-page .login-box {
        max-width: 400px;

        padding: 35px 24px;

        border-radius: 20px;
    }


    body.login-page .login-box h2 {
        font-size: 26px;
    }


    body.login-page .login-description {
        font-size: 13px;

        margin-bottom: 24px;
    }


    body.login-page #loginForm input {
        height: 48px;

        font-size: 15px;
    }


    body.login-page #loginForm button {
        height: 48px;

        font-size: 15px;
    }

}


/* =====================================================
   VERY SMALL PHONES - 380px
===================================================== */

@media (max-width: 380px) {

    .logo img {
        width: 48px !important;

        height: 48px !important;
    }


    .logo-main {
        font-size: 21px;
    }


    .logo-sub {
        font-size: 11px;

        letter-spacing: 1.5px;
    }


    nav {
        gap: 5px;
    }


    nav a {
        min-height: 37px;

        font-size: 11px;

        padding: 6px 3px;
    }


    .hero {
        min-height: 410px;
    }


    .hero-content {
        padding: 20px 10px;
    }


    .hero h1 {
        font-size: 25px;
    }


    .hero p {
        font-size: 13px;
    }


    .btn {
        width: 95%;

        font-size: 13px;
    }


    .medicine-item {
        width: 125px;

        height: 125px;

        flex-basis: 125px;
    }


    .medicine-item img {
        height: 125px;
    }


    .stat-box {
        padding: 16px 5px;
    }


    .stat-box h2 {
        font-size: 23px;
    }


    .stat-box p {
        font-size: 11px;
    }


    .section-title h2 {
        font-size: 23px;
    }


    .healthcare-cta h2 {
        font-size: 22px;
    }


    body.login-page .login-box {
        padding: 30px 18px;
    }


    body.login-page .login-header .logo-main {
        font-size: 21px;
    }


    body.login-page .login-header .logo-sub {
        font-size: 11px;
    }

}

/* =====================================================
   J P BIOTECH - PROFESSIONAL ABOUT PAGE
===================================================== */


/* ================= ABOUT HERO ================= */

.about-hero {
    min-height: 380px;
}

.about-hero .hero-content {
    max-width: 850px;
}

.about-hero h1 {
    font-size: 48px;
}

.about-hero p {
    max-width: 700px;
}


/* ================= COMPANY INTRO ================= */

.about-company-section {
    background: #f5f9fc;
}


.about-company-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.15fr .85fr;

    gap: 45px;

    align-items: stretch;
}


.about-company-content {
    background: #ffffff;

    padding: 40px;

    border-radius: 22px;

    border: 1px solid #e3edf5;

    box-shadow:
        0 10px 30px rgba(0, 80, 140, .09);
}


.about-company-content h2 {
    color: #0056a6;

    font-size: 30px;

    margin-bottom: 20px;
}


.about-company-content p {
    color: #475569;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 18px;
}


.about-company-content strong {
    color: #0d5ca6;
}


/* ================= HIGHLIGHTS ================= */

.about-company-highlight {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.about-highlight-item {
    display: flex;

    gap: 18px;

    align-items: flex-start;

    background: #ffffff;

    padding: 25px;

    border-radius: 18px;

    border: 1px solid #e2edf5;

    box-shadow:
        0 8px 25px rgba(0, 80, 140, .08);
}


.about-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0d5ca6,
            #17b39b
        );

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;
}


.about-highlight-item h3 {
    color: #0056a6;

    margin-bottom: 5px;
}


.about-highlight-item p {
    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


/* ================= MISSION ================= */

.mission-section {
    background: #ffffff;
}


.mission-card {
    position: relative;

    overflow: hidden;
}


.mission-number {
    font-size: 14px;

    font-weight: 800;

    color: #17b39b;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


.mission-card h3 {
    font-size: 25px;
}


.mission-card p {
    line-height: 1.8;
}


/* ================= VALUES ================= */

.values-section {
    background: #f5f9fc;
}


.value-card {
    text-align: center;
}


.value-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0d5ca6,
            #17b39b
        );

    color: #ffffff;

    font-size: 22px;

    font-weight: 700;
}


.value-card h3 {
    font-size: 22px;

    margin-bottom: 10px;
}


/* ================= SERVICES ================= */

.about-services-section {
    background: #ffffff;
}


.about-services-section .card {
    min-height: 210px;
}


.about-services-section .card h3 {
    font-size: 22px;
}


/* ================= WHY CHOOSE ================= */

.why-about-section {
    background: #f5f9fc;
}


.why-about-section .card {
    min-height: 190px;
}


.why-about-section .card h3 {
    font-size: 21px;
}


/* ================= TRUST BANNER ================= */

.about-trust-section {
    padding: 80px 8%;

    background:
        linear-gradient(
            135deg,
            #003b73,
            #0d5ca6,
            #17b39b
        );

    color: #ffffff;

    text-align: center;
}


.about-trust-content {
    max-width: 900px;

    margin: auto;
}


.about-trust-content h2 {
    color: #ffffff;

    font-size: 38px;

    margin-bottom: 20px;
}


.about-trust-content p {
    color: #eaf8ff;

    font-size: 18px;

    line-height: 1.8;

    max-width: 800px;

    margin: auto;
}


.about-trust-points {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 30px;
}


.about-trust-points span {
    padding: 10px 18px;

    background: rgba(255,255,255,.14);

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 30px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;
}


/* ================= ABOUT CTA ================= */

.about-cta-section {
    background: #f5f9fc;
}


.about-cta-section .healthcare-cta {
    max-width: 950px;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .about-company-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}


@media (max-width: 600px) {

    .about-hero {
        min-height: 360px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-hero p {
        font-size: 15px;
    }

    .about-company-content {
        padding: 25px 20px;
    }

    .about-company-content h2 {
        font-size: 26px;
    }

    .about-company-content p {
        font-size: 14px;
    }

    .about-highlight-item {
        padding: 20px;

        gap: 12px;
    }

    .about-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 17px;
    }

    .about-highlight-item h3 {
        font-size: 18px;
    }

    .about-highlight-item p {
        font-size: 13px;
    }

    .mission-card h3 {
        font-size: 22px;
    }

    .value-card {
        padding: 25px 18px;
    }

    .about-trust-section {
        padding: 55px 20px;
    }

    .about-trust-content h2 {
        font-size: 28px;
    }

    .about-trust-content p {
        font-size: 15px;
    }

    .about-trust-points {
        flex-direction: column;

        align-items: center;
    }

    .about-trust-points span {
        width: 100%;
        max-width: 300px;
    }

}

/* =====================================================
   J P BIOTECH - PROFESSIONAL PRODUCTS PAGE
===================================================== */


/* =====================================================
   PRODUCTS HERO
===================================================== */

.products-hero {
    min-height: 400px;
}

.products-hero .hero-content {
    max-width: 900px;
}

.products-hero h1 {
    font-size: 48px;
}

.products-hero p {
    max-width: 720px;
}



/* =====================================================
   PRODUCTS INTRO
===================================================== */

.products-intro-section {
    background: #f5f9fc;
}


.products-intro-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 40px;

    align-items: stretch;
}


.products-intro-content {

    background: #ffffff;

    padding: 40px;

    border-radius: 22px;

    border: 1px solid #e3edf5;

    box-shadow:
        0 10px 30px rgba(0, 80, 140, .08);
}


.products-intro-content h2 {

    color: #0056a6;

    font-size: 30px;

    margin-bottom: 20px;
}


.products-intro-content p {

    color: #475569;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 17px;
}


.products-intro-points {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


.product-intro-point {

    display: flex;

    gap: 18px;

    align-items: flex-start;

    background: #ffffff;

    padding: 24px;

    border-radius: 18px;

    border: 1px solid #e3edf5;

    box-shadow:
        0 8px 25px rgba(0, 80, 140, .07);
}


.product-intro-point > span {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0d5ca6,
            #17b39b
        );

    color: #ffffff;

    font-weight: 800;
}


.product-intro-point h3 {

    color: #0056a6;

    font-size: 18px;

    margin-bottom: 5px;
}


.product-intro-point p {

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}



/* =====================================================
   PROFESSIONAL PRODUCT GRID
===================================================== */

.professional-products-section {

    background: #ffffff;

    padding-top: 75px;

    padding-bottom: 75px;
}


.professional-product-grid {

    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.professional-product-card {

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #e2ebf2;

    box-shadow:
        0 10px 30px rgba(0, 80, 140, .09);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.professional-product-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 80, 140, .16);
}


.professional-product-image {

    height: 220px;

    overflow: hidden;

    background: #eef5f8;
}


.professional-product-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease;
}


.professional-product-card:hover
.professional-product-image img {

    transform: scale(1.06);
}


.professional-product-content {

    padding: 25px;
}


.product-label {

    display: inline-block;

    color: #17a889;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;

    margin-bottom: 9px;
}


.professional-product-content h3 {

    color: #0056a6;

    font-size: 23px;

    margin-bottom: 10px;
}


.professional-product-content p {

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;

    min-height: 72px;

    margin-bottom: 15px;
}


.product-link {

    color: #0d5ca6;

    font-weight: 700;

    font-size: 14px;

    transition: color .25s ease;
}


.product-link:hover {

    color: #17a889;
}



/* =====================================================
   SPECIALITY PRODUCTS
===================================================== */

.speciality-products-section {

    background: #f5f9fc;

    padding-top: 75px;

    padding-bottom: 75px;
}


.speciality-grid {

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}


.speciality-card {

    display: grid;

    grid-template-columns: 190px 1fr;

    min-height: 190px;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #e2ebf2;

    box-shadow:
        0 8px 25px rgba(0, 80, 140, .08);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.speciality-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 80, 140, .14);
}


.speciality-card > img {

    width: 100%;

    height: 100%;

    min-height: 190px;

    object-fit: cover;
}


.speciality-card > div {

    padding: 25px;
}


.speciality-card span {

    color: #17a889;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.speciality-card h3 {

    color: #0056a6;

    font-size: 22px;

    margin: 7px 0;
}


.speciality-card p {

    color: #64748b;

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 12px;
}


.speciality-card a {

    color: #0d5ca6;

    font-size: 13px;

    font-weight: 700;
}


.speciality-card a:hover {

    color: #17a889;
}



/* =====================================================
   QUALITY & SERVICE
===================================================== */

.product-quality-section {

    padding: 80px 8%;

    background:
        linear-gradient(
            135deg,
            #003b73,
            #0d5ca6,
            #17b39b
        );

    color: #ffffff;
}


.product-quality-content {

    max-width: 1100px;

    margin: auto;
}


.product-quality-heading {

    max-width: 780px;

    margin: 0 auto 45px;

    text-align: center;
}


.product-quality-heading > span {

    color: #b8fff0;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.product-quality-heading h2 {

    color: #ffffff;

    font-size: 38px;

    margin: 10px 0 15px;
}


.product-quality-heading p {

    color: #e7f8ff;

    font-size: 16px;

    line-height: 1.8;
}


.product-quality-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.product-quality-grid > div {

    padding: 25px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid rgba(255,255,255,.18);
}


.product-quality-grid strong {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 15px;

    border-radius: 50%;

    background: #ffffff;

    color: #0d5ca6;

    font-size: 18px;
}


.product-quality-grid h3 {

    color: #ffffff;

    font-size: 18px;

    margin-bottom: 8px;
}


.product-quality-grid p {

    color: #e6f8ff;

    font-size: 13px;

    line-height: 1.6;
}



/* =====================================================
   PRODUCT ENQUIRY BANNER
===================================================== */

.product-enquiry-banner {

    padding: 80px 8%;

    background: #f5f9fc;
}


.product-enquiry-content {

    max-width: 1000px;

    margin: auto;

    padding: 60px 40px;

    text-align: center;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #eef9f7
        );

    border:
        1px solid #dcecf1;

    box-shadow:
        0 15px 40px rgba(0, 80, 140, .10);
}


.product-enquiry-content > span {

    color: #17a889;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.product-enquiry-content h2 {

    color: #003b73;

    font-size: 36px;

    margin: 10px 0 15px;
}


.product-enquiry-content p {

    max-width: 650px;

    margin: auto auto 25px;

    color: #64748b;

    font-size: 17px;

    line-height: 1.7;
}


.product-enquiry-content .btn {

    margin: 7px;
}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .products-intro-grid {

        grid-template-columns: 1fr;

    }


    .professional-product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .product-quality-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .speciality-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 600px) {

    .products-hero {

        min-height: 420px;

    }


    .products-hero h1 {

        font-size: 31px;

    }


    .products-intro-content {

        padding: 27px 20px;

    }


    .products-intro-content h2 {

        font-size: 26px;

    }


    .products-intro-content p {

        font-size: 14px;

    }


    .professional-products-section,
    .speciality-products-section {

        padding-top: 50px;

        padding-bottom: 50px;

    }


    .professional-product-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .professional-product-image {

        height: 210px;

    }


    .professional-product-content {

        padding: 22px;

    }


    .professional-product-content h3 {

        font-size: 21px;

    }


    .professional-product-content p {

        min-height: auto;

    }


    .speciality-grid {

        grid-template-columns: 1fr;

    }


    .speciality-card {

        grid-template-columns: 1fr;

    }


    .speciality-card > img {

        height: 200px;

        min-height: 200px;

    }


    .speciality-card > div {

        padding: 22px;

    }


    .product-quality-section {

        padding: 55px 20px;

    }


    .product-quality-heading h2 {

        font-size: 28px;

    }


    .product-quality-heading p {

        font-size: 14px;

    }


    .product-quality-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .product-enquiry-banner {

        padding: 50px 15px;

    }


    .product-enquiry-content {

        padding: 40px 20px;

        border-radius: 22px;

    }


    .product-enquiry-content h2 {

        font-size: 28px;

    }


    .product-enquiry-content p {

        font-size: 14px;

    }


    .product-enquiry-content .btn {

        width: 90%;

    }

}

/* =====================================================
   DIRECTOR'S MESSAGE
===================================================== */

.director-message-section {
    padding: 80px 7%;
    background: #f7fbff;
}


.director-message-container {
    max-width: 1150px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: 320px 1fr;

    gap: 55px;
    align-items: center;

    background: #ffffff;

    padding: 45px;

    border-radius: 22px;

    border: 1px solid rgba(13, 92, 166, 0.12);

    box-shadow:
        0 15px 40px rgba(13, 92, 166, 0.10);
}
/* =====================================================
   PREMIUM DIRECTOR PHOTO CARD
===================================================== */

.director-photo {
    position: relative;

    width: 300px;
    height: 370px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;

    border-radius: 28px;

    background:
        linear-gradient(145deg,
            rgba(13, 92, 166, 0.12),
            rgba(23, 179, 155, 0.12));

    box-shadow:
        0 20px 45px rgba(13, 92, 166, 0.16);

    isolation: isolate;

    animation: directorFloat 5s ease-in-out infinite;

}


/* Animated glowing border */

.director-photo::before {

    content: "";

    position: absolute;

    inset: -3px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #0d5ca6,
            #17b39b,
            #0d5ca6,
            #17b39b
        );

    background-size: 300% 300%;

    z-index: -2;

    animation: directorBorder 5s ease infinite;

}


/* Inner glass layer */

.director-photo::after {

    content: "";

    position: absolute;

    inset: 6px;

    border-radius: 23px;

    background: rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(8px);

    z-index: -1;

}


/* Director image */

.director-photo img {

    width: 265px;
    height: 335px;

    object-fit: cover;

    border-radius: 20px;

    display: block;

    border: 4px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.5s ease,
        filter 0.5s ease,
        box-shadow 0.5s ease;

}


/* Hover effect */

.director-photo:hover img {

    transform: scale(1.045);

    filter: brightness(1.04)
            saturate(1.08);

    box-shadow:
        0 20px 45px rgba(13, 92, 166, 0.28);

}


/* Floating animation */

@keyframes directorFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* Animated border */

@keyframes directorBorder {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .director-photo {

        width: 245px;
        height: 310px;

    }


    .director-photo img {

        width: 215px;
        height: 275px;

    }

}

/* =====================================================
   ADMIN LOGOUT BUTTON
===================================================== */

.logout-btn {

    border: 1px solid rgba(255, 255, 255, 0.45);

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    padding: 10px 18px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.logout-btn:hover {

    background: rgba(255, 255, 255, 0.22);

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.15);

}


.logout-btn:active {

    transform: translateY(0);

}


.logout-btn:disabled {

    opacity: 0.65;

    cursor: not-allowed;

}

/* ================= GOOGLE MAP LOCATION ================= */

.location-section {
padding: 60px 6%;
}

.location-section .section-title {
text-align: center;
margin-bottom: 35px;
}

.location-section .section-title h2 {
margin-bottom: 10px;
}

.location-section .section-title p {
color: #666;
}

/* Main Location Container */

.location-container {
max-width: 1200px;
margin: auto;

display: grid;
grid-template-columns: 0.8fr 1.5fr;

gap: 30px;

background: #ffffff;

border-radius: 18px;

overflow: hidden;

box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);

}

/* Address Information */

.location-info {
padding: 40px;

display: flex;
flex-direction: column;
justify-content: center;

background: linear-gradient(
    135deg,
    #0d5ca6,
    #17b39b
);

color: white;

}

.location-info h3 {
font-size: 26px;
margin-bottom: 20px;
}

.location-info p {
line-height: 1.7;
margin-bottom: 20px;
}

/* Google Map */

.map-container {
width: 100%;
min-height: 450px;
}

.map-container iframe {
width: 100%;
height: 100%;
min-height: 450px;
display: block;
}

/* Open Google Maps Button */

.map-btn {
display: inline-block;

width: fit-content;

padding: 12px 22px;

margin-top: 5px;

background: white;

color: #0d5ca6;

text-decoration: none;

border-radius: 8px;

font-weight: 600;

transition: all 0.3s ease;

}

.map-btn {
transform: translateY(-2px);

box-shadow: 0 6px 15px rgba(0,0,0,0.20);

}

/* Mobile */

@media (max-width: 768px) {

.location-section {
    padding: 45px 5%;
}

.location-container {
    grid-template-columns: 1fr;
}

.location-info {
    padding: 30px;
}

.map-container,
.map-container iframe {
    min-height: 350px;
}

}

/* =====================================================
   PRODUCT CATEGORIES - CENTER ALIGNMENT
===================================================== */

.professional-products-section {
    padding: 70px 6%;
}

.professional-products-section .section-title {
    text-align: center;
    margin-bottom: 45px;
}


/* Product Category Grid */

.professional-product-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(300px, 1fr));

    gap: 30px;

    justify-content: center;
    align-items: stretch;
}


/* Product Cards */

.professional-product-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);

    transition: all 0.3s ease;
}

.professional-product-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}


/* Product Image */

.professional-product-image {
    width: 100%;
    height: 240px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f9fc;

    overflow: hidden;
}

.professional-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.professional-product-card:hover
.professional-product-image img {
    transform: scale(1.04);
}


/* Product Content */

.professional-product-content {
    padding: 28px;

    text-align: center;
}

.professional-product-content .product-label {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #0d5ca6;
}

.professional-product-content h3 {
    margin: 5px 0 12px;

    font-size: 23px;

    color: #16324f;
}

.professional-product-content p {
    margin-bottom: 20px;

    line-height: 1.6;

    color: #666;
}

.product-link {
    display: inline-block;

    color: #0d5ca6;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.3s ease;
}

.product-link:hover {
    color: #17b39b;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .professional-products-section {
        padding: 50px 5%;
    }

    .professional-product-grid {
        grid-template-columns: 1fr;

        max-width: 520px;

        margin: 0 auto;
    }

    .professional-product-card {
        max-width: 100%;
    }

}

/* =====================================================
   CLICKABLE PRODUCT CATEGORY CARDS
===================================================== */

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card-link:hover {
    text-decoration: none;
}

.product-card-link .product-link {
    display: inline-block;
    margin-top: 5px;
}

.category-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1350px !important;
    margin: 50px auto 0 !important;
    align-items: stretch !important;
}

.category-product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    display: flex;
    flex-direction: column;

    min-height: 570px;

    background: #fff;
    border: 1px solid #e3ebf0;
    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.category-product-image {
    width: 100%;
    height: 330px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: linear-gradient(
        145deg,
        #f9fcfd,
        #edf5f8
    );

    overflow: hidden;
}

.category-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-product-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 32px;
    text-align: center;
}

.category-product-content h3 {
    margin: 0 0 15px;
    color: #123b52;
    font-size: 23px;
    line-height: 1.35;
}

.category-product-content p {
    margin: 0 auto 28px;
    max-width: 310px;

    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.category-product-content .product-enquire {
    margin-top: auto;

    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #087f8c;
    color: #fff;

    font-weight: 600;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .category-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 30px !important;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .category-products-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .category-product-card {
        min-height: auto;
    }

    .category-product-image {
        height: 300px;
    }

    .category-product-content {
        padding: 28px 24px;
    }
}

/* =====================================================
   FLOATING SOCIAL MEDIA
===================================================== */

.floating-social {
    position: fixed;
    right: 20px;
    bottom: 25px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 99999;
}


.floating-social-btn {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;

    font-size: 24px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.20);

    transition: all 0.3s ease;
}


.floating-social-btn:hover {
    transform: scale(1.12) translateY(-3px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
}


.floating-social-btn.whatsapp {
    background: #25D366;
}


.floating-social-btn.facebook {
    background: #1877F2;
}


.floating-social-btn.instagram {
    background: linear-gradient(
        135deg,
        #833AB4,
        #FD1D1D,
        #FCAF45
    );
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .floating-social {
        right: 14px;
        bottom: 18px;
        gap: 9px;
    }

    .floating-social-btn {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

}