/* ===== EHGEZLY PORTFOLIO WEBSITE STYLES ===== */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #10b981;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
  --frost-blur: 2px;
  --shadow-offset: 0;
  --shadow-blur: 20px;
  --shadow-spread: -5px;
  --shadow-color: rgba(255, 255, 255, 0.7);

  /* Painted glass */
  --tint-color: 255, 255, 255;
  --tint-opacity: 0.4;

  /* Background frost */
  --frost-blur: 2px;

  /* SVG noise/distortion */
  --noise-frequency: 0.008;
  --distortion-strength: 77;

  /* Outer shadow blur */
  --outer-shadow-blur: 24px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.glassEffect {
    isolation: isolate;
    touch-action: none;
    box-shadow: 0px 6px var(--outer-shadow-blur) rgba(0, 0, 0, 0.2);
}
 .glassEffect::before {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 0;
   border-radius: 28px;
   box-shadow:
     inset var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-spread) var(--shadow-color);
   background-color: rgba(var(--tint-color), var(--tint-opacity));
 }

 .glassEffect::after {
   content: '';
   position: absolute;
   inset: 0;
   z-index: -1;
   border-radius: 28px;
   backdrop-filter: blur(var(--frost-blur));
   filter: url(#glass-distortion);
   isolation: isolate;
   -webkit-backdrop-filter: blur(var(--frost-blur));
   -webkit-filter: url("#glass-distortion");
 }

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 4;
  transition: var(--transition);
}

.navbar.scrolled {
  background: transparent;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {

  color: var(--text-white);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Enable 3D transforms for smoother animations */
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 background-color: rgba(0, 0, 0, 0.271);
  opacity: 0.3;
}

.hero-content .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.0rem;
  margin-top: 1.7rem;
  font-weight: 800;
  /* text-shadow: 2px 2px #000000ab; */
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.3s ease-in-out;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  margin: 10px 0;
}

.btn-primary {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: var(--text-inverse);
  border: 2px solid
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--brand-secondary);
  color: var(--text-primary);
}

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

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

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

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-white);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-light);
  line-height: 1.6;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Feature Sections */
.features {
  background: var(--bg-light);
}

.feature-card {
  text-align: center;
}

.app-showcase {
  padding: 5rem 0;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-content h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.app-features {
  list-style: none;
  margin: 2rem 0;
}

.app-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.app-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.75rem;
}

.phone-mockup {
  text-align: center;
}

.phone-mockup img {
  max-width: 300px;
  height: auto;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
}

/* Statistics */
.stats {
  background: var(--text-dark);
  color: var(--text-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stats-item h3 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer-section p,
.footer-section a {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}


.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--text-white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: var(--text-light);
}

/* Hero Section */
.sports-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.sport-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transform: scale(1.1); /* Start slightly zoomed in */
  animation: zoomOut 20s ease-out infinite; /* Continuous slow zoom out */
  /* Add slight blur during transition for smoothness */
  filter: blur(0px);
}

.sport-bg.active {
  opacity: 1;
  animation: sportEntrance 1.5s linear forwards, activeZoomOut 10s linear 1.5s infinite;
  filter: blur(0px);
}

.sports-indicators {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
}

.sport-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 120px;
}

.sport-indicator.active {
  background: rgba(16, 185, 129, 0.9);
  border-color: var(--primary-color);
  transform: translateX(-5px);
}
.sport-indicator:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-5px);
}

/* Zoom out animation for inactive backgrounds */
@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.0);
  }
}

/* Zoom out animation for active backgrounds - matching entrance speed */
@keyframes activeZoomOut {
  0% {
    transform: scale(1.3); /* Start where sportEntrance ends */
  }
  100% {
    transform: scale(1.0); /* Consistent speed with entrance */
  }
}

/* Smooth entrance animation */
@keyframes sportEntrance {
  0% {
    opacity: 0;
    transform: scale(1.4);
  }
  100% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Fade out animation for smooth transitions */
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.0);
  }
}

/* Optimize animations for better performance */
.sport-bg,
.sport-bg.active {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Static Hero Backgrounds for Formal Pages */

/* Business Page - Professional Indoor Facility */
.hero.business-hero {
  background-image: url('../images/bg-business.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero.business-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

/* Help Page - Clean Gradient */
.hero.help-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.hero.help-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Privacy Page - Minimal Professional Gradient */
.hero.privacy-hero {
  background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
  position: relative;
}

.hero.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Terms Page - Corporate Blue Gradient */
.hero.terms-hero {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  position: relative;
}

.hero.terms-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Dark Mode Adjustments for Formal Pages */
.dark-mode .hero.business-hero::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 0, 0, 0.7));
}

