/**
 * Charte graphique ARTC / Aalam Al Reyadah
 * Référence: https://artcacademy.com.sa/
 *
 * Navy:   #2a4562
 * Accent: #6ba6ce
 * Heading:#0c1a2a
 * Coral:  #dd2476 / #ff512f (CTA secondaire)
 */

:root {
    --artc-navy: #2a4562;
    --artc-navy-deep: #14325d;
    --artc-heading: #0c1a2a;
    --artc-accent: #6ba6ce;
    --artc-accent-hover: #528cb4;
    --artc-coral: #dd2476;
    --artc-coral-hot: #ff512f;
    --artc-surface: #f7fafd;
    --artc-muted: #686868;
    --artc-gradient: linear-gradient(135deg, #2a4562 0%, #6ba6ce 100%);
    --artc-coral-gradient: linear-gradient(135deg, #ff512f, #dd2476);
}

/* Hero */
.slider-container .slider-content.hero-section2 h1 {
    font-size: 3rem !important;
    color: #ffffff !important;
}

.slider-container .slider-content.hero-section2 p {
    color: #ffffff !important;
}

.slider-container {
    background: var(--artc-navy);
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-container.slider-hero-section2 {
    padding: 5rem 0;
}

.slider-container .slider-content .slide-hint {
    margin-top: 0 !important;
}

.slider-container .mask {
    background: linear-gradient(
        to top,
        rgba(42, 69, 98, 0.92) 0%,
        rgba(42, 69, 98, 0.35) 45%,
        rgba(12, 26, 42, 0.15) 100%
    ) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--artc-accent) !important;
    border-color: var(--artc-accent) !important;
    color: #ffffff !important;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(107, 166, 206, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--artc-accent-hover) !important;
    border-color: var(--artc-accent-hover) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: var(--artc-navy) !important;
    border-color: var(--artc-navy) !important;
}

.btn-secondary:hover {
    background-color: var(--artc-navy-deep) !important;
    border-color: var(--artc-navy-deep) !important;
}

.btn-border-white {
    border: solid 1px var(--artc-navy);
    color: var(--artc-navy);
}

.btn-border-white:hover {
    color: #fff;
    background-color: var(--artc-navy);
}

.btn-artc-coral,
.btn-download-brochure {
    background: var(--artc-coral-gradient) !important;
    border: none !important;
    color: #fff !important;
}

.btn-artc-coral:hover,
.btn-download-brochure:hover {
    background: linear-gradient(135deg, #dd2476, #ff512f) !important;
    color: #fff !important;
}

/* Navbar — blanc clean comme ARTC */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 16px rgba(12, 26, 42, 0.08);
}

.navbar .nav-item .nav-link {
    font-size: 1.05rem;
    color: var(--artc-heading) !important;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--artc-accent) !important;
    text-decoration: none;
    border-top: 3px solid var(--artc-accent);
}

.navbar-brand img {
    height: auto;
    max-height: 70px;
    padding: 0.5rem 0;
    filter: none !important;
    width: auto;
    object-fit: contain;
}

.navbar-light .navbar-toggler-icon {
    filter: none;
}

.navbar .navbar-toggle-content.show {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(12, 26, 42, 0.12);
}

#navbarClose svg {
    filter: none;
    stroke: var(--artc-navy);
}

.navbar .navbar-toggle-content.show .xs-categories-toggle {
    border: 2px solid var(--artc-navy);
    padding: 1rem;
    color: var(--artc-navy);
    font-size: 1rem;
}

.navbar-light .nav-icons-or-start-live a {
    background: var(--artc-accent);
    color: #fff !important;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
}

.main-content {
    margin-top: 5rem;
}

/* Hero animations */
:lang(en) .slider-content .col-12:first-of-type {
    animation: slideInFromLeft 1.5s ease-out forwards;
}

:lang(en) .slider-content .col-12:nth-of-type(2) {
    animation: slideInFromRight 1.5s ease-out forwards;
}

