/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/* AI HealthCross - Complete CSS for WordPress Implementation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Responsive utilities */
.responsive-text-xs { font-size: clamp(0.6rem, 1.5vw, 0.75rem); font-weight: 400; }
.responsive-text-sm { font-size: clamp(0.75rem, 2vw, 0.875rem); font-weight: 400; }
.responsive-text-base { font-size: clamp(0.875rem, 2.5vw, 1rem); font-weight: 500; }
.responsive-text-lg { font-size: clamp(1rem, 3vw, 1.125rem); font-weight: 500; }
.responsive-text-xl { font-size: clamp(1.125rem, 3.5vw, 1.25rem); font-weight: 600; }
.responsive-text-2xl { font-size: clamp(1.25rem, 4vw, 1.5rem); font-weight: 600; }
.responsive-text-3xl { font-size: clamp(1.5rem, 5vw, 1.875rem); font-weight: 700; }
.responsive-text-4xl { font-size: clamp(1.875rem, 6vw, 2.25rem); font-weight: 700; }
.responsive-text-5xl { font-size: clamp(2.25rem, 7vw, 3rem); font-weight: 800; }
.responsive-text-6xl { font-size: clamp(3rem, 8vw, 3.75rem); font-weight: 800; }
.responsive-text-7xl { font-size: clamp(3.75rem, 10vw, 4.5rem); font-weight: 900; }
.responsive-text-8xl { font-size: clamp(4.5rem, 12vw, 6rem); font-weight: 900; }

/* Improved spacing */
.responsive-padding { 
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 640px) {
  .responsive-padding {
    padding: clamp(1rem, 6vw, 1.5rem);
    padding-left: clamp(1.25rem, 6vw, 2rem);
    padding-right: clamp(1.25rem, 6vw, 2rem);
  }
}

.responsive-margin { margin: clamp(0.5rem, 2vw, 1rem); }
.responsive-gap { gap: clamp(1.5rem, 4vw, 2.5rem); }

/* Section spacing improvements */
section:not(.hero-section) {
  padding-top: clamp(5rem, 10vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 10rem);
}

@media (max-width: 640px) {
  section:not(.hero-section) {
    padding-top: clamp(4rem, 10vw, 6rem);
    padding-bottom: clamp(4rem, 10vw, 6rem);
    margin-top: 2rem;
  }
}

/* Neumorphic Design System */
.neu-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  box-shadow: 
    clamp(6px, 1.2vw, 12px) clamp(6px, 1.2vw, 12px) clamp(20px, 4vw, 40px) rgba(10, 14, 26, 0.8),
    clamp(-6px, -1.2vw, -12px) clamp(-6px, -1.2vw, -12px) clamp(20px, 4vw, 40px) rgba(44, 62, 92, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: clamp(12px, 2vw, 20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.neu-card:hover {
  transform: translateY(clamp(-2px, -0.5vw, -4px));
  box-shadow: 
    clamp(8px, 1.6vw, 16px) clamp(8px, 1.6vw, 16px) clamp(30px, 6vw, 60px) rgba(10, 14, 26, 0.9),
    clamp(-8px, -1.6vw, -16px) clamp(-8px, -1.6vw, -16px) clamp(30px, 6vw, 60px) rgba(44, 62, 92, 0.4),
    0 clamp(8px, 1.6vw, 16px) clamp(20px, 4vw, 40px) rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

.neu-button {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 
    clamp(3px, 0.6vw, 6px) clamp(3px, 0.6vw, 6px) clamp(10px, 2vw, 20px) rgba(10, 14, 26, 0.6),
    clamp(-3px, -0.6vw, -6px) clamp(-3px, -0.6vw, -6px) clamp(10px, 2vw, 20px) rgba(44, 62, 92, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: clamp(8px, 1.5vw, 12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.neu-button:hover {
  transform: translateY(clamp(-1px, -0.25vw, -2px));
  box-shadow: 
    clamp(4px, 0.8vw, 8px) clamp(4px, 0.8vw, 8px) clamp(15px, 3vw, 30px) rgba(10, 14, 26, 0.7),
    clamp(-4px, -0.8vw, -8px) clamp(-4px, -0.8vw, -8px) clamp(15px, 3vw, 30px) rgba(44, 62, 92, 0.3),
    0 clamp(4px, 0.8vw, 8px) clamp(12px, 2.4vw, 24px) rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
}

.neu-inset {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow: 
    inset clamp(3px, 0.6vw, 6px) clamp(3px, 0.6vw, 6px) clamp(10px, 2vw, 20px) rgba(10, 14, 26, 0.8),
    inset clamp(-3px, -0.6vw, -6px) clamp(-3px, -0.6vw, -6px) clamp(10px, 2vw, 20px) rgba(44, 62, 92, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.05);
  border-radius: clamp(8px, 1.5vw, 12px);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Text Colors */
.text-white { color: #ffffff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-blue-400 { color: #60a5fa; }
.text-cyan-400 { color: #22d3ee; }
.text-green-400 { color: #4ade80; }
.text-purple-400 { color: #a78bfa; }
.text-yellow-400 { color: #facc15; }

/* Background Colors */
.bg-blue-500\/20 { background-color: rgba(59, 130, 246, 0.2); }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800\/50 { background-color: rgba(30, 41, 59, 0.5); }

/* Form Styles */
input, select, textarea {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 100%;
}

input::placeholder, textarea::placeholder {
  color: #94a3b8;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

/* Spacing Utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

.rounded-full { border-radius: 9999px; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.opacity-60 { opacity: 0.6; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Animation classes */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Section Specific */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem 1.5rem;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 1rem 2rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 1rem 3rem;
  }
}

/* Navigation */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator .indicator {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid #60a5fa;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
}

.scroll-indicator .dot {
  width: 0.25rem;
  height: 0.75rem;
  background: #60a5fa;
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0,-10px,0);
  }
  70% {
    transform: translate3d(0,-5px,0);
  }
  90% {
    transform: translate3d(0,-2px,0);
  }
}

/* Footer */
.footer {
  background: #0f172a;
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3rem 1rem;
}

/* Interactive Elements */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.course-card {
  position: relative;
}

.course-featured {
  border-color: rgba(59, 130, 246, 0.3);
}

.course-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: #3b82f6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Tab System */
.tab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .tab-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tab-button {
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-button.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 640px) {
  .hero-section {
    min-height: 100vh;
    padding-top: 2rem;
  }
  
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .space-x-4 > * + * {
    margin-left: 0;
    margin-top: 1rem;
  }
}