/* ============================================
   Geniquest Pharmaceuticals - Professional Site
   Color Scheme: Teal / Blue (matches geniquestpharma.com)
   ============================================ */

:root {
    /* Teal/Blue brand palette - matches geniquestpharma.com */
    --primary-green: #0d9488;      /* teal-600 */
    --light-green: #99f6e4;        /* teal-200 */
    --dark-green: #0f766e;         /* teal-700 */
    --extra-light-green: #e6fffa;  /* teal-50 tint */
    --accent-blue: #3b82f6;        /* blue-500 - hero gradient end */
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
}

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

/* ============================================
   General Styles
   ============================================ */

html {
    scroll-behavior: smooth;
}

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

.bg-light-green {
    background-color: var(--light-green) !important;
}

.bg-extra-light-green {
    background-color: var(--extra-light-green) !important;
}

.text-success {
    color: var(--primary-green) !important;
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green) !important;
}

.navbar-brand i {
    margin-right: 8px;
}

.navbar-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.navbar .nav-link.active {
    color: var(--primary-green) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-green);
}

/* ============================================
   Sub-Page Header Banner
   ============================================ */

.page-header-section {
    background: linear-gradient(135deg, var(--extra-light-green) 0%, var(--light-green) 100%);
    padding: 60px 0;
}

.page-header-section h1 {
    font-size: 2.5rem;
}

.page-header-section p {
    font-size: 1.05rem;
}

@media (max-width: 576px) {
    .page-header-section {
        padding: 40px 0;
    }

    .page-header-section h1 {
        font-size: 1.8rem;
    }
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--light-green);
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.08);
}

/* ============================================
   Hero Section - Teal/Blue (matches geniquestpharma.com)
   ============================================ */

.hero-section {
    min-height: 600px;
    background: linear-gradient(to right, var(--primary-green) 0%, var(--accent-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-content .badge.bg-success {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff !important;
    animation: slideInLeft 0.8s ease;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease 0.2s both;
}

.hero-content .btn-success {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--primary-green);
    font-weight: 700;
}

.hero-content .btn-success:hover {
    background-color: var(--extra-light-green);
    color: var(--dark-green);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: radial-gradient(circle at center, #00bba7 0%, #0091bb 70%, transparent 90%);
    min-height: 500px;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 10px;
    animation: slideInRight 0.8s ease;
}

.hero-banner-img {
    max-width: 100%;
    height: auto;
    max-height: 90%;
    object-fit: contain;
    object-position: bottom;
    animation: slideInRight 0.8s ease;
}

.skew-divider {
    height: 40px;
    background-color: var(--primary-green);
    transform: skewY(-2deg);
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Category Cards
   ============================================ */

.category-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.15);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background-color: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.category-card h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Product Cards
   ============================================ */

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.2);
    border-color: var(--primary-green);
}

.product-image {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-green);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
}

.product-body {
    padding: 20px;
}

.product-body h5 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-body .text-muted {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-card .btn {
    font-size: 0.9rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

/* ============================================
   Tabs
   ============================================ */

.nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
    color: var(--text-light) !important;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 20px;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--light-green);
    color: var(--primary-green) !important;
}

.nav-tabs .nav-link.active {
    background: none;
    border-bottom-color: var(--primary-green);
    color: var(--primary-green) !important;
}

#productTabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#productTabs::-webkit-scrollbar {
    display: none;
}

#productTabs .nav-link {
    white-space: nowrap;
}

@media (max-width: 768px) {
    #productTabs {
        justify-content: flex-start !important;
    }
}

/* ============================================
   Feature Boxes
   ============================================ */

.feature-box {
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-box h5 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form {
    background: var(--extra-light-green);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 25px;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.15);
    background-color: white;
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* ============================================
   Contact Information
   ============================================ */

.contact-info {
    padding: 30px;
}

.contact-info h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-info strong {
    color: var(--text-dark);
}

/* ============================================
   Modal Styles
   ============================================ */

.modal-header {
    background-color: var(--primary-green);
    border: none;
}

.modal-header .modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 25px;
    line-height: 1.8;
}

