:root {
  /* Primary Color Palette - High Contrast Pastels */
  --primary-blue: #589ed0;
  --primary-blue-light: #90c0f4;
  --primary-blue-dark: #305d86;
  
  --primary-coral: #f06069;
  --primary-coral-light: #f5827c;
  --primary-coral-dark: #df776b;
  
  --primary-mint: #4ccdbf;
  --primary-mint-light: #70d1c7;
  --primary-mint-dark: #3e878d;
  
  --primary-amber: #f9ca38;
  --primary-amber-light: #ffd064;
  --primary-amber-dark: #b99f1f;
  
  --primary-lavender: #b2edde;
  --primary-lavender-light: #cbffdd;
  --primary-lavender-dark: #7fb7a7;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--primary-blue), var(--primary-mint));
  --gradient-services: linear-gradient(45deg, var(--primary-coral-light), var(--primary-amber-light));
  --gradient-team: linear-gradient(135deg, var(--primary-lavender), var(--primary-blue-light));
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 16px;
  --font-size-large: 18px;
  --font-size-h1: 36px;
  --font-size-h2: 28px;
  --font-size-h3: 24px;
  --font-size-h4: 20px;
  --font-size-navbar-brand: 18px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 20px;
}

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #464343;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}

/* 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;
  }
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-size: var(--font-size-navbar-brand);
  font-weight: 700;
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #3b3637 !important;
  margin: 0 13px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
}

/* 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('../FAH_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: var(--font-size-h1);
  font-weight: 700;
  margin-bottom: 1.58rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--font-size-h3);
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-blue-dark);
}

.section-subtitle {
  text-align: center;
  color: #4d4a49;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: #838383;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: linear-gradient(45deg, #f8f9fa, #d7dfec);
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 17px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-6px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--gradient-services);
  color: white;
}

.services-item {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #232323;
  text-align: center;
}

.services-item:hover {
  transform: translateY(-10px);
}

.services-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.services-item-name {
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

.services-item-desc {
  margin-bottom: 1.55rem;
  color: #777777;
}

.services-item-price {
  font-size: var(--font-size-h3);
  font-weight: 700;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.services-item-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.68rem;
}

.services-item-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.services-item-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features-section {
  background: #f8f9fa;
}

.features-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 9px 17px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.features-item:hover {
  transform: translateY(-8px);
}

.features-item i {
  font-size: 3rem;
  color: var(--primary-mint);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background: var(--gradient-team);
}

.priceplan-item {
  background: white;
  border-radius: 17px;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.priceplan-item:hover {
  transform: translateY(-10px);
}

.priceplan-item-name {
  font-size: var(--font-size-h3);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

.priceplan-item-price {
  font-size: 2.53rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

.priceplan-item-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.priceplan-item-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* Team Section */
.team-section {
  background: #f8f9fa;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 5px solid var(--primary-lavender);
}

.team-member-name {
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 0.69rem;
  color: var(--primary-blue-dark);
}

.team-member-role {
  color: #545454;
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background: var(--gradient-hero);
  color: white;
}

.reviews-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.reviews-item-text {
  font-size: var(--font-size-large);
  font-style: italic;
  margin-bottom: 1rem;
}

.reviews-item-author {
  font-weight: 600;
  opacity: 0.9;
}

/* Case Study Section */
.casestudy-section {
  background: #f8f9fa;
}

.casestudy-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.casestudy-item-title {
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

/* Process Section */
.process-section {
  background: var(--gradient-services);
  color: white;
}

.process-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.process-item-title {
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-section {
  background: #f8f9fa;
}

.timeline-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary-blue);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--primary-blue-light);
}

/* Career Section */
.career-section {
  background: var(--gradient-team);
}

.career-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.career-item-title {
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

.career-item-role {
  color: var(--primary-coral);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Core Info Section */
.coreinfo-section {
  background: #f8f9fa;
}

.coreinfo-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--primary-amber);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-hero);
  color: white;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 3rem;
  margin-bottom: 2rem;
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.contact-form .btn-primary {
  background: var(--primary-coral);
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-coral-dark);
}

/* Blog Section */
.blog-section {
  background: #f8f9fa;
}

.blog-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-item-content {
  padding: 2rem;
}

.blog-item-title {
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

.blog-item-excerpt {
  color: #5e5c5c;
  margin-bottom: 1rem;
}

.blog-item-link {
  color: var(--primary-coral);
  text-decoration: none;
  font-weight: 500;
}

.blog-item-link:hover {
  color: var(--primary-coral-dark);
}

/* FAQ Section */
.faq-section {
  background: var(--gradient-services);
  color: white;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-question.active {
  background: rgba(255, 255, 255, 0.2);
}

.faq-answer {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Gallery Section */
.gallery-section {
  background: #f8f9fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: #1e1e1e;
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-lavender);
  margin-bottom: 1rem;
}

.footer a {
  color: #c6b8b9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-lavender);
}

.footer-bottom {
  border-top: 1px solid #4c4747;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: none;
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb img {
  height: 30px;
  width: auto;
}

/* Additional Page Styles */
.add-page-section {
  padding: var(--section-padding);
}

.add-page-section:nth-child(even) {
  background: #f8f9fa;
}

.add-page-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: var(--primary-coral);
  box-shadow: 0 0 0 0.2rem rgba(243, 92, 104, 0.25);
}

.error-message {
  margin-top: 1rem;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top-btn:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-3px);
}

/* Utilities */
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-gradient {
  background: var(--gradient-services);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  color: white;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
