:root {
  --text: #303030;
  --muted: #666;
  --green: #1ecf63;
  --green-hover: #16b855;
  --blue: #0866ff;
  --light-blue: #a5d8e2;
  --border: #eeeeee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* Announcement Ticker */

.ticker {
  background: #000;
  color: #fff;
  height: 49px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 65px;
  padding-inline: 32px;
  white-space: nowrap;
}

.ticker-content span {
  font-size: 15px;
  font-weight: 800;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

/* Hero */

.hero {
  max-width: 1610px;
  margin: 0 auto;
  padding: 0 18px;
}

.hero a {
  display: block;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Common Sections */

.section {
  max-width: 1250px;
  margin: 0 auto;
  text-align: center;
  padding: 85px 24px;
}

.section h1,
.section h2 {
  color: #303030;
  margin: 0 0 10px;
  font-weight: 900;
  line-height: 1.5;
}

.section h1 {
  font-size: clamp(30px, 3.5vw, 54px);
}

.section h2 {
  font-size: clamp(27px, 3.4vw, 52px);
}

.section p {
  font-size: 21px;
  line-height: 1.9;
  margin: 0 auto 30px;
}

/* Intro */

.intro {
  padding-top: 45px;
  padding-bottom: 85px;
}

.eyebrow {
  display: inline-block;
  color: var(--light-blue);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 55px;
}

.pill {
  background: #edf7f9;
  border-radius: 50px;
  padding: 4px 22px;
}

.intro p {
  max-width: 1050px;
  margin-bottom: 48px;
}

/* WhatsApp Buttons */

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 14px;

  background-color: var(--green);
  color: #fff;

  padding: 13px 35px;
  border: 2px solid transparent;
  border-radius: 50px;

  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;

  box-shadow: 0 8px 18px rgba(30, 207, 99, 0.16);
  transition: all 0.25s ease;
}

.whatsapp-btn i {
  font-size: 30px;
  line-height: 1;
}

.whatsapp-btn:hover {
  background: var(--green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(30, 207, 99, 0.22);
}

.whatsapp-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.whatsapp-big {
  padding: 17px 45px;
  font-size: 24px;
  border-radius: 17px;
  border: 2px solid var(--blue);
}

.whatsapp-big i {
  font-size: 37px;
}

/* Partners */

.partners {
  padding-top: 15px;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--light-blue);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.short-line {
  width: 32px;
  height: 2px;
  background: var(--light-blue);
}

.partners > p:not(.disclaimer) {
  max-width: 1050px;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  background: #fff;
  margin: 85px auto 100px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.035);
}

.logos img {
  width: 230px;
  max-width: 30%;
  height: auto;
  object-fit: contain;
}

.partners .disclaimer {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Section Headings */

.heading-rule {
  width: 190px;
  height: 2px;
  background: #333;
  margin: 0 auto 22px;
}

.comparison h2,
.faq h2 {
  font-size: 32px;
  color: #000;
  margin-bottom: 10px;
}

.section .sub {
  font-size: 17px;
  color: #777;
  max-width: 850px;
}

/* Comparison Table */

.comparison {
  padding-top: 65px;
  padding-bottom: 90px;
}

.table-wrap {
  width: 100%;
  margin-top: 90px;
  overflow-x: auto;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
  color: #111;
}

th,
td {
  border: 1px solid #eee;
  text-align: center;
  padding: 25px 15px;
}

th {
  font-size: 25px;
  font-weight: 800;
  background: #fff;
  height: 125px;
}

td {
  height: 93px;
  font-weight: 700;
}

td:first-child {
  text-align: right;
  width: 36%;
  padding-right: 28px;
}

tbody tr:nth-child(odd) {
  background: #fafafa;
}

.yes {
  color: #72dfc5;
  font-size: 23px;
}

.no {
  color: #ff5260;
  font-size: 23px;
}

/* FAQ */

.faq {
  max-width: none;
  background: #f8f9fa;
  padding: 85px 24px 90px;
}

.faq-list {
  max-width: 1200px;
  margin: 90px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-list details {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 3px rgba(0,0,0,0.025);
  overflow: hidden;
  text-align: right;
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 73px;
  padding: 18px 18px 18px 65px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f8f9fa;
  font-size: 20px;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  text-align: right;
  font-size: 15px;
  color: #666;
  line-height: 2;
}

/* Closing */

.closing {
  padding-top: 85px;
  padding-bottom: 95px;
}

.closing h2 {
  font-size: 35px;
}

.closing p {
  max-width: 800px;
  font-size: 19px;
  margin-bottom: 35px;
}

/* Footer */

footer {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px 55px;
  text-align: center;
}

footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 35px;
}

footer nav a {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

footer nav a:hover {
  color: #16b855;
}

.footer-line {
  height: 1px;
  background: #bbb;
  width: 100%;
  margin-bottom: 35px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.official-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  color: #222;
}

.official-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Mobile Responsive */

@media (max-width: 768px) {

  .ticker {
    height: 42px;
  }

  .ticker-content {
    gap: 35px;
  }

  .ticker-content span {
    font-size: 12px;
  }

  .hero {
    padding: 0 8px;
  }

  .hero img {
    border-radius: 9px;
  }

  .section {
    padding: 55px 18px;
  }

  .intro {
    padding-top: 35px;
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 28px;
  }

  .section h1 {
    font-size: 29px;
  }

  .section h2 {
    font-size: 29px;
  }

  .section p {
    font-size: 16px;
  }

  .whatsapp-btn {
    padding: 12px 24px;
    font-size: 17px;
    gap: 10px;
  }

  .whatsapp-btn i {
    font-size: 26px;
  }

  .whatsapp-big {
    padding: 14px 25px;
    font-size: 19px;
  }

  .whatsapp-big i {
    font-size: 29px;
  }

  .partners {
    padding-top: 20px;
  }

  .section-label {
    font-size: 14px;
  }

  .logos {
    margin: 45px auto 50px;
    padding: 20px 10px;
    gap: 10px;
  }

  .logos img {
    width: 30%;
    max-width: 30%;
  }

  .partners .disclaimer {
    font-size: 14px;
  }

  .heading-rule {
    width: 130px;
  }

  .comparison h2,
  .faq h2 {
    font-size: 25px;
  }

  .section .sub {
    font-size: 14px;
  }

  .table-wrap {
    margin-top: 45px;
  }

  th {
    font-size: 15px;
    height: 80px;
  }

  td {
    font-size: 12px;
    height: 70px;
  }

  th,
  td {
    padding: 12px 8px;
  }

  td:first-child {
    padding-right: 10px;
  }

  .yes,
  .no {
    font-size: 19px;
  }

  .faq-list {
    margin-top: 45px;
    gap: 12px;
  }

  .faq-list summary {
    font-size: 13px;
    padding: 15px;
    min-height: 65px;
  }

  .faq-list details p {
    font-size: 13px;
  }

  .closing h2 {
    font-size: 27px;
  }

  .closing p {
    font-size: 15px;
  }

  footer {
    padding: 20px 18px 45px;
  }

  footer nav {
    gap: 15px;
  }

  footer nav a {
    font-size: 11px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 14px;
  }

  .official-item {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }

  .whatsapp-btn {
    transition: none;
  }
}


/* Branches Section */

.branches {
  padding-top: 75px;
  padding-bottom: 85px;
}

.branches h2 {
  font-size: 36px;
  color: #111;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 55px;
}

.branch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 35px 20px;
  border: 1px solid #eee;
  border-radius: 15px;
  background: #fff;
  color: #222;
  box-shadow: 0 5px 20px rgba(0,0,0,.04);
  transition: all .3s ease;
}

.branch-card > i {
  font-size: 36px;
  color: #e53935;
}

.branch-card h3 {
  font-size: 23px;
  font-weight: 800;
  margin: 0;
}

.branch-card span {
  color: #666;
  font-size: 14px;
}

.branch-card span i {
  font-size: 12px;
  margin-right: 5px;
}

.branch-card:hover {
  transform: translateY(-5px);
  border-color: #1ecf63;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .branch-card {
    padding: 25px 15px;
  }

  .branches h2 {
    font-size: 28px;
  }
}

/* Top Announcement Bar */
.ticker {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
  min-height: 50px;
  padding: 10px 15px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.ticker span {
  font-family: 'Cairo', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .ticker {
    min-height: 45px;
    padding: 8px 12px;
  }

  .ticker span {
    font-size: 13px;
    line-height: 1.8;
  }
}


/* Hero Banner */
.hero {
  width: 100%;
  max-width: 1610px;
  margin: 0 auto;
  padding: 0 18px;
}

.hero a,
.hero picture {
  display: block;
  width: 100%;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}


/* Mobile Banner */
@media (max-width: 768px) {
  .hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero a,
  .hero picture {
    display: block;
    width: 100%;
  }

  .hero img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
  }
}


/* Financing Partners - Mobile */
@media (max-width: 768px) {

  .partners .logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px 8px;
    align-items: center;
    justify-items: center;

    width: 100%;
    padding: 20px 5px;
    margin: 35px auto 45px;
  }

  /* First row: 3 logos */
  .partners .logos img {
    grid-column: span 2;
    width: 100%;
    max-width: 110px;
    height: 65px;
    object-fit: contain;
  }

  /* Second row: 2 centered logos */
  .partners .logos img:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .partners .logos img:nth-child(5) {
    grid-column: 4 / span 2;
  }
}


/* Financing partner logos: five across desktop, three plus two mobile */
.partners .logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 25px;
  width: 100%;
  max-width: 1340px;
  margin: 50px auto 70px;
  padding: 35px 30px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .035);
}
.partners .logos img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: 100px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .partners .logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px 8px;
    padding: 20px 8px;
    margin: 35px auto 45px;
  }
  .partners .logos img {
    grid-column: span 2;
    width: 100%;
    max-width: 110px;
    height: 65px;
    object-fit: contain;
  }
  .partners .logos img:nth-child(4) { grid-column: 2 / span 2; }
  .partners .logos img:nth-child(5) { grid-column: 4 / span 2; }
}
