/* Custom CSS for Houston Lab - Drug Discovery Theme */

:root {
    --bg-color: #0a0e17;
    --card-bg: rgba(20, 30, 48, 0.6);
    --card-border: rgba(0, 255, 255, 0.1);
    --text-primary: #e0e6ed;
    --text-secondary: #a0aab5;
    --accent-cyan: #00f2ff;
    --accent-purple: #bc13fe;
    --glass-blur: 12px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.08), transparent 25%);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-size: 18px;
    /* Increased base font size */
    line-height: 1.6;
}

@media (min-width: 1440px) {
    body {
        font-size: 20px;
        /* Even larger for big screens */
    }
}

/* Enforce background on all sections to prevent white patches */
section,
.section,
.w-section,
.navbar,
.footer-subscribe,
.slider-section,
.testimonial-slider,
.mask,
.quick-stack-2,
.cell,
.w-layout-cell,
.container-5 {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-2,
.title-heading,
.intro-heading {
    font-family: var(--font-heading);
    color: #fff !important;
    letter-spacing: 0.5px;
    margin-top: 0;
}

p,
.paragraph {
    color: var(--text-secondary) !important;
    font-size: 1.1rem;
}

a:hover {
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(188, 19, 254, 0.4);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

/* Navbar Overrides */
.navbar {
    background-color: rgba(10, 14, 23, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-link,
.nav-link-2,
.nav-link-3,
.nav-link-4,
.dropdown-toggle,
.w-dropdown-toggle,
.w-dropdown-toggle .text-block {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link-2:hover,
.nav-link-3:hover,
.nav-link-4:hover,
.w-dropdown-toggle:hover,
.w-dropdown-toggle:hover .text-block {
    color: var(--accent-cyan) !important;
}

.w-icon-dropdown-toggle {
    color: var(--text-secondary) !important;
}

.w-dropdown-toggle:hover .w-icon-dropdown-toggle {
    color: var(--accent-cyan) !important;
}

/* Buttons */
.fancy-w-button,
.w-button {
    background: linear-gradient(135deg, var(--accent-purple), #7b2cbf);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 14px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 19, 254, 0.3);
    display: inline-block;
    text-align: center;
}

.fancy-w-button:hover,
.w-button:hover {
    background: linear-gradient(135deg, #9d4edd, var(--accent-purple));
    box-shadow: 0 6px 20px rgba(188, 19, 254, 0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Inputs */
.w-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.w-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
    outline: none;
}

.w-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Dashboard Specifics */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #a0aab5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Layout Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* Footer */
/* Footer */
.footer-subscribe {
    background-color: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    margin-top: 4rem;
}

/* Publications Slider Styling */
.slider-section {
    padding: 2rem;
}

.testimonial-slider {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    height: 500px;
    /* Fixed height for slider container */
}

.w-slide {
    /* Removed height: auto !important to fix slider script */
    height: 100%;
}

.publication-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    background-color: transparent !important;
}

.publication-content {
    flex: 1;
    text-align: left;
}

.publication-image-two {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.publication-quote {
    font-size: 1.5rem;
    /* Increased quote size */
    font-weight: 600;
    color: #fff !important;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    line-height: 1.4;
}

.publication-author-name {
    color: var(--accent-cyan) !important;
    font-size: 1.1rem;
    /* Increased author size */
}

.list-item {
    color: var(--text-secondary) !important;
}

.left-arrow,
.right-arrow {
    color: var(--accent-cyan);
    font-size: 2rem;
}

.slide-nav {
    bottom: 10px;
}

.w-slider-dot {
    background: rgba(255, 255, 255, 0.2);
}

.w-slider-dot.w-active {
    background: var(--accent-cyan);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.8rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .section-container {
        padding: 0 1.5rem;
    }
}