/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Body */
body {

    font-family: "Reddit Mono", serif;
    background-color: #0b0219;
    color: #ddd;
    text-align: center;
    margin: 0;
}

/* Header Styling */
.navbar {
    display: flex;
    justify-content: space-between; /* Distributes elements: Home - Language - Menu */
    align-items: center;
    padding: 20px 40px;
    /*
    background-color: #f4f4f4; *//* Background color */
}

.home-button {
    margin-right: auto; /* Ensures it stays on the left */
}

.home-icon {
    width: 80px; /* Adjust icon size */
    height: auto;
    margin: 15%;
    transition: transform 0.2s ease-in-out;
}

.home-icon:hover {
    transform: scale(1.2);
}


/* Navigation Menu */

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 2% 0 2% 5%;
    gap: 20px;
}


/* Menu Items */
.nav-menu li {
    display: inline;
}

.nav-menu a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.nav-menu a:hover {
    background: #8a5dac;
}

/* Responsive Fix: Stack on Small Screens */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
}

.main-section {
    margin-bottom: 2%;
}

.main-section h1 {
    /*color: #b886f0;*/
    color: #ffffff;
    font-size: 50px;
    margin: 2% 2% 0 5%;
    text-align: left;
}

.main-section p {
    font-size: 20px;
    margin: 2% 2% 0 5%;
    text-align: left;
    margin-bottom: 2%;
}

.carousel {
    position: relative;
    margin: 20px auto;
    width: 100%;
    overflow: hidden;
}

/* Decription*/

.Decription2{
    margin-top: 2%;

}
.Decription2 p {
    font-size: 15px;
    text-align: left;
    margin: 0 20% 5% 20%;
}

.project-category h2{
    /*color: #7a5b9e;*/
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
    margin: 2%;
}


.user-research h2 {
    /*color: #7a5b9e;*/
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
    margin: 2%;
}


.Devices img {
    width: 80%;
    height: 80%;
}

.Devices2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
   
    padding-top: 5%;
    text-align: center;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
}

.device-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
}

.device-item p {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}


/* Carousel controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 2%;
}

.prev, .next {
    cursor: pointer;
    font-size: 24px;
    color: #ddd;
}


/* Carousel Info (positioned on top of images) */
.carousel-info {
    position: absolute;
    bottom: 20px;
    right: 5%;
    z-index: 5;
    padding: 10px;
    border-radius: 5px;
    color: #0b0219;
    text-align: right;
    max-width: 300px; /* Adjust as needed */
}

.carousel-info p {
    margin-bottom: 10px;
}

.slides {
    display: flex;
    width: calc(100% * 3); /* Adjust based on the number of images */
    transition: transform 0.5s ease-in-out;
    z-index: 0;
}

.slides a {
    width: calc(100% / 3); /* Show 3 images at a time */
}

.slides img {
    width: 100%;
    height: auto;
}

.InfoAbout img{
    width: 30%;
    height: 30%;
}

.info-about {
    display: flex; /* Enables flexbox for a two-column layout */
    align-items: center; /* Aligns items vertically */
    justify-content: center; /* Centers the content horizontally */
    gap: 20px; /* Space between image and text */
    max-width: 900px; /* Optional: Limits width for better readability */
    margin: auto; /* Centers the section */
}

.info-about img {
    width: 250px; /* Adjust the image size */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Optional: Rounds corners */
}

.info-about p {
    flex: 1; /* Makes the text take up remaining space */
    font-size: 14px; /* Adjusts text size */
    line-height: 1.6; /* Improves readability */
}


/* Check it out button */
.check-it-out-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #b886f0;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
}

/* What do I section */
.what-i-do {
    margin: 5% 5%;
}

.what-i-do h2 {
    /*font-size: 36px;
    color: #b886f0;
    margin: 5%;*/
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
    margin: 5%;
    
}

.services {
    display: flex;
    justify-content: center;
    gap: 5%;
    margin: 5%;
}
 
.title2 {
    /*font-size: 28px;
    color: #b886f0;*/
    margin-bottom: 2%;
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
}

.service {
   /* background-color: #333;*/
    width: 150px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ddd;
    text-align: center;
    padding: 10px;
}

.service img {
    width: 50px;
    height: 50px;
    margin-bottom: 10%; /* Space between the icon and text */
}

.service p {
    font-size: 16px;
}

