/* Fitness Trainer Certification Template - Main CSS */

/* Color Palette - 5 primary colors with light/dark shades */
:root {
  --primary-coral: #ff545f;
  --primary-coral-light: #ffafaa;
  --primary-coral-dark: #e84f42;
  
  --primary-mint: #58e3c5;
  --primary-mint-light: #7ad2d7;
  --primary-mint-dark: #28958a;
  
  --primary-gold: #ffdb53;
  --primary-gold-light: #f7cf70;
  --primary-gold-dark: #ffe15d;
  
  --primary-violet: #9bdacb;
  --primary-violet-light: #c1f5e9;
  --primary-violet-dark: #6dcd88;
  
  --primary-peach: #ffd0b7;
  --primary-peach-light: #f7b2b0;
  --primary-peach-dark: #ff847c;
  
  --gradient-hero: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-mint) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-peach) 100%);
  --gradient-section: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-mint-light) 100%);
  
  --text-dark: #395261;
  --text-light: #ffffff;
  --text-muted: #626e77;
  --bg-light: #f8f9fa;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Conservative typography */
h1 { font-size: 2.35rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 1.90rem; font-weight: 600; margin-bottom: 0.89rem; }
h3 { font-size: 1.41rem; font-weight: 600; margin-bottom: 0.66rem; }
h4 { font-size: 1.26rem; font-weight: 500; margin-bottom: 0.66rem; }
p { font-size: 1rem; margin-bottom: 1rem; }

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.37rem !important;
  font-weight: 700;
  color: var(--primary-coral) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-coral) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  width: 1.5em;
  height: 1.5em;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  background-color: var(--primary-coral);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -0.5em;
}

.navbar-toggler-icon::after {
  bottom: -0.5em;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../XUH_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) { top: 10%; right: 10%; animation-delay: 0s; }
.hero-shape:nth-child(2) { bottom: 20%; left: 15%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-coral);
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-mint);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--gradient-section);
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-content {
  padding: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.3rem 0;
  color: var(--text-muted);
}

.service-features li::before {
  content: 'âœ“';
  color: var(--primary-mint);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Features Section */
.features-section {
  background: var(--bg-light);
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--primary-coral-light);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-coral);
  box-shadow: 0 0 0 0.2rem rgba(255, 87, 90, 0.25);
}

.btn-primary {
  background: var(--gradient-accent);
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.71rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-coral);
}

.footer-contact h5 {
  color: var(--primary-mint);
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section { min-height: 80vh; }
  .section { padding: 60px 0; }
  h1 { font-size: 1.91rem; }
  h2 { font-size: 1.60rem; }
  .price-card.featured { transform: none; }
  .hero-shape { display: none; }
}

/* Additional styling for complete template */

/* Price Cards */
.price-card {
  background: white;
  border: 2px solid var(--primary-coral-light);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.price-card.featured {
  border-color: var(--primary-coral);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin: 1rem 0;
}

/* Team Section */
.team-section {
  background: var(--gradient-section);
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-photo {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  color: var(--primary-coral);
  font-weight: 600;
  margin-bottom: 0.60rem;
}

.team-role {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Reviews Section */
.reviews-section {
  background: var(--bg-light);
}

.review-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 1rem;
  text-align: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.59rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.review-author {
  font-weight: 600;
  color: var(--primary-coral);
}

/* Case Study Section */
.casestudy-section {
  background: white;
}

.case-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

/* Process Section */
.process-section {
  background: var(--gradient-section);
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.55rem;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-section {
  background: var(--bg-light);
}

.timeline-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-coral);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Career Section */
.career-section {
  background: white;
}

.career-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--gradient-section);
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2.59rem;
  color: var(--primary-mint);
  margin-bottom: 1rem;
}

/* Blog Section */
.blog-section {
  background: white;
}

.blog-card {
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-mint);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--primary-mint-dark);
}

/* FAQ Section */
.faq-section {
  background: var(--gradient-section);
}

.faq-card {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  background: var(--primary-coral-light);
  padding: 1.5rem;
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-coral);
  color: white;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-muted);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
.gallery-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

/* Contact Info styling */
.contact-info {
  background: var(--gradient-hero);
  color: white;
  border-radius: 20px;
  padding: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.64rem;
}

.contact-icon {
  font-size: 1.53rem;
  margin-right: 1rem;
  width: 40px;
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 2rem 0;
  background: var(--bg-light);
  text-align: center;
}

.breadcrumb-image {
  width: 60px;
  height: 40px;
  background: url('../XUH_images/breadcrumb.webp') center/cover;
  border-radius: 8px;
  margin: 0 auto;
}

/* Animation classes */
.animate-in {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Selected price card */
.price-card.selected {
  border-color: var(--primary-coral);
  background: var(--primary-coral-light);
  transform: translateY(-5px) !important;
}

.price-card {
  cursor: pointer;
}

/* Utility Classes */
.bg-gradient-primary { background: var(--gradient-hero); }
.bg-gradient-accent { background: var(--gradient-accent); }
.bg-gradient-section { background: var(--gradient-section); }
.text-primary-coral { color: var(--primary-coral); }
.text-primary-mint { color: var(--primary-mint); } 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
