/* mycode_solutions — our own styles layered on top of the RTS vendor theme.
   We do not edit style.css (vendor file), we only add on top of it. */

/* --- Brand colour: matched to the green of logo.png ---
   Logo colours (measured from static/images/logo.png): #57BB6D (green),
   #0B2016 (dark background). The vendor theme's default --color-primary (#0F62FE,
   blue) did not match the logo.

   Plain #57BB6D cannot be used as a button background: contrast with white text
   is 2.40:1, failing WCAG AA (4.5:1). The logo's HSL hue (h=133°, s=42%) is kept,
   only the lightness is lowered (0.537 -> 0.36) — the result is 4.68:1, passes AA,
   and still reads as "the same green".

   var(--color-primary) is used in 242 places — this override cascades everywhere.
   Only 2 places (style.css:16868, 18953) hardcode the colour and do not follow
   var(); they get a separate override below. */
:root {
    --color-primary: #358346;
}

.luminos-main-solutioin-key .tag-wrapper .single-tag span {
    border-color: var(--color-primary);
}
.rts-blog-detials-area-start .inner-content-blog-details .quote-area .name {
    color: var(--color-primary);
}

/* --- Language switcher: custom dropdown (<details>/<summary>) ---
   A native <select> is deliberately not used: its open list is drawn in the browser's
   own style and the "premium" look cannot be controlled.
   <details> gives full CSS control, opens/closes without JS, and works natively with
   keyboards and screen readers (a small script for click-outside/Escape lives in
   static/js/app/language-select.js — only for closing; opening is still native). */

.lang-select {
    position: relative;
}

.lang-select__trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.lang-select__trigger::-webkit-details-marker { display: none; }
.lang-select__trigger::marker { content: ""; }

.lang-select:hover .lang-select__trigger {
    border-color: var(--color-primary);
}
.lang-select[open] .lang-select__trigger {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 14%, transparent);
}
.lang-select__trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lang-select__flag {
    font-size: 14px;
    line-height: 1;
    transform: translateY(-0.5px);
}
.lang-select__code {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-heading-1);
}
.lang-select__chevron {
    color: var(--color-body);
    transition: transform 0.25s ease;
    margin-left: 1px;
}
.lang-select[open] .lang-select__chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.lang-select__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 132px;
    padding: 6px;
    border-radius: 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 40px -12px rgba(7, 20, 49, 0.22), 0 2px 8px rgba(7, 20, 49, 0.06);
    transform-origin: top right;
    animation: lang-select-in 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lang-select-in {
    from { opacity: 0; transform: translateY(-4px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-select__option-form {
    margin: 0;
}
.lang-select__option-form + .lang-select__option-form {
    margin-top: 2px;
}

.lang-select__option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-radius: 9px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-heading-1);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lang-select__option:hover,
.lang-select__option:focus-visible {
    background: #F3F6FF;
    outline: none;
}
.lang-select__option.is-active {
    color: var(--color-primary);
    background: #EEF3FF;
}
.lang-select__option .lang-select__flag {
    font-size: 15px;
}
.lang-select__check {
    margin-left: auto;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* When the header sits on a dark background (bg_dark, bg_image-three-banner etc.) it
   stays on white — readability is kept, but the visual weight drops. */
.header-relative .lang-select__trigger {
    background: rgba(255, 255, 255, 0.92);
}

/* Mega menu right panel: the default vendor `.menu-list` look is kept, but instead
   of a static category list it shows the first 5 sub-services of the hovered service
   + "Hamısına bax" (see all) (JS in static/js/app/mega-menu.js). */
.mega-sublist {
    display: none;
}
.mega-sublist.is-active {
    display: block;
}
.mega-sublist__all {
    color: var(--color-primary) !important;
    font-weight: 700 !important;
}

/* --- FAQ page: questions by service (category tabs + search) ---
   410 questions (82 services x 5) cannot be shown as one flat list — they are split
   into tabs per category (Bootstrap pills) and, inside a tab, into an accordion per
   service. The search input filters within the active tab (static/js/app/faq-search.js). */
.faq-search {
    position: relative;
    max-width: 480px;
    margin: 0 auto 30px;
}
.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-body);
    font-size: 15px;
}
.faq-search input {
    width: 100%;
    height: 54px;
    padding: 0 20px 0 48px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.faq-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.faq-cat-tabs__btn {
    padding: 11px 22px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading-1);
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-cat-tabs__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.faq-cat-tabs__btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}



/* --- Category page: "Əlavə imkanlar" (additional capabilities) ---
   In categories with more than 6 sub-services the rest are shown as a compact list of
   pill links instead of cards — the "6 main + Additional Capabilities" layout the user
   asked for as a premium, sales-oriented structure. */
.additional-capabilities {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
.additional-capabilities__title {
    font-size: 20px;
    margin-bottom: 20px;
}
.additional-capabilities__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.additional-capabilities__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-heading-1);
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.additional-capabilities__item i {
    font-size: 11px;
    opacity: 0.6;
    transition: transform 0.25s ease;
}
.additional-capabilities__item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #F5FAF6;
}
.additional-capabilities__item:hover i {
    transform: translateX(2px);
    opacity: 1;
}

