/* Global Styles */
:root {
    --dark-bg: #000000;
    --light-bg: #ffffff;
    --text-white: #ffffff;
    --text-black: #000000;
    --accent-red: #ff3d3d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kumbh Sans', sans-serif;
    line-height: 1.4;
    color: var(--text-black);
    overflow-x: hidden;
    font-size: 20px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    color: var(--text-white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    background-color: #333;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    transition: all 0.3s ease;
}

/* Fixed header styles - only for desktop */
@media (min-width: 769px) {
    header.header-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.9);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 15px 50px;
        animation: slideDown 0.5s ease;
    }
    
    /* Sliding animation from top */
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }
        to {
            transform: translateY(0);
        }
    }
}


.logo img {
    height: 40px;
}

.logo-link {
    display: inline-block;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #F53434;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.logo_title {
    width: 60%;
}

.hero-content h1 {
    font-size: 65px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Intro Section */
.intro {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    margin-bottom: 60px;
}

.intro-heading h2 {
    font-size: 48px;
    color: var(--text-black);
    margin-top: 0;
    margin-left: 10%;
}

.intro-description p {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-button {
    background-color: var(--accent-red);
    color: var(--text-white);
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 20px;
}

.cta-button:hover {
    background-color: #000000;
}

.cta-button.signed-up {
    background-color: #e0e0e0; /* Light gray background */
    color: #666666; /* Darker gray text */
    cursor: default;
    pointer-events: none; /* Prevents any interaction */
}

.cta-button.signed-up:hover {
    background-color: #e0e0e0; /* Prevent hover effect */
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-right: 20px;
}

.feature {
    text-align: center;
    position: relative;
}

.feature:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 0%;
    right: -15px;
    height: 100%;
    width: 1px;
    background-color: #ff3d3d;
}

.feature h3 {
    margin-bottom: 15px;
}


/* App Section */
.app {
    color: var(--text-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    max-width: 1320px;
    margin: 80px auto 40px auto; /* Add bottom margin to create more space before Featured section */
    border-radius: 20px;
}

/* Spline 3D container */
.spline-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1; /* Above the video but below the content */
    transform: scale(1.5); /* Make the Spline object 1.5 times bigger */
    transform-origin: center center; /* Scale from the left center to avoid overflow to the right */
}

/* Phone video and image styles */
.phone-video, .phone-image {
    width: 60%;
    height: 60%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.app-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    background-color: #111;
}

.app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.app .container {
    position: relative;
    z-index: 1;
    display: flex;
    left: 50%;
}

.app-content {
    max-width: 500px;
}

.app-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.app-content p {
    margin-bottom: 30px;
    font-weight: 300;
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.app-button img {
    height: 50px;
    transition: transform 0.3s ease;
}

.app-button:hover img {
    transform: scale(1.05);
}

/* Responsible Innovation Section */
.responsible-innovation {
    background-color: var(--light-bg);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.responsible-innovation h2 {
    margin-bottom: 60px;
}

.innovation-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.innovation-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.innovation-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.innovation-block:hover .innovation-icon {
    transform: scale(1.15);
}

.innovation-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.innovation-block h3 {
    margin-bottom: 15px;
}

.innovation-block p {
    max-width: 300px;
    margin: 0 auto;
}

/* Team Section */
.team {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px; /* Add margin to create more space before App section */
}

.team h2 {
    margin-bottom: 60px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member .img-container {
    width: 200px;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border-radius: 20px;
    cursor: pointer;
}

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

.team-member .img-container:hover img {
    transform: scale(1.15);
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p {
    max-width: 300px;
    margin: 0 auto;
}

/* Showcase Section */
.showcase {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.showcase h2 {
    margin-bottom: 40px;
    text-align: center;
}

/* Desktop Showcase Styles */
.showcase-desktop {
    display: block;
}

/* Showcase wrapper with rounded corners */
.showcase-wrapper {
    border-radius: 20px;
    overflow: hidden; /* Ensure content doesn't overflow rounded corners */
    background-color: var(--light-bg); /* Match page background color */
}

.showcase-main {
    position: relative;
    margin-bottom: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(to bottom, #333, #111);
    border-radius: 0; /* Remove border radius as it's now on the wrapper */
}

/* Showcase Navigation Arrows */
.showcase-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 34px;
    height: 66px;
    transition: transform 0.3s ease;
}

.showcase-arrow-left {
    left: 20px;
}

.showcase-arrow-right {
    right: 20px;
    transform: translateY(-50%) scaleX(-1); /* Flip horizontally to point right */
}

.showcase-arrow img {
    width: 100%;
    height: 100%;
    transition: filter 0.3s ease;
}

.showcase-arrow:hover img {
    filter: invert(32%) sepia(93%) saturate(7466%) hue-rotate(356deg) brightness(97%) contrast(124%);
    /* This filter changes white to the accent red color */
}

.showcase-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.showcase-arrow-right:hover {
    transform: translateY(-50%) scaleX(-1) scale(1.1); /* Maintain flip while scaling */
}

.showcase-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #222;
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.45);
    color: var(--text-white);
    width: 100%;
}

.showcase-meta {
    font-size: 16px;
    padding: 5px 10px;
    width: fit-content;
    margin-top: 12px;
    border-radius: 20px;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);;
}

.showcase-content h3 {
    margin-bottom: 10px;
}

.showcase-content p {
    max-width: 80%;
}

.showcase-thumbnails {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.showcase-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail {
    position: relative;
    flex: 0 0 25%; /* Fixed width of 25% (4 thumbnails visible) */
    min-width: 250px; /* Minimum width to ensure visibility */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    background-color: #444;
    border-radius: 0;
    transition: all 0.3s ease;
}

/* Remove individual border radius from thumbnails since it's now on the wrapper */
.thumbnail:first-child,
.thumbnail:last-child {
    border-radius: 0;
}

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

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Remove the dark overlay */
}

.thumbnail.active .thumbnail-overlay {
    border-top: 3px solid var(--accent-red);
    background-color: transparent; /* Keep transparent for active thumbnails too */
}

.thumbnail h4 {
    position: absolute;
    bottom: 12px;
    left: 24px;
    color: var(--text-white);
    font-size: 18px;
    z-index: 1;
}

/* Mobile Showcase Carousel Styles */
.showcase-mobile {
    display: none;
    width: 100%;
}

.mobile-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #222;
    border-radius: 20px; /* Rounded corners on all 4 sides */
    margin-bottom: 10px; /* Reduced margin to accommodate dots */
}

.mobile-carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.mobile-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.mobile-carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.mobile-carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; /* Rounded corners on all 4 sides for videos */
}

.mobile-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 20px; /* Smaller arrows */
    height: 40px; /* Smaller arrows */
    transition: transform 0.3s ease;
}

