/* =========================================================
   Bimeh Pol — Main Stylesheet
   ========================================================= */


/* =========================================================
   1. Variables
   ========================================================= */

:root {

  /* Brand */
  --color-primary: #0b5ed7;
  --color-primary-hover: #084298;
  --color-primary-soft: rgba(11, 94, 215, 0.15);

  /* Text */
  --color-heading: #111827;
  --color-text: #222222;
  --color-text-muted: #6b7280;

  /* Background */
  --color-bg: #ffffff;
  --color-bg-light: #f1f5f9;  
  --color-bg-dark: #111827;

  /* Border */
  --color-border: #e5e7eb;

  /* Status */
  --color-success: #198754;
  --color-warning: #ffc107;
  --color-danger: #dc3545;

  /* Layout */
  --header-height: 72px;
}

.navbar-brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   2. Global
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}

/* =========================================================
   3. Header
   ========================================================= */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header .navbar {
  min-height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
}


/* ---------------------------------------------------------
   Header Top
   --------------------------------------------------------- */

.header-top {
  display: flex;
  align-items: center;
}


/* ---------------------------------------------------------
   Brand
   --------------------------------------------------------- */

.site-header .navbar-brand {
  margin-left: 2rem;
  padding: 0;
  color: var(--color-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .navbar-brand:hover {
  color: var(--color-primary);
}


/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.site-header .navbar-nav {
  gap: 0.25rem;
}

.site-header .nav-link {
  padding: 0.6rem 0.8rem !important;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--color-primary);
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.header-cta-wrapper {
  margin-right: 1.5rem;
}

.header-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 0.5rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.header-cta:hover,
.header-cta:focus {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-bg);
}


/* ---------------------------------------------------------
   Mobile Toggle
   --------------------------------------------------------- */

.site-header .navbar-toggler {
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: 0.45rem;
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem var(--color-primary-soft);
}

.site-header .navbar-toggler-icon {
  width: 1.25rem;
  height: 1.25rem;
}


/* =========================================================
   4. Responsive — Header
   ========================================================= */

@media (max-width: 991.98px) {

  /* Header height */
  .site-header .navbar {
    min-height: 64px;
  }


  /* Top row */
  .header-top {
    width: 100%;
    min-height: 64px;
    justify-content: space-between;
  }


  /* Brand */
  .site-header .navbar-brand {
    margin-left: 0;
  }


  /* Mobile menu */
  .site-header .navbar-collapse {
    width: 100%;
    padding: 0.75rem 0 1rem;
  }


  /* Navigation */
  .site-header .navbar-nav {
    width: 100%;
    gap: 0;
  }


  /* Navigation links */
  .site-header .nav-link {
    padding: 0.7rem 0 !important;
    border-bottom: 1px solid var(--color-border);
  }


  /* Remove border from last item */
  .site-header .nav-item:last-child .nav-link {
    border-bottom: none;
  }


  /* CTA */
  .header-cta-wrapper {
    margin-right: 0;
    margin-top: 1rem;
  }


  .header-cta {
    display: block;
    width: 100%;
    text-align: center;
  }

}

/* =========================================================
   5. Hero
   ========================================================= */

.hero {
  background: var(--color-bg-light);
  padding: 5rem 0;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  margin: 0 0 1.25rem;
  color: var(--color-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.5;
}

.hero-text {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 2;
}

.hero-cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 0.5rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-bg);
}


/* =========================================================
   6. Responsive — Hero
   ========================================================= */

@media (max-width: 767.98px) {

  .hero {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.6;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 2;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }

}

/* =========================================================
   7. Insurance Types
   ========================================================= */

.insurance-types {
  padding: 5rem 0;
  background: var(--color-bg);
}


/* ---------------------------------------------------------
   Section Header
   --------------------------------------------------------- */

.section-header {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 2;
}


/* ---------------------------------------------------------
   Insurance Items
   --------------------------------------------------------- */

.insurance-types .row {
  align-items: stretch;
}

.insurance-types article {
  height: auto;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-bg-light);
  text-align: center;

  display: flex;
  flex-direction: column;
}

.insurance-types article h3 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.insurance-types article p {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 2;
}

.insurance-types article a {
  display: block;
  width: calc(100% - 1rem);
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--color-primary);
  border-radius: 0.5rem;
  background: var(--color-primary);
  color: var(--color-bg);

  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.insurance-types article a:hover,
.insurance-types article a:focus {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-bg);
}


/* =========================================================
   8. Responsive — Insurance Types
   ========================================================= */
   
