/* Basic Setup & Variables */
:root {
    --primary-color: #e11d48; /* Vibrant Rose Red */
    --secondary-color: #475569; /* Cool Gray */
    --primary-hover: #be123c; /* Darker Rose */
    --text-color: #334155;
    --text-light: #64748b;
    --heading-color: #1e293b;
    --success-color: #16a34a; /* Green for pros */
    --bg-color: #fff1f2; /* Light Pink Background */
    --card-bg: #ffffff;
    --border-color: #fecdd3; /* Soft Pink Border */
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth; /* For smooth scrolling on nav link clicks */
}

body {
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 1.75rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease-in-out;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

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

nav a.active-link {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-toggle {
    display: none; /* Hidden by default on large screens */
    background: none;
    border: none;
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 11; /* Ensure it's above the nav */
}

/* Main Content */
main {
    flex-grow: 1;
}

section {
    padding: 4rem 0;
}

h1, h2, h3 {
    line-height: 1.2;
    color: var(--heading-color);
}

h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 2rem;}
h3 { font-size: 1.25rem; font-weight: 700; }

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    /* The gradient creates a dark overlay so white text is readable over any photo. */
    /* Placeholder hero image */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/bg2.jpg') no-repeat center center/cover;
    min-height: 70vh; /* Increased height for more impact */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white; /* Set default text color for this section to white */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white; /* Ensure heading is white */
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Add a shadow for better readability */
}

.hero p {
    font-size: 1.125rem;
    max-width: 60ch;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.95); /* Slightly off-white for the paragraph */
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
}
.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* New outline style for buttons on light backgrounds */
.cta-button.outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.section-intro {
    text-align: center;
    max-width:120ch;
    margin: -1rem auto 3rem auto;
    color: var(--text-light);
}

.section-light {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}