/* --- Header WhatsApp button — in place of the "Konsultasiya al" button --- */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #25D366;
    color: var(--color-white);
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
    background: #1EBE5A;
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn:focus-visible {
    outline: 2px solid #1EBE5A;
    outline-offset: 2px;
}

/* --- About page (static, premium) ---
   The page only reads the SEO fields from the database (pages.AboutIndex). All the
   visual content is here — without touching the vendor style.css, on top of the
   existing components (.single-feature-area-three, .rts-cta-area). */

/* --- rts-cta-area bug fix: the vendor component never coloured its body text
   (.disc). The default colour of p.disc (--color-body, grey) is almost invisible on
   the green background (--color-primary) (4.68:1 with white, ~1.5:1 with grey). This
   component will be used on several pages, so the fix belongs to the component
   itself, not to the about page. --- */
.rts-cta-area .cta-inner .content-area .title-left-wrapper p.disc {
    color: var(--color-white);
    opacity: 0.92;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}
.about-eyebrow--light {
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.about-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.about-mission-band {
    padding-block: 90px;
}
.about-mission-text {
    margin-top: 18px;
    color: #fff;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.5;
    font-weight: 500;
}

.about-pillars .single-feature-area-three {
    background: var(--color-white);
}
.about-pillars .icon img {
    width: 32px;
    height: 32px;
}
.about-pillars .content .title {
    font-size: 19px;
    margin-bottom: 10px;
}
.about-pillars .content p.disc {
    font-size: 15px;
    margin-bottom: 0;
}

/* Asymmetric layout of two different photos + a floating "founding year" card.
   The small image in the bottom-right corner is shifted down and right of the main
   image, with a white border giving it a "card" effect. The badge in the top-left
   corner floats above both images (highest z-index). */
.about-story-images {
    position: relative;
    padding-bottom: 22%;
    padding-left: 14%;
}
.about-story-images__main {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 24px 60px -20px rgba(5, 13, 32, 0.28);
}
.about-story-images__secondary {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 6px solid var(--color-white);
    border-radius: 18px;
    box-shadow: 0 20px 45px -12px rgba(5, 13, 32, 0.3);
}
@media only screen and (max-width: 767px) {
    .about-story-images {
        padding-bottom: 30%;
        padding-left: 20%;
    }
}

.about-why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    height: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.about-why-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.about-why-item__index {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}
.about-why-item .title {
    font-size: 19px;
    margin-bottom: 10px;
}
.about-why-item .disc {
    margin-bottom: 0;
}

/* --- Footer: dark background matched to the brand colour ---
   The vendor .bg_dark (#050D20) is a neutral dark navy and stays in the site's other
   sections (mission strip etc.). For the footer a dark green-black background in the
   same hue (h=133°, the brand green's hue) with lower saturation/lightness was chosen —
   it looks almost black but keeps the link to the brand identity and removes the
   grey-navy clash. */
.rts-footer-one.bg_dark {
    background: #0E1B11;
}

/* --- Contact page: map --- */
.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    line-height: 0;
}
.contact-map-wrapper iframe {
    display: block;
}

/* --- Services page: category cards — premium touch ---
   The vendor `.single-service-security` was static (no hover effect, no icon "chip"
   background). Aligned with the icon-chip + hover-lift language already used elsewhere
   on the site (mega menu, About pillars). */