.job {
    /* background-color: #333;*/
    width: 200px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ddd;
    text-align: center;
    padding: 5px;
}


/* Footer */
footer {
    padding: 2%;
}

footer .social-icons {

    margin: 2%;
    text-align: right;

}


footer .social-icons a img {
    width: 30px;
    margin: 0 10px;
}

.projects-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.project-category {
    width: 70%;
    padding: 2%;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 3%;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background:#0b0219;
    /*background: rgba(255, 255, 255, 0.08);*/
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.project-item img {
    width: 50%;
    height: 50%;
    border-radius: 25px;
    margin: 2%;
}

.project-item:hover {
    background: #b786f096;
}

.project .content {
    display: flex;
    gap: 5%;
}

/* Background Colors for Different Categories */
.category-1 {
    background-color: #c3abe00d;
}

.category-2 {
    background-color:  #c3abe00d;
}

.category-3 {
    background-color: #c3abe00d;
}

.category-4 {
    background-color: #c3abe00d;
}
/*Projects page*/



.project h1 {
    /*color: #7a5b9e;*/
    color: #ffffff;
    font-weight: bold;
}

.project img {
    width: 60%;
    height: auto;
    border-radius: 10px;
}

.video {
    width:45%;
    height: auto;
    position: relative;
    margin-left: 5%;
}

.video video {
    width: 100%;
    height: auto;
}

.video-error {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.role {
    width: 35%;
    height: auto;
    justify-content: space-between;
    padding-left: 8%;
    padding-top: 8%;
    
}

.role h2 {
    /*color: #7a5b9e;*/
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
}

.role ul {
    list-style-type: decimal;
    margin-left: 0;
}

.role img {
    width: 30%;
    height: auto;
}

.research {
    padding: 5%;
}

.research h2 {
    /*color: #7a5b9e;*/
    padding-bottom: 5%;
    font-size: 35px;
    font-weight: lighter;
}

.research-content {
    display: flex;
    gap: 5%;
}

.research-content img{
    border-radius: 5px;
    width: 20%;
    height: auto;
    margin-left: 15%;
    margin-right: 5%;
}

.research-box2 {
    background-color: #dddddd3a;
    margin: 5%;
    padding: 5%;
    border-radius: 5px;
    width: 50%;
}

.research-box2 img{
    width: 50%;
    margin: 2%;
}

.research-box2 img:hover {
    transform: scale(2.5);
}


.research-box {
    padding: 2%; 
    border-radius: 5px;
    width: 50%;
}

.research-box p strong {
    color: #16101c;
}

.references {
    width: 50%;
}
.references img{
    width: 30%;
    height: auto;
}
.references h3 {
    /*color: #7a5b9e;*/
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
}
.references4 {
   flex: 1;
            min-width: 300px;
            padding: 25px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
}
.references4:hover, .references2:hover {
            transform: translateY(-5px);
        }
.references4 img{
    width: 50%;
    height: auto;
}
.references4 img {
            width: calc(50% - 10px);
            height: auto;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }
        
        .references4 img:hover, .references2 img:hover {
            transform: scale(1.03);
        }

.references4 h3 {
    /*color: #7a5b9e;*/
    color: #ffffff;
    font-size: 35px;
    font-weight: lighter;
}

.references4 p {
    margin: 2%;
}
.references2 {
     flex: 1;
            min-width: 300px;
            padding: 25px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
}
.references2 img{
    width: 80%;
    height: auto;
    margin: 2%;
    border-radius: 8px;
}
.references2 h3 {
    /*color: #7a5b9e;*/
    color: #ffffff;
    font-size: 35px;
    font-weight: lighter;
}

.references2 p {
    margin: 2%;
}

.user-research {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.user-research > ul {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    list-style-type: none;
}

.user-research > ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.user-research > ul li:before {
    content: "•";
    color: #b786f096;
    font-weight: bold;
    position: absolute;
    left: 5%;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .personas-grid {
        grid-template-columns: 1fr;
    }
}

.columns {
    display: flex;
    justify-content: space-between;
    margin: 2%;
}
.columns2 {
    display: center;
    padding: 5%;
    align-items: center;
    justify-content: center;
}

.columns2 img{
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 200px;
    padding: 2%;

}

.columns2 p {
    display: center;
    padding: 2% 20% 2% 20%;
    align-items: center;
    justify-content: center;
}

.teachers, .students, .students2 { 
    width: 45%;
    text-align: center;
}

.teacher img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.students img {
    width: 80px;
    height: auto;
    display: block;
    margin: 10px auto;
}
.students2 img {
    width: 35%;
    height: auto;
    margin: 10px auto;
    border-radius: 10px;
}

.interactive-section {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2%;
}

.interactive-section img{

    max-width: 30%;
    height: auto;
    max-height: 400px;
    width: auto;
}

.text-box {
    width: 50%;
    margin: 2%;

}
.text-box2 {
    width: 50%;
    padding: 2%;
}

.text-box3 {
    width: 50%;
    padding: 3%;
}


.prototype {
    padding: 2%;
}

.prototype h2{
    color: #ffffff;
    
    font-size: 35px;
    font-weight: lighter;
}

.prototype video{
    width: 60%;
    height: auto;
    padding: 5%;
}

.prototype img{
    width: 60%;
    height: auto;
    padding: 5%;
    border-radius: 10px;
}


.images3 {  
    display: flex;
    gap: 20px;
    padding: 5%;
}


.images3 img{
    width: 50%;
    height: auto;
    border-radius: 10px;
}

.images3 video{
    width: 100%;
    height: auto;
    margin: 2%;
}

.images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5%;
}

.images img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

.images2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5% 5% 0 5%;
    padding-left: 7%;

}

.images2 img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

.images4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5%;
    justify-content: center;
}

