/* ============================================
   SOFT & ORGANIC BOOTSTRAP-ENHANCED THEME
   ============================================ */

:root {
  /* Core Color Palette - Refined for Organic Feel */
  --primary-soft: #2c3e50;
  --primary-light: #3498db;
  --secondary-soft: #34495e;
  --accent-warm: #e67e22;
  --accent-gentle: #95a5a6;
  
  /* Background Gradients for Organic Feel */
  --bg-primary: #ffffff;
  --bg-section: #f8f9fa;
  --bg-organic-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f2f6 100%);
  --bg-hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Footer Deep Ocean */
  --footer-bg: #1a252f;
  --footer-gradient: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  
  /* Organic Shadows - Soft and Diffused */
  --shadow-soft: 0 10px 30px -10px rgba(44, 62, 80, 0.15);
  --shadow-medium: 0 15px 35px -10px rgba(44, 62, 80, 0.2);
  --shadow-strong: 0 20px 40px -10px rgba(44, 62, 80, 0.25);
  --shadow-hover: 0 25px 50px -15px rgba(44, 62, 80, 0.3);
  
  /* Typography - Round and Friendly */
  --font-heading: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing & Borders - Generous and Organic */
  --border-radius-small: 16px;
  --border-radius-medium: 20px;
  --border-radius-large: 24px;
  --border-radius-xl: 30px;
  
  /* Interactive Gradients */
  --gradient-primary: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  --gradient-warm: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  --gradient-organic: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

/* ============================================
   BASE STYLES & TYPOGRAPHY
   ============================================ */

body {
  font-family: var(--font-body);
  background: var(--bg-organic-gradient);
  color: var(--primary-soft);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Enhanced Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-soft);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
}

h2 {
  font-size: 2.8rem;
  line-height: 1.3;
}

h3 {
  font-size: 2.2rem;
  line-height: 1.4;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-soft);
}

/* ============================================
   BOOTSTRAP ENHANCEMENTS
   ============================================ */

/* Custom Container - Full Width with Organic Padding */
.container {
  max-width: 1200px;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

/* Organic Bootstrap Buttons */
.btn {
  border-radius: var(--border-radius-large);
  font-weight: 600;
  padding: 12px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-soft);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f4e79 100%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-warm);
  box-shadow: var(--shadow-soft);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #d35400 0%, #a04000 100%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--primary-soft);
  color: var(--primary-soft);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-soft);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Organic Cards */
.card {
  border: none;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}

.card-body {
  padding: 2.5rem;
}

.card-header {
  background: var(--bg-section);
  border-bottom: none;
  border-radius: var(--border-radius-large) var(--border-radius-large) 0 0 !important;
  padding: 1.5rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Organic Form Elements */
.form-control {
  border-radius: var(--border-radius-medium);
  border: 2px solid #e9ecef;
  padding: 12px 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  outline: none;
}

.form-select {
  border-radius: var(--border-radius-medium);
  border: 2px solid #e9ecef;
  padding: 12px 20px;
}

/* ============================================
   CUSTOM ORGANIC COMPONENTS
   ============================================ */

/* Hero Section - Organic Full Width */
.hero-organic {
  background: var(--bg-hero-gradient);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-organic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Organic Sections */
.section-organic {
  padding: 100px 0;
  position: relative;
}

.section-organic:nth-child(even) {
  background: var(--bg-section);
}

.section-organic:nth-child(odd) {
  background: white;
}

/* Organic Feature Cards */
.feature-card-organic {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card-organic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card-organic:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.feature-icon-organic {
  width: 80px;
  height: 80px;
  background: var(--gradient-organic);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: white;
}

/* Organic CTA Section */
.cta-organic {
  background: var(--gradient-warm);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-organic::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* ============================================
   NAVIGATION - ORGANIC ENHANCEMENT
   ============================================ */

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-soft) !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary-soft) !important;
  margin: 0 0.5rem;
  padding: 0.7rem 1.5rem !important;
  border-radius: var(--border-radius-medium);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--bg-section);
  color: var(--primary-soft) !important;
}

/* ============================================
   FOOTER - OCEAN DEPTH
   ============================================ */

.footer-organic {
  background: var(--footer-gradient);
  color: white;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-organic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.3;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

/* ============================================
   INTERACTIVE ELEMENTS
   ============================================ */

/* Organic Hover Effects */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Organic Loading States */
.loading-organic {
  position: relative;
  overflow: hidden;
}

.loading-organic::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-organic {
    padding: 60px 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .feature-card-organic {
    padding: 2rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.7rem; }
}

@media (max-width: 576px) {
  .hero-organic {
    padding: 80px 0;
    min-height: auto;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .navbar {
    border-radius: 0;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-organic-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-organic-gradient {
  background: var(--bg-organic-gradient);
}

.shadow-organic {
  box-shadow: var(--shadow-soft);
}

.rounded-organic {
  border-radius: var(--border-radius-large);
}

.border-organic {
  border-radius: var(--border-radius-medium);
}

/* Accessibility Enhancements */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 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);
}