/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #00ffcc #1a1a1a;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 12px;
  }

  *::-webkit-scrollbar-track {
    background: #1a1a1a;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #00ffcc;
    border-radius: 10px;
    border: 3px solid #1a1a1a;
  }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffcc;
    transition: color 0.3s;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

header {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 255, 204, 0.1);
    padding: 0.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: absolute;
    z-index: 100;
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.theme-toggle-button {
    background: none;
    border: 1px solid rgba(0, 255, 204, 0.5);
    border-radius: 50%;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffcc;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.theme-toggle-button:hover {
    background-color: rgba(0, 255, 204, 0.1);
}

.theme-toggle-button svg {
    width: 24px;
    height: 24px;
}

.moon-icon { display: block; }
.sun-icon { display: none; }


header .logo {
    justify-self: start;
}

nav {
    display: flex;
    justify-self: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px #00ffcc;
}

.contact-button {
    text-align: right;
    background: linear-gradient(45deg, #00ffcc, #33ccff);
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
}

.contact-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

footer {
    background-color: #000;
    color: #f0f0f0;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #00ffcc;
    transition: background-color 0.3s, border-color 0.3s;
}

.logo img {
    height: 60px;
    animation: bounceIn 1s;
    filter: brightness(0) invert(1);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.menu-icon {
    display: none;
}

#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-content .button {
    background-color: #00ffcc;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.hero-content .button:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about {
    padding: 6rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #00ffcc;
    top: 0;
    bottom: 0;
    left: 53.5%;
    margin-left: -3px;
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}



.timeline-content {
    padding: 20px 30px;
    background-color: #111;
    position: relative;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 204, 0.2);
        margin-right: 5px;
    margin-left: 5px;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 15px;
    background-color: #00ffcc;
    top: 0;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: 15px;
}

.timeline-image {
    margin-bottom: 1rem;
}

.timeline-image img {
    width: 100%;
    border-radius: 6px;
}

#about, #video, #benefits {
    padding: 6rem 0;
    transition: background-color 0.3s;
}

.company-intro {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.new-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.main-video-container {
    grid-column: 1 / -1; /* Span both columns */
}

.new-video-grid video {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 900px;
}

.close-modal {
    color: #fff;
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#modal-video-iframe {
    width: 100%;
    height: 500px;
}

#benefits {
    background-color: #111;
}

#benefits ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

#benefits li {
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#benefits li:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4);
    border-color: rgba(0, 255, 204, 0.5);
}

#benefits h3 {
    margin-bottom: 1rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    color: #00ffcc;
    filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.7));
    transition: color 0.3s, filter 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#benefits .benefit-icon.fas {
    font-size: 50px;
    text-align: center;
    line-height: 60px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: #111;
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 250px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4);
}

.contact-card i {
    font-size: 2.5rem;
    color: #00ffcc;
    margin-bottom: 1rem;
}
.contact-desc{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#contacts form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    background-color: #111;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

#contacts input,
#contacts textarea {
    padding: 1rem;
    border: none;
    border-bottom: 2px solid rgba(0, 255, 204, 0.5);
    border-radius: 0;
    background-color: transparent;
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, color 0.3s;
}

#contacts input:focus,
#contacts textarea:focus {
    outline: none;
    border-color: #00ffcc;
}

#contacts button {
    background: linear-gradient(45deg, #00ffcc, #33ccff);
    color: #1a1a1a;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

#contacts button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #00ffcc;
    color: #1a1a1a;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top:hover {
    background-color: #fff;
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    header {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 8px 9.5px;

        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        top: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 255, 204, 0.2);
        box-sizing: border-box;
    }

    header .logo {
        position: static;
        transform: none;
        flex: 1;
        text-align: center;
        justify-self: auto;
        max-width:fit-content;
    }

    .menu-icon {
        display: block;
        color: #00ffcc;
        font-size: 2rem;
        text-decoration: none;
        order: 3;
    }

    nav {
        order: 1;
        flex: 1;
        justify-content: flex-start;
    }

    nav, .contact-button {
        display: none;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(26, 26, 26, 0.95);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem;
        z-index: 99;
        width: 100%;
        box-sizing: border-box;
    }

    nav.showing {
        display: block;
        border-radius: 24px;
        margin-top: 2px;
    
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-button.showing {
        display: none;
        width: auto;
        margin: 1rem auto 0;
    }

    #about .about-container {
        flex-direction: column;
    }

    .timeline::after {
        height: 95%;
        margin-top: 25px;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        display: block;
        width: 100%;
        left: auto;
        padding: 50px 0px;
    }

    .timeline-content {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    .timeline-image {
        margin: 0 auto 1rem auto;
        max-width: 100%;
    }

    .timeline-icon {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        top: 15px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
    left: 50%;
}

.light-theme .timeline::after{
    height: 95%;
    margin-top: 25px;
}

    .new-video-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.button.button-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.button.button-secondary:hover {
    background-color: #00ffcc;
    border-color: #00ffcc;
    color: #1a1a1a;
}

/* ==========================================================================
   Light Theme
   ========================================================================== */

.light-theme {
    background-color: #fff;
    color: #333;
}

.light-theme .logo img {
    filter: none;
}

.light-theme h1, .light-theme h2, .light-theme h3, .light-theme h4, .light-theme h5, .light-theme h6 {
    color: #2E7D32;
}

.light-theme #hero h1 {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.light-theme #contacts h2 {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.light-theme header {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: rgba(46, 125, 50, 0.2);
}