.mobile-carousel-arrow-left {
    left: 10px;
}

.mobile-carousel-arrow-right {
    right: 10px;
    transform: translateY(-50%) scaleX(-1); /* Flip horizontally to point right */
}

.mobile-carousel-arrow img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}

.mobile-carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.mobile-carousel-arrow-right:active {
    transform: translateY(-50%) scaleX(-1) scale(0.95);
}

.mobile-carousel-dots {
    display: flex;
    justify-content: center;
    margin: 15px 0; /* Space above and below dots */
}

.mobile-carousel-info {
    padding: 20px;
    background-color: var(--light-bg);
    margin-bottom: 20px;
    display: flex; /* For vertical alignment */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center content vertically */
}

.mobile-carousel-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-black);
    text-align: center; /* Center text horizontally */
}

.mobile-carousel-info p {
    margin-bottom: 15px;
    color: var(--text-black);
    text-align: center; /* Center text horizontally */
}

.mobile-carousel-meta {
    font-size: 16px;
    padding: 5px 10px;
    width: fit-content;
    border-radius: 20px;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    margin: 0 auto; /* Center the meta info */
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-red);
}

/* Featured Section */
.featured {
    background-color: var(--light-bg);
    padding: 100px 0;
    text-align: center;
    margin-bottom: 40px; /* Add margin to create more space before FAQ section */
}

.featured h2 {
    margin-bottom: 60px;
}

.featured-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.featured-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.featured-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: -20px;
    height: 100%;
    width: 1px;
    background-color: #ff3d3d;
}