.rts-service-area .single-service-security {
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.rts-service-area .single-service-security:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px -20px rgba(53, 131, 70, 0.25);
    transform: translateY(-4px);
}
.rts-service-area .single-service-security .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #EAF6ED;
}
.rts-service-area .single-service-security .icon img {
    width: 28px;
    height: 28px;
}
/* Titles can take 1 or 2 lines (depending on length) — a fixed min-height makes the
   description start at the same height in every card of the row. */
.rts-service-area .single-service-security a .title {
    min-height: 2.6em;
    display: flex;
    align-items: flex-start;
}
/* The button always sticks to the bottom of the card — so all "Ətraflı bax" (details)
   buttons in a row stay aligned regardless of the description length. */
.rts-service-area .single-service-security .rts-btn {
    margin-top: auto;
}

/* --- Services page: "İş Prosesi" (work process) — a numbered card flow ---
   Replaces the vendor's old design (working-process-three-main), which only showed a
   small dot on a dashed line: each step is a card, with direction arrows in between and
   a lift effect on hover. */
.process-steps {
    display: flex;
    align-items: stretch;
    gap: 4px;
    flex-wrap: wrap;
}
.process-steps__item {
    flex: 1 1 220px;
    padding: 34px 28px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.process-steps__item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px -20px rgba(53, 131, 70, 0.25);
    transform: translateY(-4px);
}
.process-steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EAF6ED;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 22px;
}
.process-steps__title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-heading-1);
}
.process-steps__desc {
    font-size: 14.5px;
    color: var(--color-body);
    line-height: 1.6;
    margin: 0;
}
.process-steps__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    align-self: center;
    color: var(--color-primary);
    font-size: 15px;
    opacity: 0.5;
}
@media (max-width: 991px) {
    .process-steps__connector {
        display: none;
    }
    .process-steps__item {
        flex: 1 1 100%;
    }
}

/* --- Service detail page (service_detail.html) — premium touches ---
   Services have no real photos (only the category icon), so instead of an empty area
   the hero and the "Xidmət mərhələləri" (service stages) sections show the category
   icon large, in a branded badge. */
.service-detail-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 60px 30px;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 30%, #EAF6ED 0%, #F7FAF8 70%);
    border: 1px solid var(--color-border);
    text-align: center;
}
.service-detail-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 20px 40px -16px rgba(53, 131, 70, 0.35);
}
.service-detail-badge__icon img {
    width: 52px;
    height: 52px;
}
.service-detail-badge__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-heading-1);
}
.service-detail-badge--secondary {
    padding: 44px 24px;
}
.service-detail-badge--secondary .service-detail-badge__icon {
    width: 84px;
    height: 84px;
}
.service-detail-badge--secondary .service-detail-badge__icon img {
    width: 38px;
    height: 38px;
}

/* A number chip on the "Xidmət mərhələləri" (service stages) cards — complements the
   existing scale effect on hover. */
.single-working-process-area {
    position: relative;
}
.single-working-process-area__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #EAF6ED;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}

/* --- Category page: the "main 6 services" cards — numbered, innovative ---
   In the old design the intro text took a column as part of the grid and broke the
   row balance (see the previous version of line 51), and the cards had no fixed
   height. Now the intro sits in its own full-width row, and the cards stay perfectly
   aligned within the row with flex-column + height:100%. A "ghost" number in the
   background — common on premium agency sites — is a distinctive visual element
   instead of a repetitive icon. */
.category-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 38px 34px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.category-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.category-service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 24px 48px -20px rgba(53, 131, 70, 0.28);
    transform: translateY(-6px);
}
.category-service-card:hover::before {
    transform: scaleX(1);
}
.category-service-card__index {
    position: absolute;
    top: 8px;
    right: 22px;
    font-size: 68px;
    font-weight: 800;
    color: var(--color-border);
    line-height: 1;
    z-index: 0;
    user-select: none;
    transition: color 0.3s ease;
}
.category-service-card:hover .category-service-card__index {
    color: #EAF6ED;
}
.category-service-card__title {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading-1);
    margin: 6px 0 14px;
    padding-right: 30px;
}
.category-service-card__desc {
    position: relative;
    z-index: 1;
    font-size: 14.5px;
    color: var(--color-body);
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1 1 auto;
}
.category-service-card__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
}
.category-service-card__link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}
.category-service-card:hover .category-service-card__link i {
    transform: translateX(4px);
}