.light-theme nav a {
    color: #2E7D32;
}

.light-theme nav a:hover {
    color: #66BB6A;
    text-shadow: none;
}

.light-theme .contact-button {
    background: #2E7D32;
    color: white;
}

.light-theme .contact-button:hover {
    background: #1B5E20;
    box-shadow: none;
    transform: scale(1.05);
}

.light-theme .theme-toggle-button {
    color: #2E7D32;
    border-color: rgba(46, 125, 50, 0.5);
}

.light-theme .theme-toggle-button:hover {
    background-color: rgba(46, 125, 50, 0.1);
}

.light-theme .moon-icon { display: none; }
.light-theme .sun-icon { display: block; }

.light-theme .hero-content .button {
    background-color: #2E7D32;
    color: #fff;
    border: 2px solid #2E7D32;
}

.light-theme .hero-content .button:hover {
    background-color: #fff;
    color: #2E7D32;
    box-shadow: none;
}

.light-theme .button.button-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.light-theme .timeline::after {
    background-color: #2E7D32;
}

.light-theme .timeline-item::after {
    background-color: #fff;
    border-color: #2E7D32;
}

.light-theme .timeline-content {
    background-color: #F1F8E9;
    border-color: rgba(0,0,0,0.1);
}

.light-theme .timeline-icon {
    background-color: #2E7D32;
    color: white;
}

.light-theme #about .about-image img {
    border-color: #2E7D32;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.light-theme #benefits {
    background-color: #F1F8E9;
}

.light-theme #benefits li {
    background-color: white;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.light-theme #benefits li:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    border-color: rgba(46, 125, 50, 0.5);
}

.light-theme .benefit-icon {
    color: #2E7D32;
    filter: none;
}

.light-theme #video .my-slider iframe {
    border-color: rgba(0,0,0,0.1);
}

.light-theme .tns-controls button {
    background: rgba(46, 125, 50, 0.5);
}
.light-theme .tns-controls button:hover {
    background: #2E7D32;
}

.light-theme .tns-nav button {
    background-color: #ccc;
}

.light-theme .tns-nav button.tns-nav-active {
    background-color: #2E7D32;
}

.light-theme footer {
    background-color: #2E7D32;
    border-top: none;
    color: white;
}

.light-theme #contacts input,
.light-theme #contacts textarea {
    border-bottom: 2px solid #ccc;
    color: #333;
}

.light-theme #contacts input:focus,
.light-theme #contacts textarea:focus {
    border-color: #2E7D32;
}

.light-theme .contact-card {
    background-color: #F1F8E9;
    border-color: rgba(0,0,0,0.1);
    color: #333;
}

.light-theme .contact-card i {
    color: #2E7D32;
}

.light-theme #contacts form {
    background-color: #F1F8E9;
    border-color: rgba(0,0,0,0.1);
}

/* Making labels readable on a light background */
.light-theme #contacts label {
    color: #333;
}

.light-theme #contacts button {
    background: #66BB6A;
    color: white;
}

.light-theme #contacts button:hover {
    background: #4CAF50;
    box-shadow: none;
}

.light-theme #back-to-top {
    background-color: #66BB6A;
    color: white;
}

.light-theme #back-to-top:hover {
    background-color: #4CAF50;
}

.light-theme .button.button-secondary:hover {
    background-color: #2E7D32;
    border-color: #2E7D32;
    color: white;
}

#work-in-progress {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(45deg, #00ffcc, #33ccff);
    color: #fff; /* Adjust text color for contrast */
    margin-bottom: 6rem;
    border-radius: 20px; /* Add some border-radius for aesthetics */
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.4); /* Add a subtle shadow */
}

#work-in-progress h2 {
    color: #fff;
}

#work-in-progress p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.light-theme #work-in-progress {
    background: linear-gradient(45deg, #66BB6A, #2E7D32);
    color: #fff;
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.4);
}

.light-theme #work-in-progress h2 {
    color: #fff;
}

.light-theme .menu-icon {
    color: #2E7D32;
}
