
/* Styles for dark background and light text */
body {
    background-color: #121212;
    color: #f8f9fa;
}

.footer {
    background-color: #121212 !important; /* Override color for dark theme */
}

/* Hero screen */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Container for background images */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    transform: scale(1.1);
    filter: brightness(0.8);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

/* Smooth gradient transition at the bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, #121212 20%, transparent);
}

/* Content on the hero screen */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    border-radius: 32px;
    border: 1px solid #ffffff2c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: linear-gradient(90deg, #a7ffeb, #00c6ff);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Custom style for buttons */
.btn-primary-dark {
    background-color: transparent;
    color: #a7ffeb;
    border: 2px solid #a7ffeb;
    padding: 12px 24px;
    margin: 4px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary-dark:hover {
    background-color: #a7ffeb;
    color: #121212;
}

/* About 3D printing section */
.about-3d-print {
    background-color: #121212;
    padding: 5rem 0;
}

.about-title {
    font-size: 2.5rem;
    color: #a7ffeb;
    margin-bottom: 4rem;
    text-align: center;
}

.about-section {
    margin-left: 2rem;
    margin-bottom: 4.5rem;
    padding: 5rem 0;
}

.about-section-title {
    font-size: 2rem;
    color: #f8f9fa;
    margin-bottom: 1rem;
    border-left: 3px solid #a7ffeb;
    border-right: 3px solid #a7ffeb;
    padding-left: 1rem;
}

.about-section-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f8f9fa;
}

/* Add carousel container styles */
.carousel-inner {
    border-radius: 12px; /* Round the container itself */
    /* Create a vignette mask for the container */
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 60%, transparent 100%);
}

/* Remove old mask from images themselves */
.carousel-item img {
    transition: transform 0.5s ease; /* Add a smooth hover effect */
}

/* Light zoom effect on image hover */
.carousel-item:hover img {
    transform: scale(1.05);
}

/* templates/home.html -> <style> */
.feature-card {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, border-top-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top-color: #a7ffeb; /* Accent color on hover */
}

.feature-card .icon {
    color: #a7ffeb; /* Accent icon color */
}

.feature-card h5 {
    font-weight: bold;
    color: #f8f9fa;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #adb5bd; /* Slightly darker text for description */
}

/* templates/home.html -> <style> */
.process-step {
    padding: 1.5rem;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: #1e1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #a7ffeb;
    border: 2px solid #a7ffeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(167, 255, 235, 0.5);
}

.process-step h4 {
    color: #f8f9fa;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #adb5bd;
}

/* Lines connecting steps (for screens > 768px) */
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px; /* Icon height */
        right: -50%;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background-image: linear-gradient(to right, #a7ffeb 50%, transparent 50%);
        background-size: 10px 2px;
        background-repeat: repeat-x;
    }
}

.tech-section {
    /* background-color: #1e1e1e; */
    padding: 5rem 0;
    border-top: 1px solid #383838;
}

.tech-title {
    font-size: 2rem;
    font-weight: bold;
    color: #f8f9fa;
    margin-bottom: 3rem;
    text-align: center;
    border-left: #a7ffeb 3px solid;
    border-right: #a7ffeb 3px solid;
    padding-left: 1rem;
}

/* Styling for the main FDM block */
.current-tech-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    border-left: 5px solid #a7ffeb;
    margin-bottom: 4rem;
}

.current-tech-card h3 {
    color: #f8f9fa;
    font-weight: bold;
}

.current-tech-card .badge {
    font-size: 1rem;
    padding: 0.5em 0.9em;
    background-color: #a7ffeb !important;
    color: #121212 !important;
}

/* Styling for comparison cards */
.tech-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tech-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.tech-card-title {
    color: #a7ffeb;
    font-weight: bold;
}

.tech-card ul {
    padding-left: 20px;
    margin-top: 1rem;
}

.tech-card ul li {
    margin-bottom: 0.5rem;
}

.pros li::marker {
    color: #28a745; /* Green for pros */
}

.cons li::marker {
    color: #dc3545; /* Red for cons */
}

.tech-card-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.text-muted {
    color: #f8f9fad7 !important;
    font-weight: bold;
}

.usage-section {
    /* background-color: #1e1e1e; */
    padding: 5rem 0;
    border-top: 1px solid #383838;
}

.usage-section h3 {
    color: #f8f9fa;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.usage-section .feature-card {
    margin-bottom: 2rem;
}

.working-section {
    /* background-color: #1e1e1e; */
    padding: 5rem 0;
    border-top: 1px solid #383838;
}

.working-section h3 {
    color: #f8f9fa;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.working-section .process-step {
    margin-bottom: 2rem;
}

.about-us-section {
    position: relative; /* Required for background positioning */
    padding: 5rem 0;
    text-align: center;
    overflow: hidden; /* Hide parts of the background that go outside the container */
}

.about-us-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    filter: blur(2px) brightness(0.8); /* Blur and darken the background */
}

.about-us-content {
    position: relative; /* To make content appear on top of the background */
    z-index: 1;
}

/* Semi-transparent overlay for better readability */
.content-backdrop {
    background-color: rgba(30, 30, 30, 0.6); /* Semi-transparent dark background */
    backdrop-filter: blur(5px); /* "Frosted glass" effect */
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem 1rem;
    margin: 3rem auto;
    border-radius: 15px;
    border: 0px solid rgba(167, 255, 235, 0.2);
}

.about-us-title {
    font-size: 2.5rem;
    color: #a7ffeb;
    margin-bottom: 1rem;
    font-weight: bold;
}

.about-us-subtitle {
    color: #adb5bd;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.cta-card {
    background-color: #2a2a2a;
    border: 1px solid #383838;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cta-card h4 {
    color: #a7ffeb;
    margin-bottom: 1rem;
}

.social-links h5 {
    color: #f8f9fa;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #adb5bd;
    font-size: 2.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #a7ffeb;
    transform: scale(1.1);
}

.about-section-text {
    text-align: left;
}

@media (max-width: 991.98px) {
    .about-section-text {
        text-align: center; /* Center text on mobile */
    }
}

/* Styles for the new "Where to get models?" section */
.site-card {
    display: block;
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    border: 1px solid #383838;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.site-card .icon {
    color: #a7ffeb;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.site-card h5 {
    color: #f8f9fa;
    font-weight: bold;
}

.site-card p {
    color: #adb5bd;
}