/* ===========================
   VERSION: 3.0 - PRODUCTION READY
   Last Updated: Feb 8, 2026
   Features: Centered thumbnails, video play-once, hamburger menu
   =========================== */

/* ===========================
   CSS VARIABLES - Dark Theme
   =========================== */
:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #161616;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --accent-orange: #ff6b35;
    --accent-dark-orange: #d45a2a;
    --border-subtle: #2a2a2a;

    /* Typography */
    --font-display: 'JetBrains Mono', monospace;
    --font-body: 'JetBrains Mono', monospace;

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

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--accent-dark-orange);
}

img,
video {
    max-width: 100%;
    display: block;
}

/* ===========================
   TOP MENU BAR
   =========================== */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo a:hover {
    opacity: 0.8;
}

/* Toggle Auto Button - Styled to match dots, sits in bottom nav */
.toggle-auto {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.toggle-auto:hover {
    background: var(--bg-card);
    border-color: var(--accent-orange);
    transform: scale(1.1);
}

.toggle-auto.playing {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.toggle-icon {
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tooltip for Toggle Button */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 107, 53, 0.95);
    color: #000;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-fast);
    z-index: 1100;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(255, 107, 53, 0.95);
}

.toggle-auto:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.tooltip-icon {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-text {
    display: inline;
}

/* Hamburger Menu Button - Always Visible */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger-menu:hover span {
    background: var(--accent-orange);
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
    z-index: 2000;
    transition: right var(--transition-medium);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--accent-orange);
    padding-left: var(--spacing-sm);
}

.close-menu {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.close-menu:hover {
    color: var(--accent-orange);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===========================
   SLIDER PAGE
   =========================== */
.slider-page {
    overflow: hidden;
    height: 100vh;
}

.slider-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Arrow Navigation Buttons */
.arrow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.5);
    border: 2px solid rgba(255, 107, 53, 0.3);
    color: var(--text-primary);
    width: 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    transition: all var(--transition-fast);
    backdrop-filter: blur(5px);
}

@media (min-width: 768px) {
    .arrow-nav:hover {
        background: rgba(255, 107, 53, 0.8);
        border-color: var(--accent-orange);
    }
}

.arrow-nav.pressed {
    animation: arrowFlash 0.3s ease-out;
}

@keyframes arrowFlash {
    0% {
        background: rgba(255, 107, 53, 0.9);
        border-color: var(--accent-orange);
    }
    100% {
        background: rgba(10, 10, 10, 0.5);
        border-color: rgba(255, 107, 53, 0.3);
    }
}

.arrow-left {
    left: 0;
    border-left: none;
    border-radius: 0 50px 50px 0;
}

.arrow-right {
    right: 0;
    border-right: none;
    border-radius: 50px 0 0 50px;
}

.arrow-nav svg {
    opacity: 0.9;
}

.arrow-nav:hover svg {
    opacity: 1;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    z-index: 1;
    background: var(--bg-dark);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Background image for slides with video overlay */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay to keep background dimmed */
.slide-dim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

/* Animated dim overlay for JPG slides */
.slide-dim-animated {
    opacity: 0;
    transition: opacity 800ms ease;
}

.slide.active .slide-dim-animated {
    opacity: 1;
    transition-delay: 500ms;
}

/* Video overlay on top of background */
.slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    opacity: 0;
    transition: opacity 800ms ease;
    pointer-events: none;
}

/* Video visible state - semi-transparent to show JPG background through */
.slide-video.visible {
    opacity: 0.7;
}

/* Looping video - softer tone */
.slide-video-loop.visible {
    opacity: 0.4;
}

/* Slide Text Overlay Content */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.slide-text {
    text-align: center;
    color: var(--text-primary);
    padding: var(--spacing-md);
    max-width: 900px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms ease;
}

/* Animated text for JPG slides - slides in from bottom */
.slide-text-animated {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .slide-text-animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 700ms;
}

/* Text hidden state (for slide 2 animation only) */
.slide-text.hidden {
    opacity: 0;
    transform: translateY(10px);
}

/* Text visible state */
.slide-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-text a {
    pointer-events: auto;
    padding: 0.8rem 2rem;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.slide-text a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.05);
}

