:root {
  /* Colors */
  --primary-color: #4f46e5; /* Indigo */
  --primary-color-hover: #4338ca;
  --secondary-color: #0f172a; /* Slate 900 */
  --accent-color: #ec4899; /* Pink */
  
  --bg-color: #ffffff;
  --bg-alt: #f8fafc; /* Slate 50 */
  --bg-subtle: #f1f5f9;
  
  --text-main: #1e293b; /* Slate 800 */
  --text-muted: #64748b; /* Slate 500 */
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-hover: 0 25px 30px -5px rgb(0 0 0 / 0.1), 0 15px 15px -5px rgb(0 0 0 / 0.05);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Custom UI Components (Not Default Bootstrap) */

/* Buttons */
.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}
.custom-btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.custom-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}
.custom-btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.custom-btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}
.custom-btn-light {
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.custom-btn-light:hover {
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
}

/* Cards */
.custom-card {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  overflow: hidden;
  height: 100%;
}
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Inputs */
.custom-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-alt);
  color: var(--text-main);
  transition: var(--transition);
  font-family: inherit;
}
.custom-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-color);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.custom-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--secondary-color);
}

/* Navbar */
.frontend-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: var(--transition);
  background: transparent;
  padding: 1.5rem 0;
}
.frontend-navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}
.frontend-navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
  opacity: 0.85;
}
.frontend-navbar .nav-link.active {
  opacity: 1 !important;
}
.frontend-navbar.scrolled .nav-link {
  color: var(--text-main) !important;
}
.frontend-navbar .nav-link:hover {
  color: var(--primary-color) !important;
  opacity: 1;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05); /* Slight zoom for premium feel */
  transition: transform 10s linear;
}
.hero-slide.active .hero-bg {
  transform: scale(1); /* Slow zoom out effect */
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Sections */
.py-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.bg-alt {
  background-color: var(--bg-alt);
}
.bg-secondary-dark {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Footer */
.frontend-footer {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}
.frontend-footer h1, .frontend-footer h2, .frontend-footer h3, 
.frontend-footer h4, .frontend-footer h5, .frontend-footer h6 {
  color: #ffffff !important;
}
.frontend-footer .text-muted {
  color: #94a3b8 !important;
}
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.75rem;
}
.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Floating WhatsApp / Top */
.floating-btn {
  position: fixed;
  bottom: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 100;
  text-decoration: none;
}
.floating-btn:hover {
  transform: scale(1.1);
  color: white;
}
.btn-whatsapp {
  right: 2rem;
  background: #25D366;
}
.btn-top {
  right: 2rem;
  bottom: 6rem;
  background: var(--primary-color);
  opacity: 0;
  visibility: hidden;
}
.btn-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Custom Modal */
.custom-modal .modal-content {
  border-radius: var(--radius-md);
  border: none;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 991px) {
  .frontend-navbar {
    background: var(--secondary-color);
    padding: 1rem 0;
  }
}
