/*--------------------------------------------------------------------
  1. IMPORT & THEME VARIABLES
  --------------------------------------------------------------------*/
/* Import the Poppins font for a clean, modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* 
   Theme colors for a sleek, futuristic industrial look:
   --primary-color: Deep charcoal (#1c1c1c) used for buttons and links.
   --secondary-color: Clean white (#ffffff) for header and footer backgrounds.
   --accent-color: Metallic silver (#c0c0c0) for subtle borders and accents.
   --background-light: Off-white (#f4f4f4) for the main background.
   --text-dark: Near-black (#222222) for primary content.
   --text-light: White (#ffffff) for text on dark elements.
*/
:root {
    --primary-color: #1c1c1c;
    --secondary-color: #ffffff;
    --accent-color: #c0c0c0;
    --background-light: #f4f4f4;
    --text-dark: #222222;
    --text-light: #ffffff;
}

/*--------------------------------------------------------------------
  2. GLOBAL STYLES
  --------------------------------------------------------------------*/
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

/*--------------------------------------------------------------------
  3. HEADER & NAVIGATION
  --------------------------------------------------------------------*/
/* Header: white background with dark text and subtle shadow for a sleek look */
header {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header-container {
    display: flex;
    justify-content: space-between; /* Logo left, nav right */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.logo img {
    height: 60px; /* Ensures your black logo stands out */
    display: block;
    margin: 0 auto;
}
/* Navigation Menu: horizontal list with ample spacing and dark text */
nav {
    display: flex;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    justify-content: space-evenly;
    align-items: center;
}
nav ul li a {
    font-size: 1.4em;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out;
    white-space: nowrap; /* Prevent wrapping */
}
nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Language Switcher: force items in one line */
.lang-switcher {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Burger icon: hidden on desktop, visible on mobile only */
.burger {
    display: none;
    cursor: pointer;
    font-size: 1.8em;
}
@media (max-width: 768px) {
    .burger {
        display: block;
    }
}

/*--------------------------------------------------------------------
  4. HERO SECTION
  --------------------------------------------------------------------*/
/* Hero section: full-width background image with a dark overlay for dramatic contrast */
.hero {
    background: url('../videos/background.mp4') no-repeat center center/cover;
    text-align: center;
    padding: 100px 20px;
    color: var(--text-light);
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* A sleek black overlay for high contrast */
    background: rgba(0, 0, 0, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: auto;
}
.hero h2 {
    font-size: 2.5em;
}

/*--------------------------------------------------------------------
  5. BUTTONS
  --------------------------------------------------------------------*/
/* Primary button: deep charcoal with white text */
.btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}
.btn:hover {
    /* Slightly lighter on hover */
    background: #333;
}

/*--------------------------------------------------------------------
  6. FEATURES SECTION
  --------------------------------------------------------------------*/
/* Features section: clean white background and subtle box shadows */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background: #ffffff;
    z-index: 1000;

}
.feature-box {
    text-align: center;
    padding: 20px;
    width: 30%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;

}

/*--------------------------------------------------------------------
  7. JOB LISTINGS
  --------------------------------------------------------------------*/
/* Job cards: light background with medium gray borders and smooth hover effect */
.job {
    background: var(--background-light);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1000;

}
.job h3 {
    color: var(--primary-color);
    z-index: 1000;

}
.job:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------------
  8. FADE-IN ANIMATION
  --------------------------------------------------------------------*/
/* Smooth fade-in for elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/*--------------------------------------------------------------------
  9. ABOUT SECTION
  --------------------------------------------------------------------*/
/* About section: clear, centered text on off-white background */
.about, .about-full {
    background: var(--background-light);
    padding: 50px 20px;
    text-align: center;
    z-index: 1000;

}
.about .container,
.about-full .container {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1000;

}
.about h2 {
    font-size: 2em;
    color: black;
    margin-bottom: 20px;
}
.about p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.about .btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}
.about .btn:hover {
    background: #333;
}
.about-full h2 {
    font-size: 2.5em;
    color: black;
    margin-bottom: 20px;
}
.about-full p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/*--------------------------------------------------------------------
 10. PRODUCTS SECTION
  --------------------------------------------------------------------*/
/* Products section: modern grid of product cards */
.products {
    background: var(--background-light);
    padding: 50px 20px;
    text-align: center;
}
.products h2 {
    font-size: 2.5em;
    color: black;
    margin-bottom: 30px;
}
.product-list, .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.product-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    width: calc(33.33% - 20px);
    min-width: 250px;
    max-width: 300px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}