/* Features Grid (for Principles & Applications) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-card h3 {
    margin-top: 0;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}


/* Footer */
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
footer {
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

footer p {
    margin: 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        /* Keep logo and toggle on one line */
        flex-direction: row; 
        height: 4.5rem; /* Restore height */
        padding: 0 1rem;
    }

    .nav-toggle {
        display: block; /* Show the hamburger button */
    }

    nav {
        /* Hide the nav and position it for the dropdown */
        display: none;
        position: absolute;
        top: 4.5rem; /* Position below the header */
        left: 0;
        right: 0;
        background-color: white;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        
        /* Style the links for vertical layout */
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 0; /* Remove horizontal gap */
    }

    nav.nav-visible {
        display: flex; /* Show the nav when class is added */
    }

    nav a {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        border-bottom: none; /* Remove bottom border from desktop style */
    }

    nav a.cta-button {
        margin-top: 1rem;
        width: auto; /* Let the button size itself */
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    .problem-text-bottom h3 {
        text-align: center;
    }
    .comparison-grid { grid-template-columns: 1fr; }
    .team-container { flex-direction: column; text-align: center; }
    .flowchart { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }

    .tech-tab-content {
        flex-direction: column;
        text-align: center;
    }
    .tech-tab-image {
        width: 100%;
        max-width: 400px;
        margin-bottom: 1.5rem;
    }
    .tech-tab-description h3,
    .tech-tab-description p {
        text-align: center;
    }
    .comparison-layout {
        flex-direction: column;
    }
    .alternatives-grid {
        /* On small screens, show 2 cards per row instead of a 2x2 grid */
        grid-template-columns: 1fr 1fr;
    }

    .project-detail-layout {
        flex-direction: column;
    }
}

.problem-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.stats-breakdown {
    /* flex: 1; is no longer needed for vertical stacking */
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stats-breakdown h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stats-list strong {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    display: block;
}

.stats-list span {
    font-size: 0.9rem;
    color: var(--text-light);
}
.stats-sources {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
}
.stats-sources p {
    margin: 0;
    color: var(--text-light);
}
.stats-sources a {
    color: var(--text-light);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.stats-sources a:hover {
    color: var(--primary-color);
}
.problem-text-bottom {
    text-align: center;
}

.problem-text-bottom h3 {
    margin-bottom: 1rem;
}

.patient-image-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.patient-image-grid img {
    width: 100%;
    height: 200px; /* Increased height to show more of the face */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s ease;
}

.patient-image-grid img:hover {
    transform: scale(1.05);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.comparison-list li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
}

.comparison-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

.comparison-list li.con::before {
    content: "\f00d"; /* fa-times (X) */
    color: var(--primary-color);
}

.comparison-list li.pro::before {
    content: "\f00c"; /* fa-check (tick) */
    color: var(--success-color);
}

/* --- Comparison Layout in Problem Section --- */
.comparison-layout {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch; /* Make columns equal height */
}

/* Left side: Grid of 4 alternatives */
.alternatives-grid {
    flex: 1; /* Takes up half the space */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.alternative-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 150px;
}

.alternative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.alternative-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.alternative-card:hover img {
    transform: scale(1.05);
}

.alternative-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}

.alternative-overlay h3 { color: white; font-size: 1rem; margin: 0 0 0.25rem 0; }
.alternative-overlay p { font-size: 0.875rem; margin: 0; color: rgba(255,255,255,0.85); text-align: center; }

/* Right side: The Tonguage solution */
.solution-highlight-card {
    flex: 1; /* Takes up the other half */
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.solution-highlight-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.solution-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-image {
    width: 100%;
    height: 180px; /* Set a fixed height for both images */
    object-fit: cover; /* Ensures the image fills the space without distortion */
    border-radius: 8px;
}

/* --- Solution Section - Definition Image and Carousel --- */
.overall-definition-image {
    display: block;
    max-width: 700px;
    width: 100%;
    margin: 1rem auto 0 auto; /* Centered with space */
}

/* --- Solution Section Carousel --- */
.dimensions-slider {
    /* Add some padding for the navigation buttons to sit in */
    padding: 0 2.5rem;
    max-width: 800px; /* Constrain width for better readability on large screens */
    margin: 1.5rem auto 0 auto; /* Center the slider */
    position: relative; /* This is crucial for positioning the nav buttons */
}

.swiper-slide {
    height: auto; /* Allow slides to determine height based on content */
    padding: 1rem 0 2.5rem 0; /* Add vertical padding for breathing room */
    /* This is the key fix: It prevents other CSS (like Bootstrap) from shrinking all slides into one row. */
    width: 100% !important; /* Force each slide to take the full container width */
    flex-shrink: 0 !important; /* Prevent the slide from shrinking */
}

.dimension-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures cards in the same row stretch to the same height */
    overflow: hidden;
}

.dimension-card-content {
    padding: 2rem 2.5rem;
    text-align: center;
}

.dimension-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.dimensions-slider .swiper-button-next,
.dimensions-slider .swiper-button-prev {
    color: var(--primary-color);
}
.dimensions-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* --- NEW SECTIONS --- */

/* 2. Problem Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.problem-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.problem-card.solution-highlight {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.1);
}
.problem-card h3 {
    text-align: center;
    margin-top: 1rem;
}
.problem-card ul {
    list-style: none;
    padding: 0;
}
.problem-card li {
    margin-bottom: 0.75rem;
}
.problem-icon {
    display: block;
    margin: 0 auto 1rem auto;
    height: 50px;
}

/* 5. Technology Section */
.flowchart {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.flow-step {
    background-color: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* 6. Vision Section */
blockquote {
    border-left: 5px solid var(--primary-color);
    padding-left: 2rem;
    margin: 2rem auto;
    font-size: 1.25rem;
    font-style: italic;
    max-width: 75ch;
    color: var(--heading-color);
}

/* 7. Team Section */
.team-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 5px white, 0 0 0 7px var(--primary-color);
}
.team-bio {
    flex: 1;
}

/* 8. Signup Section */
#signup {
    background-color: var(--secondary-color);
    color: white;
}
#signup h2, #signup .section-intro {
    color: white;
}

/* 9. Footer Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
}
.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}

.tech-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}

.tech-highlight-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Video/Tab-based Use Cases */
.tabs-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.tabs-nav {
    display: flex;
    justify-content: center; /* Center the tabs */
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    border-bottom: 2px solid var(--border-color);
    /* Ensure tabs stay on one line and are scrollable on small screens */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.tab-link {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit; /* Ensure buttons inherit the page font */
    margin-bottom: -2px; /* Aligns with the container's border */
    transition: all 0.2s ease-in-out;
}

.tab-link:hover {
    color: var(--heading-color);
    background-color: #fde6e8; /* A very light pink hover */
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Special highlight for the main solution tab */
.tab-link.tonguage-advantage.active {
    background-color: var(--primary-color);
    color: white;
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.tab-content p {
    text-align: left;
    margin-bottom: 1.5rem;
}

.tab-actions {
    text-align: left;
    margin-bottom: 1.5rem;
}

.details-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.details-link:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.details-link::after {
    content: ' \f061'; /* Font Awesome arrow-right icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Technology Algorithm Tabs --- */
.tech-tab-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tech-tab-image {
    width: 40%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0; /* Prevents image from shrinking */
}

.tech-tab-description {
    flex: 1;
}

.tech-tab-description h3 {
    text-align: left;
    margin-top: 0;
    color: var(--primary-color);
}

.tech-tab-description p {
    text-align: left;
    margin-bottom: 0;
}

/* --- Applications Page --- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.application-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* To keep the image corners rounded */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.application-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color); /* Add a subtle border for white-background images */
}

.application-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* This makes the card bodies equal height */
}

.application-card-body h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.application-card-body p {
    flex-grow: 1; /* Pushes the button to the bottom */
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.application-card-body .cta-button {
    align-self: flex-start; /* Align button to the left */
}

/* --- Project Detail Page --- */
.project-detail-layout {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-description {
    flex: 2; /* Give more space to the description and video */
}

.project-description h3 {
    margin-top: 0;
}

.project-description .video-container {
    margin-top: 2rem;
}

.project-features {
    flex: 1; /* Less space for the feature cards */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-features h3 {
    text-align: center;
    margin-top: 0;
}

.project-features .feature-card {
    flex-grow: 1; /* Make cards fill the space */
    padding: 1.5rem; /* Slightly smaller padding */
}

/* --- Research Project Page --- */
.research-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.research-content h3 {
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.research-content ul {
    margin-bottom: 1.5rem;
}

.research-figure {
    margin: 2rem auto;
    text-align: center;
    max-width: 600px;
}

.research-figure img {
    width: 100%;
    border-radius: 8px;
    background-color: #f8f9fa; /* Placeholder background */
    border: 1px solid #e9ecef; /* Placeholder border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.research-figure figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.definition-list {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.definition-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.definition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.definition-card h3 {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.definition-card .icon {
    font-size: 1.5rem;
    margin-bottom: 0; /* Override default margin */
    flex-shrink: 0;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px; /* Constrain width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.download-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.download-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.download-card-img {
    width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}
.experiment-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 3rem;
}

.experiment-text {
    flex: 1;
    max-width: 700px;
}

.experiment-text h4 {
    color: var(--primary-color);
    text-align: left;
}

@media (max-width: 768px) {
}