/* Typography helper classes for Slide 2 text */
.white { color: #ffffff; }
.red { color: var(--accent-orange); }
.strong { font-weight: 600; color: var(--accent-orange); }

.headline {
    letter-spacing: 0.05em;
    font-weight: 700;
    font-size: 34px;
    text-align: center;
    margin: 0;
}

.sub {
    letter-spacing: 0.12em;
    font-size: 20px;
    font-weight: 900;
}

.desc {
    text-align: center;
    margin-top: 20px;
    font-size: 22px;
}

.cta {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.19em;
    display: inline-block;
    margin-top: 20px;
}

/* ===========================
   DOT NAVIGATION
   =========================== */
.dot-navigation {
    position: fixed;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 1000;
    padding: var(--spacing-sm);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
}

.dot {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot:hover {
    background: var(--bg-card);
    border-color: var(--accent-orange);
    transform: scale(1.1);
}

.dot.active {
    background: var(--accent-dark-orange);
    border-color: var(--accent-dark-orange);
}

.dot-number {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 2;
}

/* Thumbnail Preview */
.thumbnail {
    display: none;
}

/* Centered Thumbnail Preview */
.thumbnail-center {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-medium);
    border: 2px solid var(--accent-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: var(--bg-dark);
    z-index: 10;
    cursor: pointer;
}

.thumbnail-center.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
    cursor: pointer;
}

.thumbnail-center.show:hover,
.thumbnail-center.show:active {
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.6), 0 0 15px rgba(255, 102, 0, 0.4);
    border-color: #ffcc80;
}

.thumbnail-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================
   CONTENT PAGES
   =========================== */
.content-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px var(--spacing-md) var(--spacing-xl);
    width: 100%;
}

/* ===========================
   OVERVIEW PAGE
   =========================== */
.overview-intro {
    margin-bottom: var(--spacing-xl);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.overview-intro h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.overview-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

/* Cards Section */
.cards-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--text-primary);
}

.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-content {
    padding: var(--spacing-md);
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-orange);
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===========================
   BLOG/NEWS PAGE
   =========================== */
.blog-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-orange);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    transition: all var(--transition-medium);
}

.blog-post:hover {
    border-left-width: 8px;
    transform: translateX(5px);
}

.post-date {
    font-size: 0.85rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.blog-post h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.blog-post p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.read-more {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    transition: transform var(--transition-fast);
}

.read-more:hover {
    transform: translateX(5px);
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.info-block {
    margin-bottom: var(--spacing-md);
}

.info-block h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-orange);
}

.info-block p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-block a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.info-block a:hover {
    color: var(--accent-orange);
}

/* Contact Form */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--accent-orange);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.submit-btn:hover {
    background: var(--accent-dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ===========================
   FOOTER
   =========================== */
.page-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--spacing-md);
    text-align: center;
    margin-top: auto;
}

.page-footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet & Desktop - 3 cards per row */
@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* Landscape mobile - hide top menu on slider page */
@media (orientation: landscape) and (max-height: 500px) {
    .slider-page .top-menu {
        transform: translateY(-100%);
        transition: transform var(--transition-medium);
    }

    /* Show menu on touch/scroll */
    .slider-page .top-menu.visible {
        transform: translateY(0);
    }

    .slider-container {
        height: 100vh;
    }

    .dot-navigation {
        bottom: var(--spacing-sm);
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .top-menu {
        padding: var(--spacing-sm);
    }

    .logo img {
        height: 40px;
    }

    /* Hide tooltip on mobile */
    .tooltip {
        display: none;
    }

    /* Adjust dot and toggle button sizes on mobile */
    .dot {
        width: 40px;
        height: 40px;
    }

    .toggle-auto {
        width: 40px;
        height: 40px;
    }

    .dot-number {
        font-size: 0.9rem;
    }

    .thumbnail-center {
        bottom: 65px;
        width: 125px;
        height: 88px;
    }

    .page-content {
        padding: 80px var(--spacing-sm) var(--spacing-md);
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .dot-navigation {
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .dot {
        width: 35px;
        height: 35px;
    }

    .toggle-auto {
        width: 35px;
        height: 35px;
    }

    .dot-number {
        font-size: 0.8rem;
    }

    .toggle-icon {
        font-size: 0.85rem;
    }

    /* Smaller arrows on very small screens */
    .arrow-nav {
        width: 45px;
        height: 60px;
    }

    .arrow-nav svg {
        width: 24px;
        height: 24px;
    }
}

/* ===========================
   SOLUTION MODAL
   =========================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: 12px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-subtle);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: rotate(90deg);
}

.modal-content {
    overflow-y: auto;
    max-height: 90vh;
    padding: 3rem;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-tagline {
    font-size: 1.1rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    font-weight: 600;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.modal-features-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.modal-features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.modal-benefits {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-dark-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Mobile Modal Adjustments */
@media (max-width: 767px) {
    .modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-content {
        padding: 2rem;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* ===========================
   SOLUTION CARDS - HOVER EFFECTS
   =========================== */

.solution-card {
    cursor: pointer;
    transition: all 0.4s ease;
}

.solution-card:hover {
    /* No card movement, no shadow - layout stays stable */
}

.solution-card:hover .card-content h3 {
    color: var(--accent-orange);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.8),
                 0 0 30px rgba(255, 107, 53, 0.6),
                 0 0 40px rgba(255, 107, 53, 0.4);
}

/* Removed image zoom effect */
.card-image {
    overflow: hidden;
}

.card-image img {
    /* No transform on hover - image stays still */
}
