﻿:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --pharma-blue: #1e40af;
    --light-blue: #dbeafe;
}

body {
    font-family: 'General Sans Variable';
    color: var(--text-dark);
    font-size: 15px;
}

@font-face {
    font-family: 'General Sans Variable';
    src: url('../font/GeneralSans-Variable.woff2') format('woff2');
    font-weight: 200 900; /* Variable font weight range */
    font-display: swap;
}

h4 {
    font-size: 1.3rem !important;
}

p {
    margin-bottom: 0px !important;
}

.logo-size {
    width: 40px;
}


.navbar-toggler-icon {
    background-image: url('/image/menu-bar.png');
}

.navbar {
    background: #ffffff !important;
    color: #000 !important;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(6px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: rgb(39 45 61) !important;
    letter-spacing: 0px;
}

.navbar-nav .nav-link {
    color: rgb(0, 0, 0) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #8c7fca !important;
        transform: translateY(-2px);
    }

/* Dropdown Styles */
.dropdown-menu {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    margin-top: 10px;
    padding: 10px 0;
}

.dropdown-item {
    color: white !important;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--accent-color) !important;
        transform: translateX(5px);
    }

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 8px 0;
}

.dropdown-toggle::after {
    border-top-color: white;
    margin-left: 8px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-pharma {
    background: #bfaaa433;
    border: #ffffff66 solid 1px;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-pharma:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
        color: white;
    }

.section-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

    .section-title.text-start {
        text-align: left !important;
    }

.about-section {
    background-color: #ffffff;
    padding: 60px 0;
}

/* Director Section Styles */
.director-section {
    background: #f7ecff;
    padding: 20px;
    border-radius: 5px;
}

.director-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.director-quote {
    margin: 0;
    font-style: italic;
    color: var(--text-dark);
}

    .director-quote p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .director-quote cite {
        font-size: 0.9rem;
        color: var(--primary-color);
        font-weight: 600;
    }

/* Mission Vision Cards */
.mission-vision-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
    height: 100%;
}

    .mission-vision-card i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .mission-vision-card h5 {
        color: #000000;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .mission-vision-card p {
        color: var(--text-light);
        font-size: 0.9rem;
        margin: 0;
    }

.icon-max {
    color: #8c7fca !important;
}

/* Product Category Styles */
.product-category {
    margin-bottom: 50px;
}

.bg-color {
    background: #f8f6fb;
}

.category-title {
    color: #534a7f;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 1px solid #dedede;
    padding-bottom: 10px;
}

.brand-med {
    font-size: 16px;
    font-weight: 500;
    line-height: 13px;
    color: #685f94;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    text-align: center;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    }

.product-icon {
    font-size: 2rem;
    color: #8c7fca;
    margin-bottom: 20px;
}

.company-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

    .company-logo:hover {
        filter: grayscale(0%);
        transform: scale(1.1);
    }

.view-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-top: 13px;
    border: #8378b6 solid 1px !important;
    border: none;
    color: #000000;
}

    .view-btn:hover {
        background: #8378b6;
        color: #fff !important;
    }

.back-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-top: 13px;
    background: #8378b6;
    border: none;
    color: #ffffff;
}

    .back-btn:hover {
        background: #8378b6;
        color: #fff !important;
    }

.product-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-top: 13px;
    border: #ffffff solid 1px !important;
    border: none;
    color: #ffffff;
}

    .product-btn:hover {
        background: #8378b6;
        color: #fff !important;
        border: #8378b6 solid 1px !important;
    }