@media (min-width: 768px) and (max-width: 999.98px) {

  .insurance-types article a {
    padding: 0.6rem 0.6rem;
  }

}   

@media (max-width: 767.98px) {

  .insurance-types {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .insurance-types article {
    margin-bottom: 1rem;
  }

  .insurance-types .row > article:last-child {
    margin-bottom: 0;
  }

}

/* =========================================================
   9. Why Bimeh Pol
   ========================================================= */

.why-bimehpol {
  padding: 5rem 0;
  background: var(--color-bg-light);
}


/* ---------------------------------------------------------
   Items
   --------------------------------------------------------- */

.why-bimehpol article {
  text-align: center;
}

.why-bimehpol article h3 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}

.why-bimehpol article p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 2;
}


/* =========================================================
   10. Responsive — Why Bimeh Pol
   ========================================================= */

@media (max-width: 767.98px) {

  .why-bimehpol {
    padding: 3.5rem 0;
  }

}

/* =========================================================
   11. Insurance Process
   ========================================================= */

.insurance-process {
  padding: 5rem 0;
  background: var(--color-bg);
}


/* ---------------------------------------------------------
   Steps
   --------------------------------------------------------- */

.insurance-process article {
  text-align: center;
}

.insurance-process article h3 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}

.insurance-process article p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 2;
}


/* =========================================================
   12. Responsive — Insurance Process
   ========================================================= */

@media (max-width: 767.98px) {

  .insurance-process {
    padding: 3.5rem 0;
  }

}


/* =========================================================
   13. Final CTA
   ========================================================= */

.final-cta {
  padding: 5rem 0;
  background: var(--color-bg-light);
}

.final-cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-content h2 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

.final-cta-content p {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 2;
}

.final-cta-button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 0.5rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.final-cta-button:hover,
.final-cta-button:focus {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-bg);
}


/* =========================================================
   14. Responsive — Final CTA
   ========================================================= */

@media (max-width: 767.98px) {

  .final-cta {
    padding: 3.5rem 0;
  }

  .final-cta-content h2 {
    font-size: 1.7rem;
  }

  .final-cta-button {
    width: 100%;
    text-align: center;
  }

}


/* =========================================================
   15. Footer
   ========================================================= */

.site-footer {
  padding: 4rem 0 0;
  background: var(--color-bg-dark);
  color: var(--color-bg);
}


/* ---------------------------------------------------------
   Footer Sections
   --------------------------------------------------------- */

.site-footer section,
.site-footer nav {
  text-align: center;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--color-bg);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.9rem;
  line-height: 2;
}

/* ---------------------------------------------------------
   Quick Links
   --------------------------------------------------------- */

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer li:last-child {
  margin-bottom: 0;
}

.site-footer li a,
.site-footer section > a {
  color: #d1d5db;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer li a:hover,
.site-footer li a:focus,
.site-footer section > a:hover,
.site-footer section > a:focus {
  color: var(--color-bg);
}


/* ---------------------------------------------------------
   Footer Bottom
   --------------------------------------------------------- */

.footer-bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
}


/* =========================================================
   16. Responsive — Footer
   ========================================================= */

@media (max-width: 767.98px) {

  .site-footer {
    padding-top: 3rem;
  }

  .footer-bottom {
    margin-top: 2.5rem;
  }

}

/* =========================================================
   17. FAQ Accordion
   ========================================================= */

.accordion-button {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: var(--color-text);
  text-align: right;
  line-height: 1.8;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.15rem var(--color-primary-soft);
}

.accordion-button:not(.collapsed) {
  color: var(--color-heading);
  background: var(--color-bg-light);
}

.accordion-body {
  color: var(--color-text-muted);
  line-height: 2;
}


/* ---------------------------------------------------------
   Responsive — FAQ
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

  .accordion-button {
    padding: 1rem 1rem;
    padding-left: 3.25rem;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 2;
  }


/* ---------------------------------------------------------
   insurance-logos
   --------------------------------------------------------- */


}
.insurance-logos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  justify-items: center;
  gap: 1.5rem;
}

.insurance-logo {
  width: 90px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insurance-logo img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.insurance-companies {
  margin:30px 0;
}  

.insurance-companies h2 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
/* ---------------------------------------------------------
   Responsive — insurance-logos
   --------------------------------------------------------- */
   
@media (max-width: 767.98px) {

  .insurance-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .insurance-logo {
    width: 70px;
    height: 55px;
  }

  .insurance-logo img {
    max-height: 45px;
  }

}

