/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #333;
}
body {
    overflow-x: clip; /* Modern alternative to hidden */
    max-width: 100vw;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
  }
  
  /* AOS specific fixes without breaking animations */
  [data-aos], [data-aos-delay], [data-aos-easing], [data-aos-duration] {
    max-width: 100%;
    /* Removed the transform: none !important that was breaking animations */
  }
  
  /* Make sure AOS containers don't add horizontal overflow */
  .aos-init, .aos-animate {
    max-width: 100%;
  }
  
  /* Target AOS wrapper if it exists */
  [data-aos-container], .aos-initialized {
    max-width: 100%;
  }
  
  /* Optional but recommended - prevent AOS animations from causing overflow */
  .aos-animate {
    /* Contains the animations without breaking them */
    overflow-x: hidden;
  }

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.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 10rem !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fixed Swiper container styling */
.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-swiper .swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

/* Desktop Images - Using placeholder images since your paths might not work */
.hero-swiper .swiper-slide:nth-child(1) {
    background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-1.jpg?updatedAt=1750314194162');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.hero-swiper .swiper-slide:nth-child(2) {
    background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-2.webp?updatedAt=1750314194386');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.hero-swiper .swiper-slide:nth-child(3) {
    background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-3.jpg?updatedAt=1750314194599');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

/* Mobile Images */
@media (max-width: 767px) {
    .hero {
        min-height: 70vh; /* Reduced from 100vh for tablets */
    }
    .hero-swiper .swiper-slide:nth-child(1) {
        background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-2-phone.jpg.webp?updatedAt=1750314194929');
    }

    .hero-swiper .swiper-slide:nth-child(2) {
        background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-1-phone.jpg?updatedAt=1750314194279');
    }

    .hero-swiper .swiper-slide:nth-child(3) {
        background-image: url('https://ik.imagekit.io/b3s3mttie3/Cloud-Dispaly/Cloud-Display-header-3-phone.webp?updatedAt=1750314194552');
    }
}

/* Custom Swiper Pagination (dots) */
.hero-swiper .swiper-pagination {
    bottom: 2rem !important;
    text-align: center;
    z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(5, 5, 5, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    margin: 0 8px !important;
    transition: all 0.3s ease !important;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.2) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.hero-swiper .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* Hide navigation arrows for clean look */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    display: none;
}

/* Hero content styles */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-tags, .feature-tags-bottom {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.tag {
    background: rgb(0 0 0 / 31%);    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 210px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tag span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.tag:hover {
    background: rgb(0 0 0 / 20%);;
    transform: translateY(-1px);
}



.tag.accuracy:hover {
    background: rgba(46, 204, 113, 0.4);
}

/* Responsive adjustments */
@media(min-width:768px){
    .hero {
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-content {
        margin-left: 2rem;
        text-align: left;
        margin-top: -200px;
    }
    
    .hero-text h1 {
        text-align: left;
    }
    
    .feature-tags, .feature-tags-bottom {
        justify-content: flex-start;
    }
}
@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-tags, .feature-tags-bottom {
        gap: 1rem;
        margin: 1rem 0;
    }

    .hero-swiper .swiper-pagination {
        bottom: 1.5rem !important;
    }

    .hero-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh; /* Further reduced for mobile */
    }
    
    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .feature-tags, .feature-tags-bottom {
        gap: 0.8rem;
        margin: 0.8rem 0;
    }
    
    .tag {
        width: 180px;
        height: 50px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Subtle animation for content */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

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

.feature-tags {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}





.device-preview {
    margin: 3rem 0;
}

.device-preview img {
    max-width: 30%;
    height: auto;
    opacity: 0.5;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.device-preview img:hover {
    transform: scale(1.05);
}

.feature-tags-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Connectivity Section */
.connectivity {
    padding: 5rem 0;
    background: #f8f9fa;
}

.connectivity h2 {
    text-align: center;
    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: 1rem;
}

.connectivity p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.connectivity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.connectivity-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.connectivity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.connectivity-icon {
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #003df9;
    font-size: 1.5rem;
}



.connectivity-item span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    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: 1rem;
}

.features p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-illustration img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.features-list {
    background: #fff5f5;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #FF6B6B;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.play-icon {
  
    color: #FF6B6B;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Hardware Section */
.hardware {
    position: relative;
    padding: 5rem 0;
    color: white;
    z-index: 1;
    overflow: hidden;
}

.hardware::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://ik.imagekit.io/b3s3mttie3/Temperature-analyzer/abhram-hardware-iot.webp?updatedAt=1750313369765') center center / cover no-repeat ;
    opacity: 0.5;
    z-index: -1;
}


.hardware h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hardware p {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hardware-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.hardware-item {
    text-align: center;
    padding: 2rem;
    background: rgb(0 0 0 / 20%);
    backdrop-filter: blur(10px);
        border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.hardware-icon {
    margin-bottom: 1.5rem;
}

.hardware-icon img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    padding: 10px;
    border: 2px dashed white;
}

.hardware-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.hardware-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}



.cloud-system {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cloud-system::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://ik.imagekit.io/b3s3mttie3/Temperature-analyzer/cloud-image2.jpg?updatedAt=1750313562970');
    background-position: center;
    background-size: cover;
    opacity: 0.6; /* adjust this value for desired darkness */
    z-index: -1;
}





.container1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cloud-system h2 {
    text-align: center;
    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: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cloud-system p {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile and tablet layout - stacked vertically */
.cloud-features {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    min-height: 400px;
}

.cloud-item {
    background: rgb(0 0 0 / 20%);
    backdrop-filter: blur(10px);    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cloud-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: rgba(6, 6, 6, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cloud-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.cloud-icon {
    font-size: 2.5rem;
    color: #60EFFF;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(96, 239, 255, 0.5);
}

.cloud-icon-large {
    font-size: 4rem;
    color: #407BFF;
    transition: all 0.3s ease;
}

.cloud-item:hover .cloud-icon,
.cloud-item:hover .cloud-icon-large {
    transform: scale(1.1);
    color: #60EFFF;
}

.cloud-item span {
    display: block;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.cloud-item:hover span {
    color: #407BFF;
}

.cloud-center {
    text-align: center;
    position: relative;
    z-index: 1;
    order: 2;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: transparent;
    border-radius: 50%;
    border: none;
    transition: all 0.3s ease;
    perspective: 1000px;
}

.cloud-image {
    width: 200px !important;
    height: 150px !important;
    border-radius: 25px !important;
    filter: none;
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
}

.cloud-center:hover .cloud-image {
    transform: scale(1.05);
}

/* Order items for mobile layout */
.cloud-item:nth-child(1) {
    order: 1;
}

.cloud-item:nth-child(3) {
    order: 1;
}

.cloud-item:nth-child(4) {
    order: 3;
}

.cloud-item:nth-child(5) {
    order: 3;
}

/* Two items per row on top and bottom */
@media (min-width: 480px) and (max-width: 766px) {
    .cloud-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .top-row,
    .bottom-row {
        display: flex;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .middle-row {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .cloud-item {
        flex: 1 1 45%;
        max-width: 100%; /* or auto based on design */
        text-align: center;
    }

    .middle-row .cloud-item {
        flex: 0 1 auto;
        max-width: 100%;
    }
}


/* Orbital layout for larger screens */
@media (min-width: 768px) {
    
    .cloud-features {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 600px;
        height: 600px;
        margin: 0 auto;
        background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    }

    .cloud-features::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        height: 400px;
        border-radius: 50%;
    }

    .cloud-features::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 320px;
        border: 1px dashed rgba(74, 144, 226, 0.15);
        border-radius: 50%;
    }

    .cloud-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        padding: 2rem;
        border-radius: 50%;
    }

    .cloud-image {
        width: 445px !important;
        height: 350px !important;
        border-radius: 50% !important;
        z-index: -1;
    }

    /* Position particles around the orbit in static circular formation */
    .cloud-item {
        position: absolute;
        width: 100%;
        padding: 1.2rem;
    }
    .cloud-item:nth-child(1),
    .cloud-item:nth-child(3),
    .cloud-item:nth-child(4),
    .cloud-item:nth-child(5) {
        display: flex;
       gap: 2rem;
        
        text-align: center;
        flex-direction: row;
    }

    .cloud-item:nth-child(1) {
        top: 100px;
        left: 350px;
    }

    .cloud-item:nth-child(3) {
        top: 300px;
        left: 400px;
    }

    .cloud-item:nth-child(4) {
        top: 400px;
        left: 0px;
    }

    .cloud-item:nth-child(5) {
        top: 200px;
        left: -50px;
    }

    .cloud-item:hover {
        transform: translateY(-5px) scale(1.05);
        z-index: 15;
    }

    .cloud-item img {
        width: 50px;
        height: 50px;
        margin: 0 ;
    }

    .cloud-item span {
        font-size: 1rem;
    }

    .cloud-item small {
        font-size: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
  
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-tags,
    .feature-tags-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .connectivity-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .hardware-features {
        grid-template-columns: 1fr;
    }
    
    .cloud-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* .cloud-center {
        grid-column: 1;
        order: -1;
    }
    
    .cloud-item.bottom-left,
    .cloud-item.bottom-right {
        grid-column: 1;
        grid-row: auto;
    } */
}

@media (max-width: 480px) {
    .cloud-center{
        display: none !important;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .connectivity-options {
        grid-template-columns: 1fr;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .features h2,
    .connectivity h2,
    .hardware h2,
    .cloud-system h2 {
        font-size: 2rem;
    }
}

/* Animation Effects */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-icon img {
    animation: float 3s ease-in-out infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
