/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f9ff;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: black;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
  transition: all 0.3s ease;
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color:white;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo span {
  color:white;
}

/* Navigation links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color:white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 0;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Toggle Button (Mobile) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #0077b6;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    display: none;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 16px 16px;
  }

  .nav-links.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .nav-links li {
    padding: 0.7rem 0;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  color: #0b2545;
  font-weight: 600;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
}

/* Responsive font size */
@media (max-width: 480px) {
  footer {
    font-size: 0.9rem;
    padding: 0.8rem 0;
  }
}

/* To avoid page content hiding behind footer, add bottom padding to body */
body {
  padding-bottom: 60px; /* height of the footer + some spacing */
}

.logo {
  display: flex;             /* aligns image + text in a row */
  align-items: center;       /* vertically center both */
  gap: 0.5rem;               /* small space between logo and text */
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: bold;
  color: #0b2545;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.logo-img {
  height: 80px;              /* adjust size as you want */
  width: 80px;
  object-fit: contain;
  border-radius: 50%;        /* optional rounded edges */
  flex-shrink: 0;            /* prevents shrinking */
}

.logo span {
   color: #0077b6;
}

.logo:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .logo span {
    font-size: 1rem;         /* Reduce text size on small screens */
    display: block;
    line-height: 1.2;
  }

  .logo span strong {
    display: block;  
     color: #ffb347;
           /* Move "Store" to a new line */
  }
}



/* Loader */

/* Preloader full screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

/* Outer spinning ring */
.loader-ring {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-ring::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 6px solid #e5e7eb;         /* Light border */
  border-top: 6px solid  #ffb347;     /* Spinner color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Circle around logo */
.logo-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); /* optional subtle shadow */
  z-index: 1;
}

.logo-wrapper img {
  width: 60%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}

/* Ring spin animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === Modal Overlay === */
#subscribeModal.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  padding: 40px 15px;
  overflow-y: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

/* === Modal Content === */
#subscribeModal .modal-content {
  background: #ffffff;
  max-width: 420px;
  margin: auto;
  padding: 30px 35px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s ease;
  max-height: 70vh;
  overflow-y: auto;
  animation: glowFadeIn 0.5s ease-in-out;
}

/* === Close Button === */
#subscribeModal .close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease, transform 0.3s ease;
}
#subscribeModal .close:hover {
  color: #000;
  transform: rotate(90deg);
}

/* === Modal Heading === */
#subscribeModal h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* === Form Styles === */
#subscribeForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #374151;
}

#subscribeForm input {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#subscribeForm input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  outline: none;
}

/* === Button Styling === */
#subscribeForm button {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2563eb;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
#subscribeForm button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}
#subscribeForm button:active {
  transform: scale(0.98);
}

/* === Stylish Subscribe Button === */
#subscribeBtn.modal-btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}
#subscribeBtn.modal-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease-in-out;
}
#subscribeBtn.modal-btn:hover::before {
  left: 125%;
}
#subscribeBtn.modal-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.35);
}
#subscribeBtn.modal-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}  
/* === Modal Overlay === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Modal Content Box === */
.modal-content {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

/* === Close Button === */
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: #000;
}

/* === Modal Heading === */
.modal-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

/* === Form === */
#signupForm {
  display: flex;
  flex-direction: column;
}
#signupForm label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}
#signupForm input {
  padding: 10px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
#signupForm input:focus {
  outline: none;
  border-color: #007BFF;
}
.subscribe-submit {
  padding: 12px;
  background-color: #007BFF;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.subscribe-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowFadeIn {
  from { opacity: 0; box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
  to { opacity: 1; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
}

/* === Responsive Design === */
@media (max-width: 480px) {
  #subscribeModal .modal-content,
  .modal-content {
    padding: 20px;
    width: 90%;
  }

  #subscribeModal h2,
  .modal-content h2 {
    font-size: 1.5rem;
  }

  #subscribeForm label,
  #subscribeForm input,
  #subscribeForm button,
  .subscribe-submit {
    font-size: 0.95rem;
  }

  .close-btn,
  #subscribeModal .close {
    font-size: 1.3rem;
    top: 14px;
    right: 14px;
  }
}









