/* ========================================
   ELEGANT & MINIMAL CSS FOR BOOTSTRAP
   ======================================== */

/* CSS Custom Properties (Theme Variables) */
:root {
  /* Brand Colors */
  --primary-color: #0056b3;
  --secondary-color: #6c757d;
  --button-color: #0d6efd;
  --footer-bg: #212529;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-medium: #e9ecef;
  
  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: #2c3e50;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a202c;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: #4a5568;
}

/* Link Styling */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--button-color);
}

a.underlined-link {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

a.underlined-link:hover {
  border-bottom-color: var(--primary-color);
}

/* Button Enhancements */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.025em;
  border-radius: var(--radius-pill);
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-color) 100%);
  color: white;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--button-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: white;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Card Enhancements */
.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-family: var(--font-heading);
  color: #1a202c;
  margin-bottom: var(--space-sm);
}

/* Custom Components */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  padding: var(--space-xxl) 0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.section-padding {
  padding: var(--space-xxl) 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--footer-bg);
  color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: white;
}

.section-dark p {
  color: #cbd5e0;
}

/* Container Enhancements */
.container {
  position: relative;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header Styling */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-medium);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #4a5568;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

/* Footer Styling */
footer {
  background-color: var(--footer-bg);
  color: #cbd5e0;
  padding: var(--space-xxl) 0 var(--space-lg);
}

footer h5 {
  color: white;
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}

footer a {
  color: #cbd5e0;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  text-align: center;
  color: #718096;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: #1a202c;
}

.feature-text {
  color: #4a5568;
  line-height: 1.6;
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: var(--font-heading);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  color: #4a5568;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Call-to-Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--button-color) 100%);
  color: white;
  text-align: center;
  padding: var(--space-xxl) 0;
}

.cta-title {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.py-5 { padding: var(--space-xl) 0; }
.py-6 { padding: var(--space-xxl) 0; }

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: var(--space-xl) 0;
  }
  
  .hero-content {
    padding: 0 var(--space-sm);
  }
  
  .section-padding {
    padding: var(--space-xl) 0;
  }
  
  .card-body {
    padding: var(--space-md);
  }
  
  .feature-card {
    padding: var(--space-lg);
  }
  
  .testimonial-card {
    padding: var(--space-lg);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  :root {
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 2.5rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility Enhancements */
.btn:focus,
.nav-link:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}