/* Hagimo Holdings, LLC - Main Stylesheet */

/* ============================================
   CSS Variables & Base Styles
   ============================================ */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0d1f3c;
    --accent-color: #3182ce;
    --accent-hover: #2b6cb0;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    max-width: 100%;
    margin: 0;
    padding: 0;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
}

#logo {
    display: inline-block;
    z-index: 1000;
    margin: 0;
    padding: 12px 20px;
}

#logo img {
    max-height: 56px;
    transition: var(--transition);
    display: block;
} 

#logo img:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
nav {
    padding: 0 20px;
    flex: 1;
    margin: 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Utility container for content alignment */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
} 

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 6px;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 14px 18px;
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
} 

.menu > li > a:hover,
.menu > li:hover > a {
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: var(--accent-color);
    text-decoration: none;
}

/* Dropdown Menus */
.menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    margin-top: -8px;
    padding-top: 16px;
}

.menu ul::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.menu li:hover > ul,
.menu ul:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.95em;
    transition: var(--transition);
}

.menu ul li a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
    padding-left: 25px;
    text-decoration: none;
}

/* Nested Dropdowns */
.menu ul ul {
    top: 240px;
    left: 100%;
    border-radius: 8px;
    margin-top: 0;
    padding-top: 8px;
    margin-left: -20px;
    padding-left: 20px;
}

/* Modal Link Container */
#modal-link-container {
    position: static;
    margin-left: auto;
    padding-right: 20px;
    text-align: right;
}

#button_ModalLogin {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9em;
    white-space: nowrap;
}

#button_ModalLogin:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(44, 82, 130, 0.75) 50%, rgba(49, 130, 206, 0.75) 100%),
                url('images/Health-care-analytics.jpg') center/cover no-repeat;
    padding: 80px 0;
    min-height: 440px;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero .container { padding: 0 20px; }

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.15;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    letter-spacing: -0.7px;
}

.hero-subtitle {
    font-size: 1.15em;
    opacity: 0.95;
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
} 

/* Page Banner (clean, no background image) */
.page-banner {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.8) 60%, rgba(49, 130, 206, 0.8) 100%),
                url('images/slide_6_court_1.jpg') center/cover no-repeat;
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    display: flex;
    justify-content: center;
}

.page-banner-content {
    max-width: 1100px;
    width: 100%;
}

.page-banner h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-banner p {
    font-size: 1.2em;
    opacity: 0.9;
    margin: 0;
}

/* Page-specific banner images */
.page-banner.banner-clinical-trials {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.8) 60%, rgba(49, 130, 206, 0.8) 100%),
                url('images/Health-care-analytics.jpg') center/cover no-repeat;
}

.page-banner.banner-legal {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.8) 60%, rgba(49, 130, 206, 0.8) 100%),
                url('images/slide_6_court_1.jpg') center/cover no-repeat;
}

.page-banner.banner-data {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.8) 60%, rgba(49, 130, 206, 0.8) 100%),
                url('images/DataLicensing_1.jpg') center/cover no-repeat;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
}

.hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 12px 28px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-hero:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--primary-color);
}

.btn-hero-outline {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255,255,255,0.06);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    text-decoration: none;
} 

/* ============================================
   Unified Grid Layout (Desktop Optimized)
   ============================================ */
.unified-grid {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    background: var(--bg-light);
}

.unified-grid-wrapper { gap: 36px; } 

.unified-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    width: 100%;
}

.grid-card {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(13,31,60,0.06);
    transition: var(--transition);
    border-top: 4px solid rgba(49,130,206,0.15);
    display: flex;
    flex-direction: column;
}

.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.grid-card h3 {
    color: var(--primary-color);
    font-size: 1.25em;
    margin-bottom: 12px;
    font-weight: 600;
}

.grid-card > p:first-of-type {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.grid-card a {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.grid-card a:hover {
    text-decoration: underline;
}

/* Legacy highlights section (kept for backwards compatibility) */
.highlights {
    display: none;
}

/* ============================================
   Company Overview Section
   ============================================ */
.company-overview {
    background: var(--white);
    padding: 60px 40px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(13,31,60,0.04);
}

.overview-content {
    max-width: 1100px;
    width: 100%;
}

.company-overview h2 {
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.company-overview p {
    color: var(--text-color);
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

/* Legacy overlay styles (for subpages) */
.overlay_3,
.overlay_5 {
    background: rgba(26, 54, 93, 0.85);
    color: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
}

.overlay_3 h2,
.overlay_5 h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--white);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.overlay_3 ul,
.overlay_5 ul {
    margin-left: 20px;
    margin-top: 10px;
}

.overlay_3 li,
.overlay_5 li {
    margin-bottom: 8px;
}

/* Image Banner (for subpages) */
.image-banner {
    width: 100%;
    min-height: 320px;
    padding: 80px 40px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,54,93,0.75) 0%, rgba(49,130,206,0.6) 100%);
}

.image-banner-tall {
    width: 100%;
    min-height: 380px;
    padding: 80px 40px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
}

.image-banner-tall::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,54,93,0.75) 0%, rgba(49,130,206,0.6) 100%);
}

