/* style.css - Healthcare Consultancy */
/* Refreshed with Green & Nature-Inspired Palette */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --cream: #f6faf4;
    --dark: #1a2e1a;
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --taupe: #52796f;
    --light: #e9f5e9;
    --sage: #9aab8e;
    --mist: #cbd8d4;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Jost', sans-serif;
    
    --header-height: 80px;
    --container-width: 1280px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: #eef4ea;
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--cream);
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #1b3b2b;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 300;
}

h3 {
    font-size: 1.3rem;
    font-weight: 400;
    font-family: var(--font-serif);
}

h4 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: var(--font-sans);
}

p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.7;
    color: #2d4a3b;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.items-center {
    align-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.text-center { text-align: center; }
.text-lg { font-size: 1.05rem; }
.text-xs { font-size: 0.7rem; }

.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 0.5rem;
}

.text-primary, .section-title h2 em, h2 span:not(.text-white) {
    font-style: italic;
    color: var(--primary);
}

.text-white {
    color: var(--cream);
}

.opacity-90 {
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--dark);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 0.5px solid var(--dark);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--cream);
}

.btn-white {
    background: var(--cream);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--primary);
    color: var(--cream);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
}

.border-white {
    border-color: var(--cream);
}

.hover\:bg-white:hover {
    background: var(--cream);
}

.hover\:text-primary:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    background: linear-gradient(135deg, #e2f0df 0%, #d0e8ca 100%);
    position: relative;
}

.hero .grid {
    align-items: center;
    gap: 4rem;
}

.hero-tag {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-family: var(--font-serif);
}

.hero-title span {
    font-style: italic;
    color: var(--primary);
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #3a5e4a;
    margin-bottom: 2rem;
    max-width: 90%;
}

.stats-mini {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-mini-item {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--taupe);
    letter-spacing: 0.05em;
}

.stat-mini-item .number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.hero-image {
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Service Cards */
#services {
    padding: 5rem 0;
}

.service-card {
    background: var(--cream);
    border: 0.5px solid rgba(26,46,26,0.08);
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0;
    background: rgba(45,106,79,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card ul li {
    font-size: 0.75rem;
    color: var(--taupe);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card ul li i {
    color: var(--primary);
    font-size: 0.7rem;
    width: 16px;
}

/* Feature Section */
.feature-section, #about {
    padding: 5rem 0;
    background: #e4f0e0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(45,106,79,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.feature-content p {
    font-size: 0.8rem;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--cream);
    border: 0.5px solid rgba(26,46,26,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-top: 0.5rem;
}

.bg-primary-light {
    background: rgba(45,106,79,0.05);
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
}

.testimonial-card {
    background: var(--cream);
    border: 0.5px solid rgba(26,46,26,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: #d4a373;
    font-size: 0.8rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-top: 0.5px solid rgba(26,46,26,0.08);
    padding-top: 1.25rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.7rem;
    color: var(--primary);
}

/* Founder Section */
.founder-section {
    padding: 5rem 0;
    background: #e4f0e0;
}

.founder-card {
    text-align: center;
    background: var(--cream);
    padding: 2rem;
    border: 0.5px solid rgba(26,46,26,0.06);
}

.founder-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-family: var(--font-serif);
}

.founder-title {
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.founder-quote {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--taupe);
    line-height: 1.6;
}

.founder-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.founder-social a {
    width: 32px;
    height: 32px;
    background: rgba(45,106,79,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.founder-social a:hover {
    background: var(--primary);
    color: var(--cream);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f3d2c 0%, #1a2e1a 100%);
    text-align: center;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.cta-section h2 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(250, 248, 244, 0.7);
    margin-bottom: 2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 0.5px solid rgba(26,46,26,0.2);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Utility Classes */
.img-responsive {
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 0;
}

.bg-white {
    background: var(--cream);
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-description {
        max-width: 100%;
    }
    .hero {
        text-align: center;
    }
    .hero-content .stats-mini {
        justify-content: center;
    }
    .hero-content .flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .hero {
        text-align: center;
        padding-top: calc(var(--header-height) + 1rem);
    }
    .stats-mini {
        justify-content: center;
    }
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .feature-icon {
        margin: 0 auto;
    }
    .hero-title {
        font-size: 2rem;
    }
    .btn-lg {
        padding: 0.75rem 1.5rem;
    }
    .founder-section .grid-2 {
        gap: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 70px;
    }
    .stats-mini {
        gap: 1rem;
    }
    .stat-mini-item .number {
        font-size: 1.4rem;
    }
}