/* Global Styles */
:root {
    --primary-color: #0056b3; /* Dark blue - professional pharmaceutical color */
    --secondary-color: #00a0e1; /* Lighter blue */
    --third-color: #28a745; /* Green for success messages */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --white: #fff;
    --black: #000;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-small {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--secondary-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
}

.logo h1 span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('Img/main-banarUp2.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    text-shadow: 5px 5px 10px var(--black);
    color: var(--white);
    margin-top: 70px;
}

.hero-logo {
    width: 400px;
    max-width: 80%;
    margin-bottom: 30px;
    background-color:var(--white);
    padding: 10px;
    border-radius: 15px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .hero-content .hero-logo{display: none;}
.hero .hero-content h2{display: none;}
.hero .hero-content p{display: none;}
.hero .hero-content .btn{display: none;}

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url('Img/main-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.page-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: var(--light-color);
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    padding: 15px 20px 0;
    color: var(--primary-color);
}

.product-card p {
    padding: 10px 20px;
    color: var(--gray);
}

.product-card .btn-small {
    margin: 0 20px 20px;
}

/* Products List Page */
.product-categories {
    padding: 60px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.product-item {
    display: flex;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-list-image {
    width: 200px;
    background-size: cover;
    background-position: center;
}

.product-list-info {
    padding: 20px;
    flex: 1;
}

.product-list-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.product-list-info .category {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-list-info p {
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* Product Detail Page */
.product-details {
    padding: 60px 0;
}

.product-detail-container {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    flex: 1;
}

.main-image {
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.product-info .category {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.product-specs {
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.product-specs p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.product-specs .BigInfo {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.product-specs p strong {
    color: var(--dark-color);
}

.product-description h4 {
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.product-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-description ul li {
    margin-bottom: 8px;
}

.product-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.tab-buttons .tab-btn {
    padding: 10px 25px;
    background: transparent;
    color: var(--dark-color);
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    position: relative;
    bottom: -1px;
}

.tab-buttons .tab-btn.active {
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tab-pane p {
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    /*border-radius: 15px;*/
}
.about-content .about-section {
    border-radius: 15px; 
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* About Page Styles */
.about-content {
    padding: 60px 0;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-section.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values-section {
    padding: 60px 0;
    background: var(--light-color);
    text-align: center;
}

.values-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.team-section {
    padding: 60px 0;
    text-align: center;
}

.team-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
}

.team-member h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-content {
    padding: 60px 0;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-form {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.map-section {
    padding: 0 0 60px;
}

.map-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo h3 span {
    color: var(--secondary-color);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* admin*/
.admin-content{
    padding: 60px 0;
}

.admin-content .btn
{
    margin-bottom: 10px;
    width: calc(50% - 10px);
}

.admin-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16pt;
    color: var(--primary-color);
}

.admin-content input[type="text"],
.admin-content input[type="password"],
.admin-content input[type="number"],
.admin-content input[type="file"],
.admin-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14pt;
    font-family: inherit;
    transition: all 0.3s ease;
}

.admin-content input[type="text"]:focus,
.admin-content input[type="Password"]:focus,
.admin-content input[type="number"]:focus,
.admin-content input[type="file"]:focus,
.admin-content textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.admin-content input[type="submit"],
.admin-content input[type="reset"],
.admin-content input[type="button"] 
 {
    background: green;
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16pt;
    font-weight: bold;
}

.admin-content input[type="reset"] {
    background: red;
    color: var(--white);
} 

.admin-content input[type="button"] {
    background: var(--primary-color);
    color: var(--white);
}

.admin-content input[type="submit"]:hover,
.admin-content input[type="button"]:hover,
.admin-content input[type="reset"]:hover
{
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-content input[type="submit"]:hover {background: rgba(0, 255, 0, 0.7)}
.admin-content input[type="reset"]:hover {background: rgba(255, 0, 0, 0.7)}

.admin-content .admin-Login {
    display: inline-block;
    width: 400px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    border-top: 10px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}   

.admin-content .admin-Login input{margin-bottom: 15px;}
.admin-content #Topic_content{text-align: center;}


.Topic_content{
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    border-top: 10px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-detail-container,
    .contact-container {
        flex-direction: column;
    }
    .hero{
        background: url(Img/mob-bannerup.jpg);
        background-size: cover;
        background-position: center;
    }

    .product-list-image {
        width: 150px;
    }

.admin-content .btn
{
    width: 100%;
}
    
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0;
        padding: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .products-list {
        grid-template-columns: 1fr;
    }
    
    .product-item {
        flex-direction: column;
    }
    
    .product-list-image {
        width: 100%;
        height: 200px;
    }
    
    .about-section,
    .about-section.reverse {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }

    .product-pagehero {
        display: none !important;
    }    

    .product-details{margin-top: 70px;}

}