.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
.product-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
}
.product-card p {
    font-size: 1em;
    margin-bottom: 10px;
}
.product-card .btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}
.product-card .btn:hover {
    background: #333;
}

/*--------------------------------------------------------------------
 11. FOOTER
  --------------------------------------------------------------------*/
/* Footer: white background with near-black text and subtle shadow */
footer {
    background: var(--secondary-color);
    color: var(--text-dark);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------------
 12. ADDITIONAL CONTAINERS & ELEMENTS
  --------------------------------------------------------------------*/
.container {
    max-width: 1200px;
    margin: auto;
}
.about-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.about-text {
    flex: 1;
}
.about-image {
    flex: 1;
    text-align: center;
}
.about-image img {
    width: 450px;
    height: 330px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(192,192,192,0.2); /* metallic silver shadow */
}

/*--------------------------------------------------------------------
 13. MAP & CONTACT SECTION
  --------------------------------------------------------------------*/
.map-container {
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 600px) {
    .map-container {
        width: 100%;
        max-width: 100%;
    }
    .map-container iframe {
        width: 100%;
        height: auto;
    }
}
.contact-section {
    padding: 50px 20px;
    background: var(--background-light);
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.contact-info h2 {
    color: black;
    margin-bottom: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.contact-item i {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-right: 10px;
}
.contact-map {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.contact-map iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
}



/*--------------------------------------------------------------------
 15. RESPONSIVE DESIGN (MOBILE)
  --------------------------------------------------------------------*/
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    /* Mobile Navigation: Use a fixed side-menu with medium gray background */
    nav {
        display: none;
        width: 100%;
        background: var(--secondary-color);
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        text-align: center;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .burger {
        display: block;
        z-index: 1001;
    }
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
    .product-card {
        width: 90% !important;
        margin: 0 auto 20px;
    }
    .contact-container {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    nav {
        width: 150px;
        background: rgba(192,192,192,1); /* Metallic silver background for mobile nav */
        position: fixed;
        top: 80px;
        right: 0;
        height: 100%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        text-align: center;
    }
    nav.active {
        transform: translateX(0);
    }
    nav ul {
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 20px 0;
    }
}
@media (max-width: 768px) {
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        margin: 0;
        list-style: none;
    }
    nav ul li a {
        display: block;
        text-align: center;
        padding: 10px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 5px;
        color: var(--text-dark);
        text-decoration: none;
        transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 0 5px rgba(255,255,255,0.2);
    }
    nav ul li a:hover {
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.5);
        box-shadow: 0 0 8px rgba(255,255,255,0.3);
    }
}
@media (max-width: 768px) {
    .lang-switcher a {
        padding: 2px 4px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

.about-image img {
  width: 450px;
  height: 330px;
  object-fit: cover;
}

.about-full .logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about-image2 img {
  width: 450px;
  height: 330px;
  object-fit: cover;
}
.about-image1 img {
  width: 450px;
  height: 330px;
  object-fit: cover;
}

@media (min-width: 769px) {
  .logo {
    margin-left: -100px;
  }
}


.about-full h2 {
  color: #000; /* Set the heading text color to black */
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

/* Both images take up the full container with smooth opacity transition */
.product-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease;
}

/* Primary image is visible by default */
.primary-image {
  opacity: 1;
}

/* Hover image is positioned absolutely and hidden initially */
.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* On hover, fade out the primary image and fade in the hover image */
.product-image-container:hover .primary-image {
  opacity: 0;
}

.product-image-container:hover .hover-image {
  opacity: 1;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0; /* Places the video behind all content */
  object-fit: cover; /* Ensures the video covers the entire screen */
}

.hero {
  position: relative;
  overflow: hidden; /* Ensures the video doesn't spill out */
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1; /* Places the video behind the content */
}

#kig {
  text-align: center;
}

.about-section {
  background: #fff;  /* White background for clarity */
  padding: 60px 20px;
  color: #333;
  text-align: center;
}

.about-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-header h2 {
  font-size: 2.5em;
  margin-bottom: 0.2em;
}

.section-header h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #555;
}

.highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
}

.highlights li {
  background: #eee;
  padding: 10px 15px;
  border-radius: 4px;
}

.section-content h3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #1c1c1c;
}

.section-content p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.offers, .resources, .plans  {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  margin: 20px auto;
  max-width: 600px;
}

