/**
 * home.css
 * Styles specific to the main landing page (index.tpl).
 * ─────────────────────────────────────────────────────
 * Sections:
 *   01 — Alerts
 *   02 — Intro — CTA & Stats bar
 *   03 — Clients / Partners carousel
 *   04 — Features — video cards
 *   05 — About-1 — panels & accordion
 *   06 — Competition calendar table
 *   07 — Footer
 *   08 — Responsive overrides
 */


/* ==========================================================================
   01. ALERTS
   ========================================================================== */

.alert-warning {
    color: #FFFFFF;
    background-color: #F77272;
    border-color: #CA2929;
}

.alert-success {
    color: #FFFFFF;
    background-color: #73B557;
    border-color: #2D520D;
}

/* ==========================================================================
   01.5 TYPOGRAPHY FOUNDATION (HOMEPAGE)
   ========================================================================== */

.main-landing-page,
.home-page-wrapper {
    font-family: "Inter", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.home-page-wrapper button,
.home-page-wrapper input,
.home-page-wrapper textarea,
.home-page-wrapper select {
    font-family: inherit;
}

.home-page-wrapper .titlebar h1 {
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.home-page-wrapper .titlebar p {
    max-width: 68ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-wrap: pretty;
}


/* ==========================================================================
   02. INTRO — CTA bar & Stats bar
   ========================================================================== */

#intro.home-hero {
    background-image: url("../img/bg.png") !important;
    background-position: center 18% !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll !important;
    padding: 96px 0 72px;
}

#intro.home-hero .home-hero-overlay {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.52), rgba(15, 23, 42, 0.42)),
        radial-gradient(circle at 68% 22%, rgba(56, 189, 248, 0.22), transparent 44%);
}

#intro.home-hero .home-hero-glow {
    opacity: 0.78;
    filter: blur(26px);
}

#intro.home-hero #head-box.home-hero-card {
    max-width: 1120px;
    padding: 46px 44px 30px !important;
    background: rgba(6, 16, 31, 0.68) !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
    box-shadow: 0 26px 80px rgba(2, 8, 23, 0.5) !important;
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 30px;
    align-items: start;
}

.intro-primary {
    max-width: 600px;
}

.intro-cta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.intro-main-title {
    margin: 18px 0 0;
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.intro-main-title-base,
.intro-main-title-accent {
    display: block;
}

.intro-main-title-base {
    color: #f8fafc;
}

.intro-main-title-accent {
    background: linear-gradient(90deg, #7dd3fc 0%, #22d3ee 45%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-subtitle-modern {
    margin-top: 16px;
    max-width: 42ch;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(1.06rem, 1.35vw, 1.22rem);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.9);
    text-wrap: pretty;
}

.intro-divider {
    margin-bottom: 0 !important;
}

.intro-cta-icon {
    width: 1.05em;
    text-align: center;
}

.intro-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.intro-cta-btn-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.intro-cta-btn-primary:hover,
.intro-cta-btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
    color: #ffffff;
    text-decoration: none;
}

.intro-cta-btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    box-shadow: none;
}

.intro-cta-btn-ghost:hover,
.intro-cta-btn-ghost:focus {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.intro-highlights {
    display: grid;
    gap: 12px;
    align-self: stretch;
}

.intro-feature-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.intro-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #38bdf8, #0f7490);
    color: #f8fafc;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.26);
}

.intro-feature-copy h4 {
    margin: 2px 0 6px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: #f8fafc;
}

.intro-feature-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.8);
}

.intro-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 26px;
    background: rgba(15, 23, 42, 0.36);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    overflow: hidden;
}

.intro-stat {
    min-width: 0;
    padding: 15px 14px;
    text-align: center;
    background: rgba(15, 23, 42, 0.2);
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    transition: background 0.2s ease;
}

.intro-stat:last-child { border-right: none; }
.intro-stat:hover      { background: rgba(255, 255, 255, 0.09); }

.intro-stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: #38bdf8;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.intro-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   03. CLIENTS / PARTNERS CAROUSEL
   ========================================================================== */

#clients {
    background: #f8f9fb;
}

#clients .titlebar h1 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

#clients .titlebar p {
    color: #5d6470;
}

#our-customers .item {
    padding: 8px;
    height: 100%;
}

.partner-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 170px;
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
    text-align: center;
    padding: 18px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.16);
    border-color: #d4dbe5;
    text-decoration: none;
}

.partner-card:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
    text-decoration: none;
}

.partner-card img {
    display: block;
    height: 62px;
    max-height: 62px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 14px;
    object-fit: contain;
}

.partner-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1d2735;
    line-height: 1.3;
    min-height: 36px;
}

.partner-name small {
    display: block;
    margin-top: 3px;
    font-weight: 400;
    color: #6f7784;
}