.featured-logo {
    height: 80px;
    margin-bottom: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-logo {
    transform: scale(1.2);
}

.featured-quote {
    line-height: 1.5;
    font-style: italic;
    color: #555;
    max-width: 300px;
}

/* FAQ Section */
.faq {
    background-color: var(--dark-bg);
    color: var(--text-white);
    padding: 80px 0;
}

.faq h2 {
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.faq-item h3 {
    font-weight: 300;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.faq-item h3:hover {
    color: #F53434;
}

.faq-item.active h3 {
    color: #F53434;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-answer p {
    line-height: 1.5;
}

/* Animation Classes */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered delay classes */
.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }

/* Footer Section */
footer {
    background-color: var(--dark-bg);
    color: var(--text-white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 30px;
    margin-right: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F53434;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
}

.modal-content {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-wide {
    min-width: 60%;
}

.modal-content form {
    overflow-y: auto;
    padding-right: 10px;
    max-height: calc(85vh - 150px); /* Subtract header height and padding */
}

.form-section {
    padding-bottom: 20px;
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
    height: auto;
    padding-right: 15px;
}

/* Add Social Link Button */
#addSocialLink {
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 16px;
    cursor: pointer;
    padding: 5px 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

#addSocialLink:hover {
    opacity: 0.8;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--accent-red);
}

/* Form Tabs */
.form-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.form-tab.active {
    color: var(--accent-red);
}

.form-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
}

.form-tab:hover:not(.active) {
    color: #333;
}

/* Form Sections */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group.half-width {
    flex: 1;
    margin-bottom: 0;
}

.form-group label, .form-group p {
    display: block;
    margin-bottom: 10px;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4;
}

.required {
    color: var(--accent-red);
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    font-family: 'Kumbh Sans', sans-serif;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 44px;
}

/* Ensure consistent placeholder styling across all inputs and textareas */
.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: 'Kumbh Sans', sans-serif;
    color: #999;
    font-size: 16px;
    font-style: normal;
    opacity: 0.7;
}

/* Social Media Links */
.social-media-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.social-media-input select {
    flex: 0 0 120px;
}

.social-media-input input {
    flex: 1;
}

