/* Custom CSS for Ciencia Therapeutics */

:root {
    --primary-green: hsl(142, 65%, 35%);
    --primary-green-dark: hsl(142, 65%, 25%);
    --primary-green-light: hsl(142, 65%, 45%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Logo */
.logo {
    max-height: 50px;
    width: auto;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.dropdown-menu {
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-menu-lg {
    min-width: 400px;
    max-width: calc(100vw - 20px);
}

.dropdown-menu-wide {
    min-width: 900px;
    max-width: calc(100vw - 20px);
}

.dropdown-menu-mega {
    min-width: 1100px;
    max-width: calc(100vw - 20px);
    right: 0;
    left: auto;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-green);
}

.dropdown-header {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background-image: url('images/modern_healthcare_facility_hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 139, 87, 0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 1rem;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: white;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.feature-card img {
    height: 200px;
    object-fit: cover;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
}

.cta-section .btn-light {
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
        margin-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section p {
        font-size: 1.1rem !important;
    }
    
    .dropdown-menu-lg,
    .dropdown-menu-wide,
    .dropdown-menu-mega {
        min-width: 100%;
    }
    
    .dropdown-menu-mega .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-item {
        padding: 0.25rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 400px;
    }
    
    .logo {
        max-height: 40px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}