.partner-logo-text {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #2f4f1c;
    margin-bottom: 10px;
}

#clients .customNavigation {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

#clients .customNavigation .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    transition: all 0.2s ease;
}

#clients .customNavigation .btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

#clients .customNavigation .btn i {
    font-size: 18px;
    color: currentColor;
}

#clients .customNavigation .btn:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.clients-carousel-shell {
    position: relative;
}

.clients-swipe-hint {
    display: none;
}


/* ==========================================================================
   04. FEATURES — VIDEO CARDS
   ========================================================================== */

#features {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.98) 100%);
}

#features .titlebar h1 {
    font-weight: 700;
    letter-spacing: 0.4px;
}

#features .titlebar p {
    color: #5f6c7b;
}

.features-video-grid {
    margin-top: 12px;
}

.features-video-card {
    background: #ffffff;
    border: 1px solid #e5ebf2;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 18px;
    height: 100%;
}

.features-video-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e8f3ff;
    color: #1d4ed8;
}

.features-video-card h4 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2d3d;
}

.features-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.features-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.features-video-copy {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}


/* ==========================================================================
   05. ABOUT-1 — PANELS, ACCORDION & CONTACT BOX
   ========================================================================== */

#about-1 {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#about-1 .titlebar h1 {
    font-weight: 700;
    letter-spacing: 0.3px;
}

#about-1 .titlebar p {
    color: #64748b;
}

.about-panel {
    background: #ffffff;
    border: 1px solid #e5ebf2;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    padding: 26px 24px;
    height: 100%;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e8f3ff;
    color: #1d4ed8;
}

#about-1-text h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2d3d;
    margin-top: 0;
    margin-bottom: 14px;
}

.about-copy,
#accordion_holder p {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

#accordion_holder {
    margin-top: 18px;
    padding: 18px 18px 6px;
    background: #f8fbff;
    border: 1px solid #e2ebf6;
    border-radius: 14px;
}

#accordion_holder h4 {
    font-size: 18px;
    font-weight: 700;
    color: #243447;
    margin-top: 0;
}

.about-contact-box {
    margin-top: 18px;
    padding: 16px 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
}

.about-contact-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #9a3412;
}

.about-contact-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #7c2d12;
}

.about-contact-box a {
    font-weight: 600;
}

.about-image-frame {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e5ebf2;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    padding: 18px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-frame img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}


/* ==========================================================================
   06. COMPETITION CALENDAR TABLE
   ========================================================================== */

.calendar-row {
    margin-bottom: 24px;
}

.calendar-table-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.calendar-table-card .dataTables_wrapper {
    padding: 16px 18px 14px;
}

.calendar-table-card .dataTables_wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.calendar-table-card .dataTables_wrapper .row > div {
    padding-left: 0;
    padding-right: 0;
}

