/* ==================== Base ==================== */
body, html { 
  margin: 0; 
  padding: 0;
  min-height: 100%;
  font-family: Arial, sans-serif; 
  line-height: 1.6; 
  scroll-behavior: smooth;
  background-image: url("1.jpg");
  background-size: 85%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #000;
}

/* ==================== Particles & Floating ==================== */
#particles-js, #particleCanvas {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -3;
  top: 0;
  left: 0;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 10s infinite linear;
  background: #00c6ff;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* ==================== Header ==================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: auto;
  margin: 0 auto;
  padding: 10px 20px;
}
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
header .logo h2 { margin: 0; font-size: 1.5rem; transition: color 0.3s; }
header .logo img.logo-img { width: 50px; height: auto; transition: transform 0.3s; }
header .logo:hover img.logo-img { transform: scale(1.1); }
header .logo:hover h2 { color: #ffcc00; }
nav { display: flex; gap: 20px; }
nav a {
  color: #333;
  font-weight: bold;
  position: relative;
  transition: color 0.3s;
  text-decoration: none;
}

nav a {
  text-decoration: none;
}

}
nav a::after {
  display: none;
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #fff;
  transition: width 0.3s;
  text-decoration: none;
}
nav a:hover { color: #ffcc00; 
text-decoration: none;
}
nav a:hover::after { width: 100%; 
text-decoration: none;
}
.hamburger { display: none; font-size: 2rem; cursor: pointer; color: #fff; }

/* ==================== Sections ==================== */
section {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: 20px;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  height: 50vh;
  max-height: 650px; 
  width: 100vw;
  background: url('back.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
}
.hero-content { position: relative; z-index: 3; max-width: 800px; padding: 40px 30px; margin: 0 auto; color: #fff; }
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 4px 10px rgba(0,0,0,0.4); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; line-height: 1.7; color: #fff; }

/* ==================== Programs ==================== */
.program-card {
  background: #f5f5f5;
  padding: 25px 20px;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card i { color: #0056b3; margin-bottom: 15px; }
.program-card h3 { color: #0056b3; margin-bottom: 10px; }
.program-card p { color: #333; font-size: 0.95rem; }
.program-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* ==================== Products ==================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 15px; }
.product-card h3 { color: #0056b3; margin-bottom: 10px; }
.product-card p { font-size: 0.95rem; color: #444; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.15); }
.product-btn, .cta-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.product-btn:hover, .cta-btn:hover { background: #1ebe5d; transform: scale(1.05); }


/* ==================== Footer ==================== */
footer p { margin: 0; text-align: center; color: #333; }

/* Particle Canvas */
#particleCanvas {
  background: rgba(255,255,255,0.02);
}

/* Particle Styles */
.contact-grid, .contact-info, .contact-form {
  position: relative;
  z-index: 1; /* Content above particles */
}

/* Particle Canvas */
#particleCanvas {
  background: rgba(255,255,255,0.02);
}

/* Particle Styles */
.contact-grid, .contact-info, .contact-form {
  position: relative;
  z-index: 1; /* Content above particles */
}

/* Floating Circles Animation */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  animation: floatAnim 15s infinite ease-in-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatAnim {
  0% { transform: translateY(0) translateX(0); opacity: 0.7; }
  50% { transform: translateY(-20px) translateX(10px); opacity: 0.5; }
  100% { transform: translateY(0) translateX(0); opacity: 0.7; }
}