.images4 img{
    width: 20%;
    height: auto;
    border-radius: 10px;
}

.images4  p{
    padding: 5%;
}

.testing .videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding-top: 5%;
}

.testing h2{
    font-size: 35px;
    font-weight: lighter;
    margin: 5%;
}

.videos div {
    width: 48%;
    text-align: center;
}

.videos video {
    width: 70%;
    height: auto;
}

.testing .videos2 {

    gap: 20px;
    padding-top: 5%;
}
.videos2 video {
    width: 60%;
    height: auto;
}


.external-button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(0, 0, 0);
    background-color: #cbb3f1; /* Purple */
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.external-button:hover {
    background-color: #4c435a; /* Darker purple */
    transform: scale(1.05);
}

.external-button:active {
    transform: scale(0.95);
}

/* Make sure the column layout doesn't distort images */
.illustration-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* Alternating alignment */
.illustration-container:nth-child(even) {
    flex-direction: row-reverse;
}

/* Text container */
.illustration-text {
    flex: 1;
    padding: 0;
    text-align: center;
}

.illustration-text h2 {
    font-size: 35px;
    font-weight: lighter;
    margin: 5%;
    text-transform: uppercase;
}

.gallery img {
    width: auto; /* Prevents distortion */
    max-width: 70%; /* Ensures they don’t overflow */
    height: auto; /* Keeps original height */
    max-height: 300px; /* Limits excessive height */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    display: block;
    margin: auto; /* Centers image inside column */
    object-fit: contain; /* Ensures full image is visible without distortion */
}

/* Center images within the flex container */
.gallery {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    gap: 10px;
    height: 100%; /* Ensures it takes full height of the container */
    margin: 2%;
}

.gallery2 {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Centers vertically */
    gap: 10px;
    margin: 2%;
}

/* Images */
.gallery2 img {
    width: 70%;
    width: auto;
    max-width: 500px;
    height: auto;
    max-height: 800px; /* Limits excessive height */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}


.gallery img:hover {
    transform: scale(1.5);
}


.gallery2 img:hover {
    transform: scale(1.5);
}

/* Video Styling */
.gallery2 video {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}

.gallery3 {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Centers vertically */
    gap: 10px;
    margin: 5%;
}

