.contact-page-wrapper {
    width: 100%;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner-container-fluid {
    padding: 0 80px;
}


.top-banner {
    background-color: #FCF7F1;
    padding: 50px 0;
    text-align: right;
}

.eng-subtitle {
    display: block;
    color: #8C8C8C;
    font-weight: 500;
    font-size: 17px;
    margin-bottom: 15px !important;
    line-height: 100%;
    letter-spacing: 0%;

    letter-spacing: 1px;
    margin-bottom: 5px;
}

.main-page-title {
    font-size: 26px;
    font-weight: bold;
    color: #2c3e50;
}

.topic-cards-section {
    padding: 60px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-center h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.section-header-center p {
    color: #777;
    font-size: 14px;
}

.yellow-separator {
    width: 80px;
    height: 3px;
    background-color: #F9DB66;
    margin: 15px auto;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.topic-item {
    flex: 1;
    min-width: 250px;
    border: 1px solid #eeeeee;
    padding: 60px 20px 35px 20px;
    text-align: center;
    position: relative;
    background-color: #fff;
    transition: 0.3s;
}

.corner-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background-color: #FCF7F1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.corner-icon img {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.topic-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.icon-box {
    font-size: 28px;
    margin-bottom: 20px;
    color: #444;
}

.topic-item h3 {
    font-size: 16px;
    margin-bottom: 12px;
    text-align: right;
}

.topic-item p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    text-align: right;
}

.main-contact-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.form-side-card {
    flex: 1.5;
    border: 1px solid #f0f0f0;
    padding: 40px;
}

.form-head-title {
    text-align: right;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2C3E50;
}

.form-head-desc {
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    color: #566573;
    margin-bottom: 30px;
}

.form-row-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field {
    flex: 1;
}

.input-field label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 400;
    color: #2C3E50;
}

.input-field input,
.input-field select,
.input-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    background-color: #ffff;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.input-field textarea {
    height: 120px;
    resize: none;
}

.send-message-btn {
    width: 100%;
    background-color: #34495e;
    color: white;
    padding: 9px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

    .send-message-btn:hover {
        background-color: #F7D240;
        color: #2C3E50;
    }

.info-side-details {
    flex: 1;
}

.info-header-title h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2C3E50;
}

.small-yellow-line {
    width: 80px;
    height: 2px;
    background-color: #e5c367;
    margin-bottom: 30px;
}

.contact-links-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.link-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.link-text {
    text-align: right;
}

.lbl {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #959EA7;
}

.val {
    font-size: 15px;
    font-weight: 500;
    font-weight: bold;
    color: #2C3E50;
}

.link-circle-icon {
    width: 45px;
    height: 45px;
    background-color: #34495e;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

    .link-circle-icon img {
        transition: filter 0.25s ease;
    }

    .link-circle-icon:hover {
        background-color: #fff;
        border-color: #34495e;
    }

        .link-circle-icon:hover img {
            filter: brightness(0) saturate(100%) invert(37%) sepia(10%) saturate(500%) hue-rotate(170deg) brightness(90%) contrast(90%);
        }


.section-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 20px;
}

.center-title-area {
    text-align: center;
    margin-bottom: 40px;
}

.gold-line-separator {
    width: 50px;
    height: 3px;
    background-color: #e5c367;
    margin: 15px auto;
}

.branches-section{
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;

}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.branch-card {
    border: 1px solid #f0f0f0;
    background: #fff;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.branch-img-wrapper {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
}

    .branch-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.branch-details {
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #E0D9CD;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.branch-city {
    font-size: 16px;
    font-weight: 500;
    color: #2C3E50;
    text-align: right;
    margin-bottom: 10px;
}

.branch-address {
    font-size: 14px;
    color: #959EA7;
    font-weight: 400;
    margin-bottom: 12px;
    min-height: 36px;
    line-height: 1.6;
    text-align: right;
}

.branch-hours {
    font-size: 13px;
    color: #959EA7;
    font-weight: 400;
    line-height: 1.9;
    text-align: right;
    margin-bottom: 15px;
}

.branch-label {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
}

.branch-footer {
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.branch-phone {
    font-size: 16px;
    color: #2C3E50;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    direction: ltr;
}

    .branch-phone:hover {
        color: #2C3E50;
        text-decoration: none;
    }

.branch-map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #2C3E50;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

    .branch-map-link:hover {
        color: #9b734c;
    }


.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    direction: rtl;
   
    --bs-accordion-border-color: transparent;
    --bs-accordion-bg: transparent;
}

.faq-accordion .accordion-item {
    border: none !important;
    border-bottom: 1px solid #E0E0E0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.faq-accordion .accordion-button {
    background: transparent !important; 
    box-shadow: none !important;
    padding: 20px 10px;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    border: none !important;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
}

.faq-accordion .accordion-button::after {
    background-image: none !important;
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0;
    transform: none !important;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    content: "−";
}


