/* 
 * Modern Purple & White Theme - Andishil Biotech
 * Design System & Core Styles
 */

:root {
    /* Color Palette */
    --primary-color: #6a1b9a;
    /* Deep Purple */
    --primary-light: #9c4dcc;
    /* Lighter Purple for hover/accents */
    --primary-dark: #38006b;
    /* Dark Purple for active states */
    --secondary-color: #ffffff;
    /* White */
    --accent-color: #ffca28;
    /* Gold/Yellow for CTAs - Optional contrast */
    --text-color: #333333;
    /* Dark Grey for text */
    --text-light: #757575;
    /* Lighter Grey for secondary text */
    --bg-light: #f9f9f9;
    /* Light Grey Background */
    --bg-white: #ffffff;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-heading: 'Poppins', 'Montserrat', sans-serif;
    --font-body: 'Open Sans', 'Roboto', sans-serif;

    /* Shadows */
    --shadow-sm: 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);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Smooth Page Transitions - Subtle */
body {
    animation: fadeInPage 0.2s ease-in;
}

@keyframes fadeInPage {
    from {
        opacity: 0.95;
    }

    to {
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

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

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

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.text-right {
    text-align: right;
}

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

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

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

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    /* Modern rounded buttons */
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 27, 154, 0.6);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 78px;
    /* Increased by 30% from 60px */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Mobile Menu Trigger */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56, 0, 107, 0.8), rgba(156, 77, 204, 0.4));
    /* Classic Purple Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #f1f1f1;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

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

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* FooterStyles */
footer {
    background-color: #2c2c2c;
    /* Dark Grey for contrast */
    color: #e0e0e0;
    padding: 60px 0 20px;
}

footer h4 {
    color: white;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

footer a {
    color: #b0b0b0;
}

footer a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 50px;
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .hero {
        height: auto;
        padding: 80px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: var(--spacing-md) 0;
    }
}