:root {
  /* Primary color palette - 5 colors + light/dark shades */
  --primary-blue: #2563eb;
  --primary-blue-light: #60a5fa;
  --primary-blue-dark: #1d4ed8;
  
  --primary-teal: #0d9488;
  --primary-teal-light: #5eead4;
  --primary-teal-dark: #0f766e;
  
  --primary-slate: #475569;
  --primary-slate-light: #cbd5e1;
  --primary-slate-dark: #334155;
  
  --primary-amber: #f59e0b;
  --primary-amber-light: #fde68a;
  --primary-amber-dark: #d97706;
  
  --primary-emerald: #059669;
  --primary-emerald-light: #a7f3d0;
  --primary-emerald-dark: #047857;
  
  /* Additional theme colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-900: #111827;
}

/* Bootstrap 5 customizations */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-blue-dark));
  transform: translateY(-2px);
}

/* Typography - Conservative font sizes */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--primary-slate-dark);
}

.navbar-brand {
    font-size: 12px !important;
  font-size: 1.25rem !important;
  font-weight: 700;
  color: var(--primary-teal-dark) !important;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-slate-dark);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-slate-dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  font-weight: 500;
  color: var(--primary-slate) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-teal) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-teal-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('../CAF_images/ccs_hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--primary-amber-light), var(--primary-emerald-light));
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-top: 1rem;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-teal-light);
}

/* Reviews/Testimonials */
.reviews-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-slate-light), var(--primary-blue-light));
}

.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--primary-slate-light);
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.25);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.accordion-button {
  background-color: var(--white);
  color: var(--primary-slate-dark);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-teal-light);
  color: var(--primary-slate-dark);
}

/* Footer */
.footer {
  background: var(--primary-slate-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer a {
  color: var(--primary-teal-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-amber-light);
}

/* Gallery */
.gallery-section {
  padding: 80px 0;
  background: var(--white);
}

.gallery-item {
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Price Plan Section */
.priceplan-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 100%;
}

.price-card.featured {
  border: 3px solid var(--primary-teal);
  transform: scale(1.05);
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin: 1rem 0;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background: var(--white);
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding {
  padding: 80px 0;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-teal-light));
}

/* Step numbers for process section */
.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Year indicators for timeline section */
.year {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-amber), var(--primary-emerald));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Case study section */
.casestudy-section {
  padding: 80px 0;
  background: var(--white);
}

/* Timeline section styling */
.timeline-section {
  padding: 80px 0;
  background: var(--white);
}

/* Career section styling */
.career-section {
  padding: 80px 0;
  background: var(--gray-50);
}

/* Core info section styling */
.coreinfo-section {
  padding: 80px 0;
  background: var(--white);
}

/* Additional animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Enhanced review cards */
.review-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-teal-light);
  font-family: serif;
}

/* Enhanced accordion styling */
.accordion-item {
  border: none;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  background-color: var(--white);
  color: var(--primary-slate-dark);
  font-weight: 600;
  border: none;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-teal-light);
  color: var(--primary-slate-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25);
}

.accordion-body {
  padding: 1.25rem 1.5rem;
  background-color: var(--gray-50);
}

/* Enhanced blog cards */
.blog-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.blog-card h4 {
  margin-bottom: 1rem;
  color: var(--primary-slate-dark);
}

.blog-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: var(--primary-slate);
}

.blog-card .btn {
  margin-top: auto;
}

/* Enhanced team section */
.team-member {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-teal-light);
  transition: border-color 0.3s ease;
}

.team-member:hover img {
  border-color: var(--primary-teal);
}

.team-member h5 {
  color: var(--primary-slate-dark);
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--primary-teal);
  font-weight: 500;
}

/* Enhanced gallery */
.gallery-item {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 148, 136, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item a:hover::after {
  opacity: 1;
}

/* Process section enhancements */
.process-section .feature-item {
  position: relative;
  padding: 2rem 1rem;
}

.process-section .feature-item::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  color: var(--primary-teal);
  font-size: 2rem;
  font-weight: bold;
}

.process-section .feature-item:last-child::after {
  display: none;
}

/* Timeline section enhancements */
.timeline-section .feature-item {
  position: relative;
}

.timeline-section .feature-item::before {
  content: '';
  position: absolute;
  top: 40px;
  right: -1px;
  width: 2px;
  height: 100px;
  background: var(--primary-teal-light);
}

.timeline-section .feature-item:last-child::before {
  display: none;
}

/* Mobile responsiveness for new elements */
@media (max-width: 767.98px) {
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .year {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .process-section .feature-item::after {
    display: none;
  }
  
  .timeline-section .feature-item::before {
    display: none;
  }
} 