:root {
  --primary-color: #fcfeff;
  --secondary-color: #dbeedc;
  --accent-color: #e6dccb;
  --highlight-color: #d5c8eb;
  --neutral-color: #f5f5f5;
  --primary-dark: #3f7192;
  --secondary-dark: #336f39;
  --accent-dark: #723200;
  --highlight-dark: #725ca6;
  --neutral-dark: #484848;
  --text-light: #666666;
  --border-light: #f8f8f8;
}

* {
  box-sizing: border-box;
}

/* Fix for any element that was using Sal.js for animations */
[data-sal],
[data-sal-delay],
[data-sal-duration],
[data-sal-easing],
.sal-animate,
.sal-disabled {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  display: block !important;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
  overflow-x: hidden;
}

/* Enhanced reduced motion query for all devices */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-property: none !important;
    transform: none !important;
  }
}

/* Mobile-specific override regardless of prefers-reduced-motion setting */
@media (max-width: 767.98px) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-property: none !important;
    transform: none !important;
  }
  
  .custom-card:hover,
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .btn-primary:hover,
  .social-link:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Header */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--neutral-dark);
  padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 225px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Section Styling */
.section-padding {
  padding: 5rem 0;
}

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

.section-subtitle {
  font-size: 1.3rem;
  color: var(--highlight-dark);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Cards */
.custom-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.custom-card h5 {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.custom-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Service Cards */
.service-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-dark);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(29, 72, 97, 0.15);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--highlight-dark);
  margin: 1rem 0;
}

.service-features {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--neutral-color);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Price Plan */
.price-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--highlight-dark);
  transform: scale(1.05);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--highlight-dark);
  margin: 1.5rem 0;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.2rem rgba(40, 94, 109, 0.25);
}

.btn-primary {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--highlight-dark);
  border-color: var(--highlight-dark);
  transform: translateY(-2px);
}

/* FAQ Cards */
.faq-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

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

/* Gallery */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--neutral-color);
}

/* Footer */
footer {
  background: var(--neutral-dark);
  color: white;
  padding: 3rem 0 1rem;
}

footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

footer p, footer a {
  color: #d3d3d3;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

/* Blog */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--highlight-dark);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--primary-color);
}

.breadcrumb-img {
  width: 24px;
  height: 24px;
  object-fit: cover;
} 


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
