/* src/styles/styles.css */

/* Basic reset and styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-padding-top: 60px;
  scroll-behavior: smooth;
}
:root {
  --primary-color: #ff5722;
}

.wow {
  animation-duration: 500ms;
}

body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ffffff;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Call-to-Action Button */
.cta-container {
  margin-top: 30px;
}

.cta-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #e43f0d; /* Light transparent overlay */
  color: #fff; /* Accent color for hover effect */
  transform: translateY(-2px); /* Subtle lift */
}

.cta-button:active {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(0); /* Ensure no lift when active */
}

.cta-button:focus {
  outline: none;
  box-shadow: 0 0 5px var(--primary-color);
}

/* Scroll to Top Button Styling */
.scroll-to-top-btn {
  position: fixed;
  bottom: 50px;
  right: 50%;
  background-color: #333333b3;
  color: #fff;
  border: none;
  padding: 5px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 3;
  border: 1px solid #424242;
  width: 46px;
  height: 46px;
  text-align: center;
  vertical-align: middle;
  transform: translateX(50%);
}

.scroll-to-top-btn:hover {
  background-color: #555;
}

/* Visible when scrolled */
.scroll-to-top-btn.show {
  opacity: 1;
}

/* Popup container (background overlay) */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
  height: 100%;
  background-color: rgb(0 0 0 / 30%); /* Semi-transparent background */
  z-index: 99;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
  backdrop-filter: blur(12px);
}

.popup-container.shown {
  display: flex;
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 0.5s ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: var(--fadeInUp-delay);
}
/* Popup content */
.fadeInUp {
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 0.5s ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: var(--fadeInUp-delay);
}

.popup-content {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  width: 350px;
}

.popup-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1e1e1e;
  text-align: center;
}

.popup-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
  text-align: center;
}

.popup-input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.popup-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.popup-submit-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-submit-btn:hover {
  background-color: #e67e22;
}

/* Close button (X) */
.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--primary-color);
}

/* Whatsapp icon  style start*/
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

/* Whatsapp icon  style end*/

@keyframes fadeIn {
  from {
    opacity: 0;
    visibility: hidden;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
  }
}

/* Header styling */
.header {
  padding: 5px 0;
  background-color: #1d1d1dc2;
  position: relative; /* Allows absolute positioning for the menu icon */
  z-index: 9; /* Ensures header and icon are on top of mobile menu */
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #343434;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}
.logo img {
  width: 70px;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

/* Menu Icon for Mobile */
.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  position: relative;
  top: 0;
  right: 20px;
  z-index: 1100; /* Higher than the mobile menu */
}

.menu-icon .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: 0.3s ease;
}

.menu-icon.open .bar-1 {
  transform: rotate(45deg);
  position: absolute;
  top: 0;
}

.menu-icon.open .bar-2 {
  opacity: 0;
}

.menu-icon.open .bar-3 {
  transform: rotate(-45deg) translateY(-1px);
  position: absolute;
  top: 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: #00000091;
  display: none; /* Hide by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 4; /* Keeps it below the header and menu icon */
  backdrop-filter: blur(13px);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .header .cta-button {
    display: none;
  }
  .menu-icon {
    display: flex; /* Show the menu icon on mobile */
  }
}

/* footer section style start  */
/* Footer Styling */
.footer {
  background-color: #121212;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-family: Arial, sans-serif;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-icon svg {
  width: 40px;
  display: block;
}

.social-icon {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.social-links,
.footer-logo,
.copyright {
  width: 33.33%;
}

.social-icon:hover {
  color: var(--primary-color); /* Gold color on hover */
}
.footer-logo img {
  max-width: 100px;
}

@media screen and (max-width: 768px) {
  .social-links,
  .footer-logo,
  .copyright {
    width: 100%;
  }
  .footer-content {
    gap: 10px;
  }
  .footer-content .footer-logo {
    order: 1;
  }
  .footer-content .social-links {
    order: 2;
  }
  .footer-content .copyright {
    order: 3;
    padding: 20px 0;
    border-top: 1px solid rgb(255 255 255 / 20%);
    padding-bottom: 70px;
  }
}
/* footer section style end */
