/* CAR OIC - extra styles for language toggle, certifications section,
   contact form and RTL support. Colors match the existing theme
   (see README: #232323 / #2f2f2f dark, #f8f5f5 light, #e0e0e0 border). */

/* ---------- language toggle button ---------- */
.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: .5px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: all 250ms ease;
}
.lang-toggle-btn:hover {
    background-color: #ffffff;
    color: #232323;
    text-decoration: none;
}
.mainMenu .lang-toggle-btn {
    border-color: rgba(0,0,0,0.25);
    color: #232323;
}
.mainMenu .lang-toggle-btn:hover {
    background-color: #232323;
    color: #ffffff;
}
body.rtl-mode .lang-toggle-btn {
    margin-left: 0;
    margin-right: 15px;
}

/* ---------- RTL layout tweaks ---------- */
body.rtl-mode {
    text-align: right;
}
body.rtl-mode .mainMenu,
body.rtl-mode .menu-area,
body.rtl-mode .header-social-area,
body.rtl-mode .menu-content-area {
    direction: rtl;
}
body.rtl-mode .sonarNav nav ul {
    padding-right: 0;
}
body.rtl-mode .hero-content .line {
    margin-left: 0;
}
body.rtl-mode .contact-form-area .form-group label,
body.rtl-mode .certs-area,
body.rtl-mode .contact-details-area {
    text-align: right;
}

/* ---------- certifications section ---------- */
.certs-area {
    background-color: #ffffff;
    padding: 80px 0;
}
.certs-area .section-heading {
    margin-bottom: 40px;
}
.certs-area .section-heading h2 {
    font-weight: 300;
    color: #232323;
}
.certs-area .certs-lead {
    color: #6a6a67;
    font-weight: 300;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.cert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background-color: #f8f5f5;
    border: 1px solid #e0e0e0;
    color: #232323;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding: 15px;
    margin-bottom: 25px;
    transition: box-shadow 300ms ease;
}
.cert-badge:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* ---------- contact page: details + form ---------- */
.contact-details-area {
    background-color: #f8f5f5;
    padding: 80px 0 40px;
}
.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.contact-details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #565656;
    font-weight: 300;
}
.contact-details-list li span.cd-label {
    display: inline-block;
    min-width: 160px;
    font-weight: 700;
    color: #232323;
}
.contact-details-list li a {
    color: #565656;
}
.contact-form-area {
    background-color: #ffffff;
    padding: 20px 0 90px;
}
.contact-form-area .form-group {
    margin-bottom: 22px;
}
.contact-form-area label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #565656;
}
.contact-form-area input,
.contact-form-area textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    background-color: #f8f5f5;
    padding: 14px 16px;
    font-size: 14px;
    color: #232323;
    outline: none;
    transition: border-color 250ms ease;
}
.contact-form-area input:focus,
.contact-form-area textarea:focus {
    border-color: #2f2f2f;
}
.contact-form-area textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-form-area .form-submit-btn {
    display: inline-block;
    min-width: 200px;
    height: 56px;
    line-height: 54px;
    text-align: center;
    border: 1px solid #2f2f2f;
    background-color: #2f2f2f;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 300ms ease;
}
.contact-form-area .form-submit-btn:hover {
    background-color: #ffffff;
    color: #2f2f2f;
}