.dark-mode .hero.help-hero {
  background: linear-gradient(135deg, #434343 0%, #000000 100%);
}

.dark-mode .hero.privacy-hero {
  background: linear-gradient(135deg, #434343 0%, #000000 100%);
}

.dark-mode .hero.terms-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Ensure content is above overlay */
.hero.business-hero .container,
.hero.help-hero .container,
.hero.privacy-hero .container,
.hero.terms-hero .container {
  position: relative;
  z-index: 2;
}

/* Responsive Sports Indicators */
@media (max-width: 768px) {
  .sports-indicators {
    display: none; /* Hide sports switching on mobile */
  }
  
  .sport-indicator {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: 0.5rem;
  }
  
  .dark-mode-toggle {
    margin-left: 0.5rem;
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  /* Hero section mobile fixes */
  .hero {
    padding: 5rem 0 2rem; /* Reduced padding for mobile */
    min-height: 100vh;
    min-height: 100dvh; /* Use dynamic viewport height on mobile */
  }
  
  .hero-title {
    font-size: 2rem; /* Smaller title for mobile */
    margin-top: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem; /* Smaller subtitle */
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  /* Hero buttons - side by side */
  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .hero-buttons .btn {
    flex: 1;
    max-width: 150px;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
  
  /* Stats horizontal layout */
  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .stat-item {
    flex: 1;
    text-align: center;
  }
  
  .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
  }
  
  .stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 600;
  }
  
  .app-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  /* Comprehensive Mobile Typography */
  h1 { 
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  h2 { 
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 { 
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  h4 { 
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  h5, h6 { 
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* Section specific mobile typography */
  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  
  /* Card typography */
  .card-title {
    font-size: 1.1rem !important;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  
  .card-text, .card p {
    font-size: 0.85rem !important;
    line-height: 1.4;
  }
  
  /* App content typography */
  .app-content h3 {
    font-size: 1.25rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  
  .app-content p {
    font-size: 0.875rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  .app-features li {
    font-size: 0.8rem !important;
    line-height: 1.4;
    margin-bottom: 0.25rem;
  }
  
  /* Stats typography */
  .stats-item h3 {
    font-size: 2rem !important;
    line-height: 1.1;
  }
  
  .stats-item p {
    font-size: 0.8rem !important;
    line-height: 1.3;
  }
  
  /* About section typography */
  .about-highlights h4 {
    font-size: 1rem !important;
    line-height: 1.3;
  }
  
  .about-highlights p {
    font-size: 0.85rem !important;
    line-height: 1.4;
  }
  
  /* Contact typography */
  .contact-item h4 {
    font-size: 1rem !important;
    line-height: 1.3;
  }
  
  .contact-item p {
    font-size: 0.85rem !important;
    line-height: 1.4;
  }
  
  /* Form typography */
  .contact-form label {
    font-size: 0.9rem !important;
  }
  
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 0.9rem !important;
  }
  
  /* Footer typography */
  .footer h4 {
    font-size: 1rem !important;
    line-height: 1.3;
  }
  
  .footer p, .footer a {
    font-size: 0.85rem !important;
    line-height: 1.4;
  }
  
  /* Button typography */
  .btn {
    font-size: 0.85rem !important;
    padding: 0.6rem 1.2rem;
  }
  
  /* General paragraph and text sizing */
  p {
    font-size: 0.9rem !important;
    line-height: 1.4;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  
  .hero-buttons .btn {
    max-width: none;
    width: 100%;
    justify-content: center;
    font-size: 0.8rem !important;
  }
  
  .hero-stats {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .stat-number {
    font-size: 1.1rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  /* Even smaller typography for very small screens */
  h1 { 
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
  
  h2 { 
    font-size: 2rem !important;
    line-height: 1.3;
  }
  
  h3 { 
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
  
  h4 { 
    font-size: 1rem !important;
    line-height: 1.4;
  }
  
  .section-title {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem !important;
    line-height: 1.4;
  }
  
  .card-title {
    font-size: 1rem !important;
    line-height: 1.3;
  }
  
  .card-text, .card p {
    font-size: 0.8rem !important;
    line-height: 1.4;
  }
  
  .app-content h3 {
    font-size: 1.5rem !important;
  }
  
  .app-content p {
    font-size: 1rem !important;
  }
  
  .app-features li {
    font-size: 0.9rem !important;
  }
  
  .stats-item h3 {
    font-size: 1.75rem !important;
  }
  
  .stats-item p {
    font-size: 0.75rem !important;
  }
  
  p {
    font-size: 1rem !important;
    line-height: 1.4;
  }
  
  .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem;
  }
  
  /* Reduce section padding further */
  .section {
    padding: 2rem 0;
  }
}

/* Very small screens (320px-375px phones) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .hero-buttons .btn {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.8rem;
  }
  
  .hero-stats {
    gap: 0.75rem;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  h1 { 
    font-size: 1.3rem !important;
  }
  
  h2 { 
    font-size: 1.1rem !important;
  }
  
  h3 { 
    font-size: 1rem !important;
  }
  
  .section-title {
    font-size: 1.1rem !important;
  }
  
  .section-subtitle {
    font-size: 0.75rem !important;
  }
  
  .card-title {
    font-size: 0.95rem !important;
  }
  
  .card-text, .card p {
    font-size: 0.75rem !important;
  }
  
  p {
    font-size: 0.75rem !important;
  }
  
  .btn {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.8rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.color-primary { color: var(--primary-color); }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