/* --- Consultation form: "Xidmət" → "Alt-xidmət" (service → sub-service) dependent select ---
   The vendor `.contact-form-style-one` only styles input/textarea, not select — the
   same look is repeated here. The sub-service select is disabled until a category is
   chosen (static/js/app/consultation-form.js manages the dependency). */
.contact-form-style-one select {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border-radius: 0;
    border: 1px solid #DBE7FF;
    background: var(--color-white);
    color: var(--color-heading-1);
    font-size: 15px;
    transition: border-color 0.25s ease, opacity 0.25s ease;
}
.contact-form-style-one select:focus {
    border-color: var(--color-primary);
    outline: none;
}
.contact-form-style-one select:disabled {
    background: #F7F8FC;
    color: var(--color-body);
    cursor: not-allowed;
}

/* --- Consultation page: premium form card ---
   The vendor `.contact-form-style-one` was a plain light-blue box (see above,
   style.css). Elevation, a centred heading block and a top accent strip are added here
   — the form is the page's only main focal point, so it should look more "premium"
   than the other cards. */
.consultation-form-card {
    position: relative;
    background: var(--color-white) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 28px;
    padding: 56px 60px !important;
    box-shadow: 0 40px 80px -40px rgba(53, 131, 70, 0.3);
    overflow: hidden;
}
.consultation-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--color-primary);
}
@media only screen and (max-width: 575px) {
    .consultation-form-card {
        padding: 32px 26px !important;
    }
}
.consultation-form-card__header {
    text-align: center;
    margin-bottom: 36px;
}
.consultation-form-card__header .title {
    margin-top: 10px;
    margin-bottom: 12px;
    /* The page's only h1 (SEO); it looks exactly like the previous h2. */
    line-height: 1.1;
}
.consultation-form-card__header .disc {
    max-width: 46ch;
    margin: 0 auto;
    color: var(--color-body);
}
.consultation-form-card .rts-btn.btn-primary {
    border-radius: 999px;
    height: 58px;
}

/* --- Consultation form: premium look for inputs/selects ---
   The vendor `border-radius: 0` gave hard corners, and the native <select> got no
   styling at all (OS default look). Both are aligned to the same soft-cornered style
   that glows on focus; the select gets a custom arrow icon
   (appearance:none + background-image). */
.consultation-form-card input,
.consultation-form-card textarea,
.consultation-form-card select {
    border-radius: 12px !important;
    border-color: var(--color-border) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.consultation-form-card input:focus,
.consultation-form-card textarea:focus,
.consultation-form-card select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 14%, transparent);
    outline: none;
}
.consultation-form-card select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23358346' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
}
.consultation-form-card select:disabled {
    cursor: not-allowed;
    /* The long-form background-* properties are written separately: `.contact-form-
       style-one select:disabled` uses the `background:` shorthand, which resets
       repeat/position (initial: repeat, 0% 0%) — and the arrow icon was then tiled
       along the whole select. */
    background-color: #F7F8FC !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A7B3AC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    color: var(--color-body) !important;
}

/* --- Consultation form: spacing of validation errors ---
   With the vendor `.single-input-wrapper { align-items: center }`, when the error
   message was placed BEFORE the input and only one of a pair of columns was taller
   (e.g. full name empty but project name not), that pair's inputs "floated" at
   different heights. The error now comes AFTER the input and the row is aligned to the
   top (flex-start), so paired inputs always start on the same line, error or not. */
.consultation-form-card .single-input-wrapper {
    align-items: flex-start !important;
}
.consultation-form-card .errorlist {
    list-style: none;
    margin: 6px 2px 0 !important;
    padding: 0;
    font-size: 13px;
    color: #E5484D;
}
.consultation-form-card textarea {
    margin-bottom: 6px;
}


/* ============================================================
   HOME PAGE — premium/innovative rebuild (motion included)
   ============================================================
   Every animation is switched off completely under `prefers-reduced-motion: reduce`,
   and `[data-reveal]` applies only with the `html.js` class (without JS opacity:0 is
   never applied — SEO/accessibility). */

/* --- Sitewide scroll-reveal utility --- */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1);
    transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- Hero: aurora/mesh background + floating trust chips --- */
