:root {
  --primary-color: #4F46E5;
  --secondary-color: #06B6D4;
  --accent-color: #F59E0B;
  --success-color: #10B981;
  --warning-color: #EF4444;
  --light-color: #F8FAFC;
  --dark-color: #1E293B;
  --text-color: #475569;
  --muted-color: #94A3B8;
  --border-color: #E2E8F0;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--accent-color), var(--success-color));
  --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--success-color));
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  margin: 0 10px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../FUN_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--box-shadow-lg);
}

/* Section Spacing */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-color);
  margin-bottom: 30px;
  text-align: center;
}

.section-desc {
  color: var(--text-color);
  margin-bottom: 50px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: none;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.card-desc {
  color: var(--text-color);
  margin-bottom: 20px;
}

/* Services */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-features {
  color: var(--muted-color);
  margin-bottom: 20px;
}

/* Team */
.team-member {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--border-color);
}

.team-member-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.team-member-role {
  color: var(--muted-color);
  margin-bottom: 15px;
}

/* Reviews */
.reviews-slider {
  margin-top: 50px;
}

.review-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin: 0 15px;
  text-align: center;
}

.review-text {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 20px;
}

.review-author {
  font-weight: 600;
  color: var(--dark-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
}

.faq-question {
  padding: 20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  transform: translateX(5px);
}

.faq-answer {
  padding: 20px;
  color: var(--text-color);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery */

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--box-shadow);
  margin-top: 50px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
  margin-top: 80px;
}

.footer h5 {
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: var(--light-color);
  padding: 20px 0;
  margin-top: 80px;
}

.breadcrumb img {
  width: 100%;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.animate-on-scroll.animated {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Notifications */
.notification {
  box-shadow: var(--box-shadow-lg);
  border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.notification-close {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition);
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Form Validation Styles */
.is-invalid {
  border-color: var(--warning-color) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.is-valid {
  border-color: var(--success-color) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.invalid-feedback {
  color: var(--warning-color);
  font-size: 0.875rem;
  margin-top: 5px;
  display: block;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Lazy Loading Images */
.lozad {
  transition: opacity 0.3s ease;
  opacity: 0;
}

.lozad.loaded {
  opacity: 1;
}

/* Lightbox Customization */
.lb-outerContainer {
  border-radius: 10px;
  overflow: hidden;
}

.lb-dataContainer {
  background: var(--dark-color);
  border-radius: 0 0 10px 10px;
}

.lb-data .lb-details {
  color: white;
}

.lb-data .lb-caption {
  font-size: 16px;
  font-weight: 500;
}

.lb-data .lb-number {
  color: var(--muted-color);
}

/* Enhanced Gallery Hover Effects */
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.gallery a::before {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(79, 70, 229, 0.8);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.gallery a:hover::before,
.gallery a:hover::after {
  opacity: 1;
}

/* FAQ Improvements */
.faq-question::after {
  content: '\f067';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  float: right;
  transition: var(--transition);
}

.faq-question.active::after {
  content: '\f068';
  transform: rotate(180deg);
}

/* Scroll Animations */
[data-sal] {
  transition-duration: 0.6s;
}

/* Back to Top Button */
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

/* Progress Bar Container */
#nanobar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
}

/* Enhanced Cards */
.card.enhanced {
  background: linear-gradient(135deg, white, rgba(79, 70, 229, 0.02));
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.card.enhanced:hover {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, white, rgba(79, 70, 229, 0.05));
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
    margin: 0 auto;
  }
  
  .gallery a::before {
    font-size: 20px;
  }
  
  .back-to-top {
    bottom: 15px !important;
    right: 15px !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 16px !important;
  }
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-primary);
  border-radius: 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-align: center;
}

/* Reduced Motion Compatibility */
@media (prefers-reduced-motion: reduce) {
  .lozad {
    opacity: 1;
  }
  
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
