/* Tailwind CSS - Loaded via CDN in header.php */

/* AOS Animation Library */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ========================================
   DESIGN SYSTEM & CSS VARIABLES
   ======================================== */

:root {
  /* LD Capital Logo-Inspired Color Scheme */
  --background: 0 0% 100%;
  --foreground: 210 11% 15%;
  --card: 0 0% 100%;
  --card-foreground: 210 11% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 210 11% 15%;

  /* Primary - Navy Blue from logo */
  --primary: 217 91% 35%;
  --primary-foreground: 0 0% 100%;
  
  /* Header - Navy Blue from logo */
  --header: 217 91% 35%;
  --header-foreground: 0 0% 100%;

  /* Secondary - Light Blue from logo */
  --secondary: 199 89% 48%;
  --secondary-foreground: 217 91% 35%;

  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;

  /* Accent - Light Blue from logo */
  --accent: 199 89% 48%;
  --accent-foreground: 217 91% 35%;
  
  /* Logo-inspired gradients and effects */
  --gradient-primary: linear-gradient(135deg, hsl(217 91% 35%), hsl(199 89% 48%));
  --gradient-hero: linear-gradient(135deg, hsl(217 91% 35% / 0.9), hsl(199 89% 48% / 0.8));
  --shadow-primary: 0 10px 30px -10px hsl(217 91% 35% / 0.3);
  --shadow-glow: 0 0 40px hsl(199 89% 48% / 0.4);

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 213 85% 62%;
  --radius: 0.5rem;

  /* Sidebar colors */
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 240 5.9% 10%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 4.8% 95.9%;
  --sidebar-accent-foreground: 240 5.9% 10%;
  --sidebar-border: 220 13% 91%;
  --sidebar-ring: 217.2 91.2% 59.8%;
}

/* Dark mode variables */
.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --popover: 222.2 84% 4.9%;
  --popover-foreground: 210 40% 98%;
  --primary: 210 40% 98%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 217.2 32.6% 17.5%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
  --input: 217.2 32.6% 17.5%;
  --ring: 212.7 26.8% 83.9%;
  --sidebar-background: 240 5.9% 10%;
  --sidebar-foreground: 240 4.8% 95.9%;
  --sidebar-primary: 224.3 76.3% 48%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 240 3.7% 15.9%;
  --sidebar-accent-foreground: 240 4.8% 95.9%;
  --sidebar-border: 240 3.7% 15.9%;
  --sidebar-ring: 217.2 91.2% 59.8%;
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6;
  padding-top: 0;
}

html {
  scroll-behavior: smooth;
}

