/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #32373c;
    --text-color: #333;
    --bg-color: #EEEEF1;
    --bg-alt: #f5f5f5;
    --spacing: 2rem;
    --max-width: 1200px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    padding-left: 120px;
}

/* Header */
.header {
    background-color: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background-image: url('../media/Site_background_v2_noHover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../media/Site_background_v2_Hover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, filter 0.6s ease-in-out;
    filter: brightness(1);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

.hero:hover::before {
    opacity: 1;
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.hero:hover {
    filter: brightness(1.05);
}

.hero .container {
    position: relative;
    z-index: 3;
    padding-left: 120px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-btn {
    align-self: flex-start;
    margin-left: 0;
}

.hero-logo-text {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.1s forwards;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.hero-logo-text:hover {
    transform: translateY(0) scale(1.05);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin: 20px 0;
    font-size-adjust: 0.5;
    min-height: 1.2em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 10px 0 30px 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-logo {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.1s forwards;
}

.hero-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1a1d20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Sections */
.section {
    padding: 40px 0;
    background-color: var(--bg-color);
    position: relative;
}

.section-alt {
    padding: 40px 0;
    background-color: #1a1d20;
    color: #ffffff;
    position: relative;
}

/* Section Labels */
.section-label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 10;
    padding: 20px 10px;
    pointer-events: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 0 8px 8px 0;
}

/* Light background sections - dark label background */
.section .section-label {
    color: #ffffff;
    background-color: #1a1d20;
}

/* Dark background sections - light label background */
.section-alt .section-label {
    color: #1a1d20;
    background-color: #EEEEF1;
}

.hero .section-label {
    color: #ffffff;
    background-color: rgba(26, 29, 32, 0.8);
}

.main-content .section-label {
    color: #ffffff;
    background-color: #1a1d20;
}

.section:hover .section-label,
.section-alt:hover .section-label,
.hero:hover .section-label,
.main-content:hover .section-label {
    opacity: 1;
}

.main-content {
    position: relative;
}

.hero {
    position: relative;
}

.carousel-section {
    position: relative;
}

.section h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 700;
}

.section-alt h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-alt h2 {
    color: #ffffff;
}

.section h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-alt h4 {
    color: #ffffff;
}

.section h5 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 1.6;
}

.section-alt h5 {
    color: #ffffff;
}

.section h6 {
    font-size: 1rem;
    text-align: center;
    color: #666;
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.main-content h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 30px;
}

.content-text {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 15px;
}

/* Images */
.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.section-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
}

/* Volumetric Carousel */
.volumetric-carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.volumetric-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.volumetric-text {
    max-width: 900px;
    margin: 0 auto;
}

/* Carousel */
.carousel-section {
    padding: 40px 0 0 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.carousel-section .container {
    padding-bottom: 20px;
}

.carousel-section h1 {
    margin-bottom: 20px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 120px 120px;
    box-sizing: border-box;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding: 0 50%;
}

.carousel-slide {
    scroll-snap-align: center;
}

.carousel-slides::-webkit-scrollbar {
    height: 8px;
}

.carousel-slides::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.carousel-slides::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.carousel-slides::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-slide {
    flex: 0 0 auto;
    width: auto;
    min-width: auto;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.carousel-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    transform-origin: center center;
}

.carousel-slide img {
    max-width: none;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-slide-text {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 400;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    max-width: 300px;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(238, 238, 241, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background-color: rgba(238, 238, 241, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: #EEEEF1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Lowlights cards – individual background colors */
.features-grid .feature-card:nth-child(1) {
    background-color: #AE345A;
}

.features-grid .feature-card:nth-child(2) {
    background-color: #088F4A;
}

.features-grid .feature-card:nth-child(3) {
    background-color: #EB7E01;
}

.features-grid .feature-card:nth-child(1) h2,
.features-grid .feature-card:nth-child(1) p,
.features-grid .feature-card:nth-child(2) h2,
.features-grid .feature-card:nth-child(2) p,
.features-grid .feature-card:nth-child(3) h2,
.features-grid .feature-card:nth-child(3) p {
    color: #ffffff;
}

.feature-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #666;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.highlight-card {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.highlight-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.highlight-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.highlight-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.highlight-card h2 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.highlight-card h5 {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.4rem;
}

.section-alt .feature-list li::before {
    color: #667eea;
}

.section-alt .feature-list li h4 {
    color: #ffffff;
}

/* Developers Grid */
.developers-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.developers-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Contact Section */
.contact-info {
    padding: 20px 0;
}

.contact-info h5 {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* CTA Logo */
.cta-logo {
    max-width: 461px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Footer */
.footer {
    background-color: #1a1d20;
    padding: 40px 0;
    text-align: center;
    color: #ffffff;
}

.footer h6 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

/* Processing Carousel */
.processing-carousel-container {
    width: 100%;
    margin: 30px 0;
    position: relative;
}

.processing-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.processing-carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.processing-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}

.processing-carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    visibility: visible;
}

.processing-carousel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.processing-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
}

.processing-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(238, 238, 241, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.processing-carousel-btn:hover {
    background-color: rgba(238, 238, 241, 1);
    transform: translateY(-50%) scale(1.1);
}

.processing-carousel-btn-prev {
    left: 20px;
}

.processing-carousel-btn-next {
    right: 20px;
}

.processing-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.processing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.processing-dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.processing-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* Spacer */
.spacer {
    height: 20px;
}

/* Fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes for text elements */
.section h1,
.section-alt h1,
.main-content h1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section h1.visible,
.section-alt h1.visible,
.main-content h1.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-text,
.section-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-text.visible,
.section-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-text p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-text p.visible {
    opacity: 1;
    transform: translateY(0);
}

.two-column .column {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.two-column .column.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-grid .feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlights-grid .highlight-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.highlights-grid .highlight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.map-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section h1 {
        font-size: 2rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .developers-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        flex-direction: column !important;
        text-align: center;
    }

    .highlight-image {
        margin-bottom: 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .section, .section-alt {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .section h1 {
        font-size: 1.7rem;
    }

    .container {
        padding: 0 15px;
    }
}