:lang(ar) .slider-content .col-12:first-of-type {
    animation: slideInFromRight 1.5s ease-out forwards;
}

:lang(ar) .slider-content .col-12:nth-of-type(2) {
    animation: slideInFromLeft 1.5s ease-out forwards;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Categories / trending */
.trend-categories-swiper .swiper-slide {
    margin-right: 1.5rem;
}

.trending-card .trending-image {
    box-shadow: rgba(42, 69, 98, 0.12) 0px 2px 10px 0px;
    padding: 1rem;
}

.trending-card .trending-image:hover {
    background-color: #f8f8f8 !important;
    border: 1px solid var(--artc-accent);
    border-radius: 1rem;
}

.trending-card .trending-image .icon {
    width: 100%;
    min-height: 8rem;
    margin-bottom: 0 !important;
}

.trending-card .item-count {
    background-color: var(--artc-navy);
    color: #fff;
    position: absolute;
    right: 0;
    display: flex;
    justify-items: center;
    align-items: center;
}

.trending-card .item-count:hover {
    background-color: var(--artc-accent);
}

.trending-card .item-count::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(/store/1/new-images/star.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 0 0 0.5rem;
}

.trending-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0;
    text-align: center;
    color: var(--artc-heading);
}

/* Home sections */
.home-sections {
    margin-top: 90px;
    text-align: center;
}

.home-sections .section-title {
    font-size: 2.5rem;
    color: var(--artc-heading) !important;
}

.home-sections .avatar img {
    border: 1px solid var(--artc-accent);
    box-shadow: rgba(42, 69, 98, 0.12) 0px 2px 8px 0px;
}

.home-sections .webinar-card .image-box .badges-lists .badge {
    border-radius: 0.2rem !important;
    margin-right: -1rem !important;
}

.home-sections .webinar-card .webinar-card-body .webinar-title {
    height: auto;
    color: var(--artc-navy);
}

.home-sections figcaption .d-block {
    background: rgba(107, 166, 206, 0.12);
    padding: 0.5rem;
}

.home-sections figcaption .d-block a {
    text-decoration: none;
}

.home-sections figcaption .stars-card {
    display: none !important;
}

.home-sections .progress {
    display: none;
}

.home-sections figure .image-box {
    border-radius: 50%;
    width: 6rem !important;
    height: 6rem !important;
    position: absolute !important;
    left: 0;
    top: -3rem;
}

.home-sections figure .image-box img {
    border-radius: 50% !important;
    border: 0.5rem solid rgba(107, 166, 206, 0.25);
    position: absolute;
    left: 0;
}

:lang(en) .home-sections figure .image-box {
    right: 0;
    left: auto;
}

.home-sections .webinar-card {
    box-shadow: none;
}

.home-sections .webinar-card:hover {
    box-shadow: none;
}

.home-sections figcaption {
    box-shadow: rgba(42, 69, 98, 0.12) 0px 2px 10px 0px;
    padding: 1.5rem;
    border-radius: 1rem;
    border-top: 3px solid var(--artc-accent);
    background: linear-gradient(to bottom, rgba(159, 197, 228, 0.35) 0%, rgba(255, 255, 255, 1) 55%);
}

.webinar-card .image-box::after {
    display: none;
}

.home-sections .latest-webinars-swiper {
    padding: 8rem 0 0 0 !important;
}

.home-sections .badges-lists {
    z-index: 9;
}

.home-sections .webinar-card .image-box .webinar-notify {
    background-color: var(--artc-accent);
    bottom: 1px;
}

.home-sections .webinar-card .image-box .webinar-notify svg {
    stroke: #ffffff;
}

.swiper-container {
    padding: 2rem 0 !important;
}

/* Page background */
#app {
    background: var(--artc-surface);
    background-image: none;
}

/* Ancien footer retiré — styles dans .artc-footer (voir plus bas) */

[id*="parallax"] {
    display: none;
}