/* Contact Section Styles */
.contact-info-section {
    background: #f3eff9;
    padding: 30px;
    border-radius: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon-wrapper {
    color: #8c7fca;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.contact-details h5 {
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 17px;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Business Hours */
.business-hours {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
}

    .business-hours h5 {
        color: #000;
        font-weight: 600;
        margin-bottom: 15px;
    }

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .hours-item:last-child {
        border-bottom: none;
    }

    .hours-item span:first-child {
        font-weight: 500;
        color: var(--text-dark);
    }

    .hours-item span:last-child {
        color: #000;
    }

.text-red {
    color: #e70c0c !important;
}
/* Nwewly product button  animations */

.wrapper {
    display: flex;
    justify-content: flex-end; /* Push button to right */
}

.cta {
    display: flex;
    align-items: center; /* vertically center text + arrow */
    padding: 10px 60px; /* wider padding */
    min-width: 350px; /* force button width */
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    white-space: nowrap; /* prevent text wrapping */
    color: white;
    background: #8378b6;
    transition: 1s;
    box-shadow: 6px 6px 0 #c7d3dc;
    transform: skewX(-15deg);
}
    .cta:focus {
        outline: none;
    }

    .cta:hover {
        transition: 0.5s;
        box-shadow: 10px 10px 0 #FBC638;
    }

    .cta span:nth-child(2) {
        transition: 0.5s;
        margin-right: 0px;
    }

    .cta:hover span:nth-child(2) {
        transition: 0.5s;
        margin-right: 45px;
    }

    .cta span {
        transform: skewX(15deg)
    }

        .cta span:nth-child(2) {
            width: 20px;
            margin-left: 15px;
            position: relative;
            top: -13%;
        }

/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }

    50% {
        fill: #FBC638;
    }

    100% {
        fill: white;
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 30px;
    border: #33333329 solid 1px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    border-radius: 5px;
}

.contact-form .form-control {
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

    .contact-form .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
    }

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.btn-submit {
    background: #8c7fca !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 15px;
    margin-top: 32px;
}

.footer {
    background: linear-gradient(135deg, var(--text-dark), #1f0b24);
    color: white;
    padding: 50px 0 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        color: #8c7fca;
        transform: translateY(-3px);
    }

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

    .carousel-item:nth-child(1) {
        background-image: linear-gradient(rgb(25 12 43 / 50%), rgb(0 0 0 / 60%)), url('/image/man.jpg');
    }

    .carousel-item:nth-child(2) {
        background-image: linear-gradient(rgb(25 12 43 / 50%), rgb(0 0 0 / 60%)), url('/image/pharmacist.jpg');
    }

    .carousel-item:nth-child(3) {
        background-image: linear-gradient(rgb(25 12 43 / 50%), rgb(0 0 0 / 60%)), url('/image/lab.jpg');
    }

.carousel-caption {
    bottom: 20%;
    text-align: left;
    left: 10%;
    right: 45%;
}

    .carousel-caption h1 {
        font-size: 4rem;
        font-weight: 300;
        margin-bottom: 1rem;
        letter-spacing: -1px;
    }

    .carousel-caption p {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

/* Text Animation Classes */
.animate-text {
    animation: slideInLeft 1s ease-out;
}

.animate-text-delay {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.animate-text-delay-2 {
    animation: slideInLeft 1s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Thumbnail Navigation Styles */
.carousel-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.thumbnail-item {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

    .thumbnail-item.active {
        border-color: white;
        opacity: 1;
        transform: scale(1.1);
    }

    .thumbnail-item:hover {
        opacity: 0.8;
        transform: scale(1.05);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Location Map */
.location-map {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

    .location-map h5 {
        color: #000;
        font-weight: 600;
    }

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
}

/* Top Header Section Styles */
.top-header-section {
    background-image: linear-gradient(rgb(25 12 43 / 50%), rgb(0 0 0 / 60%)),url('/image/medicine.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.header-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'General Sans Variable';
    color: white;
}

.header-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    margin-bottom: 10px !important;
}

.header-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .header-buttons .btn {
        padding: 12px 25px;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .header-buttons .btn-primary {
        background: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

        .header-buttons .btn-primary:hover {
            background: var(--secondary-color);
            border-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
        }

    .header-buttons .btn-outline-light {
        border: 2px solid white;
        color: white;
    }

        .header-buttons .btn-outline-light:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
        }

/* Search Container Styles */
.search-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

    .search-container .input-group {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    .search-container .input-group-text {
        background: #50457f;
        color: white;
        border: none;
        padding: 12px 15px;
    }

    .search-container .form-control {
        border: none;
        padding: 12px 15px;
        font-size: 1rem;
    }

        .search-container .form-control:focus {
            box-shadow: none;
            border-color: var(--primary-color);
        }

    .search-container .btn-outline-secondary {
        border: none;
        background: #f8f9fa;
        color: #6c757d;
        padding: 12px 15px;
        transition: all 0.3s ease;
    }

        .search-container .btn-outline-secondary:hover {
            background: #e9ecef;
            color: #495057;
        }

.search-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

    .search-stats .badge {
        font-size: 0.9rem;
        padding: 8px 15px;
        font-weight: 400;
        border-radius: 5px;
    }

.page-link {
    color: #000 !important;
}

/* Responsive Design for Header */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .header-buttons {
        flex-direction: column;
    }

        .header-buttons .btn {
            width: 100%;
            text-align: center;
        }

    .search-container .row {
        flex-direction: column;
        gap: 15px;
    }

    .search-stats {
        justify-content: flex-start;
    }
}

/* Enquiry Bot Styles */
.enquiry-bot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'General Sans Variable';
}

.bot-toggle {
    background: linear-gradient(135deg, #e61c1c, #f63b93);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

    .bot-toggle:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    }

    .bot-toggle i {
        font-size: 1.2rem;
    }

.bot-label {
    font-size: 0.9rem;
}

.bot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

    .bot-window.active {
        display: flex;
    }

.bot-header {
    background: linear-gradient(135deg, #e61c1c, #f63b93);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .bot-header h6 {
        margin: 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.bot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

    .bot-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.bot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bot-message, .user-message {
    width: 100%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    background: #f1f5f9;
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.bot-input {
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .bot-input input {
        flex: 1;
        border: 1px solid #d1d5db;
        border-radius: 25px;
        padding: 10px 15px;
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .bot-input input:focus {
            border-color: var(--primary-color);
        }

    .bot-input button {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .bot-input button:hover {
            transform: scale(1.1);
        }

.btn-send {
    background: linear-gradient(135deg, #e61c1c, #f63b93) !important;
    border: none !important;
    letter-spacing: 2px !important;
    text-transform: none !important;
    font-size: 12px !important;
    color: #fff !important;
    font-family: 'General Sans Variable' !important;
    padding: 10px !important;
}

.table-responsive {
    overflow-x: scroll !important;
}

.brand-title {
    font-size: 25px;
    color: #050a4c;
    font-weight: 600;
}

/* Responsive Design for Bot */
@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
    }

        .carousel-caption h1 {
            font-size: 2rem;
        }

        .carousel-caption p {
            font-size: 1.1rem;
        }

    .section-title {
        font-size: 2rem;
    }

    .director-section {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: left;
    }

    .hours-item {
        flex-direction: column;
        gap: 5px;
    }

    .bot-window {
        width: 300px;
        height: 400px;
        right: -10px;
    }

    .bot-toggle {
        padding: 12px 16px;
    }

    .bot-label {
        display: none;
    }
}

/* Date input specific styles */
.search-container input[type="date"] {
    font-family: 'General Sans Variable';
    color: #333;
}

    .search-container input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

        .search-container input[type="date"]::-webkit-calendar-picker-indicator:hover {
            opacity: 1;
        }

.search-container .btn-primary {
    background: #50457f;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .search-container .btn-primary:hover {
        background: #8378b6;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(80, 69, 127, 0.3);
    }

.search-container .btn-outline-secondary.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

    .search-container .btn-outline-secondary.btn-sm:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
    }

/* Enhanced responsive design for search */
@media (max-width: 768px) {
    .search-container .row {
        flex-direction: column;
        gap: 15px;
    }

    .search-container .col-md-2 {
        margin-top: 10px;
    }

    .search-container .d-flex {
        justify-content: center;
    }

    .search-stats.text-end {
        text-align: left !important;
        margin-top: 10px;
    }
}


.pagination-container {
    display: flex;
    justify-content: center; /* center the entire pagination row */
    align-items: center;
    flex-wrap: wrap;
    gap: 5px; /* spacing between buttons */
    margin-top: 20px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

    .page-numbers button {
        min-width: 40px;
        padding: 5px 10px;
        border: 1px solid #ccc;
        background-color: white;
        cursor: pointer;
    }

        .page-numbers button.active {
            background-color: #007bff;
            color: white;
        }

        .page-numbers button:hover {
            background-color: #0056b3;
            color: white;
        }

.pagination-container button {
    padding: 5px 10px;
}
