/* ================ BASE STYLES ================ */
:root {
  --primary-color: #fc00ff;
  --secondary-color:rgb(171, 6, 247);
  --accent-color: #e8a87c;
  --light-color: #000;
  --dark-color: #333;
  --text-color: #f5f5f5;
  --white: #fff;
  --gray: #000;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.carousel-item img {
    height: 600px; /* Change as needed */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: black; /* Changed from var(--white) to black */
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}
.text-black
{
    color:#000000;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #1a466e;
  border-color: #1a466e;
  color: var(--white);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

//* ================ HERO SLIDER STYLES ================ */
.hero-section {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-section .carousel {
  height: 100vh;
  min-height: 650px;
  margin: 0;
  padding: 0;
}

/* Updated slider image styles to prevent stretching */
.hero-section .slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
}

/* Add this new class for carousel images */
.carousel-item img {
  width: 100%;
  height: 100vh;
  min-height: 650px;
  object-fit: cover; /* This prevents stretching while maintaining aspect ratio */
  object-position: center;
}

.hero-section .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.hero-section .carousel-item {
  height: 100vh;
  min-height: 650px;
  margin: 0;
  padding: 0;
}

.hero-section h1 {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

/* Remove default margins that might cause spacing */
.carousel-indicators {
  margin-bottom: 0;
}

.carousel-caption {
  padding-bottom: 0;
}

/* Ensure no extra spacing in slider */
.carousel-inner {
  margin: 0;
  padding: 0;
}

/* Button styles for hero section */
.hero-section .btn {
  padding: 12px 30px;
  font-weight: 600;
}

.hero-section .btn-outline-light {
  padding: 12px 30px;
  font-weight: 600;
}

/* Media queries for responsive slider heights */
@media (max-width: 768px) {
  .hero-section {
    padding: 0;
  }
  
  .hero-section .carousel,
  .hero-section .carousel-item,
  .carousel-item img {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .hero-section .btn, 
  .hero-section .btn-outline-light {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section .carousel,
  .hero-section .carousel-item,
  .carousel-item img {
    height: 60vh;
    min-height: 400px;
  }
}

/* ================ HERO SECTIONS FOR OTHER PAGES ================ */
.about-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.services-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.approach-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.blog-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}
/* ================ ENHANCED STYLES ================ */

/* Enhanced service card animations */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .btn-option:active {
        background-color: rgba(67, 97, 238, 0.1);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-card,
    .barometer-needle,
    .btn-option {
        transition: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #000080;
    }
    
    .btn-option.selected {
        border-width: 3px;
    }
}

/* Print optimizations */
@media print {
    .carousel,
    .btn-option,
    #calculate-btn,
    #retake-btn {
        display: none !important;
    }
    
    #questions-section,
    #results-section {
        display: block !important;
    }
}
/* ================ HEADER & NAVIGATION ================ */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 80px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-color);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* ================ CARD STYLES ================ */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ================ SERVICE CARDS ================ */
.service-card {
  text-align: center;
  padding: 2rem;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

/* ================ TESTIMONIALS ================ */
.testimonial-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

/* ================ ABOUT PAGE ================ */
.about-img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qualification-card {
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.qualification-card:hover {
  transform: translateY(-5px);
}

/* ================ APPROACH PAGE ================ */
.pillar-card {
  text-align: center;
  padding: 2rem;
}

.pillar-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.methodology-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 2.5rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

/* ================ CONTACT PAGE ================ */
.contact-card {
  border: none;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 92, 138, 0.25);
}

.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.map-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* Loading spinner for submit button */
.spinner-border {
  vertical-align: text-top;
}

/* ================ BLOG PAGE ================ */
.blog-card .card-img-top {
  height: 200px;
}

.category-badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--white);
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge-mediation {
  background-color: var(--primary-color);
}

.badge-ei {
  background-color: var(--secondary-color);
}

.badge-psychology {
  background-color: var(--accent-color);
}

.author-info {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 0.75rem;
  object-fit: cover;
}

/* ================ SIDEBAR ================ */
.sidebar-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-color);
}

.category-list, .recent-posts-list {
  list-style: none;
  padding-left: 0;
}

.category-list li, .recent-posts-list li {
  margin-bottom: 0.75rem;
}

.category-list a, .recent-posts-list a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.category-list a:hover, .recent-posts-list a:hover {
  color: var(--primary-color);
}

.recent-post {
  display: flex;
  margin-bottom: 1rem;
}

.recent-post-img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
  margin-right: 1rem;
}

.recent-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.recent-post-date {
  font-size: 0.8rem;
  color: #777;
}

/*=========SEARCH BOX========*/
.search-box {
  position: relative;
  margin-bottom: 2rem;
}

.search-box input {
  padding-right: 40px;
  border-radius: 50px;
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 5px;
  border: none;
  background: transparent;
  color: var(--primary-color);
}

