:root {
  --primary-color-1: #525fec;
  --primary-color-2: #eea717;
  --primary-color-3: #06bf8e;
  --primary-color-4: #dc443a;
  --primary-color-5: #9e5dff;
  
  --light-shade-1: #f8faff;
  --light-shade-2: #ecdfbf;
  --light-shade-3: #ecfdf5;
  --light-shade-4: #fef2f2;
  --light-shade-5: #f5f3ff;
  
  --dark-shade-1: #1a1338;
  --dark-shade-2: #9b4119;
  --dark-shade-3: #004634;
  --dark-shade-4: #8d1f24;
  --dark-shade-5: #46177c;
  
  --font-size-base: 16px;
  --navbar-brand-size: 1.25rem;
  --h1-size: 2.5rem;
  --p-size: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #312e2f;
  background-color: #fff;
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: var(--primary-color-1) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color-1) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-5) 100%);
  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('../KAR_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--h1-size);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.33rem;
  color: #eff2f9;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: var(--p-size);
  color: #aebcd6;
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-21px); }
}

/* Section Styling */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-shade-1);
}

.section-subtitle {
  font-size: 1.22rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color-1);
}

.section-desc {
  font-size: var(--p-size);
  text-align: center;
  margin-bottom: 3rem;
  color: #5a6581;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Cards - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.service-card:hover {
  box-shadow: 0 23px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color-1);
}
*/

/* Service card content styles - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.67rem;
}

.service-card h4 {
  font-size: 1.30rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-shade-1);
}

.service-card p {
  font-size: var(--p-size);
  color: #697594;
  margin-bottom: 1.66rem;
}
*/

.service-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary-color-2);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.70rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: #727d91;
  font-size: 1.03rem;
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color-3);
  margin-right: 0.5rem;
}

/* Testimonials - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}
*/

.testimonial-text {
  font-size: var(--p-size);
  color: #606e80;
  margin-bottom: 1.74rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-shade-1);
}

/* Team Cards - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.team-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
}
*/

/* Team card content styles - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.58rem;
  border: 4px solid var(--primary-color-1);
}

.team-card h5 {
  font-size: 1.17rem;
  font-weight: 600;
  margin-bottom: 0.62rem;
  color: var(--dark-shade-1);
}
*/

.team-role {
  font-size: 1.03rem;
  color: var(--primary-color-1);
}

/* FAQ */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #e8eefb;
  overflow: hidden;
}

.faq-question {
  background: var(--light-shade-1);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--dark-shade-1);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #d8d8d8;
}

.faq-answer {
  padding: 1.5rem;
  color: #6c7d8d;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-control {
  border: 2px solid #d2d5d8;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: var(--p-size);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color-1);
  box-shadow: 0 0 0 0.2rem rgba(112, 102, 238, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-5) 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dark-shade-1) 0%, var(--dark-shade-5) 100%);
}

/* Footer */
.footer {
  background: var(--dark-shade-1);
  color: #d3e6f8;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer a {
  color: #bbd5e4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color-1);
}

.footer-bottom {
  border-top: 1px solid #39445b;
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Price Plans - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.price-card {
  background: #fff;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.price-card.featured {
  border: 3px solid var(--primary-color-1);
}

.price-card:hover {
}

.price-card.featured:hover {
}
*/

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.88rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .hero-shape {
    display: none;
  }
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-shade-1);
}

.breadcrumb-image {
  width: 20px;
  height: 20px;
}

/* Blog Grid - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/* Use Bootstrap 5 row/col classes instead */
/*
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
*/

/* Blog Cards - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
}
*/

/* Blog card content styles - DISABLED FOR BOOTSTRAP 5 COMPATIBILITY */
/*
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h4 {
  font-size: 1.27rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-shade-1);
}

.blog-card p {
  color: #4e6173;
  margin-bottom: 1rem;
}

.blog-card a {
  color: var(--primary-color-1);
  text-decoration: none;
  font-weight: 500;
}

.blog-card a:hover {
  text-decoration: underline;
}
*/ 


/* 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;
    }
}

/* COMPLETE BOOTSTRAP 5 GRID COMPATIBILITY OVERRIDE */
/* Completely disable all custom card styling that conflicts with Bootstrap 5 */

/* Reset ALL -card elements to work with Bootstrap grid */
[class*="-card"] {
  /* Reset positioning and spacing */
  margin: 0 !important;
  padding: 1rem !important; /* Only basic padding for content */
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  
  /* Reset positioning */
  position: static !important;
  float: none !important;
  clear: none !important;
  
  /* Disable all transforms and transitions */
  transform: none !important;
  transition: none !important;
  
  /* Reset flexbox/grid properties */
  flex: none !important;
  flex-grow: 0 !important;
  flex-shrink: 1 !important;
  flex-basis: auto !important;
  
  /* Basic styling only */
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  
  /* Text alignment */
  text-align: left !important;
  
  /* Display */
  display: block !important;
  box-sizing: border-box !important;
}

/* Reset hover effects completely */
[class*="-card"]:hover {
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  border-color: #e5e7eb !important;
}

/* Ensure cards work in Bootstrap rows/cols */
.row [class*="-card"] {
  margin: 0 !important;
}

.col [class*="-card"],
.col-* [class*="-card"] {
  width: 100% !important;
  height: 100% !important;
}

/* Disable any remaining grid or positioning styles */
.services-grid,
.team-grid,
.features-grid,
#blog_grid {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  margin: 0 !important;
}

/* Reset card content styling to be minimal */
[class*="-card"] h1,
[class*="-card"] h2,
[class*="-card"] h3,
[class*="-card"] h4,
[class*="-card"] h5,
[class*="-card"] h6 {
  margin: 0 0 0.5rem 0 !important;
  color: #1f2937 !important;
}

[class*="-card"] p {
  margin: 0 0 1rem 0 !important;
  color: #6b7280 !important;
}

[class*="-card"] img {
  max-width: 100% !important;
  height: auto !important;
  margin: 0 0 1rem 0 !important;
}