/* Filters / catalogue */
#topFilters,
#filtersForm .filters-container,
.course-content-sidebar .rounded-lg {
    background: #fff;
}

#filtersForm .webinar-card-body .d-block {
    background: rgba(107, 166, 206, 0.12);
    padding: 0.5rem;
}

#filtersForm .webinar-card-body .d-block a {
    text-decoration: none;
}

#filtersForm .webinar-card .webinar-card-body .webinar-title {
    height: auto;
    color: var(--artc-navy);
}

#filtersForm figcaption .stars-card {
    display: none !important;
}

/* Testimonials — fond clair (contrasté avec le footer navy) */
.testimonials-container {
    background: #eef5fa !important;
    background-image: linear-gradient(180deg, #e8f2f9 0%, #f7fafd 55%, #ffffff 100%) !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(107, 166, 206, 0.25);
    border-bottom: 1px solid rgba(42, 69, 98, 0.08);
}

.testimonials-container h2,
.testimonials-container .section-title {
    color: #0c1a2a !important;
}

.testimonials-container section .text-center {
    padding-top: 1.2rem;
}

.testimonials-container .testimonials-card {
    margin-top: 1rem;
}

.testimonials-card {
    background: #ffffff !important;
    background-repeat: no-repeat;
    background-position: top;
    border-radius: 12px;
    border-top: 3px solid var(--artc-accent);
    box-shadow: 0 10px 28px rgba(42, 69, 98, 0.08);
}

.testimonials-container .testimonials-card .bottom-gradient {
    display: none;
}

.testimonials-user-avatar img {
    border: 0.2rem solid rgba(107, 166, 206, 0.35);
}

.testimonials-container .testimonials-card .testimonials-user-avatar {
    position: unset;
    width: 60px;
    height: 60px;
}

.testimonials-container .home-sections .section-hint,
.testimonials-container .section-hint {
    color: #686868 !important;
}

/* Swiper reveal */
.swiper-slide {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.swiper-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About */
.about-picture {
    background: url(/store/1/new-images/img.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 1rem;
    height: 100%;
    width: 100%;
    margin-left: 10rem;
    border-radius: 1rem;
    box-shadow:
        rgb(42 69 98 / 55%) 5px 5px,
        rgb(42 69 98 / 35%) 10px 10px,
        rgb(107 166 206 / 25%) 15px 15px,
        rgba(107, 166, 206, 0.12) 20px 20px,
        rgba(107, 166, 206, 0.05) 25px 25px;
}

#about-section h5 {
    font-size: 1.5rem;
    color: var(--artc-heading);
}

#about-section .box,
#about-section .box2 {
    border: 1px solid rgba(107, 166, 206, 0.55);
    padding: 1rem;
    border-radius: 1rem;
    border-top: 3px solid var(--artc-accent);
    background: linear-gradient(to bottom, rgba(159, 197, 228, 0.25) 0%, #fff 60%);
}

#about-section .box {
    min-height: 18rem;
}

#about-section .box2 {
    min-height: 14rem;
}

/* Stats style inspired by ARTC numbers block */
.home-stats .stat-item:nth-child(odd),
.stats-card:nth-child(odd) {
    background-color: var(--artc-navy-deep);
    color: #fff;
}

.home-stats .stat-item:nth-child(even),
.stats-card:nth-child(even) {
    background-color: var(--artc-accent);
    color: #fff;
}

@media (max-width: 991px) {
    .trend-categories-swiper .swiper-slide {
        margin-right: 0;
    }

    .trending-card .trending-image .icon {
        min-height: 12rem;
    }

    .about-picture {
        margin-left: 1rem;
    }
}

/* ========== HOME HERO (ARTC) ========== */
.slider-container.artc-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0 !important;
    margin-top: 0;
}

.artc-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 26, 42, 0.92) 0%,
        rgba(42, 69, 98, 0.55) 42%,
        rgba(42, 69, 98, 0.15) 72%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    z-index: 1;
    pointer-events: none;
}