.overlay_title {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: 2.4em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    padding: 25px 30px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.overlay_generic_middle {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    padding: 20px 50px;
    max-width: 900px;
    line-height: 1.8;
    font-size: 1.15em;
    letter-spacing: 0.3px;
}

/* ============================================
   Main Content Area
   ============================================ */
main {
    min-height: 60vh;
    max-width: 1400px;
    margin: 0 auto;
}

/* Restore paragraph spacing (global reset removes default margins) */
.page-content p,
.page-content-wrapper p {
    margin-bottom: 1.15rem; /* roughly 18px */
    line-height: 1.75;
}

.page-content p:last-child,
.page-content-wrapper p:last-child {
    margin-bottom: 0;
}

.page-content {
    padding: 50px 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.page-content-wrapper {
    max-width: 1100px;
    width: 100%;
    font-size: 1.1em;
    line-height: 1.7;
}

/* Standard Typography Classes */
.section-title {
    font-size: 1.15em;
    font-weight: 600;
    text-decoration: underline;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.75em;
}

h4 {
    margin-top: 1.5em;
    margin-bottom: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
}

.page-content-wrapper ul,
.page-content-wrapper ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.page-content-wrapper li {
    margin-bottom: 0.5em;
}

/* Two-column table layout standardization */
.content-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.content-table td {
    vertical-align: top;
    width: 50%;
}

.div_HeaderText {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

/* Column Layouts */
.column-set {
    display: block;
    margin-top: 30px;
}

.left-column {
    float: left;
    width: 30%;
    padding-right: 30px;
    margin-bottom: 20px;
}

.right-column {
    overflow: hidden;
}

.large-column {
    flex: 1;
    width: 100%;
}

.right-column img,
.left-column img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-bottom: 15px;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.content-section h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.unified-grid .content-section {
    margin-bottom: 0;
}

.unified-grid .content-section h3 {
    font-size: 1.25em;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
    display: block;
}

.unified-grid .content-section > p {
    margin: 0 0 20px 0;
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Legacy index-nav-sections (hidden) */
.index-nav-sections {
    display: none;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.link-list li {
    margin: 0;
}

.link-list a {
    font-weight: 500;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    transition: var(--transition);
    text-decoration: none;
}

.link-list a:before {
    content: "→";
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.link-list a:hover {
    color: var(--accent-hover);
    padding-left: 4px;
}

.link-list a:hover:before {
    opacity: 1;
}

.consulting-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.consulting-links h4 {
    font-size: 1em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

#industries,
#services,
#consulting,
#data {
    scroll-margin-top: 120px;
}

/* Lists */
ul {
    margin-left: 20px;
}

li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ============================================
   Modal Dialog
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.modal h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 40px 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    color: var(--white);
}

.footer-section p {
    margin-bottom: 10px;
    color: #cbd5e0;
    line-height: 1.8;
}

.footer-section a {
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.link-white {
    color: #90cdf4 !important;
}

.link-white:hover {
    color: var(--white) !important;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9em;
}

/* ============================================
   Buttons & Forms
   ============================================ */
button, 
input[type="submit"],
input[type="button"],
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-light);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    transition: var(--transition);
    margin-bottom: 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 1024px) {
    .column-set {
        flex-direction: column;
    }
    
    .left-column,
    .right-column {
        padding: 0;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .highlights {
        padding: 40px 20px;
    }

    .index-nav-sections {
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        position: relative;
    }
    
    #logo {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    nav {
        width: 100%;
        padding: 0;
    }
    
    .menu {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    
    .menu > li > a {
        padding: 15px;
        text-align: center;
        width: 100%;
    }
    
    .menu ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        min-width: 100%;
        padding: 0;
    }
    
    .menu ul li a {
        color: var(--white);
        text-align: center;
        padding: 12px 20px;
    }
    
    #modal-link-container {
        width: 100%;
        text-align: center;
        padding: 15px;
        margin-left: 0;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .highlights {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 20px;
    }
    
    .index-nav-sections {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        margin: 40px auto 0;
        gap: 30px;
    }
    
    .link-list {
        grid-template-columns: 1fr;
    }
    
    .image-banner {
        height: 200px;
    }
    
    .overlay_title {
        font-size: 1.8em;
    }
    
    #div_Content {
        padding: 30px 20px;
    }
    
    .div_HeaderText {
        font-size: 1.5em;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 1.5em;
    }
}

/* ============================================
   Fallback for Missing Images
   ============================================ */
.image-banner,
.slide {
    background-color: var(--primary-color);
}

/* If background image fails, show a gradient */
.slide:not([style*="url"]),
.image-banner:not([style*="url"]) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* Placeholder styling for missing images */
img[src$=".svg"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    header, footer, #prev, #next, .modal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}