.calendar-table-head {
    padding: 24px 24px 18px;
    border-bottom: 1px solid #edf2f7;
    background:
        radial-gradient(circle at 86% 14%, rgba(56, 189, 248, 0.14), transparent 42%),
        linear-gradient(180deg, #fbfdff 0%, #f5f8fd 100%);
}

.calendar-table-title {
    margin: 0;
    font-size: clamp(1.4rem, 2.1vw, 1.7rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.calendar-table-subtitle {
    margin: 8px 0 0;
    max-width: 58ch;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.calendar-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 12px;
    padding: 14px 18px 0;
}

.calendar-toolbar-filter {
    min-width: 220px;
}

.calendar-toolbar-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.calendar-toolbar-select {
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.calendar-toolbar-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.table.calendar-table {
    margin-bottom: 0;
}

.calendar-table thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    background: #f7faff;
    border-bottom-width: 1px;
    white-space: normal;
    line-height: 1.35;
    padding: 13px 10px;
    font-weight: 700;
}

.calendar-table tbody td {
    vertical-align: middle;
    padding: 13px 10px;
    border-color: #edf2f7;
}

.calendar-table tbody tr:hover {
    background: #f8fbff;
}

.calendar-row-live {
    background: #effaf5;
}

.calendar-live-dot {
    color: #059669;
    margin-right: 6px;
}

.calendar-title {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

.calendar-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 280px;
    white-space: normal;
    border: 1px solid transparent;
}

.calendar-status-badge i {
    font-size: 12px;
}

.calendar-status-badge.is-upcoming {
    background: #eef6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.calendar-status-badge.is-live {
    background: #ecfdf3;
    color: #047857;
    border-color: #a7f3d0;
}

.calendar-status-badge.is-ended {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.calendar-link-btn {
    font-size: 12px;
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.3;
}

.calendar-link-btn .fa {
    margin-right: 4px;
}

.calendar-link-btn.icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.calendar-link-btn.icon-only .fa {
    margin-right: 0;
}

.calendar-link-btn.icon-only:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.3);
}

.calendar-col-name   { min-width: 220px; }
.calendar-col-status { min-width: 140px; }

.calendar-col-date,
.calendar-col-count,
.calendar-col-fee {
    white-space: nowrap;
}

.calendar-col-action {
    width: 64px !important;
    min-width: 64px;
    max-width: 64px;
    text-align: center;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.calendar-col-action-head {
    width: 64px !important;
    min-width: 64px;
    max-width: 64px;
    text-align: center;
    white-space: nowrap;
}

.calendar-col-action .calendar-link-btn.icon-only {
    margin: 0 auto;
}

.calendar-empty {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    color: #334155;
}

.calendar-empty-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.calendar-empty-body {
    margin: 8px 0 0;
    font-size: 14px;
    color: #64748b;
}

.calendar-table-card .dataTables_filter,
.calendar-table-card .dataTables_length {
    margin-bottom: 10px;
}

.calendar-table-card .dataTables_filter label,
.calendar-table-card .dataTables_length label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.calendar-table-card .dataTables_filter input,
.calendar-table-card .dataTables_length select {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    height: 40px;
    padding: 6px 10px;
    background: #ffffff;
}

.calendar-table-card .dataTables_filter input:focus,
.calendar-table-card .dataTables_length select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

.calendar-table-card .pagination > li > a,
.calendar-table-card .pagination > li > span {
    border-radius: 10px !important;
    margin: 0 2px;
    border-color: #dbeafe;
    color: #1d4ed8;
}

.calendar-table-card .pagination > .active > a,
.calendar-table-card .pagination > .active > a:focus,
.calendar-table-card .pagination > .active > a:hover,
.calendar-table-card .pagination > .active > span {
    background: #2563eb;
    border-color: #2563eb;
}

.calendar-mobile {
    padding: 0 2px;
}

.calendar-mobile-toolbar {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.calendar-mobile-control {
    display: grid;
    gap: 6px;
}

.calendar-mobile-label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.calendar-mobile-input,
.calendar-mobile-select {
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
}

.calendar-mobile-input:focus,
.calendar-mobile-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
}

.calendar-mobile-list {
    display: grid;
    gap: 12px;
}

.calendar-mobile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 14px;
}

.calendar-mobile-card.is-live-row {
    border-color: #86efac;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 80%);
}

.calendar-mobile-card-head {
    margin-bottom: 10px;
}

.calendar-mobile-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a;
}

.calendar-mobile-meta {
    margin: 0;
    display: grid;
    gap: 6px;
}

.calendar-mobile-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.calendar-mobile-meta-row:last-child {
    border-bottom: none;
}

.calendar-mobile-meta dt {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.calendar-mobile-meta dd {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.calendar-mobile-cta {
    margin-top: 12px;
    border-radius: 12px;
    font-weight: 700;
}

.calendar-mobile-empty {
    margin-top: 10px;
}


/* ==========================================================================
   07. FOOTER
   ========================================================================== */

#footer {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: #cbd5e1;
    padding: 44px 0 18px;
}

.footer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 18px 16px;
    min-height: 165px;
}

.footer-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
}

.footer-muted {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 8px;
}

.footer-links a,
.footer-contact-link {
    color: #dbeafe;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact-link:hover {
    color: #93c5fd;
    text-decoration: none;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #dbeafe;
    text-decoration: none;
}

