/* ============ NAVBAR  ============ */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  height: 82px;
  padding: 30px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* main wrapper inside navbar */
.navbar-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  width: 100%;
  max-width: 1484px;
  margin: 0 auto;
}

/* logo */
.logo {
  height: 48px;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.logo:hover {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.logo:active {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.logo:focus {
  opacity: 0.85;
  transition: opacity 0.3s ease;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

/* translucent rounded nav capsule */
.nav-center {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 12px 42px;
}

.nav-center a {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s ease;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.nav-center a:hover {
  opacity: 0.85;
}



/* Capsule hover glow */
.nav-center {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav-center:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

/* Link hover lift for nicer feel */
.nav-center a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.25s ease;
}

/* ===== Responsive Navbar ===== */

/* Hide hamburger by default */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Rotate lines when active (cross icon) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Mobile menu setup === */
@media (max-width: 900px) {
  .navbar {
    padding: 20px;
    height: auto;
  }

  .navbar-inner {
    justify-content: space-between;
    position: relative;
  }

  /* Hide the center nav by default */
  .nav-center {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(117, 87, 87, 0.95);
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 30px 0;
    display: none;
    animation: slideDown 0.3s ease forwards;
  }

  /* Show menu when active */
  .nav-center.active {
    display: flex;
  }

  /* Slight animation for dropdown */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hamburger visible on mobile */
  .hamburger {
    display: flex;
  }

  /* Adjust logo size */
  .logo {
    height: 40px;
  }

  /* Links styling in mobile */
  .nav-center a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
  }
}

/* Newsletter Section */
.newsletter {
  background: radial-gradient(circle at top left, #a11838, #911a30);
  color: #fff;
  padding: 100px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Figtree", sans-serif;
}

/* Two-column container */
.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: nowrap;
}

/* Left Column */
.newsletter-left {
  flex: 1 1 50%;
  min-width: 320px;
}

.newsletter-left h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.newsletter-left p {
  font-size: 18px;
  color: #f2f2f2;
  line-height: 1.6;
}

/* Right Column (Form) */
.newsletter-right {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  background: #fff;
  padding: 8px 8px 8px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-form input {
  border: none;
  outline: none;
  font-size: 16px;
  padding: 14px;
  width: 260px;
  border-radius: 8px;
}

.newsletter-form button {
  padding: 14px 25px;
  background-color: #f3e063;
  color: #111;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #fff;
  color: #a11838;
  transform: translateY(-3px);
}

/* Responsive Fix */
@media (max-width: 992px) {
  .newsletter-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .newsletter-right {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    padding: 20px;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-left h2 {
    font-size: 36px;
  }

  .newsletter-left p {
    font-size: 16px;
  }
}

/* Success message styling */
.success-message {
  display: none;
  color: #fff;
  font-size: 18px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
  text-align: right;
}

/* Show + animate success */
.success-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Button click pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    background-color: #f3e063;
  }
  50% {
    transform: scale(1.08);
    background-color: #fff;
  }
  100% {
    transform: scale(1);
    background-color: #f3e063;
  }
}

.newsletter-form button.animate {
  animation: pulse 0.6s ease;
}

/* Spinner style */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top: 2px solid #a11838;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Disabled button visual */
.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* ======= FOOTER SECTION ======= */
.footer {
  background-color: #ffffff;
  color: #222;
  padding: 80px 30px 40px;
  font-family: "Figtree", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Column 1: About */
.footer-about {
  flex: 1 1 300px;
}
.footer-logo {
  width: 160px;
  margin-bottom: 20px;
}
.footer-about p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Column 2: Links */
.footer-links {
  flex: 1 1 200px;
}
.footer-links h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #184fa1; /* Brand blue accent */
}

/* Column 3: Contact */
.footer-contact {
  flex: 1 1 250px;
}
.footer-contact h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}
.footer-contact p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.footer-contact i {
  color: #800000;
  margin-right: 8px;
}

/* Social icons */
.social-icons {
  margin-top: 15px;
}
.social-icons a {
  color: #222;
  margin-right: 15px;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
  color: #184fa1;
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}
.footer-bottom p {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .social-icons {
    justify-content: center;
  }
}


/* === Fade-in Scroll Animation === */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}