.modal-footer .btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background-color: var(--primary-green);
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a.text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-footer .social-links a {
    color: #ffffff;
}

.footer-bottom-bar {
    background-color: #d1d5db;
    color: #374151;
    font-size: 0.9rem;
}

footer h5, footer h6 {
    font-weight: 700;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ffffff;
    color: var(--primary-green) !important;
    transform: translateY(-3px);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .hero-section {
        min-height: auto;
    }

    .hero-image {
        min-height: 300px;
        margin-top: 30px;
    }

    .hero-banner-img {
        max-height: 280px;
    }

    .category-card {
        padding: 30px 20px;
    }

    .contact-form,
    .contact-info {
        margin-bottom: 30px;
    }

    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 30px 0;
    }

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

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

    .product-card {
        margin-bottom: 20px;
    }

    .feature-box {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    footer {
        font-size: 0.9rem;
    }
}

/* ============================================
   Utilities
   ============================================ */

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.opacity-50 {
    opacity: 0.5;
}

.rounded {
    border-radius: 12px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* ============================================
   Top Announcement Bar
   ============================================ */

.top-bar {
    background-color: var(--dark-green);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.85rem;
    overflow: hidden;
}

.announcement-text {
    white-space: nowrap;
    overflow: hidden;
}

.top-bar-contact a {
    font-size: 0.85rem;
}

/* ============================================
   Mission / Quote Section
   ============================================ */

.mission-section {
    background: linear-gradient(135deg, var(--extra-light-green) 0%, #ffffff 100%);
}

.mission-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
}

.mission-author {
    font-size: 1rem;
}

/* ============================================
   Stat Boxes (Our Expertise)
   ============================================ */

.stat-box {
    background: var(--extra-light-green);
    padding: 20px 10px;
    border-radius: 10px;
}

.stat-box h3 {
    font-size: 2rem;
}

/* ============================================
   News Cards (What's New)
   ============================================ */

.news-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.15);
}

.news-date {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.news-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ============================================
   Leadership / Director Cards
   ============================================ */

.director-card {
    background: white;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.15);
}

.director-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-green);
}

/* ============================================
   Gallery
   ============================================ */

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.25);
}

/* ============================================
   Responsive additions for new sections
   ============================================ */

@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }

    .top-bar-contact {
        display: none !important;
    }

    .mission-quote {
        font-size: 1.1rem;
    }

    .gallery-img {
        height: 180px;
    }
}

/* ============================================
   Gallery Placeholder Tiles
   ============================================ */

.gallery-placeholder {
    height: 220px;
    border-radius: 10px;
    background: var(--extra-light-green);
    border: 2px dashed var(--light-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.gallery-placeholder i {
    font-size: 2.2rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.gallery-placeholder span {
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.85;
}

.gallery-placeholder:hover {
    background: var(--light-green);
    border-color: var(--primary-green);
}

@media (max-width: 768px) {
    .gallery-placeholder {
        height: 180px;
    }
}

/* ============================================
   Key Focus Area Cards (Home)
   ============================================ */

.focus-card {
    background: #efefef;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
    border-color: var(--primary-green);
    background: linear-gradient(to bottom right, #00968e, #a9d6e1);
}

.focus-card:hover h5,
.focus-card:hover p {
    color: #ffffff;
}

.focus-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--primary-green);
}

.focus-img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}

.focus-card h5 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.focus-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   Coming Soon Card (Products - Specialty tabs)
   ============================================ */

.coming-soon-card {
    background: white;
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.coming-soon-card h5 {
    color: var(--primary-green);
    font-weight: 700;
}

/* ============================================
   Opportunity Cards (Work With Us)
   ============================================ */

.opportunity-card {
    background: var(--extra-light-green);
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.15);
}

.opportunity-card h5 {
    font-weight: 700;
}

.opportunity-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}
