/* General Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-image: linear-gradient(to right, #000000, #0d1b2a);
    color: #ffffff;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.logo img {
    height: 70px; /* Adjust as needed */
    vertical-align: middle;
}

.header-light-text {
    position: absolute;
    left: 150px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0077be, 0 0 20px #0077be, 0 0 25px #0077be, 0 0 30px #0077be, 0 0 35px #0077be;
    animation: fadeInOut 5s infinite alternate;
    font-family: 'Orbitron', sans-serif;
}

@keyframes fadeInOut {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    flex-direction: column;
    text-align: center;
    background-image: linear-gradient(to right, #000000, #0d1b2a);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
}

nav.active ul {
    max-height: 500px; /* Adjust if menu grows */
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 10px;
    color: #ffffff; /* Changed to white */
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    color: #ffffff; /* White text on hover */
}

/* Hamburger Menu */
.hamburger {
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: relative;
    box-sizing: content-box;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* Using site's accent color */
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 0;
}

.hamburger .bar:nth-child(1) {
    top: 10px;
}

.hamburger .bar:nth-child(2) {
    top: 19px;
}

.hamburger .bar:nth-child(3) {
    top: 28px;
}

.hamburger.active .bar:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

.hamburger:hover .bar {
    background-color: #e0e0e0;
}

.lang-switcher {
    display: flex;
    gap: 10px;
}

/* Main Content */
main {
    min-height: 80vh;
}

/* Slider Section */
.slider-container {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slides-wrapper {
    height: 100%;
    position: relative;
}

.slide {
    display: none; /* Hide slides by default */
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 10;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  z-index: 11;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dots-container {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 11;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

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

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.cta-button {
    background-color: #bdc3c7;
    color: #000000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

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

/* View Switcher */
.view-switcher {
    text-align: center;
    margin-bottom: 2rem;
}

.view-switcher .cta-button {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 10px;
    cursor: pointer;
}

.view-switcher .cta-button:hover,
.view-switcher .cta-button.active {
    background-color: #333;
    color: #fff;
}

/* Featured Projects Section */
.featured-projects {
    padding: 4rem 0;
    text-align: center;
}

.featured-projects h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-item {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    text-align: center;
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ccc;
}

.project-item h3 {
    padding: 1rem;
    margin: 0;
    background-color: #000;
    color: #fff;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

.project-item {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-item .hidden-image {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: blur(5px);
    transition: max-height 0.5s ease-in-out;
}

.project-item:hover .hidden-image {
    max-height: 200px;
}

.portfolio-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Project Detail Page */
.project-detail {
    padding: 4rem 0;
    text-align: center;
}

.project-detail-image {
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
}




.back-link-container {
    text-align: center;
    margin-bottom: 2rem;
}

.lang-switcher a {
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.lang-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #000000;
}

.lang-switcher img {
    width: 30px;
    height: 22px;
    object-fit: cover;
    vertical-align: middle;
    border: none;
    margin: 0;
    padding: 0;
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: #0d1b2a;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #bdc3c7;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .lang-switcher {
        order: 2;
    }

    .hamburger {
        order: 1;
    }
}

@media screen and (min-width: 769px) {
    header .container {
        flex-wrap: nowrap;
    }

    .logo {
        width: auto;
        text-align: left;
        margin-bottom: 0;
    }

    nav ul {
        flex-direction: row;
        width: auto;
        display: flex !important;
        background-color: transparent;
        position: static;
        box-shadow: none;
        max-height: none; /* Override max-height */
        overflow: visible; /* Override overflow */
    }

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

    nav ul li a {
        padding: 5px 10px;
    }

    .hamburger {
        display: none;
    }

    .lang-switcher {
        position: static;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lang-switcher a.active {
    opacity: 0.5;
    cursor: default;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 75vw;
    max-height: 80vh;
    object-fit: contain; /* Ensure the image fits within the bounds */
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.project-images-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.project-images-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.progress-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #0d1b2a;
    border-radius: 5px;
    transition: width 0.1s ease-in-out;
}

/* Status Bar */
.status-bars {
    margin-top: 2rem;
}

.status-bar {
    margin-bottom: 1rem;
}

.status-bar .label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.bar-container {
    width: 100%;
    background-color: #eee;
    border-radius: 5px;
    height: 20px;
}

.bar {
    height: 100%;
    background-color: #0d1b2a;
    border-radius: 5px;
    text-align: right;
    color: white;
    line-height: 20px;
    padding-right: 5px;
    transition: width 1s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
}

@media screen and (max-width: 768px) {
    .project-images-gallery {
        grid-template-columns: 1fr;
    }
}

.project-gallery-section {
    margin-bottom: 4rem;
}

/* Lightbox Arrows and Exit Button */
.prev-arrow, .next-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 1001;
}

.prev-arrow {
    left: 10px;
    border-radius: 3px 0 0 3px;
}

.next-arrow {
    right: 10px;
}

.prev-arrow:hover, .next-arrow:hover {
    background-color: rgba(0,0,0,0.8);
}

.exit-button {
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    z-index: 1001;
}

.exit-button:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Hover Gallery Styles */
.hover-gallery-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hover-main-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.hover-thumbnail-container {
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: flex-start;
    padding: 10px;
    overflow-x: auto;
    height: 100px;
}

.hover-gallery-container:not(.gallery-open) .hover-thumbnail-container {
    height: 100px;
}

.hover-gallery-container.gallery-open .hover-thumbnail-container {
    height: 220px;
    overflow-y: auto;
    flex-wrap: wrap;
}

.hover-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, filter 0.3s;
    filter: blur(2px);
}

.hover-gallery-container:hover .hover-thumbnail {
    filter: blur(1px);
}

.hover-gallery-container.gallery-open .hover-thumbnail,
.hover-thumbnail:hover, 
.hover-thumbnail.active {
    border-color: #fff;
    filter: blur(0);
}

/* Support Circle */
.support-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #0d1b2a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.support-circle:hover {
    transform: scale(1.1);
}

/* Chat Window */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    visibility: hidden;
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chat-header {
    background-color: #0d1b2a;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    flex-grow: 1;
    padding-bottom: 10px;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
}

.bot-message p {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
    max-width: 85%;
}

.user-message {
    justify-content: flex-end;
}

.user-message p {
    background-color: #0d1b2a;
    color: #fff;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
    max-width: 85%;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.chat-option {
    background-color: #fff;
    border: 1px solid #0d1b2a;
    color: #0d1b2a;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
}

.chat-option:hover {
    background-color: #0d1b2a;
    color: #fff;
}

.chat-footer {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#chatInput {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 1rem;
}

#sendButton {
    background-color: #0d1b2a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#sendButton:hover {
    background-color: #1b2f45;
}

@media screen and (max-width: 768px) {
    .chat-window {
        width: 95%;
        right: 2.5%;
        bottom: 80px;
    }

    .support-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}