.home-hero {
    position: relative;
    overflow: hidden;
}
.home-hero__aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.home-hero__aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    animation: home-aurora-drift 16s ease-in-out infinite;
}
.home-hero__aurora span:nth-child(1) {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: var(--color-primary);
    animation-delay: 0s;
}
.home-hero__aurora span:nth-child(2) {
    width: 320px;
    height: 320px;
    top: 40%;
    right: -100px;
    background: #57BB6D;
    animation-delay: -5s;
}
.home-hero__aurora span:nth-child(3) {
    width: 260px;
    height: 260px;
    bottom: -100px;
    left: 30%;
    background: #1BA2DB;
    opacity: 0.18;
    animation-delay: -10s;
}
@keyframes home-aurora-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -24px) scale(1.08); }
    66% { transform: translate(-24px, 18px) scale(0.96); }
}
.home-hero .rts-banner-content-three,
.home-hero .thumbnail-large-iamge-banner-three {
    position: relative;
    z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
    .home-hero__aurora span { animation: none; }
}

/* Icon-only floating badges — the text was removed; the meaning reaches screen readers
   through `role="img"` + `aria-label` (visually not repetitive, looks clean). */
.home-hero__chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    box-shadow: 0 20px 40px -20px rgba(15, 30, 20, 0.3);
    animation: home-chip-float 5s ease-in-out infinite;
}
.home-hero__chip i {
    color: var(--color-primary);
    font-size: 22px;
}
.home-hero__chip--one {
    top: 6%;
    left: -6%;
    animation-delay: 0s;
}
.home-hero__chip--two {
    bottom: 10%;
    right: -4%;
    animation-delay: -2.4s;
}
@keyframes home-chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@media (max-width: 1199px) {
    .home-hero__chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero__chip { animation: none; }
}

/* --- Below the hero: the "trust" marquee strip (category names, endless scroll) --- */
.home-marquee {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 22px 0;
    background: var(--color-white);
}
/* The label is a fixed column and the track animates in a SEPARATE overflow:hidden box —
   so the endlessly scrolling text never slides under the label and overlaps it (in the
   previous version both flowed freely on the same line). */
.home-marquee .container-fluid {
    display: flex;
    align-items: center;
    gap: 18px;
}
.home-marquee__label {
    flex: 0 0 auto;
    padding-right: 18px;
    border-right: 1px solid var(--color-border);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-body);
    white-space: nowrap;
}
.home-marquee__viewport {
    flex: 1 1 auto;
    overflow: hidden;
}
.home-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    animation: home-marquee-scroll 28s linear infinite;
    will-change: transform;
}
.home-marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading-1);
    white-space: nowrap;
}
.home-marquee__track span i {
    color: var(--color-primary);
    font-size: 8px;
}
@keyframes home-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .home-marquee__track { animation: none; }
}

/* --- Home page "Xidmətlər" (services) section — an interactive "spotlight" showcase ---
   The old 6-6-6-6 card grid did not add up in the bootstrap row: col-lg-6 text +
   4×col-lg-3 cards = 18 units, which did not fit the 12-column grid, so the 3rd/4th card
   dropped to the next row — and only the first 4 categories were visible.
   New design: on the left a list of all 6 categories (Bootstrap tabs — the same proven
   mechanism as the `about` section), on the right a large "stage" panel. Switching is
   by click (hover navigation is not accessible for touch/keyboard), with a fade+slide
   animation on change. */
.home-services-spotlight {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .home-services-spotlight {
        grid-template-columns: 1fr;
    }
}
.home-services-spotlight__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
}
.home-services-spotlight__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    appearance: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.home-services-spotlight__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 3px;
    background: var(--color-primary);
    transition: height 0.3s ease;
}
.home-services-spotlight__item .num {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-body);
    transition: color 0.3s ease;
}
.home-services-spotlight__item .name {
    flex: 1 1 auto;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-heading-1);
}
.home-services-spotlight__item .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.home-services-spotlight__item:hover {
    background: #F7FAF8;
    transform: translateX(4px);
}
.home-services-spotlight__item:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}
.home-services-spotlight__item.active {
    background: var(--color-white);
    border-color: var(--color-border);
    box-shadow: 0 16px 32px -20px rgba(15, 30, 20, 0.2);
}
.home-services-spotlight__item.active::before {
    height: 60%;
}
.home-services-spotlight__item.active .num {
    color: var(--color-primary);
}
.home-services-spotlight__item.active .arrow {
    opacity: 1;
    transform: translateX(0);
}