/* Apply Times New Roman to all text elements */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select, label, li, ul, ol, table, th, td {
  font-family: 'Times New Roman', Times, serif !important;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

/* Sticky Header */
header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  background-color: hsl(var(--background)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

header * {
  z-index: inherit;
}

/* Top info bar - NOT sticky */
.bg-header {
  position: relative;
  z-index: 10000;
}

/* Main navigation sticky */
header.bg-background {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove scroll-based hiding */
header[style*="transform"],
header[style*="opacity"],
header[style*="visibility"] {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Container */
.container {
  position: relative;
}

/* Force header visibility */
body header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Active Navigation Styles */
nav a.text-blue-800 {
  color: #1e40af !important;
  border-bottom: 2px solid #1e40af !important;
  font-weight: 600 !important;
  position: relative;
}

.mobile-menu a.text-blue-800 {
  color: #1e40af !important;
  background-color: rgba(30, 64, 175, 0.1) !important;
  border-left: 3px solid #1e40af !important;
  font-weight: 600 !important;
}

nav .group a.text-blue-800 {
  color: #1e40af !important;
  font-weight: 600 !important;
}

nav .group .py-2 a.text-blue-800 {
  color: #1e40af !important;
  background-color: rgba(30, 64, 175, 0.1) !important;
  font-weight: 600 !important;
}

nav a.text-blue-800:hover {
  color: #1e3a8a !important;
}

.mobile-menu a.text-blue-800:hover {
  background-color: rgba(30, 64, 175, 0.15) !important;
}

.text-blue-800 {
  color: #1e40af !important;
}

.border-b-2.border-blue-800 {
  border-bottom: 2px solid #1e40af !important;
}

.font-semibold {
  font-weight: 600 !important;
}

/* ========================================
   COMPONENTS
   ======================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Contact form button specific centering */
button[type="submit"].btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.5rem !important;
}

button[type="submit"].btn i {
  display: inline-block !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

button[type="submit"].btn span {
  display: inline-block !important;
  margin: 0 !important;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-header {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.btn-header:hover {
  background-color: hsl(var(--header) / 0.9);
}

.btn-outline {
  background-color: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--muted));
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.card-content {
  padding: 1rem;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color 0.2s ease-in-out;
  font-size: 0.875rem;
}

.form-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s ease-in-out;
  font-size: 0.875rem;
}

.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

/* ========================================
   SECTIONS & LAYOUTS
   ======================================== */

/* Hero Section */
.hero-parallax {
  position: relative;
  min-height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, hsl(216.46deg 91% 35% / 78%), hsl(243.13deg 89% 48% / 43%));
  z-index: 1;
}

.hero-parallax .hero-content {
  position: relative;
  z-index: 2;
}

/* Google Maps */
.google-maps-embed {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.google-maps-embed-full {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ========================================
   ICONS & VISUALS
   ======================================== */

/* Global icon centering */
img[src*=".webp"],
img[src*=".webp"],
img[src*=".webp"],
img[src*=".webp"],
img[src*=".webp"],
img[src*=".webp"],
i[data-lucide],
svg {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Icon containers */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.icon-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.icon-container i,
.icon-container svg {
  color: white !important;
  font-size: 24px;
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Feature icons */
.feature-icon {
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Contact icons */
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.contact-icon i,
.contact-icon svg {
  color: white !important;
  font-size: 32px;
  width: 32px !important;
  height: 32px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Contact page specific icon styling */
.contact-page .bg-gradient-to-br {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%) !important;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3) !important;
  transition: all 0.3s ease !important;
}

.contact-page .bg-gradient-to-br:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4) !important;
}

.contact-page .bg-gradient-to-br i,
.contact-page .bg-gradient-to-br svg {
  color: white !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Contact page icon containers */
.contact-page .w-12.h-12,
.contact-page .w-16.h-16 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%) !important;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3) !important;
  transition: all 0.3s ease !important;
}

.contact-page .w-12.h-12:hover,
.contact-page .w-16.h-16:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4) !important;
}

/* ========================================
   HOVER EFFECTS & INTERACTIONS
   ======================================== */

/* Card hover effects */
.bg-white.p-6,
.bg-white.p-8,
.card,
.bg-white.rounded-xl,
.bg-white.rounded-2xl {
  transition: all 0.3s ease !important;
}

.bg-white.p-6:hover,
.bg-white.p-8:hover,
.card:hover,
.bg-white.rounded-xl:hover,
.bg-white.rounded-2xl:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Section containers - no hover */
section,
.container,
.grid {
  transition: none !important;
}

section:hover,
.container:hover,
.grid:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Gray background sections */
.bg-gray-50 {
  background-color: #f9fafb !important;
}

.bg-gray-50:hover {
  transform: none !important;
  box-shadow: none !important;
  background-color: #f9fafb !important;
}

.bg-gray-50 * {
  transition: none !important;
}

.bg-gray-50 *:hover {
  transform: none !important;
  box-shadow: none !important;
}

.bg-gray-50 .bg-white {
  transition: all 0.3s ease !important;
}

.bg-gray-50 .bg-white:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Contact details section */
.contact-details-section {
  transition: none !important;
}

.contact-details-section:hover {
  transform: none !important;
  box-shadow: none !important;
  background-color: inherit !important;
}

.contact-details-section .group {
  transition: all 0.3s ease !important;
}

.contact-details-section .group:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.contact-details-section .bg-white.rounded-2xl,
.contact-details-section .bg-white.rounded-3xl {
  transition: none !important;
}

.contact-details-section .bg-white.rounded-2xl:hover,
.contact-details-section .bg-white.rounded-3xl:hover {
  transform: none !important;
  box-shadow: none !important;
}

.contact-details-section .p-6,
.contact-details-section .p-8 {
  transition: all 0.3s ease !important;
}

.contact-details-section .p-6:hover,
.contact-details-section .p-8:hover {
  background-color: rgba(59, 130, 246, 0.05) !important;
  transform: translateY(-2px) !important;
}

.contact-details-section .group-hover\:scale-110 {
  transition: transform 0.3s ease !important;
}

.contact-details-section .group:hover .group-hover\:scale-110 {
  transform: scale(1.1) !important;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

/* Mobile menu button */
.mobile-menu-button {
  position: relative;
  z-index: 10;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
  padding: 12px;
  min-width: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: scale(1.05);
}

.mobile-menu-button:active {
  background-color: rgba(0, 0, 0, 0.1);
  transform: scale(0.95);
}

.mobile-menu-button:focus {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.mobile-menu-button i {
  pointer-events: none;
  user-select: none;
  transition: transform 0.2s ease-in-out;
}

.mobile-menu-button::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  z-index: -1;
  border-radius: 12px;
}

/* Mobile menu */
.mobile-menu {
  position: relative;
  z-index: 20;
  animation: slideDown 0.3s ease-out;
  transition: all 0.3s ease-in-out;
}

.mobile-menu.hidden {
  display: none !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  transition: all 0.2s ease-in-out;
}

.mobile-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateX(4px);
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* ========================================
   UTILITIES
   ======================================== */

/* Gradients and effects */
.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-hero {
  background: var(--gradient-hero);
}

.shadow-primary {
  box-shadow: var(--shadow-primary);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Animation utilities */
.transition-all {
  transition: all 0.2s ease-in-out;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
  .mobile-hidden {
    display: none !important;
  }
  
  .hero-parallax {
    background-attachment: scroll;
    min-height: 300px;
  }
  
  .container {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  
  .btn-lg {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .card-content {
    padding: 0.75rem;
  }
  
  .form-input,
  .form-textarea {
    font-size: 16px;
  }
  
  .google-maps-embed {
    height: 250px;
  }
  
  .google-maps-embed-full {
    height: 300px;
  }
  
  /* Mobile width optimization */
  .container {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .mx-auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  section, div {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .hero-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .grid {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .flex {
    max-width: 100% !important;
  }
  
  h1, h2, h3, h4, h5, h6, p {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
  
  .flex.flex-row {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  
  .btn {
    margin-right: 0 !important;
  }
  
  img, i[data-lucide], svg {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  footer img[src*="logo"] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .feature-icon {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Loan products grid */
  .grid.grid-cols-2 {
    justify-items: center !important;
    justify-content: center !important;
  }
  
  .grid.grid-cols-2 > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 120px !important;
  }
  
  .grid.grid-cols-2 img {
    margin: 0 auto !important;
    display: block !important;
  }
  
  .grid.grid-cols-2 h3 {
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  /* Investment CTA */
  .investment-cta .flex.flex-col {
    align-items: center !important;
    justify-content: center !important;
  }
  
  .investment-cta .btn {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .investment-cta .btn i {
    margin-right: 0.5rem !important;
  }
}

/* Tablet (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .tablet-hidden {
    display: none !important;
  }
  
  .hero-parallax {
    min-height: 400px;
  }
  
  .google-maps-embed {
    height: 350px;
  }
  
  .google-maps-embed-full {
    height: 400px;
  }
}

/* Desktop (769px+) */
@media (min-width: 769px) {
  .desktop-hidden {
    display: none !important;
  }
  
  .hero-parallax {
    min-height: 500px;
  }
  
  .google-maps-embed {
    height: 400px;
  }
  
  .google-maps-embed-full {
    height: 500px;
  }
}

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero-parallax {
    min-height: 600px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
  }
}

/* Extra Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .hero-parallax {
    min-height: 700px;
  }
}

/* Touch-friendly elements (max-width: 768px) */
@media (max-width: 768px) {
  .btn,
  .form-input,
  .form-textarea,
  select,
  a {
    min-height: 48px;
    min-width: 48px;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border-radius: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    min-height: 56px;
  }
  
  .btn-sm {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
  }
  
  nav a,
.mobile-menu a {
    padding: 0.875rem 1rem;
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .form-input,
  .form-textarea {
    min-height: 48px;
    font-size: 16px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }
  
  a[href],
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"] {
    min-height: 48px;
    min-width: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .btn + .btn,
  a + a,
  button + button {
    margin-left: 0.5rem;
  }
  
  /* Mobile menu button */
  .mobile-menu-button {
    min-width: 64px;
    min-height: 64px;
    padding: 16px;
  }
  
  .mobile-menu-button::before {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
  }
  
  .mobile-menu-button:active {
    transform: scale(0.9);
  }
  
  /* Mobile navigation */
  .mobile-menu a {
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
  }
  
  .mobile-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
  }
  
  .mobile-menu a:active {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
  }
  
  .mobile-menu .space-y-2 a {
    position: relative;
    z-index: 10;
  }
  
  .mobile-menu .space-y-2 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
  }
  
  .mobile-menu a span {
    pointer-events: none;
    user-select: none;
  }
  
  /* Icon centering */
  img,
  i[data-lucide],
  svg {
  display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  footer img[src*="logo"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
  }
}

/* Print styles */
@media print {
  .mobile-menu,
  .mobile-menu-button,
  .btn {
    display: none !important;
  }
  
  .hero-parallax {
    background-attachment: scroll;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ========================================
   SPECIAL SECTIONS
   ======================================== */

/* Loan products grid */
.loan-products-grid {
  display: grid;
  justify-items: center;
  align-items: start;
}

.loan-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
}

/* CTA sections */
.cta-section .flex.flex-col {
  align-items: center;
  justify-content: center;
}

.cta-section .btn {
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
} 