.footer-action-btn:hover {
    background: rgba(59, 130, 246, 0.32);
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-copy {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.footer-copy strong {
    color: #e2e8f0;
}

.footer-top-link {
    color: #bfdbfe;
    font-size: 13px;
    text-decoration: none;
}

.footer-top-link:hover {
    color: #ffffff;
    text-decoration: none;
}


/* ==========================================================================
   08. RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 1366px) {
    .partner-card {
        height: 160px;
    }

    .calendar-table thead th,
    .calendar-table tbody td {
        padding: 8px 6px;
        font-size: 13px;
    }

    .calendar-col-name { min-width: 190px; }

    .calendar-col-action,
    .calendar-col-action-head {
        width: 56px !important;
        min-width: 56px;
        max-width: 56px;
    }

    .calendar-link-btn {
        font-size: 11px;
        padding: 5px 8px;
    }

    .calendar-link-btn.icon-only {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .calendar-table thead th,
    .calendar-table tbody td {
        padding: 9px 8px;
        font-size: 12.5px;
        line-height: 1.35;
    }

    .calendar-col-name {
        min-width: 172px;
    }

    .calendar-col-status {
        min-width: 126px;
    }

    .calendar-status-badge {
        gap: 5px;
        padding: 6px 9px;
        font-size: 10.5px;
        max-width: 210px;
        line-height: 1.25;
        white-space: normal;
    }

    .calendar-status-badge i {
        font-size: 11px;
        margin-top: 1px;
    }

    .calendar-col-action,
    .calendar-col-action-head {
        width: 52px !important;
        min-width: 52px;
        max-width: 52px;
    }

    .calendar-link-btn.icon-only {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    #intro.home-hero {
        padding: 82px 0 58px;
    }

    #intro.home-hero #head-box.home-hero-card {
        padding: 34px 26px 22px !important;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-primary {
        max-width: none;
    }

    .intro-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .intro-feature-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .intro-feature-icon {
        margin: 0 auto;
    }

    #clients .customNavigation {
        justify-content: center;
    }

    .about-panel,
    .about-image-frame {
        padding: 20px 18px;
        margin-bottom: 14px;
    }

    .features-video-card {
        margin-bottom: 14px;
    }

    .footer-card {
        min-height: 0;
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-main-title {
        line-height: 1.12;
    }

    .intro-subtitle-modern {
        max-width: none;
    }

    .calendar-table-head {
        padding: 20px 18px 14px;
    }

    .calendar-toolbar {
        padding: 12px 14px 0;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    #intro.home-hero {
        padding: 72px 0 42px;
    }

    #intro.home-hero #head-box.home-hero-card {
        padding: 26px 16px 18px !important;
    }

    .intro-main-title {
        margin-top: 14px;
        font-size: clamp(1.9rem, 8.8vw, 2.7rem);
        letter-spacing: -0.01em;
    }

    .intro-subtitle-modern {
        margin-top: 12px;
        font-size: 1rem;
        line-height: 1.5;
    }

    .intro-cta-row {
        justify-content: stretch;
        gap: 10px;
    }

    .intro-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    .intro-feature-item {
        grid-template-columns: 48px minmax(0, 1fr);
        text-align: left;
    }

    .intro-feature-icon {
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .intro-stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intro-stat {
        border-right: 1px solid rgba(148, 163, 184, 0.18);
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .intro-stat:nth-child(2n) {
        border-right: none;
    }

    .intro-stat:nth-child(3),
    .intro-stat:nth-child(4) {
        border-bottom: none;
    }

    #clients.mobile-swipe-mode .customNavigation {
        display: none !important;
    }

    #clients.mobile-swipe-mode #our-customers {
        display: flex !important;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        margin: 0;
        padding: 2px 0 10px;
    }

    #clients.mobile-swipe-mode #our-customers::-webkit-scrollbar {
        display: none;
    }

    #clients.mobile-swipe-mode #our-customers:focus-visible {
        outline: 3px solid #60a5fa;
        outline-offset: 3px;
        border-radius: 12px;
    }

    #clients.mobile-swipe-mode #our-customers .item {
        flex: 0 0 84%;
        max-width: 84%;
        padding: 8px 8px 8px 0;
        scroll-snap-align: start;
    }

    #clients.mobile-swipe-mode #our-customers .item:last-child {
        margin-right: 16px;
    }

    #clients.mobile-swipe-mode .partner-card {
        min-height: 176px;
        height: auto;
        padding: 20px 16px;
        border-radius: 14px;
    }

    #clients.mobile-swipe-mode .clients-carousel-shell::before,
    #clients.mobile-swipe-mode .clients-carousel-shell::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 2;
        transition: opacity 0.2s ease;
    }

    #clients.mobile-swipe-mode .clients-carousel-shell::before {
        left: -1px;
        background: linear-gradient(to right, #f8f9fb 20%, rgba(248, 249, 251, 0));
    }

    #clients.mobile-swipe-mode .clients-carousel-shell::after {
        right: -1px;
        background: linear-gradient(to left, #f8f9fb 20%, rgba(248, 249, 251, 0));
    }

    #clients.mobile-swipe-mode.is-at-start .clients-carousel-shell::before {
        opacity: 0;
    }

    #clients.mobile-swipe-mode.is-at-end .clients-carousel-shell::after {
        opacity: 0;
    }

    #clients.mobile-swipe-mode .clients-swipe-hint {
        display: none;
        align-items: center;
        gap: 6px;
        margin: 6px 0 0;
        color: #6f7784;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    #clients.mobile-swipe-mode.is-scrollable .clients-swipe-hint {
        display: inline-flex;
    }

    #clients.mobile-swipe-mode .clients-swipe-hint i {
        font-size: 13px;
        color: #1d4ed8;
    }

    .calendar-mobile-card {
        padding: 12px;
        border-radius: 14px;
    }

    .calendar-mobile-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #clients.mobile-swipe-mode #our-customers .item {
        flex-basis: 88%;
        max-width: 88%;
    }

    .intro-feature-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-feature-icon {
        margin: 0 auto;
    }

    .intro-stats-bar {
        grid-template-columns: 1fr;
    }

    .intro-stat {
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .intro-stat:last-child {
        border-bottom: none;
    }
}