.faq-title {
    width: 100%;
    text-align: right;
    padding-left: 15px; 
    color: #2C3E50;
    font-size: 15px;
}


.faq-body {
    padding: 0 10px 20px 10px !important;
    color: #666;
    line-height: 1.9;
    font-size: 14px;
    text-align: justify;
    background: transparent !important; 
}

.faq-accordion .accordion-body {
    background-color: transparent !important;
    color: #2C3E50;
}

.accordion-body {
    padding: 18px 20px;
    background-color: #ffff;
    color: #2C3E50;
}


.branch-main-title{
    color: #2C3E50;
    font-weight: 600;
    font-size: 28px;
    text-align: center;

}

.branch-sub-title{
    color:#566573;
    font-weight: 500;
    font-size: 18px;

}


@media (max-width: 850px) {
    .main-contact-layout {
        flex-direction: column-reverse;
    }

    .form-row-group {
        flex-direction: column;
    }

    .link-item {
        justify-content: center;
    }

    .link-text {
        text-align: right;
    }

      .branches-grid {
        grid-template-columns: 1fr;
    }
    .faq-answer {
        padding-right: 0;
    }
}

@media (max-width: 768px) {

  .inner-container-fluid,
  .content-container,
  .section-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .top-banner {
    padding: 26px 0 22px;
  }

  .eng-subtitle {
    font-size: 11px;
    margin-bottom: 6px !important;
  }

  .main-page-title {
    font-size: 20px;
  }

  .topic-cards-section {
    padding: 35px 0;
  }

  .section-header-center {
    margin-bottom: 25px;
  }

  .section-header-center h2 {
    font-size: 24px;
  }

  .section-header-center p {
    font-size: 12px;
    line-height: 1.7;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

   .topic-item {
        display: flex;
        flex-direction: row-reverse; 
        align-items: center; 
        text-align: right;
        padding: 20px !important;
        gap: 15px;
        min-width: 100%;
    }

  .topic-item h3,
  .topic-item p {
    text-align: right;
  }

  .corner-icon {
        position: static !important; 
        flex-shrink: 0;
        width: 45px !important;
        height: 45px !important;
        background-color: #FCF7F1;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .topic-content {
        flex: 1;
        display: flex;
        flex-direction: column; 
        gap: 4px;
    }

    .topic-item h3 {
        font-size: 18px !important;
        color: #2C3E50;
    }

    .topic-item p {
        margin: 0 !important;
        font-size: 13px !important;
        color: #566573;
        line-height: 1.5;
    }

    .cards-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

  .corner-icon img {
    width: 18px;
  }

  .info-header-title{
    align-items: center;
    text-align: center;
  }
  .small-yellow-line {
        margin: 8px auto 20px auto;
    }

  .main-contact-layout {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
  }

  .form-side-card,
  .info-side-details {
    width: 100%;
    flex: unset;
  }

  .form-side-card {
    padding: 22px 16px;
  }

  .form-head-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .form-head-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .form-row-group {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
  }

  .input-field label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .input-field input,
  .input-field select,
  .input-field textarea {
    font-size: 14px;
    padding: 11px;
  }

  .send-message-btn {
    font-size: 15px;
    padding: 11px;
  }

  .info-header-title h2 {
    font-size: 24px; 
    font-weight: 600;
    color: #2C3E50;
  }

  .small-yellow-line {
    margin-bottom: 18px;
  }

  .contact-links-list {
    gap: 16px;
  }

  .link-item {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
  }

  .link-circle-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .branch-img-wrapper,
  .branch-sub-title,
  .section-header-center p{
    display: none;
  }

  .branches-section {
    margin-top: 10px;
  }

  .branch-main-title {
    font-size: 24px;
  }

  .branch-sub-title {
    font-size: 13px;
    line-height: 1.7;
  }

  .branches-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .branch-img-wrapper {
    height: 170px;
  }

  .branch-details {
    padding: 16px 14px;
    border: 1px solid #E0D9CD;
    border-radius: 4px;
    
  }

  .branch-city {
    font-size: 18px;
  }

  .branch-address {
    font-size: 14px;
    min-height: auto;
    margin: 0 !important;
  }

  .branch-phone {
    font-size: 15px;
  }

  .faq-section {
    padding-top: 10px;
  }

  .faq-main-title {
    font-size: 28px;
  }

  .faq-accordion {
    width: 100%;
  }

  .faq-accordion .accordion-button {
    padding: 16px 8px;
  }

  .faq-title {
    font-size: 17px;
    font-weight: 500;
    padding-left: 10px;
    line-height: 1.8;
  }

  .faq-accordion .accordion-button::after {
    font-size: 22px;
  }

  .faq-body {
    font-size: 16px;
    color: #566573;
    font-weight: 400;
    line-height: 1.9;
    padding: 0 8px 16px 8px !important;
  }
}