* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1{
    font-weight: bolder !important;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: black;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* optional: for horizontal nav */
  }
  
  .nav-item {
    list-style: none; /* just in case */
  }
/* write media query for less than 1000px */
@media (min-width: 1000px) {

    .site-header .container{
    padding: 0.8rem 11rem !important;
    }
}
/* Navigation */

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: radial-gradient(ellipse at center, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    background: linear-gradient(to bottom, #60EFFF, #407BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;    margin-bottom: 40px;
}

/* Product Cards Container */
.products-container {
    background: linear-gradient(to bottom, black 0%, transparent 0%, transparent 85%, black 100%), radial-gradient(circle at center, #00EAFF 0%, #0e5973 0%, #000000 35%);

    padding: 0 50px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://ik.imagekit.io/b3s3mttie3/products/cloud-image.jpg?updatedAt=1750314083718');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

/* Temperature Card Special Background */
.temp-card {
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.9) 0%, 
        rgba(40, 40, 40, 0.9) 30%,
        rgba(60, 20, 80, 0.3) 50%,
        rgba(80, 40, 20, 0.3) 70%,
        rgba(40, 40, 40, 0.9) 100%);
}

.temp-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, 
        rgba(0, 51, 255, 0.2) 0%,
        rgba(255, 100, 0, 0.2) 30%,
        rgba(255, 255, 0, 0.1) 60%,
        transparent 100%);
    border-radius: 0 0 25px 25px;
}

.product-content {
    flex: 1;
    z-index: 2;
    position: relative;
    text-align: left;
}

.product-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #60EFFF, #407BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: left;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 8px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00BFFF;
    font-weight: bold;
}

.product-image {
    flex: 0 0 300px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.device-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.image1, .image2,.image3,.image4{
    background-attachment: scroll;
    background-size: cover;
    background-position: center;

}
.image1{
    background: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Meter/cloud-header.webp?updatedAt=1750314217755');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;

}
.image2{
    background: url('https://ik.imagekit.io/b3s3mttie3/Temperature-analyzer/temp-hero1.webp?updatedAt=1750307613252');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;

}
.image3{
    background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-1.jpg?updatedAt=1750314194162');
    background-attachment: scroll;
    background-size: cover;
}



.thermal-overlay {
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    /* background: linear-gradient(45deg, 
        #8b00ff 0%, 
        #ff0080 25%, 
        #ff4000 50%, 
        #ffff00 75%, 
        #ffffff 100%); */
    border-radius: 10px;
    opacity: 0.8;
}

.device-text {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 3;
    position: relative;
    text-align: center;
    
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    padding: 0.3rem 0.6rem;              /* some padding for readability */
    border-radius: 4px;                  /* optional: rounded corners */
    display: inline-block;               /* ensures background wraps the text */
}


/* IoT Hub Card */




.arrow-button {
    text-decoration: none;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00BFFF, #0080FF);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.arrow-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.4);
}

.arrow-button::after {
    content: '→';
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 50px;
    text-align: center;
    background:linear-gradient(to bottom, #000000, #122537);}


.reviews-title {
    font-size: 2.5rem;
    background: linear-gradient(to bottom, #60EFFF, #407BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 60px;
    font-weight: bolder;
   
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: rgba(40, 40, 40, 0.6);
    padding: 30px;
    border-radius: 20px;
    display: flex;
   
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
/* create a media query for screen size greater than 768px */
@media (min-width: 768px){
    .review-card{
        gap: 20px;
    }
}
.review-card:hover {
    transform: translateY(-3px);
    background: rgba(50, 50, 50, 0.8);
}

.reviewer-photo1 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-image: url('https://ik.imagekit.io/b3s3mttie3/images/hifell-logo.webp?updatedAt=1750307553465');
    flex-shrink: 0;
    background-position: left;
    
}
.reviewer-photo2 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .reviewer-photo2 img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* or 'cover' if you prefer cropping */
  }
  

.reviewer-photo3 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-image: url('https://ik.imagekit.io/b3s3mttie3/products/person.png?updatedAt=1750314392982');
    flex-shrink: 0;
    background-position: center;
    background-size: cover;
    
}
.reviewer-photo4 {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-image: url('https://ik.imagekit.io/b3s3mttie3/images/biota.png?updatedAt=1750307548746');
    flex-shrink: 0;
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    
}
.review-content {
    text-align: left;
}

.quote-icon {
    color: #FFD700;
    font-size: 2rem;
}

.review-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.review-text span {
    color: #00BFFF;
    font-weight: 600;
    display: block;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 930px) {
  

    .hero h1 {
        font-size: 2.5rem;
    }

    .products-container {
        padding: 0 20px 60px;
    }

    .product-card {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        flex-wrap: wrap;
        padding: 30px 20px;
    }

    .product-content {
        margin-bottom: 30px;
    }

    .product-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .product-image {
        flex: none;
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .arrow-button {
        margin: 20px auto 0;
    }

    .reviews-section {
        padding: 60px 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .review-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .features-list li {
        font-size: 1rem;
    }

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

@media (max-width: 390px) {
    .product-card {
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

    .product-content {
        width: 100%;
        order: 1;
    }

    .product-image {
        width: 100%;
        order: 2;
        margin-top: 15px;
    }

    .features-list {
        width: 100%;
        padding-right: 10px;
    }

    .features-list li {
        width: 100%;
        display: block;
    }

    .arrow-button {
        order: 3;
        margin-top: 15px;
    }

    .product-content h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .features-list li {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        padding-right: 5px;
    }

    .device-text {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .product-image {
        height: 150px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.4s;
}