.home-services-spotlight__stage {
    position: relative;
    min-height: 420px;
    padding: 56px;
    border-radius: 28px;
    background: radial-gradient(circle at 15% 15%, #EAF6ED 0%, #F7FAF8 45%, var(--color-white) 100%);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.home-services-spotlight__stage::before,
.home-services-spotlight__stage::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    animation: home-aurora-drift 18s ease-in-out infinite;
    pointer-events: none;
}
.home-services-spotlight__stage::before {
    width: 220px;
    height: 220px;
    top: -60px;
    right: 10%;
    background: #57BB6D;
}
.home-services-spotlight__stage::after {
    width: 160px;
    height: 160px;
    bottom: -40px;
    right: 30%;
    background: #1BA2DB;
    opacity: 0.25;
    animation-delay: -9s;
}
@media (prefers-reduced-motion: reduce) {
    .home-services-spotlight__stage::before,
    .home-services-spotlight__stage::after { animation: none; }
}
@media (max-width: 575px) {
    .home-services-spotlight__stage { padding: 36px 28px; min-height: auto; }
}

/* Bootstrap `.tab-pane.fade` only transitions opacity by default — here both opacity
   and a light translateY give a more premium "enter the stage" effect; the duration can
   be safely extended because Bootstrap's own JS reads it from `getComputedStyle`
   (tab.js does not wait a hard 150ms). */
.home-services-spotlight__stage .tab-pane {
    position: relative;
    z-index: 1;
    transition: opacity 0.45s cubic-bezier(.16,.84,.44,1), transform 0.45s cubic-bezier(.16,.84,.44,1);
    transform: translateY(14px);
}
.home-services-spotlight__stage .tab-pane.show {
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .home-services-spotlight__stage .tab-pane { transition: opacity 0.2s linear; transform: none; }
}
.home-services-spotlight__panel-ghost {
    position: absolute;
    top: -10px;
    right: 24px;
    font-size: 160px;
    font-weight: 800;
    line-height: 1;
    color: rgba(53, 131, 70, 0.08);
    user-select: none;
    z-index: 0;
}
@media (max-width: 767px) {
    .home-services-spotlight__panel-ghost { font-size: 100px; }
}
.home-services-spotlight__panel .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--color-primary);
    margin-bottom: 26px;
    box-shadow: 0 16px 32px -14px rgba(53, 131, 70, 0.55);
    animation: home-panel-pop 0.5s cubic-bezier(.16,.84,.44,1);
}
.home-services-spotlight__panel .icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}
@keyframes home-panel-pop {
    from { transform: scale(0.6) rotate(-8deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .home-services-spotlight__panel .icon { animation: none; }
}
.home-services-spotlight__panel .title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-heading-1);
    margin-bottom: 16px;
}
.home-services-spotlight__panel .disc {
    font-size: 15.5px;
    color: var(--color-body);
    line-height: 1.75;
    max-width: 52ch;
    margin-bottom: 30px;
}

/* --- Projects (case) swiper — hover overlay reveal --- */
.home-case-card {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none !important;
}
.home-case-card__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
}
.home-case-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.16,.84,.44,1);
}
.home-case-card:hover .home-case-card__thumb img {
    transform: scale(1.08);
}
.home-case-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, rgba(11, 32, 22, 0) 40%, rgba(11, 32, 22, 0.88) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.home-case-card:hover .home-case-card__overlay {
    opacity: 1;
}
.home-case-card__tag {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
}
.home-case-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--color-white);
    font-size: 19px;
    font-weight: 700;
}
.home-case-card__title i {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.home-case-card:hover .home-case-card__title i {
    transform: translate(4px, -4px);
}

/* --- Technology/facilities section: tilted image + floating badge --- */
.home-facilities-visual {
    position: relative;
}
.home-facilities-visual [data-tilt] {
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    border-radius: 24px;
    overflow: hidden;
}
.home-facilities-visual [data-tilt] img {
    display: block;
    width: 100%;
    border-radius: 24px;
}
.home-facilities-badge {
    position: absolute;
    bottom: 24px;
    left: -24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 24px 48px -20px rgba(15, 30, 20, 0.3);
}
.home-facilities-badge .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #EAF6ED;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}
.home-facilities-badge .value {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-heading-1);
    line-height: 1.1;
}
.home-facilities-badge .label {
    font-size: 12.5px;
    color: var(--color-body);
}
@media (max-width: 991px) {
    .home-facilities-badge { left: 16px; }
}
