/* Bold, High-Impact Design System */
:root {
  /* Vibrant color palette inspired by sea, beach, sunsets and wind water sports */
  --primary: #0096C7; /* Vibrant ocean blue */
  --secondary: #023E8A; /* Deep ocean blue */
  --accent: #00D4FF; /* Bright sky blue */
  --accent-secondary: #FFB703; /* Golden sunset yellow */
  --accent-tertiary: #FF6B35; /* Vibrant coral/sunset orange */
  --dark: #03045E; /* Deep navy */
  --light: #F0F8FF; /* Light azure/sea foam */
  --white: #FFFFFF;
  --success: #2DC653; /* Fresh green */
  --danger: #E63946; /* Coral red */
  --warning: #FFB703; /* Sunny yellow */
  
  /* Typography */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-xxl: 4rem;
}

/* Base Styles */
body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  color: var(--secondary);
}

/* Layout */
.container {
  max-width: 1200px;
  width: 100%;
  padding-right: var(--space-md);
  padding-left: var(--space-md);
  margin-right: auto;
  margin-left: auto;
}

.hero-section {
  background: var(--light);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 80vh;
  padding: var(--space-xl) var(--space-lg);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

/* Wave Animation */
.wave-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18.48 138.3 24.03 209.4 13.08 36.15-5.57 72.02-17.3 107.35-33.03 30.31-13.57 79.8-37.3 109.95-37.3V0H0z" fill="%230096C7" fill-opacity="0.2"/></svg>') repeat-x;
  animation: wave 25s linear infinite;
  transform: translate3d(0, 0, 0);
  z-index: 1;
}

.wave1 {
  animation: wave 20s linear infinite;
  z-index: 2;
  opacity: 0.5;
  animation-delay: -5s;
  bottom: 0;
}

.wave2 {
  animation: wave 15s linear infinite;
  z-index: 1;
  opacity: 0.3;
  animation-delay: -2s;
  bottom: 10px;
}

@keyframes wave {
  0% {transform: translateX(0);}
  50% {transform: translateX(-25%);}
  100% {transform: translateX(-50%);}
}

.footer {
  margin-top: auto;
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: var(--white);
}

.footer .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: var(--space-md) 0;
  background-color: var(--white);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary) !important;
  font-size: 1.5rem;
}

.navbar-brand i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: var(--space-sm);
}

.nav-link {
  font-weight: 600;
  transition: all 0.2s ease;
  color: var(--dark) !important;
  padding: var(--space-sm) var(--space-md) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link.active {
  font-weight: 700;
  color: var(--primary) !important;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background-color: var(--white);
  margin-bottom: var(--space-lg);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: var(--space-xl);
}

.card-header {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--space-md) var(--space-lg);
}

.feature-card {
  text-align: center;
  padding: var(--space-xl);
  height: 100%;
  border-radius: 12px;
  background-color: var(--white);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 12px 12px 0 0;
  z-index: -1;
}

.feature-card:nth-child(3n+1)::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}

.feature-card:nth-child(3n+2)::before {
  background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent) 100%);
}

.feature-card:nth-child(3n+3)::before {
  background: linear-gradient(90deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Feature Icon Wrappers */
.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  position: relative;
  overflow: hidden;
}

.feature-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
  z-index: -1;
}

.ocean-icon::before {
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
}

.sunset-icon::before {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
}

.beach-icon::before {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 183, 3, 0.2) 100%);
}

.icon-feature {
  font-size: 2.5rem;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  z-index: 1;
}

.ocean-icon .icon-feature {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sunset-icon .icon-feature {
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.beach-icon .icon-feature {
  background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 100%);
}

.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, #25A244 100%);
  color: var(--white);
}

