/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
/* Full-screen container for background images */
.background-container {
  position: fixed; /* Keeps the background fixed in place */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Full viewport height */
  background-size: cover;
  background-position: center;
  animation: fadeBackground 24s ease-in-out infinite; /* Smooth fade effect */
}

/* Keyframes for fading between background images */
@keyframes fadeBackground {
  0% {
    background-image: url('/images/image1.jpg'); /* Replace with your image path */
    opacity: 1; /* Fully visible */
  }
  20% {
    background-image: url('/images/image1.jpg');
    opacity: 0; /* Fade out */
  }
  25% {
    background-image: url('/images/image2.jpg'); /* Replace with your image path */
    opacity: 1; /* Fade in */
  }
  45% {
    background-image: url('/images/image2.jpg');
    opacity: 0; /* Fade out */
  }
  50% {
    background-image: url('/images/image3.jpg'); /* Replace with your image path */
    opacity: 1; /* Fade in */
  }
  70% {
    background-image: url('/images/image3.jpg');
    opacity: 0; /* Fade out */
  }
  75% {
    background-image: url('/images/image4.jpg'); /* Replace with your image path */
    opacity: 1; /* Fade in */
  }
  100% {
    background-image: url('/images/image4.jpg');
    opacity: 0; /* Fade out */
  }
}

/* Content styles */
.content {
  position: relative;
  z-index: 1; /* Ensure content appears above the background */
  color: white;
  text-align: center;
  padding-top: 200px;
  font-size: 2em;
  font-family: Arial, sans-serif;
}

/* Content styles */
.content {
  position: relative;
  z-index: 1; /* Make sure the content is above the background */
  color: white;
  text-align: center;
  padding-top: 200px;
  font-size: 2em;
}
/* Main Content */
.container {
  padding: 20px;
  z-index: 1;
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Typing Effect */
#typing-text {
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff;
  display: inline-block;
  max-width: 100%;
  width: 20ch;
  animation: typing 4s steps(20, end), blink 0.6s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 20ch;
  }
}

@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
}

/* Buttons Section */
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: transparent; /* Initially transparent background */
  color: #fff; /* Text color stays white */
  text-decoration: none;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  border: 2px solid #fff; /* White border */
  transition: all 0.4s ease;
}

.btn:hover {
  background-color: #007bff; /* Blue background on hover */
  color: #fff; /* Text stays white */
  border-color: #007bff; /* Blue border on hover */
}

.btn:active {
  background-color: #0056b3; /* Darker blue on active (when clicked) */
  color: #fff; /* Text stays white */
  border-color: #0056b3; /* Darker blue border when clicked */
}
/* Buttons Section */
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Animation for the "Contact Now" Button */
.pulse {
  position: relative;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 15px 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* 3D Touch-Responsive Effect (Blue Bubbles) */
.touch-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(0, 123, 255, 0.5); /* Blue Bubbles */
  border-radius: 50%;
  animation: fade-out 1s ease-out;
}

@keyframes fade-out {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(2) rotate(360deg);
    opacity: 0;
  }
}

/* Footer Styles */
.footer {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 10px;
  font-size: 1rem;
  color: #fff;
}

.socials {
  margin-bottom: 10px;
}

.social-icon {
  margin: 0 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #ffcc00;
}

footer p {
  font-size: 0.8rem;
}
