/* Hero Section */
.hero {
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
    box-shadow: 20px 20px 50px grey;
    position: relative;
    overflow: hidden;
     display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: #fff;
    color: black;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Particle Network Background */
#particles-bg {
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tablet Screens (768px and below) */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 90%;
    }
    
    .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.95rem;
    }
    
    .hero .container {
        width: 95%;
        padding: 0 15px;
    }
}

/* Mobile Screens (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0.5rem;
        box-shadow: 10px 10px 30px grey;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 95%;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero .container {
        width: 100%;
        padding: 0 10px;
    }
}

/* Extra Small Screens (360px and below) */
@media (max-width: 360px) {
    .hero {
        padding: 2rem 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 0.7rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
        max-width: 800px;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
/* ===== PRODUCT GRID ===== */
.product-section {
  padding: 60px 20px;
  background: #f9fafc;
}
.product-card h3 { margin: 10px 0; font-size: 20px; }
.product-card p { font-size: 15px; color: #4b5563; margin-bottom: 15px; }
/* ===== PRODUCT GRID ===== */
.section-title {
  text-align: center;
  margin: 50px 0 30px;
  font-size: 28px;
  color: #111827;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
background: #fff;
  border: 1px solid #e5e7eb;
 
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  transition: transform 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  
  transform: scale(1.05);
}
.product-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.product-card img:hover {
  transform: scale(1.05);
}

/* ===== MODAL PREVIEW ===== */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  padding-top: 50px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #ccc;
}