.cowork {
  text-align: left;
}

.offers li, .resources li, .plans li {
  margin-bottom: 10px;
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.5s ease;
}

/* Primary image is visible by default */
.primary-image {
  opacity: 1;
}

/* Hover image is positioned absolutely and hidden by default */
.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* When hovering over the container, fade out the primary image and fade in the hover image */
.product-image-container:hover .primary-image {
  opacity: 0;
}

.product-image-container:hover .hover-image {
  opacity: 1;
}

.section-header {
  /* Optional: set a fixed height if needed */
  
  overflow: hidden;
  scroll-margin-top: 90px; /* Adjust if you have a sticky header */
}

.section-header img {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.hero-bg-video {
  pointer-events: none !important;
}




@media (max-width: 768px) {
  .logo img {
    margin-left: -100; /* Remove negative margin on mobile */
    max-width: 120px;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
  .feature-box {
    width: 80%;  /* Adjust as needed */
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .header-container .logo {
    margin: 0;
    text-align: center;
  }
}

.section-content, .cowork {
  text-align: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;  /* Keeps the video behind the main content */
  overflow: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;  /* Places it above the video */
  /* No background color so it stays invisible, but it intercepts pointer events */
}


.about-section {
  padding: 60px 20px;
  background: #fff;
  color: #333;
  text-align: center;
}

.about-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-header h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.section-header p {
  font-size: 1.1em;
  margin-bottom: 40px;
}

.video-spot {
  margin: 40px 0;
  /* You can also style the video element if needed */
}

.section-content h3 {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #1c1c1c;
}

.section-content p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.image-placeholder {
  margin: 20px 0;
}

.image-placeholder img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.offers, .resources, .plans, .social-support {
  list-style: disc;
  text-align: left;
  margin: 20px auto;
  max-width: 600px;
  padding-left: 20px;
}

.offers li, .resources li, .plans li, .social-support li {
  margin-bottom: 10px;
}

.image-placeholder img {
  border: 2px solid #ccc;      /* Light gray border */
  border-radius: 4px;          /* Slightly rounded corners */
  padding: 5px;                /* Optional: adds space between the image and the border */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.about-section .container {
  border-left: 2px solid #ccc;  /* Adjust color & width as needed */
  border-right: 2px solid #ccc;
  padding: 20px;  /* Add some space so the text doesn't stick to the border */
}

.about-section .container {
  border: 2px solid #ccc; /* Creates horizontal and vertical bars */
  padding: 20px;          /* Adjust padding as needed */
}

.about-section .container {
  border: 2px solid #ccc;
  padding: 20px;
  background-color: var(--background-light); /* Your desired background color */
}

.lang-switcher span {
  font-size: 24px;
  margin: 0 5px;
}


@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8em;  /* Adjust to your desired size */
  }
  
  .section-header p {
    font-size: 0.9em;  /* Adjust to your desired size */
  }
}


.logofull img {
  width: 33%;
  
}


/* Hide the language switcher by default */
.mobile-lang-switcher {
  display: none;
}

/* Only show it on mobile devices */
@media (max-width: 768px) {
  .mobile-lang-switcher {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff; /* Or another background color to suit your design */
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  }
  .mobile-lang-switcher a {
    margin: 0 10px;
    font-size: 24px;  /* Adjust the size as needed */
    text-decoration: none;
  }
  .mobile-lang-switcher img {
    width: 30px;  /* Adjust this value as needed */
    height: 18px; /* Maintains aspect ratio */
    margin: 0 5px; /* Optional: adds spacing between the images */
    outline: 1px solid var(--text-dark);  /* Adds a 2px white outline */
  }
}

.section-video {
  width: 100%;         /* Make the video responsive */
  max-width: 768px;    /* Limit the maximum width */
  height: auto;        /* Maintain aspect ratio */
  display: block;      /* Remove any inline spacing */
  margin: 0 auto;      /* Center the video horizontally */
}

.section-video {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 2px solid #000; /* A thinner border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
}


.hero {
  position: relative;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-gif {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the GIF covers the container */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* Optional overlay for improved text readability */
  pointer-events: none;
}

.lang-switcher img {
  width: 30px;  /* Adjust this value as needed */
  height: 18px; /* Maintains aspect ratio */
  margin: 0 5px; /* Optional: adds spacing between the images */
  outline: 1px solid var(--text-dark);  /* Adds a 2px white outline */
}



