/* CSS Variables for Modern Bright Design System */
:root {
  /* Primary Brand Colors - Bright & Vibrant */
  --primary-color: #ff6b35;
  --primary-hover: #e55a2b;
  --primary-light: #ff8c69;
  --primary-dark: #cc4420;
  
  /* Secondary Colors */
  --secondary-color: #4ecdc4;
  --secondary-hover: #45b7b8;
  --secondary-light: #6bccc4;
  --secondary-dark: #3aa39c;
  
  /* Accent Colors */
  --accent-purple: #9b59b6;
  --accent-blue: #3498db;
  --accent-green: #2ecc71;
  --accent-yellow: #f1c40f;
  --accent-pink: #e91e63;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-blue) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(155, 89, 182, 0.9) 100%);
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-normal: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-slow: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

/* Typography Overrides */
.title {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  color: var(--dark-gray);
}

.subtitle {
  font-family: var(--font-body) !important;
  color: var(--medium-gray);
}

/* Global Button Styles */
.button, .btn, input[type='submit'], button {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button.is-primary, .btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.button.is-primary:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button.is-secondary, .btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
}

.button.is-light {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button.is-light:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Bounce Animation */
.bounce-animation {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-md);
}

.navbar-item {
  color: var(--dark-gray) !important;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-item:hover {
  color: var(--primary-color) !important;
  background: transparent !important;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

.navbar-brand .navbar-item {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

/* Main Content Padding */
.main-content {
  padding-top: 60px;
}

/* Hero Section */
.hero.is-fullheight {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  padding: var(--spacing-lg);
}

.hero .title {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-md);
}

.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-lg);
}

/* Parallax Effect */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Section Styles */
.section {
  padding: var(--spacing-xl) 0;
}

.section.has-background-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Card Styles */
.card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* Image Containers */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  height: 250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card .card-image {
  height: 250px;
  overflow: hidden;
}

/* Team Cards */
.team-card {
  background: var(--white);
  text-align: center;
  position: relative;
}

.team-card .image-container {
  height: 300px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  width: 200px;
}

.team-card .image-container img {
  border-radius: 50%;
}

/* Partner Cards */
.partner-card {
  background: var(--white);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.partner-card:hover::before {
  opacity: 1;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  position: relative;
  padding: var(--spacing-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
  line-height: 1;
}

/* Vision Cards */
.vision-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  border-left: 4px solid var(--primary-color);
}

/* Contact Card */
.contact-card {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.contact-form .field {
  margin-bottom: var(--spacing-md);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--radius-sm);
  border: 2px solid #e9ecef;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form .label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-xs);
}

/* Footer Styles */
.footer {
  background: var(--dark-gray) !important;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: #adb5bd;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-links a {
  color: #adb5bd;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-fast);
}

.social-links a:hover::after {
  width: 100%;
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
}

.success-content {
  text-align: center;
  padding: var(--spacing-lg);
}

.success-content .title {
  color: var(--white) !important;
}

.success-content .subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
}

.glow-effect {
  box-shadow: var(--shadow-glow);
}

/* Read More Links */
.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-hover);
  transform: translateX(5px);
}

.read-more::after {
  content: ' →';
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-content {
    padding: var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .team-card .image-container {
    width: 150px;
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.2rem !important;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
  
  .team-card .image-container {
    width: 120px;
    height: 150px;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-content {
    padding: var(--spacing-sm);
  }
  
  .card-content {
    padding: var(--spacing-sm);
  }
  
  .buttons.is-centered .button {
    margin-bottom: var(--spacing-xs);
  }
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* AOS Animation Overrides */
[data-aos="fade-up"] {
  animation: fadeInUp 0.8s ease-out;
}

[data-aos="fade-left"] {
  animation: slideInLeft 0.8s ease-out;
}

[data-aos="fade-right"] {
  animation: slideInRight 0.8s ease-out;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .button,
  .btn {
    display: none !important;
  }
  
  .main-content {
    padding-top: 0;
  }
  
  .section {
    padding: var(--spacing-sm) 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #d63384;
    --secondary-color: #0d6efd;
    --dark-gray: #000000;
    --medium-gray: #333333;
  }
}

/* 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;
  }
  
  .bounce-animation {
    animation: none;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
}

/* Focus Styles for Accessibility */
button:focus,
.button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

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