/* ================ FORM STYLES ================ */
.form-control {
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 92, 138, 0.25);
}

.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* ================ FOOTER ================ */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-links h5 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: var(--white);
}

.social-icons a {
  color: var(--white);
  font-size: 1.25rem;
  margin-right: 1rem;
}

/* ================ UTILITY CLASSES ================ */
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}
.bg-light {
  background-color: var(--light-color) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-muted {
  color: var(--gray) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.faq-card {
  margin-bottom: 15px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.faq-header {
  background-color: var(--primary-color);
  padding: 15px 20px;
  cursor: pointer;
}

.faq-body {
  padding: 20px;
  display: none;
}

/* ================ MEDIA QUERIES ================ */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0;
  }
  
  .hero-section .carousel,
  .hero-section .carousel-item {
    height: 70vh;
    min-height: 650px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-section .btn, 
  .hero-section .btn-outline-light {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .card-img-top {
    height: 150px;
  }
  
  .hero-section .carousel,
  .hero-section .carousel-item {
    height: 60vh;
    min-height: 400px;
  }
}

/* ================ PRINT STYLES ================ */
@media print {
  /* Reset margins and padding for printing */
  body {
    margin: 0;
    padding: 0;
    font-size: 12pt;
    line-height: 1.3;
    color: #000 !important;
    background: #fff !important;
  }

  /* Hide non-essential elements */
  .navbar,
  .social-icons,
  .search-box,
  .sidebar-card,
  .footer-links,
  footer,
  .btn,
  .hero-section,
  .testimonial-card .stars,
  .author-img {
    display: none !important;
  }

  /* Improve text contrast */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
  }

  /* Ensure proper page breaks */
  article, section {
    page-break-inside: avoid;
  }

  /* Links should show their URLs */
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }

  /* Remove backgrounds and shadows */
  .card,
  .service-card,
  .testimonial-card,
  .qualification-card,
  .pillar-card,
  .sidebar-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }

  /* Simplify layout for printing */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Service icons should be visible */
  .service-icon {
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }

  /* Make sure images don't break across pages */
  img {
    max-width: 50% !important;
    height: auto !important;
    page-break-inside: avoid;
  }

  /* Contact information should be visible */
  .contact-icon {
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }

  /* Blog specific print styles */
  .blog-card {
    margin-bottom: 20pt;
    page-break-inside: avoid;
  }

  .category-badge {
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }

  /* Add URL and date to printed pages */
  body::after {
    content: "Printed from: " attr(data-url) " (" attr(data-date) ")";
    display: block;
    text-align: center;
    font-size: 10pt;
    margin-top: 20pt;
  }

  /* Set page margins */
  @page {
    margin: 1cm;
  }

  @page :first {
    margin-top: 2cm;
  }

  /* Avoid breaking elements */
  .no-break {
    page-break-inside: avoid;
  }
}

.nav-pills .nav-link {
  background-color: #6c757d;
  color: white;
  margin: 0 5px;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Fix for tab content visibility */
.tab-content {
  padding: 2rem;
  background-color: white;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Ensure proper spacing for process steps */
.process-step {
  text-align: center;
  margin-bottom: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}
    .barometer-container {
        position: relative;
        height: 200px;
        margin: 2rem 0;
    }
    
    .barometer {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        position: relative;
    }
    
    .barometer-needle {
        position: absolute;
        width: 4px;
        height: 90px;
        background: #212529;
        bottom: 50%;
        left: 50%;
        transform-origin: bottom center;
        transform: translateX(-50%) rotate(0deg);
        transition: transform 1s ease;
        z-index: 10;
        border-radius: 4px 4px 0 0;
    }
    
    .barometer-face {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: conic-gradient(
            #ff0000 0%, 
            #ff5e00 10%, 
            #ffbb00 20%, 
            #d4ff00 30%, 
            #79ff00 40%, 
            #00ff2a 50%,
            #00ff95 60%,
            #00eeff 70%,
            #008cff 80%,
            #0004ff 90%,
            #ff0000 100%
        );
        clip-path: circle(50% at 50% 50%);
    }
    
    .barometer-center {
        position: absolute;
        width: 30px;
        height: 30px;
        background: #212529;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 20;
    }
    
    .btn-option {
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
        padding: 12px 15px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        background: white;
        transition: all 0.2s ease;
    }
    
    .btn-option:hover {
        border-color: #4361ee;
        background-color: rgba(67, 97, 238, 0.05);
    }
    
    .btn-option.selected {
        border-color: #4361ee;
        background-color: rgba(67, 97, 238, 0.1);
        color: #4361ee;
        font-weight: 600;
    }
    
    .score-display {
        font-size: 3rem;
        font-weight: 700;
        color: #4361ee;
        text-align: center;
        margin: 1rem 0;
    }
    
    .motivation-text {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 2rem;
        color: #212529;
    }
    
    .service-card {
        transition: all 0.3s ease;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }