/* Team Grid Styles */
.team-members {
    padding: 4rem 0;
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

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

.team-grid.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-grid.columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light-gray);
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-gray);
    color: var(--text-gray);
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-info .position {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-info .bio {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid.columns-3,
    .team-grid.columns-4 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    .placeholder-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 1rem;
    }
}

/* CSS Variables */
:root {
    /* Colors - Based on logo */
    --primary-color: #5AB3B0;
    --primary-light: #7EC8C5;
    --primary-dark: #4A9592;
    --secondary-color: #7FBF3F;
    --secondary-light: #9ACF6F;
    --secondary-dark: #6CA035;
    
    /* Neutral colors */
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --bg-light-gray: #E5E7EB;
    --bg-off-white: #F9FAFB;
    --bg-white: #FFFFFF;
    
    /* Accent colors */
    --accent-blue: #146ff8;
    --accent-light-blue: #E8F4F8;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Typography */
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: var(--font-body);
    
    /* Effects */
    --radius: 8px;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-gray);
    line-height: 1.75;
    background-color: var(--bg-white);
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

h1 { 
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
}

h2 { 
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
}

h3 { 
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--text-gray);
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.highlight {
    color: var(--primary-color);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-white);
    box-shadow: var(--shadow);
    border-bottom: 2px solid #000000;
    z-index: 1000;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--accent-light-blue);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Main Content Spacing */
main {
    margin-top: var(--header-height);
}

/* Page Content Spacing */
.page-content {
    padding: 2rem 0 2rem 0;
}

.page-content h2:first-child {
    margin-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background-image: url('/images/background.jpg'); /* Default fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

/* Page-specific hero backgrounds */
.hero.hero-homepage {
    background-image: url('/images/modern-pharmacy-bottles-background.jpg');
}

.hero.hero-product {
    background-image: url('/images/technology-office-background.jpg');
}

.hero.hero-services {
    background-image: url('/images/warm-office-background.jpg');
}

.hero.hero-team {
    background-image: url('/images/coworking-space-background.jpg');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 111, 248, 0.7) 0%, rgba(90, 179, 176, 0.5) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.hero h1 .highlight {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.hero .lead {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    display: none;
}

/* Experience Section */
.experience-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.experience-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.experience-text h2 {
    margin-bottom: 1.5rem;
}

.experience-text p {
    margin-bottom: 1.5rem;
}

.features-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-badge {
    text-align: center;
    flex: 1;
}

.feature-badge h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Value Props Section */
.value-props {
    padding: 4rem 0;
    background: var(--bg-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--accent-light-blue);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid #000000;
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.value-card-icon .icon {
    width: 3rem;
    height: 3rem;
    color: var(--text-dark);
    stroke-width: 2;
}

.value-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background: var(--bg-off-white);
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--bg-off-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--bg-off-white);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--bg-off-white);
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--text-gray);
    color: var(--bg-off-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-image {
        order: -1;
    }
    
    .features-badges {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Styles for New Sections */

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-off-white);
}

.stats-section.stats-dark {
    background: var(--primary-green);
    color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 1;
}

.stats-dark .stat-number {
    color: var(--bg-white);
}

.stat-suffix {
    font-size: 2rem;
}

.stat-label {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.stat-description {
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--text-gray);
    padding: 1.5rem 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding-top: 1rem;
    line-height: 1.6;
}

/* Feature List Section */
.feature-list-section {
    padding: 4rem 0;
}

.feature-list-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.feature-list {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-list.columns-1 {
    grid-template-columns: 1fr;
}

.feature-list.columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.feature-list.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-check,
.feature-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.feature-check {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.feature-number {
    background: var(--primary-green);
    color: var(--bg-white);
    border-radius: 50%;
}

.feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    color: var(--primary-green);
}

.feature-content h3 {
    margin-bottom: 0.5rem;
}

/* Image position variations for content-image */
.experience-section.image-right .experience-content {
    grid-template-columns: 1fr 1fr;
}

.experience-section.image-right .experience-image {
    order: 2;
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
    background: var(--bg-off-white);
}

.contact-form-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.required {
    color: var(--primary-green);
}

.form-field input,
.form-field textarea,
.form-field select {
    padding: 0.75rem;
    border: 1px solid var(--text-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-submit {
    text-align: center;
}

.form-messages {
    margin-top: 2rem;
    text-align: center;
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive updates */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-list.columns-2,
    .feature-list.columns-3 {
        grid-template-columns: 1fr;
    }
    
    .experience-section.image-right .experience-content {
        grid-template-columns: 1fr;
    }
    
    .experience-section.image-right .experience-image {
        order: -1;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Styles */
.blog-posts .value-card {
    text-align: left;
}

.blog-posts .value-card h3 {
    margin-bottom: 1rem;
}

.blog-posts .value-card p {
    line-height: 1.6;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Post Header */
.blog-post-header {
    padding: 4rem 0 2rem 0;
    background: var(--bg-off-white);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.blog-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-excerpt {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Blog Content */
.blog-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Blog Navigation */
.blog-navigation {
    padding: 2rem 0;
    background: var(--bg-off-white);
    border-top: 1px solid var(--text-gray);
}

.blog-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-nav-link {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}

.blog-nav-link:hover {
    box-shadow: var(--shadow);
}

.blog-nav-link.next {
    text-align: right;
}

.nav-direction {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
    color: var(--text-dark);
}

.back-to-blog {
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-green);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-quote p {
    font-size: 1.125rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* Testimonials variants */
.testimonials-featured .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-featured .testimonial-card {
    text-align: center;
    padding: 3rem;
}

.testimonials-featured .testimonial-quote p {
    font-size: 1.5rem;
}

.testimonials-compact .testimonial-card {
    padding: 1.5rem;
}

.testimonials-compact .testimonial-quote p {
    font-size: 1rem;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-nav-links {
        grid-template-columns: 1fr;
    }
    
    .blog-nav-link.next {
        text-align: left;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}