/* ==========================================================================
   Sunrays Pharmaceuticals - Main Stylesheet
   ========================================================================== */

:root {
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #0284c7;
    --secondary-light: #e0f2fe;
    --dark: #0f172a;
    --dark-muted: #475569;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--dark-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.85rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background-color: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-muted);

}

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

.contact-btn-link {
    padding: 0.5rem 1.25rem;
    background-color: var(--primary-light);
    color: var(--primary) !important;
    border-radius: 10px;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
}

/* Hero */
.hero-section {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, rgba(240, 253, 250, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 1rem 0 1.5rem;
    color: var(--dark);
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--dark-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.hero-img {
    max-height: 440px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

.floating-badge svg {
    color: var(--primary);
}

/* Stats */
.stats-section {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Category Filters */
.category-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
    background-color: var(--white);
    color: var(--dark-muted);
    font-size: 0.9rem;
}

.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

/* Product Cards */
.product-item-card {
    transition: all var(--transition-normal);
}

.product-item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Why choose us cards */
.why-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.why-icon-container {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.why-icon-container svg {
    width: 28px;
    height: 28px;
}

.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.why-card p {
    color: var(--dark-muted);
    font-size: 0.95rem;
}

/* Modal Lightbox */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.close-modal {
    position: absolute;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    opacity: 0.8;
    max-width: 380px;
    margin-bottom: 1rem;
}

.footer-links h5, .footer-legal h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    opacity: 0.75;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-legal p {
    opacity: 0.75;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-grid, .intro-grid, .contact-container, .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 2rem;
        display: none;
    }
    
    .nav-menu.open {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}
