@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-family: 'Outfit', sans-serif;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent: #b45309; /* Warm Gold/Amber */
  --accent-hover: #92400e;
  --accent-light: #fef3c7;
  --border-color: #e2e8f0;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets and styles */
body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

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

.text-muted-custom {
  color: var(--text-muted);
}

/* Glassmorphic Navbar */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: var(--transition-smooth);
  padding: 1.25rem 0;
}

.navbar-custom.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}

.navbar-brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.navbar-brand-text:hover .navbar-brand-logo {
  transform: rotate(5deg) scale(1.05);
}

.nav-link-custom {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.nav-link-custom:hover, 
.nav-link-custom.active {
  color: var(--text-main) !important;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 10rem 0 7rem 0;
  background: radial-gradient(circle at 90% 10%, rgba(254, 243, 199, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 90%, rgba(241, 245, 249, 0.6) 0%, rgba(255, 255, 255, 0) 50%);
  border-bottom: 1px solid var(--border-color);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

/* Custom Buttons */
.btn-premium {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.btn-premium-primary {
  background-color: var(--text-main);
  color: #ffffff;
  border: 1px solid var(--text-main);
}

.btn-premium-primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-premium-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-premium-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* Section Header styling */
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
}

/* Content cards */
.card-premium {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: var(--transition-smooth);
}

.card-premium:hover {
  border-color: var(--text-main);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--bg-secondary);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.card-premium:hover .card-icon-wrapper {
  background-color: var(--accent-light);
  color: var(--accent);
}

/* Category grid items */
.category-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.category-item:hover {
  background-color: var(--bg-primary);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.category-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* Contact Info Item */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.contact-info-item:hover .contact-info-icon {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-light);
}

.contact-info-text h6 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-info-text p, .contact-info-text a {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-info-text a:hover {
  color: var(--accent);
}

/* Form Styles */
.form-floating > .form-control {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-secondary);
}

.form-floating > .form-control:focus {
  border-color: var(--text-main);
  box-shadow: none;
  background-color: var(--bg-primary);
}

.form-floating > label {
  color: var(--text-muted);
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: white;
}

/* Animation utilities */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   Responsive Styling for All Devices
   ========================================== */

/* Large screens / Tablets landscape */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Medium screens / Tablets portrait */
@media (max-width: 991px) {
  .navbar-custom {
    padding: 0.75rem 0;
  }
  .hero-section {
    padding: 8rem 0 5rem 0;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

/* Small screens / Phones landscape */
@media (max-width: 768px) {
  .hero-section {
    padding: 7rem 0 4rem 0;
    text-align: center;
  }
  .hero-badge {
    margin-bottom: 1.25rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .btn-premium {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .card-premium {
    padding: 1.75rem;
  }
}

/* Very small screens / Mobile portrait */
@media (max-width: 576px) {
  .navbar-brand-text {
    font-size: 1.2rem;
    gap: 0.5rem;
  }
  .logo-svg {
    width: 36px;
    height: 36px;
  }
  .hero-section {
    padding: 6rem 0 3.5rem 0;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-badge {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
  }
  .btn-premium {
    width: 100%;
    margin-bottom: 0.5rem;
    display: block;
  }
  .btn-premium:last-child {
    margin-bottom: 0;
  }
  .card-premium {
    padding: 1.5rem;
  }
  .category-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .contact-info-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .contact-info-text h6 {
    font-size: 0.9rem;
  }
  .contact-info-text p, .contact-info-text a {
    font-size: 0.85rem;
  }
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* Super narrow screens / Older phone models (e.g. iPhone SE) */
@media (max-width: 375px) {
  .navbar-brand-text {
    font-size: 1.05rem;
    gap: 0.4rem;
  }
  .logo-svg {
    width: 32px;
    height: 32px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
}
