/* styles.css */
:root {
  --primary-color: #e32a2b;
  --primary-dark: #b82122;
  --primary-light: #f9ecec;
  --accent-color: #d9b38c;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --whatsapp-color: #25D366;
}
html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Modify your existing body styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  position: relative;
  background-image: url("Website-photo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-color);
  overflow: hidden; /* This was already there, keep it */
}

/* Ensure the form container doesn't cause overflow */
.form-container {
  width: 90%;
  max-width: 320px;
  min-height: 550px;
  max-height: 90vh; /* Add this to prevent it from being taller than the viewport */
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* This handles internal overflow */
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 30px auto;
  background-color: transparent;
  z-index: 2;
  box-shadow: var(--shadow);
}

/* For mobile devices, you might want to adjust the height */
@media (max-width: 480px) {
  .form-container {
    min-height: 500px;
    max-height: 85vh; /* Slightly smaller on very small screens */
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg-text {
  color: rgba(255, 255, 255, 0.05);
  font-size: 35vw;
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  font-family: 'Playfair Display', serif;
}

.form-container {
  width: 90%;
  max-width: 320px;
  min-height: 550px;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 30px auto;
  background-color: transparent;
  z-index: 2;
  box-shadow: var(--shadow);
}

.form-container.flipped {
  transform: rotateY(180deg);
}

.form-front,
.form-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  border-radius: 20px;
  padding: 25px 20px;
  background: white; /* Changed to solid white */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.form-front {
  z-index: 2;
}

.form-back {
  transform: rotateY(180deg);
  z-index: 1;
  text-align: center;
}

.form-back-content {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.form-container.flipped .form-front {
  transform: rotateY(180deg);
  opacity: 0;
}

.form-container.flipped .form-back {
  transform: rotateY(0);
  opacity: 1;
}

.logo {
  width: 180px;
  margin-bottom: 20px;
  transition: var(--transition);
  z-index: 1;
}

.logo:hover {
  transform: scale(1.05);
}

.tagline {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 280px;
}

/* SLIDER STYLES */
.slider-container {
  width: 100%;
  height: 200px;
  position: relative;
  margin: 0 auto 25px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slider-card {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
  border-radius: 15px;
}

.slider-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.slider-card-content {
  position: relative;
  z-index: 1;
  padding: 15px;
}

.slider-card h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-card p {
  font-size: 0.95rem;
  max-width: 90%;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.slider-nav {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* BUTTON STYLES */
.button-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.btn {
  padding: 14px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
  max-width: 250px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* CONTACT ICONS */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  flex: 1;
  max-width: 90px;
}

.contact-icon i {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--primary-color);
  transition: var(--transition);
}

.contact-icon:hover i {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.contact-icon span {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

/* BACK SIDE STYLES */
.form-back h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.form-back h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 20px 0;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--text-color);
  gap: 12px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  width: 30px;
  text-align: center;
}

.contact-item a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-color);
}

.flip-instruction {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flip-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* RESPONSIVE STYLES */
@media (min-width: 768px) {
  .bg-text {
    font-size: 40vw;
  }
  .form-container {
    max-width: 50%;
  }
  .slider-container {
    height: 180px;
  }
  .contact-icons {
    gap: 10px;
  }
  slider-card-content {
    padding: 20px;
    transform: translateY(10px); /* Better vertical centering */
    width: 50%;
  }
  
  .slider-card h4 {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7); /* More pronounced shadow */
    margin-bottom: 15px;
  }
  
  .slider-card p {
    max-width: 85%;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  }
  
  .slider::before { /* Darker overlay for better text visibility */
    background: rgba(0,0,0,0.6);
  }
}


@media (max-width: 480px) {
  .bg-text {
    display: none;
  }
  .form-container {
    width: 95%;
    min-height: 500px;
  }
  .slider-container {
    height: 160px;
  }
  .form-back h1 {
    font-size: 1.5rem;
  }
  .btn {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  .contact-icons {
    flex-wrap: wrap;
  }
  .contact-icon {
    max-width: 80px;
  }
}

@media (min-width: 1024px) {
  .form-container {
    max-width: 380px;
  }
  .slider-container {
    height: 220px;
  }
} 
/* Add to existing slider styles */
.slider {
  cursor: grab;
  user-select: none;
}

.slider.grabbing {
  cursor: grabbing;
  transition: none;
}

/* Remove the arrow buttons styles since we won't need them */
.slider-btn {
  display: none !important;
}
a{
  text-decoration: none;
}