:root {
    --primary-blue: #5DADE2;
    --light-blue: #85C1E9;
    --navy-dark: #0B1929;
    --navy-blue: #1A2F47;
    --silver: #C0C0C0;
    --metallic-white: #E8E8E8;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--navy-blue);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgb(44 57 67);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--primary-blue);
}

.nav-link {
    color: var(--metallic-white);
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%); */
    background-image: url('../media/img/hero-banner.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    /* or fixed if you prefer */
    background-color: transparent;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 173, 226, 0.15) 0%, rgba(11, 25, 41, 0.5) 100%);
    z-index: 1;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-bg span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: var(--light-blue);
    animation: float 25s infinite;
    opacity: 0.4;
    border-radius: 50%;
}

.animated-bg span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.animated-bg span:nth-child(2) {
    left: 25%;
    animation-delay: 4s;
}

.animated-bg span:nth-child(3) {
    left: 40%;
    animation-delay: 8s;
}

.animated-bg span:nth-child(4) {
    left: 55%;
    animation-delay: 12s;
}

.animated-bg span:nth-child(5) {
    left: 70%;
    animation-delay: 16s;
}

.animated-bg span:nth-child(6) {
    left: 85%;
    animation-delay: 20s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
    }

    50% {
        transform: translateY(-100vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    background: linear-gradient(135deg, var(--white) 0%, var(--silver) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--metallic-white);
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #4A9FD3;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(93, 173, 226, 0.4);
    color: var(--white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------
   PRODUCTS SECTION
---------------------------- */
.products-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--navy-dark);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 4rem;
}


.product-item {
    height: 420px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
    cursor: pointer;
}


.product-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
}

.product-item:hover::before {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}


.product-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2.5rem;
    color: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.45s ease;
}

.product-item:hover .product-content {
    opacity: 1;
    transform: translateY(0px);
}


.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(93, 173, 226, 0.4);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.product-item:hover .product-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(93, 173, 226, 0.55);
}


.product-content h3 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ddd;
}


.learn-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    gap: 6px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    gap: 12px;
    color: var(--light-blue);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(4px);
}


.bg1 {
    background-image: url('../media/img/selfie2.PNG');
}

.bg2 {
    background-image: url('../media/img/Rotatable Touch Screen Digital Signage.png');
}

.bg3 {
    background-image: url('../media/img/smart-table.PNG');
}

.bg4 {
    background-image: url('../media/img/kiosk-ori.png');
}

.bg5 {
    background-image: url('../media/img/Charging station-1.png');
}

.bg6 {
    background-image: url('../media/img/SelfieMachine.png');
}


/* ---------------------------
   VIDEOS SECTION
---------------------------- */
.video-section {
    margin: auto;
    /* Smooth gradient border style inspired by the orbit effect */
    background: linear-gradient(145deg, #0d1a33, #0b1224);
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.video-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #e8f0ff;
    /* Light silver-white like text */
    font-size: 3rem;
    font-weight: 700;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Video card with blue glow */
.video-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #0d1a33;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 166, 255, 0.3);
    box-shadow: 0 0 12px rgba(26, 140, 255, 0.25);
    transition: 0.3s ease;
}

.video-item:hover {
    box-shadow: 0 0 18px rgba(102, 166, 255, 0.6);
    transform: scale(1.02);
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media(max-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}


/* Features Section */
.features-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F8F9FA 0%, var(--metallic-white) 100%);
}

.feature-box {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(93, 173, 226, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-secondary {
    background: var(--white);
    color: var(--navy-dark);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: var(--navy-dark);
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--metallic-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-blue);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* gallery */
#gallery {
    background: var(--navy-dark);
    color: var(--metallic-white);
    padding: 3rem 0 1rem;
}

#gallery h2 {
    font-size: 3rem;
    font-weight: 700;
}

.gallery-container {
    padding: 50px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    display: block;
    transition: transform 0.4s ease;
    object-fit: contain;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* contact */
form input{
    margin-left: 10px !important;
}

form{
    position: relative;
    box-shadow: 5px 5px 20px 10px #1b2633;
    padding: 20px 20px;
}


form .title{
    position: absolute;
    top: -30px;
    padding: 10px 52px;
    background: #15283d !important;
    color: #fff;
    box-shadow: 5px 5px 20px 10px #1b2633;
}

form button{
    /* background: #e7bf6b !important; */
    color: #fff !important;
    padding: 5px 30px;
    border: none;
    border-radius: 10px;
    font-size: 22px;
}