/* ===== Base Styles ===== */
:root {
  --whatsapp-color: #25D366;
  --call-color: #34B7F1;
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --text-light: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: url('image/wallpaper.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ===== Preloader Styles ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.logo-img {
  width: 150px;
  height: auto;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

/* ===== Main Content Styles ===== */
#main {
  min-height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  display: none;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
}

.content-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: fadeSlideIn 0.8s ease forwards;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 600;
}

/* ===== Button Styles ===== */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0.5rem 0;
  width: 100%;
  transition: var(--transition);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-success {
  background: var(--success-color);
  color: white;
}

.btn-warning {
  background: var(--warning-color);
  color: #212529;
}
.btn-whatsapp {
  background: var(--whatsapp-color);
  color: white;
}

.btn-call {
  background: var(--call-color);
  color: white;
}

.contact-buttons {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.contact-buttons .btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.9rem;
}
/* ===== Form Styles ===== */
.form-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 400px;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-wrapper.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.form-wrapper.slide-out {
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
}

.form-wrapper h3 {
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: var(--transition);
  background: none;
  border: none;
}

.close-btn:hover {
  color: #333;
  transform: scale(1.1);
}

/* ===== Animations ===== */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .content-box {
      padding: 1.5rem;
      width: 95%;
  }

  h1 {
      font-size: 2rem;
  }

  .btn {
      padding: 0.65rem 1.25rem;
      font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .content-box {
      padding: 1.25rem;
  }

  h1 {
      font-size: 1.75rem;
  }

  .form-wrapper {
      padding: 1.5rem;
  }     .contact-buttons {
    flex-direction: column;
    gap: 8px;
}
}