.btn-success:hover {
  background: linear-gradient(135deg, #25A244 0%, var(--success) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 150, 199, 0.3);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 150, 199, 0.4);
}

.cta-button:hover::before {
  opacity: 1;
}

/* Special Elements */
.bg-gradient-light {
  background: linear-gradient(135deg, rgba(240, 248, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
  border: none;
}

.rounded-xl {
  border-radius: 16px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
  animation-play-state: paused;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .display-4 {
    font-size: 2.8rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: var(--space-xl) 0;
  }
  
  .wave-animation {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2.3rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
  }
  
  .cta-button {
    padding: 0.8rem 1.6rem;
  }
  
  .feature-icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .icon-feature {
    font-size: 2.2rem;
  }
  
  .wave-animation {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.6rem;
  }
  
  .card-body {
    padding: var(--space-lg);
  }
  
  .feature-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .icon-feature {
    font-size: 2rem;
  }
  
  .wave-animation {
    height: 30px;
  }
}

/* Weather Widget Styles */
.weather-widget {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.weather-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.weather-header {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.location-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.refresh-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.refresh-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.weather-body {
  padding: 15px;
  position: relative;
  min-height: 120px;
}

.weather-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-main {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.weather-icon {
  font-size: 2.5rem;
  margin-right: 15px;
}

.weather-temp {
  font-size: 2rem;
  font-weight: 700;
}

.weather-details {
  display: flex;
  justify-content: space-around;
}

.weather-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.weather-detail i {
  font-size: 1.2rem;
}

.wind-direction {
  margin-top: 5px;
}

.wind-direction i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.weather-footer {
  padding: 8px 15px;
  font-size: 0.8rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
}

.weather-error {
  text-align: center;
  padding: 20px 0;
}

.weather-error i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Progress Chart Styles */
.progress-chart-container {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.progress-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-filters {
  display: flex;
  gap: 10px;
}

.chart-filter-btn {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: var(--light);
  border: none;
  color: var(--dark);
  transition: all 0.3s ease;
}

.chart-filter-btn.active {
  background: var(--primary);
  color: white;
}

.chart-filter-btn:hover:not(.active) {
  background: rgba(0, 150, 199, 0.1);
}

.progress-chart {
  height: 300px;
  position: relative;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Weather Widget */
.weather-card {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.weather-icon, .wind-icon, .water-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.weather-temp, .wind-speed, .water-temp {
    font-size: 1.8rem;
    font-weight: bold;
}

.weather-desc, .wind-dir, .wave-height {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Home Progress Chart */
#homeProgressChart {
    height: 300px;
    width: 100%;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: bold;
    color: #0d6efd;
}

/* Skill Progress Styles */
.skill-progress {
    margin-bottom: 15px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-name {
    font-weight: 500;
}

.skill-rating {
    font-weight: 600;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

.progress-beginner {
    background: linear-gradient(to right, #17a2b8, #20c997);
}

.progress-intermediate {
    background: linear-gradient(to right, #20c997, #28a745);
}

.progress-advanced {
    background: linear-gradient(to right, #28a745, #198754);
}

/* Chart Container Styles */
.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 100%;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-title {
    margin-bottom: 0;
}

.time-range-btn.active {
    background-color: #0d6efd;
    color: white;
}

/* Wave Animation for Hero Section */
.hero-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-wave-container svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.hero-wave-container .shape-fill {
  fill: var(--primary);
  opacity: 0.2;
}

.hero-wave-container .shape-fill-2 {
  fill: var(--accent);
  opacity: 0.15;
}

/* Enhanced Feature Cards */
.feature-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.05) 0%, rgba(0, 212, 255, 0.1) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card .card-icon {
  transition: transform 0.5s ease;
}

.feature-card:hover .card-icon {
  transform: translateY(-5px) scale(1.1);
}

.feature-card .btn {
  transform: translateY(5px);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.feature-card:hover .btn {
  transform: translateY(0);
  opacity: 1;
}

/* Skill Progress Indicators */
.skill-progress {
  height: 8px;
  background-color: var(--light);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.skill-progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width 1s ease;
}

.skill-progress-bar.beginner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.skill-progress-bar.intermediate {
  background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent) 100%);
}

.skill-progress-bar.advanced {
  background: linear-gradient(90deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
}

/* Parallax Hero Section */
.parallax-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.parallax-content {
  z-index: 2;
  padding: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.parallax-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.parallax-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.parallax-cta {
  background-color: var(--accent-tertiary);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.parallax-cta:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.5);
  color: var(--white);
}

.hero-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
}

.hero-wave-container svg {
  position: relative;
  display: block;
  width: calc(100% + 50px);
  height: 100px;
}

.hero-wave-container .shape-fill {
  fill: var(--white);
  opacity: 0.9;
}

.hero-wave-container .shape-fill-2 {
  fill: var(--primary);
  opacity: 0.7;
}

/* Weather Widget */
#weather-widget-container {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 15px;
  color: var(--white);
  padding: var(--space-lg);
  box-shadow: 0 10px 30px rgba(0, 150, 199, 0.3);
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.weather-widget {
  text-align: center;
}

.weather-location {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.weather-temp {
  font-size: 3rem;
  font-weight: 800;
  margin: var(--space-sm) 0;
}

.weather-condition {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.weather-details {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-md);
  text-align: center;
}

.weather-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weather-detail-label {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: var(--space-xs);
}

.weather-detail-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.weather-icon {
  font-size: 2.5rem;
  margin: var(--space-sm) 0;
}

/* Feature Cards with Animation */
.feature-card {
  background-color: var(--white);
  border-radius: 15px;
  padding: var(--space-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all 0.3s ease;
}

.card-icon {
  margin-top: -40px;
  margin-bottom: var(--space-md);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ocean-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
}

.sunset-icon {
  background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
  color: var(--white);
}

.beach-icon {
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--success) 100%);
  color: var(--white);
}

.icon-feature {
  font-size: 2rem;
}

/* Minimal session cards */
.btn-ghost {
    background: transparent;
    border: none;
    color: var(--bs-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.15s ease;
}

.btn-ghost:hover {
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
    color: var(--bs-secondary);
}

.btn-ghost.text-danger:hover {
    background-color: rgba(var(--bs-danger-rgb), 0.1);
    color: var(--bs-danger);
}

.hover-lift {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hover-lift:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Animation Classes */
.slide-up {
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wave-animation {
  0% {
    transform: translateX(-25px) rotate(180deg);
  }
  100% {
    transform: translateX(25px) rotate(180deg);
  }
}

/* Progress Chart Styles */
.progress-chart-container {
  background-color: var(--white);
  border-radius: 15px;
  padding: var(--space-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-xl);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.chart-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.chart-legend {
  display: flex;
  gap: var(--space-md);
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: var(--space-xs);
}

/* Skill Progress Indicators */
.skill-progress {
  margin-bottom: var(--space-lg);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.skill-name {
  font-weight: 600;
}

.skill-rating {
  font-weight: 700;
  color: var(--primary);
}

.progress {
  height: 10px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}

.progress-beginner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.progress-intermediate {
  background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
}

.progress-advanced {
  background: linear-gradient(90deg, var(--accent-tertiary) 0%, var(--success) 100%);
}

/* Media Queries */
@media (max-width: 992px) {
  .parallax-title {
    font-size: 3rem;
  }
  
  .parallax-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-wave-container svg {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .parallax-hero {
    height: 60vh;
  }
  
  .parallax-title {
    font-size: 2.5rem;
  }
  
  .chart-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .chart-legend {
    margin-top: var(--space-sm);
  }
  
  .weather-details {
    flex-wrap: wrap;
  }
  
  .weather-detail-item {
    width: 50%;
    margin-bottom: var(--space-sm);
  }
}

@media (max-width: 576px) {
  .parallax-hero {
    height: 50vh;
  }
  
  .parallax-title {
    font-size: 2rem;
  }
  
  .parallax-subtitle {
    font-size: 1rem;
  }
  
  .hero-wave-container svg {
    height: 50px;
  }
}

/* Weather Widget */
.weather-card {
    background: linear-gradient(135deg, #3498db, #1abc9c);
    color: white;
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.weather-icon, .wind-icon, .water-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.weather-temp, .wind-speed, .water-temp {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.weather-desc, .wind-dir, .wave-height {
    font-size: 1.2rem;
}

/* Progress Chart */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
}

.skill-progress-container {
    padding: 10px;
    display: block;
    width: 100%;
    overflow: visible;
}

.skill-progress {
    margin-bottom: 15px;
}

.skill-progress .progress {
    height: 10px;
    border-radius: 5px;
    overflow: visible;
}

/* Mobile Responsive Styles */
@media (max-width: 767.98px) {
  .card {
    border-radius: 0.5rem;
    margin-bottom: var(--space-md);
    width: 100%;
  }
  
  .table-responsive {
    margin: 0;
    padding: 0;
  }
  
  .btn {
    padding: 0.375rem 0.75rem;
  }
  
  .form-control, .form-select {
    font-size: 1rem;
  }
  
  /* Adjust padding for content */
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Make tables scroll horizontally on mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Adjust card padding */
  .card-body {
    padding: 1rem;
  }
  
  /* Ensure inputs are properly sized */
  input, select, textarea {
    max-width: 100%;
  }
}

/* Fix for iOS devices */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    cursor: pointer;
  }
  
  input, select, textarea {
    font-size: 16px; /* Prevents zoom on focus in iOS */
  }
}

/* Hero Gradient & Logo Bounce */
.hero-section {
  position: relative;
  background: var(--light);
  color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 80vh;
  padding: var(--space-xl) var(--space-lg);
}

.hero-logo {
  width: 200px;
  background: none;
  box-shadow: none;
  animation: none;
  margin-bottom: var(--space-md);
}

/* Wave Divider */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider.bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

/* Sticky Nav */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  padding: var(--space-md) var(--space-lg);
}

.sticky-nav.shrink {
  padding: var(--space-xs) var(--space-lg);
  background: rgba(255,255,255,0.95);
}

.sticky-nav .navbar-brand img {
  height: 40px;
  transition: height 0.3s ease;
}

/* Gradient Buttons */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  transition: all 0.2s ease;
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Minimal App System Override */
:root {
  --primary: #1765f2;
  --secondary: #17324d;
  --accent: #78b7ff;
  --accent-secondary: #f2a14a;
  --accent-tertiary: #f08b57;
  --dark: #16202b;
  --light: #f4f7fb;
  --white: #ffffff;
  --success: #1f9d74;
  --danger: #d64b4b;
  --warning: #d89b3a;
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-bg: #f4f7fb;
  --app-surface: #ffffff;
  --app-surface-soft: #f9fbfd;
  --app-ink: #16202b;
  --app-muted: #667382;
  --app-line: rgba(22, 32, 43, 0.1);
  --app-line-strong: rgba(22, 32, 43, 0.16);
  --app-shadow: 0 12px 32px rgba(22, 32, 43, 0.06);
  --app-shadow-soft: 0 4px 16px rgba(22, 32, 43, 0.04);
  --app-radius: 22px;
  --app-radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
}

body.app-body {
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top left, rgba(120, 183, 255, 0.14), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(240, 139, 87, 0.08), transparent 18%),
    linear-gradient(180deg, #f8fbfd 0%, var(--app-bg) 52%, #f8fbfd 100%);
  color: var(--app-ink);
  line-height: 1.55;
}

body.app-body h1,
body.app-body h2,
body.app-body h3,
body.app-body h4,
body.app-body h5,
body.app-body h6 {
  color: var(--app-ink);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
}

body.app-body .display-4,
body.app-body .display-5 {
  background: none;
  color: var(--app-ink);
  text-transform: none;
  letter-spacing: -0.04em;
}

body.app-body .display-4 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
}

body.app-body .display-5 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

body.app-body .lead,
body.app-body p,
body.app-body .text-muted {
  color: var(--app-muted) !important;
}

body.app-body a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

body.app-body a:hover {
  color: #0e4fd2;
}

.app-main {
  flex: 1;
}

.app-page-shell {
  padding: clamp(1rem, 2vw, 1.5rem) 0 3rem;
}

.app-page-shell--marketing {
  padding-top: 0;
}

.nav-shell {
  align-items: center;
}

.sticky-nav {
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(22, 32, 43, 0.08);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.sticky-nav.shrink {
  padding: 0.7rem 0;
  background: rgba(255, 255, 255, 0.84);
}

.sticky-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--app-ink) !important;
  letter-spacing: -0.03em;
}

.sticky-nav .navbar-brand img {
  height: 34px;
}

.sticky-nav .landing-nav-wordmark {
  color: var(--app-ink);
}

.sticky-nav .nav-link,
.sticky-nav .dropdown-toggle {
  color: var(--app-muted) !important;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.55rem 0.7rem !important;
}

.sticky-nav .nav-link:hover,
.sticky-nav .dropdown-toggle:hover {
  color: var(--app-ink) !important;
}

.sticky-nav .navbar-toggler {
  border: 1px solid var(--app-line);
  border-radius: 14px;
  box-shadow: none !important;
}

.sticky-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(23, 101, 242, 0.12) !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--app-ink);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--app-shadow-soft);
}

.nav-cta:hover {
  color: #ffffff !important;
  background: #0f1720;
}

body.app-body .card,
body.app-body .progress-chart-container,
body.app-body .weather-widget,
body.app-body .feature-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
}

body.app-body .card:hover,
body.app-body .feature-card:hover {
  transform: none;
  box-shadow: 0 14px 36px rgba(22, 32, 43, 0.08);
}

body.app-body .card-header {
  background: transparent;
  border-bottom: 1px solid var(--app-line);
  padding: 1.1rem 1.35rem;
}

body.app-body .card-body {
  padding: 1.35rem;
}

body.app-body .btn {
  border-radius: 14px;
  padding: 0.72rem 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: none;
}

body.app-body .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 32, 43, 0.08);
}

body.app-body .btn-primary,
body.app-body .btn-gradient {
  background: var(--app-ink);
  color: #ffffff;
}

body.app-body .btn-primary:hover,
body.app-body .btn-gradient:hover {
  background: #0f1720;
  color: #ffffff;
}

body.app-body .btn-outline-primary {
  background: transparent;
  border: 1px solid var(--app-line-strong);
  color: var(--app-ink);
}

body.app-body .btn-outline-primary:hover {
  background: rgba(22, 32, 43, 0.06);
  color: var(--app-ink);
}

body.app-body .btn-success {
  background: #1d8f6c;
  color: #ffffff;
}

body.app-body .btn-success:hover {
  background: #177657;
}

body.app-body .form-control,
body.app-body .form-select,
body.app-body textarea {
  border-radius: 14px;
  border: 1px solid var(--app-line-strong);
  background: rgba(255, 255, 255, 0.88);
  color: var(--app-ink);
  padding: 0.8rem 0.95rem;
  box-shadow: none;
}

body.app-body .form-control:focus,
body.app-body .form-select:focus,
body.app-body textarea:focus {
  border-color: rgba(23, 101, 242, 0.32);
  box-shadow: 0 0 0 0.22rem rgba(23, 101, 242, 0.1);
}

body.app-body .dropdown-menu {
  border: 1px solid var(--app-line);
  border-radius: 16px;
  box-shadow: var(--app-shadow);
  padding: 0.45rem;
}

body.app-body .dropdown-item {
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  font-weight: 700;
}

body.app-body .dropdown-item:hover,
body.app-body .dropdown-item.active {
  background: rgba(23, 101, 242, 0.08);
  color: var(--app-ink);
}

body.app-body .alert {
  border: 1px solid var(--app-line);
  border-radius: 16px;
  box-shadow: var(--app-shadow-soft);
}

body.app-body .badge {
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  font-weight: 800;
}

body.app-body .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--app-ink);
  --bs-table-border-color: rgba(22, 32, 43, 0.08);
}

body.app-body .table-responsive {
  border-radius: 18px;
}

.footer {
  margin-top: auto;
  padding: 1.6rem 0 2rem;
  background: transparent;
  color: var(--app-muted);
}

.footer-shell {
  border-top: 1px solid rgba(22, 32, 43, 0.08);
  padding-top: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.8rem;
}

.footer .text-muted,
.footer-note {
  color: var(--app-muted) !important;
}

@media (max-width: 991.98px) {
  .sticky-nav .navbar-collapse {
    margin-top: 0.85rem;
    padding: 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--app-line);
    box-shadow: var(--app-shadow);
  }

  .sticky-nav .navbar-nav {
    gap: 0.2rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.35rem;
  }
}

@media (max-width: 767.98px) {
  .app-page-shell {
    padding-bottom: 2rem;
  }

  body.app-body .card-body {
    padding: 1rem;
  }

  .footer {
    padding-bottom: 1.5rem;
  }
}

/* Mobile app navigation and PWA connection state */
.mobile-app-nav {
  display: none;
}

.dashboard-empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) 1rem;
}

.dashboard-empty-state__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 22px;
  background: linear-gradient(145deg, #dff5f7, #f2fbfc);
  color: #007b93;
  font-size: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(0, 107, 131, 0.1);
}

.dashboard-empty-state h2 {
  margin-bottom: 0.65rem;
  color: #10242b;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
}

.dashboard-empty-state p {
  max-width: 52ch;
  margin: 0 auto 1.35rem;
  color: #5d737b;
  line-height: 1.55;
}

.dashboard-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.pwa-network-status {
  position: fixed;
  z-index: 1200;
  right: 16px;
  bottom: 16px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 14px;
  background: #063b4c;
  color: #fff;
  box-shadow: 0 14px 36px rgba(4, 42, 55, 0.24);
  font-size: 0.9rem;
  font-weight: 700;
}

.pwa-network-status.is-offline {
  background: #8c3c15;
}

@media (max-width: 767.98px) {
  .app-body--authenticated {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .app-body--authenticated .footer {
    display: none;
  }

  .mobile-app-nav {
    position: fixed;
    z-index: 1100;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    min-height: 66px;
    padding: 7px 4px 6px;
    border: 1px solid rgba(6, 59, 76, 0.12);
    border-radius: 22px;
    background: rgba(250, 253, 253, 0.96);
    box-shadow: 0 16px 42px rgba(4, 42, 55, 0.2);
    backdrop-filter: blur(16px);
  }

  .dashboard-empty-state__actions {
    flex-direction: column;
  }

  .dashboard-empty-state__actions .btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-app-nav__item {
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    border-radius: 14px;
    color: #5d737b;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    transition: color 120ms ease, background-color 120ms ease, transform 120ms ease;
  }

  .mobile-app-nav__item.is-pending {
    transform: scale(0.96);
  }

  .mobile-app-nav__item > i {
    font-size: 1.25rem;
  }

  .mobile-app-nav__item.is-active {
    color: #006b83;
    background: #e6f5f7;
  }

  .mobile-app-nav__item--primary {
    color: #71300d;
  }

  .mobile-app-nav__primary-icon {
    width: 38px;
    height: 38px;
    margin-top: -22px;
    display: grid;
    place-items: center;
    border: 4px solid #fafdfe;
    border-radius: 50%;
    background: #ff7a1a;
    color: #10242b;
    box-shadow: 0 8px 20px rgba(255, 122, 26, 0.35);
    font-size: 1.25rem;
  }

  .mobile-app-nav__item--primary.is-active {
    background: transparent;
    color: #71300d;
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-app-nav__item {
      transition: none;
    }
  }

  .pwa-network-status {
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
    text-align: center;
  }
}
