/* Custom CSS for Secure Bima Website */

/* Global Styles */
:root {
  --primary-color: #f15b2a;
  --secondary-color: #243e83;
  --primary-background: var(--primary-color);
  --secondary-text-color: var(--secondary-color);
  --mute-color: #6c757d;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  text-decoration: none;
}

.brand-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-text .tagline {
  margin-top: 0.25rem;
}

.brand-text small {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--warning-color) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 100px;
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  /* background-image: url(images/hero-section-bg.png); */
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
  background-position: center;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-top: 0rem;
  padding-bottom: 3rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .text-dark {
  color: var(--dark-color) !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-image-container {
  position: relative;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-objects {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-object {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  background: white;
  padding: 10px;
}

.hero-object:hover {
  transform: scale(1.1);
}

.hero-object.piggy-bank {
  left: 15%;
  top: 15%;
  z-index: 1;
}

.hero-object.house {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero-object.car {
  right: 15%;
  bottom: 15%;
  z-index: 1;
}

.hero-image-container img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Insurance Categories */
.insurance-categories {
  background: white;
  padding: 3rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.category-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
  background: white !important;
  /* border: 2px solid #e9ecef; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
}
.certified-insurance .category-icon {
  width: 70px !important;
  height: 70px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
  background: white !important;
  /* border: 2px solid #e9ecef; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
}
.service-card-Values .category-icon {
  width: 150px;
  /* height: 110px; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
  background: white !important;
  /* border: 2px solid #e9ecef; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
}

.category-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--warning-color);
}

.category-item {
  transition: all 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
}

/* Feature Icons */
.feature-icon {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Offer Cards */
.offer-card {
  /* padding: 1.5rem; */
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  background: white;
  /* border: 1px dashed var(--secondary-color); */
}
.offer-card .content-text {
  border: 1px dashed var(--secondary-color);
  border-radius: 6px;
  text-align: center;
  position: relative;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 0;
}
.offer-card .content-text h5 {
  color: var(--secondary-color);
  font-size: 22px;
}
.btn-we-offer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 160px;
}
/* .offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--warning-color);
} */

.offer-card img {
  transition: transform 0.3s ease;
  overflow: hidden;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* .offer-card:hover img {
  transform: scale(1.05);
} */

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #dee2e6;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: var(--warning-color);
}

/* Step Cards */
.step-card {
  padding: 1.5rem 1rem;
  height: 100%;
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Advice Icons */
.advice-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Partner Logos */
.partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Review Cards */
.review-card {
  transition: all 0.3s ease;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.accordion-button {
  font-weight: 600;
  color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
  background-color: white;
  color: var(--warning-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.social-icons a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* Buttons */
.btn-warning {
  background-color: var(--warning-color);
  border-color: var(--warning-color);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: #d94a0f;
  border-color: #d94a0f;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-warning {
  color: #fff;
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-warning:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  /* transform: translateY(-2px); */
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0a2f5e;
  border-color: #0a2f5e;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}
@media (max-width: 768px) {
  .hero-content {
    padding-top: 2rem;
    padding-bottom: 1rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .step-card {
    margin-bottom: 2rem;
  }

  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }

  .nav-link {
    margin: 0.5rem 0;
  }

  .hero-image-container {
    min-height: 300px;
    padding: 1rem;
  }

  .hero-objects {
    height: 250px;
  }

  .hero-object {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding-top: 0rem;
    padding-bottom: 1rem;
  }
  #carouselExampleCaptions_hero img {
    min-height: 300px;
    object-fit: contain;
  }
  #carouselExampleCaptions_hero .carousel-caption {
    right: 4% !important;
    top: 20px;
    left: 4% !important;
    padding-top: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-image-container {
    min-height: 250px;
    padding: 0.5rem;
  }

  .hero-objects {
    height: 200px;
  }

  .hero-object {
    width: 80px;
    height: 80px;
  }

  .category-item {
    margin-bottom: 1rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
/* ::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--warning-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d94a0f;
} */

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effects for cards */
.card {
  transition: all 0.3s ease;
}

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

/* Section spacing */
section {
  position: relative;
}

section:not(:last-child) {
  margin-bottom: 0;
}

/* Background patterns */
.bg-light {
  background-color: var(--light-gray) !important;
  position: relative;
  overflow: hidden;
}

.bg-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 58, 117, 0.02) 0%,
    rgba(242, 92, 25, 0.02) 100%
  );
  z-index: 0;
}

.bg-light .container {
  position: relative;
  z-index: 1;
}

/* Text utilities */
.text-warning {
  color: var(--warning-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Shadow utilities */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Border radius utilities */
.rounded {
  border-radius: 0.375rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

/* Spacing utilities */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

/* Image optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
  outline: 2px solid var(--warning-color);
  outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .social-icons {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}

#carouselExampleCaptions_hero .carousel-caption {
  top: 0;
  left: 0% !important;
  right: 0% !important;
}
.category-item p {
  color: var(--secondary-color);
  font-weight: 700;
}

.why-choose-box {
  background: #fff;
  outline: 1px solid #e5e5e5; /* uniform border */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* soft shadow */
  padding: 20px 20px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 380px;
}

.about-section .card-title {
  color: var(--secondary-color);
  font-size: 26px;
  font-weight: 700 !important;
  text-align: left;
}
.about-section h3::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 15px;
}
.about-section.about-section-Guided h3 {
  color: var(--secondary-color);
}

.about-section.about-section-Guided h3::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 4px;
  margin-bottom: 15px;
}

.how-we-work h3 {
  color: var(--secondary-color);
  min-height: 90px;
}
.how-we-work h3::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 20px auto 10px;
}
.how-we-work .why-choose-box {
  position: relative;
  padding: 40px 20px;
  min-height: 410px;
}
.how-we-work .why-choose-box .how-we-work-box-count {
  position: absolute;
  top: 5%;
  left: 10%;
}
.how-we-work .why-choose-box .how-we-work-box-count h2 {
  color: #e9ebf2;
  font-size: 120px;
}
.how-we-work.Review_Tips .why-choose-box .how-we-work-box-count h2 {
  color: #e9ebf2;
  font-size: 100px;
}
.BECOME-PoSP h4 {
  text-align: justify;
  line-height: inherit;
  font-size: 18px;
  color: var(--mute-color);
}

.certified-insurance {
  background-color: #ebebeb;
  border-bottom: 4px solid var(--primary-color);
}

.Office_Address h4 {
  color: var(--secondary-color);
  margin-bottom: 0;
}

.Office_Address p {
  color: var(--secondary-color);
}
.Office_Address li {
  color: var(--secondary-color);
}

.accordion-button:not(.collapsed)::after {
  background-image: url(
    data:image/svg + xml,
    %3csvgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 16 16"fill="%230c63e4"%3e%3cpathfill-rule="evenodd"d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3e%3c/svg%3e
  );
  transform: rotate(-180deg);
}

.privace-top li {
  color: var(--mute-color);
  font-weight: 500;
}
.contactBanner #demo-about .carousel-caption {
  top: 2rem;
  left: 0 !important;
  right: 0;
}
.contactBanner #demo-about .carousel-caption h3 {
  position: absolute;
  bottom: -12px;
  right: 1%;
  font-size: 25px;
}
.contactBanner #demo-about .carousel-caption h6 {
  position: absolute;
  margin: 0 auto;
  right: 0;
  left: 0;
  top: 0;
  font-size: 48px;
  font-weight: 700;
}
.contactBanner #demo_contact .carousel-caption {
  top: 2rem;
  left: 0 !important;
  right: 0;
}
.contactBanner #demo_contact .carousel-caption h3 {
  position: absolute;
  top: 25%;
  right: 1%;
  font-size: 25px;
  left: 0;
}
.contactBanner #demo_contact .carousel-caption h6 {
  position: absolute;
  margin: 0 auto;
  right: 0;
  left: 0;
  top: 10%;
  font-size: 48px;
  font-weight: 700;
}
@media (max-width: 576px) {
  .contactBanner #demo_contact .carousel-caption { 
    left: 10px !important;
    right: 10px;
}
}