/* Images */
.gallery3 img {
    width: 50%;
    width: auto;
    max-width: 400px;
    height: auto;
    max-height: 700px; /* Limits excessive height */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.gallery3 img:hover {
    transform: scale(1.5);
}

.video-gallery {
            margin-top: 30px;
        }
        
        .video-gallery h3 {
            color: #ffffff;
            font-size: 28px;
            text-align: center;
            margin-bottom: 30px;
            font-weight: 300;
            letter-spacing: 1px;
        }
        
        .video-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }
        
        .video-item {
            flex: 1;
            min-width: 300px;
            max-width: 350px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
         .video-item2 {
            min-width: 400px;
            max-width: 650px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .video-item2 video {
            width: 100%;
            height: auto;
            display: block;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }
        
        
        .video-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(159, 127, 219, 0.3);
        }
        
        .video-item video {
            width: 100%;
            height: auto;
            display: block;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }
        
        .video-caption {
            padding: 15px;
            text-align: center;
            font-style: italic;
            color: #b0b0b0;
            font-size: 0.9rem;
        }
        
        /* Responsive adjustments */
        @media (max-width: 900px) {
            .video-container {
                gap: 20px;
            }
            
            .video-item {
                min-width: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .video-container {
                flex-direction: column;
                align-items: center;
            }
            
            .video-item {
                width: 100%;
                max-width: 500px;
            }
            
            h2 {
                font-size: 2rem;
            }
        }

/* Video Styling */
.gallery3 video {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
}
/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .illustration-container {
        flex-direction: column !important;
        text-align: center;
    }
}

.Links {
    display: flex;
    justify-content: center; /* Centers links horizontally */
    align-items: center; /* Aligns items in the middle */
    gap: 50px; /* Space between the links */
}

/* Ensure the links are styled properly */
.Links div {
    flex: 1; /* Each link takes equal space */
    text-align: center; /* Centers the text inside */
}

.Links div a {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    color: #b886f0;
}

.Links div a:hover {
    color: #302e31; /* Darker purple on hover */
    transform: scale(1.05);
}


header a:hover {
    background: #302e31; /* Darker purple on hover */
    transform: scale(1.05);
}
.header-decoration {
            height: 4px;
            width: 100px;
            background: linear-gradient(90deg, #9f7fdb, #6a4ca3);
            margin: 0 auto 25px auto;
            border-radius: 2px;
        }

.context h2{
    font-size: 35px;
    font-weight: lighter;
    margin: 2%;
}

.characters h2{
    font-size: 35px;
    font-weight: lighter;
    margin: 2%;
}

#google_translate_element {
    flex: 1; /* Allow it to move */
    text-align: right; /* Align to the right */
    justify-content: flex-end; /* Push items to the right */
    font-family: "Reddit Mono", serif;
    font-size: 14px;
}

 /* Hide all language options except the selected 5 */
 .goog-te-combo option:not([value="en"]):not([value="de"]):not([value="es"]):not([value="ja"]):not([value="fr"]) {
    display: none;
}


/* Adjust dropdown size */
.goog-te-gadget select {
    font-family: "Reddit Mono", serif;
    font-size: 14px;
    padding: 5px;
    color: black !important;
}

.translate-container {
    margin-left: auto; /* Pushes it to the right corner */
}

/* Bottom Left Text Section */
.bottom-text {
    position: absolute;
    bottom: 5%; /* Adjust distance from footer */
    left: 5%; /* Align to the left */
    color: rgb(143, 99, 173); /* Text color */
    font-size: 16px;
    text-align: left;
    max-width: 500px;
}

/* Ensure text is visible on smaller screens */
@media screen and (max-width: 768px) {
    .bottom-text {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 20px auto;
        text-align: center;
    }
}

.solution-table {
    width: 100%;
    max-width: 800px;
    margin: 5% auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.224);
    border-radius: 8px;
    overflow: hidden;
}

.solution-table th {
    background-color:  rgb(87, 63, 103);;
    color: rgba(255, 255, 255, 0.614);
    padding: 12px 15px;
    text-align: left;
}

.solution-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #4643462c;
}

.solution-table tr:nth-child(even) {
    background-color: #f9f9f96d;
}

.solution-table tr:last-child td {
    border-bottom: none;
}

.solution-table tr:hover {
    background-color: #8b81919b;
}

.stage {
    font-weight: 600;
    color:  rgb(102, 83, 115);
}

.solution {
    color: #051629;
}

.research {
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the content horizontally */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.research h2 {

    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    width: 100%;
}

.research-content {
    width: 100%;
    display: flex;
    justify-content: center; /* Centers the box horizontally */
}

.research-box3 {
    background-color: #f8f9fa21;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.research-box3 h1 {
    color: rgba(115, 77, 137, 0.769);
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.research-box2 ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.research-box3 li {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.research-box3 li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.research-box3 li p:first-child {
    font-weight: 600;
    color: rgb(116, 106, 122);
    margin-bottom: 8px;
    font-size: 18px;
}

.research-box3 li p:last-child {
    color: #d7d7d7;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .research-box3 {
        width: 95%;
        padding: 20px;
    }
}
