/* Hero Header Styles with Blue Theme and Neumorphic Design */

:root {
  /* Blue Color Palette */
  --primary-blue: #2563eb;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #1d4ed8;
  --secondary-blue: #1e40af;
  --accent-blue: #60a5fa;
  --light-blue: #dbeafe;
  --very-light-blue: #f0f9ff;
  --blue-gradient-start: #e0f2fe;
  --blue-gradient-end: #bae6fd;
  
  /* Neumorphic Colors */
  --neu-light: #ffffff;
  --neu-shadow-light: #e2e8f0;
  --neu-shadow-dark: #cbd5e1;
  --neu-bg: #f8fafc;
}

/* Hero Header Container */
.hero-header {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-gradient-end) 100%);
  overflow: hidden;
  padding: 20px 0 80px;
}

/* Animated Background Shapes */
.hero-header__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 10%;
  animation-delay: 2s;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(37, 99, 235, 0.1));
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 8%;
  animation-delay: 4s;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.1));
}

.shape-4 {
  width: 70px;
  height: 70px;
  bottom: 15%;
  right: 15%;
  animation-delay: 1s;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Hero Content */
.hero-header__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-header__title {
  font-size: 1.875rem; /* Reduced from 2.25rem (36px to 30px) */
  font-weight: 700; /* font-bold */
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 1024px) {
  .hero-header__title {
    font-size: 3rem; /* Reduced from 3.75rem (60px to 48px) */
  }
}

.title-main {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.90);
}

.title-accent {
  color:#FFFFFF;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.90);
}

.hero-header__subtitle {
  font-size: 1rem; /* Reduced from 1.25rem (20px to 16px) */
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.90);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

/* Button Styles */
.hero-header__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 500; /* font-medium for button text */
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  min-width: 180px;
  justify-content: center;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: var(--neu-light);
  color: #64748b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  color: #475569;
  text-decoration: none;
  background: #f8fafc;
}

.icon-arrow-right {
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.btn-primary:hover .icon-arrow-right {
  transform: translateX(3px);
}

/* Neumorphic Elements */
.hero-header__content::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(20px);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-header {
    min-height: 50vh;
    padding: 100px 0 60px;
  }
  
  .hero-header__title {
    font-size: 1.75rem; /* Reduced from 2.25rem (36px to 28px) */
  }
  
  .hero-header__subtitle {
    font-size: 0.9375rem; /* Reduced from 1.125rem (18px to 15px) */
    margin-bottom: 2rem;
  }
  
  .hero-header__buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .shape {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-header__title {
    font-size: 1.5rem; /* Reduced from 1.875rem (30px to 24px) */
  }
  
  .hero-header__subtitle {
    font-size: 0.875rem; /* Reduced from 1rem (16px to 14px) */
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}
.hero-header__content {
  padding:2rem 2rem;
}
/* Additional Neumorphic Effects */
/*.hero-header__content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}*/

/* Enhanced Neumorphic Box Animations */
/*.hero-header__content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s ease-in-out infinite;
  z-index: -1;
}*/

/*@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}*/

/* Floating Elements */
.hero-header__content .title-main,
.hero-header__content .title-accent {
  display: inline-block;
  animation: gentle-float 4s ease-in-out infinite;
}

.hero-header__content .title-accent {
  animation-delay: 0.5s;
}

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Button Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Enhanced Shape Animations */
.shape {
  transition: all 0.3s ease;
}

.shape:hover {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-header__content {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  
  /* Disable some animations on mobile for better performance */
  .hero-header__content::after {
    animation: none;
  }
  
  .hero-header__content .title-main,
  .hero-header__content .title-accent {
    animation: none;
  }
  
  .shape:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-header__content {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  
  .hero-header__title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-header__subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    min-width: 160px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-header__content {
    backdrop-filter: blur(25px);
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .shape,
  .hero-header__content::before,
  .hero-header__content::after,
  .hero-header__content .title-main,
  .hero-header__content .title-accent {
    animation: none;
  }
  
  .btn::before {
    transition: none;
  }
}