.remove-social-link {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.remove-social-link:hover {
    color: var(--accent-red);
}

.add-button {
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 16px;
    cursor: pointer;
    padding: 5px 0;
    transition: opacity 0.3s ease;
    text-align: left;
}

.add-button:hover {
    opacity: 0.8;
}

#bioCounter {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

/* Checkbox Tags */
.checkbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-checkbox {
    position: relative;
    cursor: pointer;
}

.tag-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.tag-checkbox span {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.tag-checkbox input[type="checkbox"]:checked + span {
    background-color: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

.tag-checkbox:hover span {
    background-color: #e0e0e0;
}

.tag-checkbox input[type="checkbox"]:checked:hover + span {
    background-color: #e02e2e;
}

.radio-group {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}

.radio-group label {
    margin-bottom: 0;
    font-weight: 300;
    font-size: 18px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--accent-red);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cancel-button {
    background-color: #f5f5f5;
    color: #333;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cancel-button:hover {
    background-color: #e0e0e0;
}

.submit-button {
    background-color: var(--accent-red);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.submit-button:hover:not(:disabled) {
    background-color: #e02e2e;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    /*text-align: center;*/
    padding: 20px 0;
}

.success-message h3 {
    color: var(--accent-red);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.success-message p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Error Message */
.error-message {
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 300;
    display: none;
}

.error-message.visible {
    display: block;
    animation: fadeIn 0.1s ease-in-out;
}

.validation-error {
    background-color: rgba(255, 61, 61, 0.2); /* Red with 30% opacity */
    transition: background-color 0.1s ease;
    border-radius: 8px;
    box-shadow: 0 0 0 10px rgba(255, 61, 61, 0.2); /* Creates a 10px "padding" effect */
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 40px;
    right: 40px;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    padding: 20px 25px;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: calc(100% - 80px); /* Full width minus margins */
}

.cookie-notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-notice-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.cookie-icon img {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Make the cookie icon white */
    display: block; /* Prevent inline spacing issues */
}

.cookie-notice p {
    margin: 0;
    font-size: 16px;
    white-space: normal;
}

.cookie-notice a {
    color: var(--accent-red);
    text-decoration: underline;
}

.cookie-notice-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.cookie-settings-button {
    background: transparent;
    border: 1px solid var(--text-white);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cookie-settings-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-accept-button {
    background-color: var(--accent-red);
    border: none;
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.cookie-accept-button:hover {
    background-color: #e02e2e;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.cookie-settings-content {
    background-color: #fff;
    color: var(--text-black);
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cookie-settings-content > p {
    margin-bottom: 25px;
    font-size: 16px;
}

.cookie-category {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    position: relative;
}

.cookie-category-header h3 {
    flex-grow: 1;
    margin: 0 0 0 15px;
    font-size: 18px;
}

.cookie-category-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

.cookie-category-toggle::before,
.cookie-category-toggle::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: transform 0.3s ease;
}

.cookie-category-toggle::before {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
}

.cookie-category-toggle::after {
    width: 20px;
    height: 2px;
    left: 0;
    top: 9px;
}

.cookie-category.active .cookie-category-toggle::before {
    transform: rotate(90deg);
}

.cookie-category-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.cookie-category-content p {
    font-size: 16px;
}

.cookie-category.active .cookie-category-content {
    padding: 15px;
    max-height: 300px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-toggle-slider {
    background-color: var(--accent-red);
}

input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.cookie-accept-selected {
    background-color: #f5f5f5;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.cookie-accept-selected:hover {
    background-color: #e0e0e0;
}

.cookie-accept-all {
    background-color: var(--accent-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.cookie-accept-all:hover {
    background-color: #e02e2e;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .innovation-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-thumbnails {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        flex-basis: 50%;
    }
}

@media (max-width: 768px) {
    /* Cookie Notice Mobile Styles */
    .cookie-notice {
        bottom: 10px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
    
    /* Responsible Innovation mobile styles */
    .innovation-blocks {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .innovation-icon {
        width: 70px;
        height: 70px;
    }
    
    .cookie-notice-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-notice-left {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        text-align: left;
    }
    
    .cookie-notice-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-notice p {
        padding: 0;
    }
    
    header {
        padding: 20px;
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .logo_title {
        width: 100%;
    }

    /* 4. Center content and button in the intro block */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .intro-description {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .intro-heading h2, .app-content h2, .team h2, .showcase h2, .featured h2, .faq h2 {
        font-size: 32px;
    }
    
    /* 1. In app block center content and remove round corners */
    .app {
        border-radius: 0;
    }
    
    .spline-container {
        width: 100%;
        height: 300px;
        position: relative;
        margin-bottom: 20px;
        transform: scale(1.5);
        transform-origin: center center;
    }
    
    .app .container {
        justify-content: center;
        left: auto;
    }
    
    .app-content {
        text-align: center;
    }
    
    /* 3. Make red spacer lines horizontal in features block */
    .features {
        gap: 30px;
    }
    
    .feature:not(:nth-child(4n))::after {
        /* Change vertical lines to horizontal */
        top: auto;
        right: auto;
        bottom: -15px;
        left: 10%;
        height: 1px;
        width: 80%;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
    
    /* Showcase mobile carousel */
    .showcase-desktop {
        display: none; /* Hide desktop showcase on mobile */
    }
    
    .showcase-mobile {
        display: block; /* Show mobile carousel on mobile */
    }
    
    /* 3. Make red spacer lines horizontal in featured block */
    .featured-items {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    
    .featured-item {
        width: 100%;
        max-width: 400px;
    }
    
    .featured-item:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 10%;
        height: 1px;
        width: 80%;
        background-color: #ff3d3d;
        top: auto;
        right: auto;
    }
    
    .featured-logo {
        height: 60px;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .logo_title {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 38px;
    }

    .features {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    /* Modal mobile styles */
    .modal-content {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cancel-button, .submit-button {
        width: 100%;
    }
    
    /* Form tabs mobile styles */
    .form-tabs {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .form-tab {
        flex: 1;
        padding: 10px;
        font-size: 16px;
        text-align: center;
    }
    
    /* Social media inputs mobile styles */
    .social-media-input {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .social-media-input select,
    .social-media-input input {
        width: 100%;
    }
    
    .remove-social-link {
        align-self: flex-end;
        margin-top: -30px;
    }
}
