img{
    max-width: 100%;
    object-fit: cover;
    display: block;
}
a{
    color: inherit;
    text-decoration: none;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: fixed;
    width: 100%;
    background: linear-gradient(90deg, #6b48ff, #f9d423);
    padding: 20px 0;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e0e0e0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #f9d423;
    transition: width 0.3s ease-in-out;
}

.nav-menu a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    color: #6b48ff;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6b48ff, #f9d423);
    display: block;
    margin: 10px auto;
    border-radius: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    background: linear-gradient(45deg, #f9d423, #ff9f1c);
    color: #1a1a1a;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: inline-block;
    margin-top: 15px;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(249, 212, 35, 0.6);
    background: linear-gradient(45deg, #ff9f1c, #f9d423);
}

.hero {
    height: 100vh;
    max-height: 1200px;
    display: flex;
    align-items: center;
    background: url('image/banner.webp') no-repeat center/cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(107, 72, 255, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

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

.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0 20px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    background: #6b48ff;
    color: #ffffff;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #8a63ff;
}

.accordion-content {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.accordion-content.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { height: 0; opacity: 0; }
    to { height: auto; opacity: 1; }
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6b48ff;
    outline: none;
}

.contact-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-form .checkbox input{
    margin: 0;
    width: auto;
}
button{
    border: none;
}
.section-top{
    padding-top: 130px;
}
.parallax {
    background: url('image/banner2.jpeg') no-repeat center/cover fixed;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.parallax .container{
    position: relative;
    z-index: 5;
}
.text-image {
    display: flex;
    align-items: center;
    gap: 40px;
}

.text-image img {
    min-height: 250px;
   width: 50%;
    border-radius: 10px;
}

.text-image .text {
    flex: 1;
}

.text-image ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card img, .feature-card img{
    min-height: 200px;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card .price {
    font-size: 1.2rem;
    color: #6b48ff;
    margin: 10px 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #f9f9f9, #e6e6e6);
    padding: 50px;
    border-radius: 12px;
    margin: 40px 0;
}

.highlight img {
    width: 50%;
    border-radius: 12px;
    transition: transform 0.5s;
}

.highlight img:hover {
    transform: scale(1.05);
}

.highlight .text {
    flex: 1;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
}

.comparison div {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

 .comparison-table {
    max-width: 800px;
    margin: 0 auto;
}

 .comparison-table .row {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

 .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

 .category-card {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

 .case-stories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-story {
    display: flex;
    align-items: center;
    gap: 30px;
}

 .case-story img {
    width: 50%;
    border-radius: 12px;
}

 .case-story .text {
    flex: 1;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.benefit-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.hero-catalog, .tech-intro {
    position: relative;
    padding: 150px 0 120px 0;
    text-align: center;
    color: #ffffff;
}
.hero-catalog{
    background: url('image/smart-home.webp') no-repeat center/cover;
}
.tech-intro{
    background: url('image/app.jpeg') no-repeat center/cover;
}
.hero-catalog::before, .tech-intro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(107, 72, 255, 0.4));
    z-index: 1;
}

.hero-catalog .content, .tech-intro .container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

.feature-highlight img {
    width: 50%;
    border-radius: 10px;
}

.feature-highlight .text {
    flex: 1;
}

.install-guide {
    background: linear-gradient(45deg, #f9f9f9, #e6e6e6);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.install-guide ol {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.tech-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    text-align: center;
}

.tech-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.tech-stats {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    animation: fadeIn 0.5s ease-out;
}

.innovation-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #6b48ff, #f9d423);
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item img {
    width: 48%;
    border-radius: 12px;
}

.timeline-item .text {
    flex: 1;
}

.energy-impact {
    text-align: center;
    background: #f9f9f9;
    padding: 50px;
    border-radius: 12px;
}

.energy-impact .metrics , .product-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.metric-item {
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.smart-integration {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

.smart-integration img {
    width: 50%;
    border-radius: 12px;
}

.smart-integration .text {
    flex: 1;
}

.future-vision {
    background: url('image/home.jpeg') no-repeat center/cover fixed;
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.future-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.future-vision .content {
    position: relative;
    z-index: 1;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

.content h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 30px 0 15px;
}

.content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content ul li {
    margin-bottom: 10px;
}
.reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
            gap: 30px;
        }

        .review-card {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

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

        .review-card .stars {
            color: #f9d423;
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .review-card h3 {
            font-size: 1.4rem;
            color: #6b48ff;
            margin-bottom: 10px;
        }

        .review-card p {
            font-size: 1rem;
            color: #1a1a1a;
        }
.thank-you  {
    background: linear-gradient(135deg, #6b48ff, #f9d423);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
}

.thank-you .section-title {
    font-size: 3rem;
    animation: glow 2s infinite alternate;
    color: #fff;
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 20px rgba(255, 255, 255, 1); }
}

.thank-you p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out;
}

.thank-you .btn {
    background: #ffffff;
    color: #6b48ff;
}

footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-grid a {
    color: #f9d423;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-grid a:hover {
    color: #ff9f1c;
}
.footer-grid div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
a.footer-logo{
    color: #fff;
    display: inline-block;
    font-size: 19px;
}
.content h2.blue{
    color: #6b48ff;
}
@media (max-width: 768px) {
    .nav-menu {
        transform: translateX(100%);
        transition: transform 0.3s ease;
        position: fixed;
        top:91px;
        left: 0;
        width: 100%;
        height: 100%;
        background: #6b48ff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-menu.active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    body.no-scroll {
        overflow: hidden;
    }

    .hero-content h1, .tech-intro .content h1, .hero-catalog .content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .text-image, .highlight, .feature-focus, .feature-highlight, .case-study-item, .case-story, .smart-integration, .timeline-item  {
        flex-direction: column;
    }
    .review-card h3 {
                font-size: 1.2rem;
            }

            .review-card p {
                font-size: 0.9rem;
            }

    .comparison {
        grid-template-columns: 1fr;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .thank-you .section-title {
        font-size: 2rem;
    }

    .thank-you p {
        font-size: 1.1rem;
    }
    .container{
        padding: 0 10px;
    }
    .smart-integration img, .text-image img, .case-story img, .highlight img, .timeline-item  img, .feature-highlight img{
        width: 100%;
    }
    .highlight, .feature-highlight{
        padding: 30px 20px;
    }
    .stat-item, .energy-impact{
        padding: 10px;
    }
    .timeline-item {
        padding-left: 30px;
    }
    .slider-text {
        width: 80%;
    }
}