    /* === Base Setup === */

@font-face {
  font-family: "Anurati";
  src: url("assets/Anurati-Regular.otf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Raligo";
  src: url("assets/Raligo DEMO.otf");
  font-weight: normal;
  font-style: normal;
}


* {
  box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: radial-gradient(circle at top left, #ffffff 10%, #e8f0ff 40%, #c9ddff 70%, #a2c8ff 100%);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  overflow-x: hidden; 
  min-height: 100vh; /* Ensure body takes full height */
  width: 100%;
}

/* === Floating Blue Blur Effects === */
.blur-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.9;
  z-index: -1;
}


.blur1 {
  width: 350px;
  height: 370px;
  background: #00d5ff;
  bottom: -80px;   /* moved further down */
  left: -150px;
}

.blur2 {
  width: 400px;
  height: 400px;
  background: #00d5ff;
  top: -50px;   /* moved more upward */
  right: -200px;
}


/* === Navbar === */
.navbar {
  position: sticky;
  top: 1rem; /* add space from top when sticky */
  z-index: 100;
  width: 90%;
  max-width: 500px;
  margin: 0 auto; /* horizontal centering only */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95); 
  padding: 0.4rem .5rem;
  border: 3px solid #1d5dff; 
  border-radius: 20px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}


/* Logo styling stays the same */
.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  font-size: 1.2rem;
  font-family: "Raligo", sans-serif;
}

/* Products button */
.btn-products {
  background: #1d5dff;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  transition: 0.5s;
  text-decoration: none;
}

.btn-products:hover {
  cursor: pointer;
  background: #005fe0;
  transform: scale(1.009);
  box-shadow: 0 0 10px rgba(0, 114, 255, 0.6);
}


/* === Hero === */
.hero {
  text-align: center;
  height: auto; /* allow hero height to adjust based on content */
  margin-top: 0; /* remove extra space */
  padding: 4rem 1rem 2rem; /* top padding for spacing from navbar, bottom padding for smooth transition */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sm-text {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
}

/* Animated gradient for hero span */
.hero h1 span {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 1.5rem;

  background: linear-gradient(270deg, #1d5dff, #00d5ff, #1d5dff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* === Notify Box === */
.notify-box {
  margin-top: 2rem;
  margin-left: auto;   
  margin-right: auto;  
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 2px solid #1d5dff;
  border-radius: 50px;
  width: 420px;
  max-width: 90%;
  padding: 0.25rem;
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.1);
}

.notify-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  padding: 0.2rem 1.2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
}

.notify-box button {
  background: #1d5dff;
  color: #fff;
  border: none;
  outline: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 rgba(0, 114, 255, 0); /* start with no glow */
}

.notify-box button:hover {
  background: #005fe0;
  transform: scale(1.009); /* enlarge slightly */
  box-shadow: 0 0 20px rgba(0, 114, 255, 0.6); /* soft glowing blue effect */
}

/* === Tagline === */
.tagline {
  margin-top: 2rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: "Anurati", sans-serif;
}

#products {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto; /* space between hero and products */
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Section heading */

#products h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  line-height: .5;
}

.subtitle{
  font-size: 1.2rem;
  color: #333;
}

/* === Product Cards Layout === */
.products-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: stretch;
}

.product-card {
  width: 280px;
  height: 360px;
  background: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  cursor: pointer;
  border: 5px solid #1d5dff;
}

/* Image */
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
}

/* Info overlay */
.product-card .info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%; /* padding from sides */
  margin: 0 5%; /* center overlay with side spacing */
  background: #fff;
  border-radius: 20px 20px 0 0; /* top corners only */
  padding: 1.2rem 1rem; /* more top padding so name shows fully */
  box-sizing: border-box;
  height: auto; 
  transform: translateY(70%); /* slightly less so name shows fully */
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
  border: 5px solid #1d5dff;
}

/* Product name */
.product-card .info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* Paragraph and button - hidden initially */
.product-card .info p,
.product-card .info .btn {
  font-size: 0.9rem; /* normal size, not 1px */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hover effect */
.product-card:hover .info {
  transform: translateY(0%); /* fully raised */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Reveal content on hover */
.product-card:hover .info p,
.product-card:hover .info .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Paragraph styling */
.product-card .info p {
  color: #555;
  line-height: 1.4;
  margin: 0;
}


/* Button styling */
.product-card .info .btn {
  margin-top: auto;
  background: #1d5dff;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s ease;
}

.product-card .info .btn:hover {
  background: #005fe0;
  box-shadow: 0 7px 15px rgba(0,0,0,0.2);
}

/* === Footer === */
.footer {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid #ccc; /* separator line */
}

/* === Notify Box in Footer === */
.footer-left .notify-box {
  width: 320px;          /* smaller for footer */
  max-width: 100%;
  padding: 0.2rem;
  background: none;       /* remove background */
  border: 2px solid #1d5dff;
  border-radius: 50px;
  box-shadow: none;       /* remove shadow for cleaner footer */
  display: flex;
  align-items: center;
  background-color: #fff;
}

.footer-left .notify-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.85rem;      /* smaller text */
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
}

.footer-left .notify-box button {
  background: #1d5dff;
  color: #fff;
  border: none;
  outline: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.5rem 1rem;     /* smaller button */
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-left .notify-box button:hover {
  background: #005fe0;
  transform: scale(1.01);
  box-shadow: 0 0 15px rgba(0, 114, 255, 0.5);
}

/* Right links */
.footer-right {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

.footer-right a, p {
  position: relative;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-right a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #0077ff;
  transition: width 0.3s ease;
}

.footer-right a:hover {
  color: #0077ff;
}

.footer-right a:hover::after {
  width: 100%;
}

/* Bottom copyright */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #555;
}


/* === RESPONSIVE FIXES === */

/* 2️⃣ Headings and hero section responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero h1 span {
    font-size: 2.2rem;
    letter-spacing: 0.2rem;
  }

  #products h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .notify-box {
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    gap: 0.6rem;
    border-radius: 20px;
    padding: 1rem;
  }

  .notify-box input {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
  }

  .notify-box button {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
  }
}

/* 3️⃣ Footer responsiveness */
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-left .notify-box {
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
  }

  .footer-left .notify-box input {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
  }

  .footer-left .notify-box button {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* 4️⃣ Prevent horizontal overflow on mobile */
body, html {
  overflow-x: hidden !important;
}


