:root {
  --primary-color: #31623c;
  --secondary-color: #883e1c;
  --accent-color: #e47d44;
  --tertiary-color: #243d50;
  --quaternary-color: #df805a;
  
  --primary-light: #4f8e6b;
  --primary-dark: #16291e;
  --secondary-light: #a47343;
  --secondary-dark: #523516;
  --accent-light: #ffcf8a;
  --accent-dark: #db9f49;
  
  --text-primary: #3e4d62;
  --text-secondary: #6d8587;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 18.00px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.navbar-brand {
  font-size: 1.14rem !important;
  font-weight: 600;
  color: var(--primary-color) !important;
}

h1 {
  font-size: 2.07rem;
  font-weight: 700;
  margin-bottom: 1.06rem;
  color: var(--primary-color);
}

h2 {
  font-size: 1.89rem;
  font-weight: 600;
  margin-bottom: 0.95rem;
  color: var(--tertiary-color);
}

h3 {
  font-size: 1.53rem;
  font-weight: 600;
  margin-bottom: 0.64rem;
}

h4 {
  font-size: 1.36rem;
  font-weight: 500;
  margin-bottom: 0.64rem;
}

p {
  font-size: 1.07rem;
  margin-bottom: 1.06rem;
  color: var(--text-secondary);
}

.hero-section {
  padding-top: 50px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../KAF_images/hero-bg.webp') center center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-text {
  color: white;
}

.hero-text h1 {
  color: white;
  font-size: 2.63rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
}

.decorative-blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-color), var(--quaternary-color));
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.blob-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.section-padding {
  padding: 4rem 0;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(43, 83, 52, 0.10);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 15px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.06rem;
}

.service-price {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1.12rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 2.14rem;
}

.feature-item i {
  font-size: 3.08rem;
  color: var(--accent-color);
  margin-bottom: 1.06rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.06rem;
  border: 5px solid var(--accent-color);
}

.testimonial-slide {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.06rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1.06rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-secondary);
  display: none;
}

.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #f0f0f1;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1.07rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(50, 113, 78, 0.25);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--primary-dark), var(--tertiary-color));
  transform: translateY(-2px);
}

.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.price-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.price-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.price-card .price {
  font-size: 2.07rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 2.14rem;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-container {
  counter-reset: step-counter;
}

.timeline-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.14rem;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  border-left: 8px solid var(--accent-color);
}

.career-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2.14rem;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-3px);
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  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;
}

.case-study-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.core-info-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.core-info-item:hover {
  transform: translateY(-5px);
}

.breadcrumb-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

#space {
  min-height: 80vh;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