.artc-hero-inner {
    position: relative;
    z-index: 2;
    padding-bottom: 4.5rem;
    padding-top: 8rem;
    width: 100%;
}

.artc-hero-title {
    color: #ffffff !important;
    font-size: clamp(1.85rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    line-height: 1.25;
    text-align: left;
    max-width: 18ch;
}

html[lang="ar"] .artc-hero-title,
body.rtl .artc-hero-title {
    text-align: right;
    max-width: none;
}

.artc-hero-desc {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.05rem !important;
    line-height: 1.6;
    margin-top: 1rem !important;
    max-width: 42rem;
    text-align: left;
}

html[lang="ar"] .artc-hero-desc,
body.rtl .artc-hero-desc {
    text-align: right;
}

.artc-hero-actions .btn {
    border-radius: 4px !important;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    min-width: 150px;
}

.artc-btn-explore {
    background-color: var(--artc-accent) !important;
    border-color: var(--artc-accent) !important;
}

.artc-btn-coral {
    background: var(--artc-coral-gradient) !important;
    border: none !important;
    color: #fff !important;
}

.artc-btn-coral:hover {
    background: linear-gradient(135deg, #dd2476, #ff512f) !important;
    color: #fff !important;
}

.artc-hero-search .slider-search {
    border-radius: 4px;
    max-width: 520px;
    box-shadow: 0 10px 30px rgba(12, 26, 42, 0.2);
}

.artc-hero-search .btn {
    border-radius: 4px !important;
}

@media (max-width: 767px) {
    .slider-container.artc-hero {
        min-height: 78vh;
    }

    .artc-hero-inner {
        padding-bottom: 3rem;
        padding-top: 6.5rem;
    }

    .artc-hero-actions .btn {
        width: 100%;
    }
}

/* ========== STATS (ARTC numbers) ========== */
.artc-stats-section {
    background: var(--artc-accent);
    background-image: linear-gradient(90deg, #2a4562 0%, #6ba6ce 100%);
    padding: 3.5rem 0 0;
    margin-top: 0;
}

.artc-stats-section .section-title {
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.artc-stats-grid {
    overflow: hidden;
}

.artc-stat-tile {
    padding: 2.25rem 1.25rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.artc-stat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(12, 26, 42, 0.18);
    z-index: 1;
}

.artc-stat-tile.is-navy {
    background-color: #14325d;
}

.artc-stat-tile.is-sky {
    background-color: #6ba6ce;
}

.artc-stat-number {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.artc-stat-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.75rem;
    color: #ffffff;
}

.artc-stat-desc {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.4rem;
    margin-bottom: 0;
    max-width: 18rem;
}

/* ========== ACCREDITATIONS ========== */
.artc-accreditations {
    background: #ffffff;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.artc-accreditation-card {
    border-radius: 12px;
    border-top: 3px solid var(--artc-accent);
    background: linear-gradient(to bottom, rgba(159, 197, 228, 0.4) 0%, #ffffff 55%);
    padding: 1.75rem 1.25rem;
    box-shadow: 0 8px 24px rgba(42, 69, 98, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.artc-accreditation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(42, 69, 98, 0.14);
}

.artc-accreditation-logo {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.artc-accreditation-logo img {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;
}

.artc-accreditation-title {
    font-size: 1.15rem;
    color: var(--artc-navy);
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.artc-accreditation-desc {
    font-size: 0.92rem;
    color: var(--artc-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Soft entrance for hero */
@keyframes artcHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artc-hero-content > div {
    animation: artcHeroFadeUp 0.9s ease-out both;
}

.artc-accreditation-card {
    animation: artcHeroFadeUp 0.7s ease-out both;
}

.artc-accreditations-grid .col-12:nth-child(1) .artc-accreditation-card { animation-delay: 0.05s; }
.artc-accreditations-grid .col-12:nth-child(2) .artc-accreditation-card { animation-delay: 0.15s; }
.artc-accreditations-grid .col-12:nth-child(3) .artc-accreditation-card { animation-delay: 0.25s; }
.artc-accreditations-grid .col-12:nth-child(4) .artc-accreditation-card { animation-delay: 0.35s; }

/* ========== FOOTER ARTC ========== */
.footer.artc-footer,
.artc-footer.bg-secondary,
footer.artc-footer {
    background: #2a4562 !important;
    background-image: none !important;
    color: #ffffff;
    padding: 0;
    margin-top: 0;
}

.artc-footer-top {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.artc-footer-logo img {
    max-height: 90px;
    width: auto;
    opacity: 1;
    filter: none;
}

.artc-footer-contact p {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    line-height: 1.45;
    opacity: 0.75;
    color: #ffffff;
}

.artc-footer-contact a {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
}

.artc-footer-contact a:hover {
    color: var(--artc-accent);
    opacity: 1;
}

.artc-footer h4 {
    color: #ffffff !important;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.artc-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.artc-footer-links ul li {
    padding: 0.35rem 0;
    list-style: none !important;
}

.artc-footer-links ul a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.artc-footer-links ul a:hover {
    color: var(--artc-accent) !important;
}

.artc-footer-partners p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.artc-footer-partners-logos {
    gap: 1rem 1.25rem;
}

.artc-partner-logo {
    height: 46px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(0.2) brightness(1.2);
    transition: opacity 0.2s ease;
}

.artc-partner-logo:hover {
    opacity: 0.95;
}

.artc-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 0.5rem;
    margin-bottom: 0.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.artc-footer-social-link:hover {
    background: var(--artc-accent);
}

.artc-footer-social-link img {
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    object-fit: contain;
}

html[lang="ar"] .artc-footer-social-link,
body.rtl .artc-footer-social-link {
    margin-right: 0;
    margin-left: 0.5rem;
}

.artc-footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.artc-footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.artc-footer-copyright strong {
    color: #ffffff;
}

/* Override anciens styles footer conflictuels */
.artc-footer .footer-subscribe,
.artc-footer .bg-secondary {
    background: transparent !important;
    background-image: none !important;
}

.artc-footer .border-blue {
    border: none !important;
}

@media (max-width: 991px) {
    .artc-footer-about {
        text-align: center;
    }

    .artc-footer-logo {
        justify-content: center;
        width: 100%;
    }

    .artc-footer-social {
        justify-content: center;
    }

    .artc-footer-partners {
        text-align: center;
    }

    .artc-footer-partners-logos {
        justify-content: center;
    }
}

/* ========== CONTACT US (ARTC) ========== */
.artc-contact-section {
    background: #ffffff;
    padding: 4.5rem 0 4rem;
}

.artc-contact-section--home {
    border-top: 1px solid rgba(42, 69, 98, 0.08);
}

.artc-contact-header {
    margin-bottom: 2.75rem;
}

.artc-contact-title {
    color: #2a4562 !important;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.artc-contact-underline {
    display: block;
    width: 42px;
    height: 3px;
    margin: 0 auto;
    background: #6ba6ce;
    border-radius: 2px;
}

.artc-contact-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(42, 69, 98, 0.08);
    padding: 1.75rem 1.25rem 1.5rem;
    text-align: center;
    height: 100%;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(42, 69, 98, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artc-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(42, 69, 98, 0.12);
}

.artc-contact-card--sm {
    min-height: 190px;
}

.artc-contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 2px solid #6ba6ce;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ba6ce;
}

.artc-contact-icon svg {
    stroke: #6ba6ce;
    color: #6ba6ce;
}

.artc-contact-card h3 {
    color: #2a4562 !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.artc-contact-card p {
    color: #5a6b7d;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.artc-contact-card a {
    color: #5a6b7d;
    text-decoration: none;
}

.artc-contact-card a:hover {
    color: #6ba6ce;
}

.artc-contact-map-wrap {
    height: 100%;
    min-height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(42, 69, 98, 0.1);
    background: #eef5fa;
}

.artc-contact-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.artc-contact-form-wrap {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1rem;
}

.artc-contact-form-title {
    color: #2a4562;
    font-size: 1.2rem;
    font-weight: 700;
}

.artc-contact-form-wrap .form-control {
    border-radius: 4px;
    border-color: rgba(42, 69, 98, 0.18);
}

.artc-contact-form-wrap .form-control:focus {
    border-color: #6ba6ce;
    box-shadow: 0 0 0 0.15rem rgba(107, 166, 206, 0.25);
}

@media (max-width: 991px) {
    .artc-contact-map-wrap,
    .artc-contact-map {
        min-height: 320px;
    }
}

/* ========== TRAINING SERVICES IN NUMBERS ========== */
.artc-training-numbers {
    background: #ffffff;
    padding-top: 4rem;
    padding-bottom: 0;
}

.artc-training-numbers-header {
    margin-bottom: 2.5rem;
}

.artc-training-numbers-title {
    color: #2a4562 !important;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.artc-training-numbers-underline {
    display: block;
    width: 42px;
    height: 3px;
    margin: 0 auto;
    background: #6ba6ce;
    border-radius: 2px;
}

.artc-training-numbers-row {
    min-height: 520px;
}

.artc-training-numbers-media-inner {
    position: relative;
    min-height: 520px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.artc-training-numbers-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 26, 42, 0.15) 0%,
        rgba(42, 69, 98, 0.55) 55%,
        rgba(12, 26, 42, 0.78) 100%
    );
}

.artc-training-numbers-media-caption {
    position: absolute;
    left: 1.5rem;
    right: 4rem;
    bottom: 2rem;
    z-index: 2;
}

.artc-training-numbers-media-caption span {
    display: block;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 12ch;
}

html[lang="ar"] .artc-training-numbers-media-caption,
body.rtl .artc-training-numbers-media-caption {
    left: 4rem;
    right: 1.5rem;
    text-align: right;
}

html[lang="ar"] .artc-training-numbers-media-caption span,
body.rtl .artc-training-numbers-media-caption span {
    max-width: none;
}

.artc-training-numbers-arrow {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 70px;
    z-index: 3;
    background: linear-gradient(135deg, rgba(107, 166, 206, 0.55), rgba(42, 69, 98, 0.75));
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

html[lang="ar"] .artc-training-numbers-arrow,
body.rtl .artc-training-numbers-arrow {
    right: auto;
    left: -1px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.artc-training-numbers-grid {
    height: 100%;
}

.artc-number-cell {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 130px;
    padding: 1.35rem 1.1rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    height: 100%;
}

.artc-number-cell.is-navy {
    background: #14325d;
}

.artc-number-cell.is-sky {
    background: #6ba6ce;
}

.artc-number-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.artc-number-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.artc-number-value {
    font-size: clamp(1.6rem, 2.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.artc-number-label {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
    .artc-training-numbers-media-inner {
        min-height: 280px;
    }

    .artc-training-numbers-arrow {
        display: none;
    }

    .artc-training-numbers-media-caption span {
        max-width: none;
    }

    .artc-number-cell {
        min-height: 110px;
        padding: 1rem 0.85rem;
    }

    .artc-number-icon {
        width: 46px;
        height: 46px;
    }
}

/* ========== SERVICES CARDS ========== */
.artc-services {
    background: #ffffff;
    padding-top: 3.5rem;
    padding-bottom: 1rem;
}

.artc-services-title {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem !important;
}

.artc-services-underline {
    display: block;
    width: 42px;
    height: 3px;
    margin: 0 auto;
    background: #6ba6ce;
    border-radius: 2px;
}

.artc-service-card {
    display: block;
    height: 100%;
    text-decoration: none !important;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border-top: 3px solid #6ba6ce;
    box-shadow: 0 10px 28px rgba(42, 69, 98, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-image: linear-gradient(to bottom, rgba(159, 197, 228, 0.35) 0%, #ffffff 42%);
}

.artc-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(42, 69, 98, 0.14);
    text-decoration: none !important;
}

.artc-service-card-media {
    position: relative;
    height: 160px;
    background-size: cover;
    background-position: center;
}

.artc-service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 69, 98, 0.45), transparent 60%);
}

.artc-service-number {
    position: absolute;
    right: 12px;
    bottom: 8px;
    z-index: 1;
    font-size: 2.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1;
}

html[lang="ar"] .artc-service-number,
body.rtl .artc-service-number {
    right: auto;
    left: 12px;
}

.artc-service-card-body {
    padding: 1.25rem 1.2rem 1.5rem;
    text-align: center;
}

.artc-service-icon {
    width: 58px;
    height: 58px;
    margin: -2.4rem auto 0.85rem;
    border-radius: 50%;
    border: 2px solid #6ba6ce;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(42, 69, 98, 0.12);
    color: #6ba6ce;
}

.artc-service-icon svg {
    stroke: #6ba6ce;
}

.artc-service-title {
    color: #2a4562 !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.artc-service-desc {
    color: #686868;
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0;
}

.trending-card .artc-trend-icon,
.trending-image .artc-trend-icon {
    width: 64px !important;
    height: 64px !important;
    max-width: 72px;
    object-fit: contain;
}

/* ========== HERO SLIDER ========== */
.artc-hero-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #0c1a2a;
}

.artc-hero-swiper,
.artc-hero-swiper .swiper-slide {
    height: 85vh;
    min-height: 520px;
}

.artc-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.artc-hero-slider .artc-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 26, 42, 0.92) 0%,
        rgba(42, 69, 98, 0.5) 45%,
        rgba(42, 69, 98, 0.18) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.artc-hero-slider .artc-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 5rem;
    padding-top: 7rem;
}

.artc-hero-slider .artc-hero-title {
    color: #ffffff !important;
    font-size: clamp(1.85rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    line-height: 1.25;
    text-align: left;
    max-width: 18ch;
    animation: artcHeroFadeUp 0.85s ease both;
}

.artc-hero-slider .artc-hero-desc {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.05rem !important;
    line-height: 1.6;
    margin-top: 1rem !important;
    max-width: 40rem;
    text-align: left;
    animation: artcHeroFadeUp 0.95s ease 0.08s both;
}

html[lang="ar"] .artc-hero-slider .artc-hero-title,
html[lang="ar"] .artc-hero-slider .artc-hero-desc,
body.rtl .artc-hero-slider .artc-hero-title,
body.rtl .artc-hero-slider .artc-hero-desc {
    text-align: right;
    max-width: none;
}

.artc-hero-slider .artc-hero-actions {
    animation: artcHeroFadeUp 1s ease 0.12s both;
}

.artc-hero-pagination {
    bottom: 22px !important;
    z-index: 5;
}

.artc-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.artc-hero-pagination .swiper-pagination-bullet-active {
    background: #6ba6ce;
    width: 28px;
    border-radius: 8px;
}

.artc-hero-nav {
    color: #ffffff !important;
    width: 44px;
    height: 44px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(42, 69, 98, 0.45);
    border-radius: 50%;
    z-index: 5;
}

.artc-hero-nav:after {
    font-size: 16px !important;
    font-weight: 700;
}

.artc-hero-nav:hover {
    background: #6ba6ce;
}

.artc-hero-prev {
    left: 18px;
}

.artc-hero-next {
    right: 18px;
}

/* Hide old single-image hero leftovers if any */
.slider-container.artc-hero {
    display: none !important;
}

@media (max-width: 767px) {
    .artc-hero-swiper,
    .artc-hero-swiper .swiper-slide {
        height: 78vh;
        min-height: 460px;
    }

    .artc-hero-slider .artc-hero-inner {
        padding-bottom: 4rem;
        padding-top: 6rem;
    }

    .artc-hero-nav {
        display: none;
    }
}
