/* ==========================================================================
   Ellvaron — Wilmer theme brand overrides + app widgets
   ========================================================================== */

:root {
    --ellvaron-orange: #ff5e14;
    --ellvaron-navy:   #00235a;
    --ellvaron-dark:   #001659;
}

/* ---------- Prevent double scrollbar ----------
   The theme sets html{overflow-y:scroll} and body{overflow-x:hidden!important};
   the latter turns <body> into a second scroll container, producing a doubled
   vertical scrollbar. Clip horizontally instead so only <html> scrolls. */
body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* ---------- Text logo ---------- */
.mkdf-text-logo {
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
}

/* Active nav item */
.mkdf-main-menu > ul > li.current-menu-item > a .item_text {
    color: var(--ellvaron-orange) !important;
}

/* ---------- Hero (static replacement for Revolution Slider) ---------- */
.ellvaron-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.ellvaron-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%);
    pointer-events: none;
}
.ellvaron-hero .mkdf-grid {
    position: relative;
    z-index: 2;
}
.ellvaron-hero-eyebrow {
    color: #565969;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Yantramanav', sans-serif;
    display: block;
}
.ellvaron-hero-title {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    font-size: 80px;
    line-height: 80px;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
    margin: 10px 0 0;
}
.ellvaron-hero-underline {
    display: block;
    width: 120px;
    height: 6px;
    background: var(--ellvaron-orange);
    margin: 24px 0 26px;
}
.ellvaron-hero-text {
    color: #565969;
    line-height: 30px;
    font-size: 17px;
    max-width: 460px;
    font-family: 'Yantramanav', sans-serif;
}
.ellvaron-hero-actions {
    margin-top: 34px;
}
.ellvaron-hero-actions .mkdf-btn {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
@media (max-width: 1024px) {
    .ellvaron-hero-title { font-size: 56px; line-height: 56px; }
}
@media (max-width: 680px) {
    .ellvaron-hero-title { font-size: 42px; line-height: 44px; }
}

/* ---------- Section heading helpers ---------- */
.ellvaron-dark-section .mkdf-st-title,
.ellvaron-dark-section h2 { color: #ffffff; }

/* Portfolio grid on navy background */
.ellvaron-projects .mkdf-pli-category,
.ellvaron-projects .mkdf-pli-category a,
.ellvaron-projects .mkdf-pli-title a,
.ellvaron-projects .mkdf-pli-excerpt { color: #ffffff; }
.ellvaron-projects .mkdf-pli-category a:hover,
.ellvaron-projects .mkdf-pli-title a:hover { color: var(--ellvaron-orange); }
.ellvaron-projects .mkdf-btn-simple .mkdf-btn-text { color: var(--ellvaron-orange); }

/* Team (simple caption below image) */
.ellvaron-team { text-align: center; margin-bottom: 34px; }
.ellvaron-team img { width: 100%; display: block; }
.ellvaron-team-name {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
    margin: 18px 0 2px;
}
.ellvaron-team-position {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #565969;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- Contact form (Wilmer style) ---------- */
.vt-form label {
    display: block;
    font-family: 'Yantramanav', sans-serif;
    font-weight: 700;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.vt-form input[type="text"],
.vt-form input[type="email"],
.vt-form input[type="tel"],
.vt-form textarea,
.vt-form select {
    width: 100%;
    border: 1px solid #e8e8e9;
    background: #fff;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color .2s ease;
}
.vt-form input[type="file"] {
    width: 100%;
    border: 1px solid #e8e8e9;
    background: #fff;
    padding: 11px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #333;
    outline: none;
}
.vt-form input:focus,
.vt-form textarea:focus,
.vt-form select:focus {
    border-color: var(--ellvaron-orange);
}
.vt-form .req { color: #e12d2d; }
.vt-form-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.vt-form-grid > * { flex: 1 1 260px; }
.vt-form-grid > .full { flex: 1 1 100%; }

/* ---------- Contact info rows ---------- */
.ellvaron-contact-list { list-style: none; margin: 0; padding: 0; }
.ellvaron-contact-list li {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e9;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #565969;
}
.ellvaron-contact-list li:first-child { padding-top: 0; }
.ellvaron-contact-list .cc-contact-ico {
    flex: 0 0 54px;
    height: 54px;
    border-radius: 50%;
    background: #f2f3f5;
    color: var(--ellvaron-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.ellvaron-contact-list h6 {
    margin: 0 0 4px;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-family: 'Yantramanav', sans-serif;
}
.ellvaron-contact-list a { color: #565969; }
.ellvaron-contact-list a:hover { color: var(--ellvaron-orange); }

/* ---------- Cards for notices / careers ---------- */
.ellvaron-cards { display: flex; flex-wrap: wrap; gap: 30px; }
.ellvaron-card {
    flex: 1 1 420px;
    background: #fff;
    border: 1px solid #e8e8e9;
    padding: 34px 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,.04);
}
.ellvaron-card h4 {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
    font-size: 24px;
    margin: 12px 0 10px;
}
.ellvaron-card p { color: #565969; font-family: 'Poppins', sans-serif; font-size: 14px; line-height: 1.7; }
.ellvaron-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ellvaron-orange);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
.ellvaron-card-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #9ca5af; }
.ellvaron-card-meta i { color: var(--ellvaron-orange); margin-right: 6px; }

/* ---------- Alert / toast ---------- */
.vt-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 99999;
    max-width: 360px;
}
.vt-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-left: 4px solid var(--ellvaron-orange);
    box-shadow: 0 12px 34px rgba(0,0,0,.16);
    padding: 14px 16px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
}
.vt-alert-box i { font-size: 18px; margin-top: 1px; }
.vt-alert-success { border-left-color: #2ecc71; }
.vt-alert-success i { color: #2ecc71; }
.vt-alert-danger { border-left-color: #e12d2d; }
.vt-alert-danger i { color: #e12d2d; }
.vt-alert-box span { flex: 1; }
.vt-alert-close {
    border: 0;
    background: none;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

/* ---------- Feedback FAB + modal ---------- */
.cc-feedback-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99990;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: var(--ellvaron-orange);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0,0,0,.25);
    transition: transform .15s ease;
}
.cc-feedback-fab:hover { transform: translateY(-3px); }
.cc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 18, 46, .66);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99995;
    padding: 20px;
}
.cc-modal-overlay.open { display: flex; }

/* Hide the site header, top bar and footer while a modal is open (desktop). */
@media (min-width: 769px) {
    body:has(.cc-modal-overlay.open) .mkdf-top-bar,
    body:has(.cc-modal-overlay.open) .mkdf-page-header,
    body:has(.cc-modal-overlay.open) .mkdf-page-footer {
        visibility: hidden;
    }
}
.cc-modal {
    background: #fff;
    width: 100%;
    max-width: 440px;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}
.cc-modal h4 {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    color: var(--ellvaron-dark);
    text-transform: uppercase;
    margin: 0 0 4px;
}
.cc-modal .cc-sub { color: #565969; font-family: 'Poppins', sans-serif; font-size: 14px; margin: 0 0 18px; }
.cc-rating { display: flex; gap: 6px; margin-bottom: 16px; }
.cc-rating button {
    border: 0;
    background: none;
    color: #d5d8dd;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
}
.cc-rating button.on { color: #ffb703; }
.cc-modal textarea {
    width: 100%;
    border: 1px solid #e8e8e9;
    padding: 12px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    min-height: 96px;
    resize: vertical;
}
.cc-send {
    margin-top: 16px;
    border: 0;
    background: var(--ellvaron-orange);
    color: #fff;
    font-family: 'Yantramanav', sans-serif;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 12px 26px;
    cursor: pointer;
}

/* ==========================================================================
   Home page sections
   ========================================================================== */
.ellvaron-section { position: relative; padding: 120px 0; }
.ellvaron-section.tight { padding: 70px 0; }
.ellvaron-section .mkdf-grid { position: relative; z-index: 1; }
.ellvaron-section img.w-100 { width: 100%; display: block; }

.ellvaron-bigtext {
    position: absolute;
    top: 30px;
    left: 40px;
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    font-size: 160px;
    line-height: 1;
    color: #dedfe0;
    -webkit-text-stroke: 1px #dedfe0;
    text-transform: uppercase;
    letter-spacing: 4px;
    pointer-events: none;
    z-index: 0;
}
.ellvaron-bigtext.dark { color: #1e3c6f; -webkit-text-stroke: 1px #1e3c6f; }

.ellvaron-grid { display: flex; flex-wrap: wrap; gap: 30px; }
.ellvaron-grid-2 > * { flex: 1 1 480px; }
.ellvaron-grid-3 > * { flex: 1 1 320px; }
.ellvaron-grid-4 > * { flex: 1 1 260px; }

@media (max-width: 1024px) {
    .ellvaron-bigtext { font-size: 90px; left: 16px; top: 20px; }
    .ellvaron-section { padding: 80px 0; }
}
@media (max-width: 680px) {
    .ellvaron-grid-2 > *,
    .ellvaron-grid-3 > *,
    .ellvaron-grid-4 > * { flex: 1 1 100%; }
    .ellvaron-bigtext { font-size: 60px; }
}

/* Banner / services cards */
.ellvaron-banner { border-bottom: 4px solid #e8e8e9; padding: 0 0 24px; }
.ellvaron-banner:hover { border-color: var(--ellvaron-orange); }
.ellvaron-banner .mkdf-banner-subtitle { font-size: 12px; color: #9ca5af; letter-spacing: 2px; margin: 0 0 8px; text-transform: uppercase; }
.ellvaron-banner .mkdf-banner-title { margin: 0; font-family: 'Yantramanav', sans-serif; font-weight: 900; font-size: 26px; text-transform: uppercase; }
.ellvaron-banner .mkdf-banner-title a { color: var(--ellvaron-dark); }
.ellvaron-banner:hover .mkdf-banner-title a { color: var(--ellvaron-orange); }

/* Projects cards */
.ellvaron-project .mkdf-pli-image img { width: 100%; display: block; }
.ellvaron-project .mkdf-pli-text { padding-top: 18px; }
.ellvaron-project .mkdf-pli-category a { color: #9ca5af; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.ellvaron-project .mkdf-pli-title a { color: var(--ellvaron-dark); font-family: 'Yantramanav', sans-serif; font-weight: 900; font-size: 24px; text-transform: uppercase; }
.ellvaron-project .mkdf-pli-excerpt { color: #565969; font-size: 14px; line-height: 1.7; margin-top: 8px; }
.ellvaron-project .mkdf-btn-simple .mkdf-btn-text { color: var(--ellvaron-orange); }
.ellvaron-dark-bg .ellvaron-project .mkdf-pli-category a { color: #8fa0c0; }
.ellvaron-dark-bg .ellvaron-project .mkdf-pli-title a { color: #ffffff; }
.ellvaron-dark-bg .ellvaron-project .mkdf-pli-excerpt { color: #b7c3da; }

/* Counters */
.ellvaron-counter .mkdf-counter {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    font-size: 60px;
    line-height: 1;
    color: var(--ellvaron-dark);
}
.ellvaron-counter .mkdf-counter-text { color: #9ca5af; letter-spacing: 1px; text-transform: uppercase; margin: 8px 0 2px; }
.ellvaron-counter .mkdf-counter-title { font-family: 'Yantramanav', sans-serif; font-weight: 900; text-transform: uppercase; color: var(--ellvaron-dark); margin: 0; }

/* Testimonials (static grid) */
.ellvaron-testimonials { display: flex; flex-wrap: wrap; gap: 30px; }
.ellvaron-testimonials .mkdf-testimonial-content { flex: 1 1 480px; }
.ellvaron-testimonials .mkdf-testimonial-content-inner { display: flex; gap: 22px; align-items: flex-start; }
.ellvaron-testimonials .mkdf-testimonial-image-holder { flex: 0 0 80px; position: relative; }
.ellvaron-testimonials .mkdf-testimonial-image img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }
.ellvaron-testimonials .mkdf-testimonials-author-name { font-family: 'Yantramanav', sans-serif; font-weight: 900; text-transform: uppercase; color: var(--ellvaron-dark); font-size: 18px; }
.ellvaron-testimonials .mkdf-testimonials-author-job { color: var(--ellvaron-orange); letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.ellvaron-testimonials .mkdf-testimonial-text { color: #565969; line-height: 1.7; margin: 10px 0 0; }

/* Pie charts */
.ellvaron-pie { display: flex; gap: 26px; align-items: center; }
.ellvaron-pie .mkdf-pie-chart-svg { width: 150px; height: 150px; }
.ellvaron-pie .mkdf-pc-title { font-family: 'Yantramanav', sans-serif; font-weight: 900; text-transform: uppercase; color: var(--ellvaron-dark); margin: 0 0 4px; }
.ellvaron-pie .mkdf-caption-text { color: #9ca5af; letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.ellvaron-pie .mkdf-pc-text { color: #565969; font-size: 14px; line-height: 1.7; }

/* Clients */
.ellvaron-clients { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: center; }
.ellvaron-clients .mkdf-cc-item { flex: 0 0 120px; text-align: center; }
.ellvaron-clients .mkdf-cc-image, .ellvaron-clients .mkdf-cc-hover-image { max-width: 120px; display: inline-block; }

/* Accordion fallback */
.mkdf-accordion .mkdf-accordion-content { display: none; }
.mkdf-accordion .mkdf-accordion-content.ui-accordion-content-active { display: block; }
.mkdf-accordion .mkdf-accordion-title { cursor: pointer; }

/* Latest notices (repurposed blog list) */
.ellvaron-notice-card { background: #fff; padding: 26px; border: 1px solid #e8e8e9; }
.ellvaron-dark-bg .ellvaron-notice-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.ellvaron-notice-card h4 a { color: var(--ellvaron-dark); font-family: 'Yantramanav', sans-serif; font-weight: 900; text-transform: uppercase; }
.ellvaron-dark-bg .ellvaron-notice-card h4 a { color: #fff; }
.ellvaron-notice-card .date { color: #9ca5af; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* ==========================================================================
   Inner page title banner
   ========================================================================== */
.ellvaron-page-banner {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    padding: 200px 0 80px;
}
.ellvaron-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 90, .62);
}
.ellvaron-page-banner .mkdf-grid { position: relative; z-index: 1; }
.ellvaron-page-banner .eyebrow {
    color: var(--ellvaron-orange);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 12px;
}
.ellvaron-page-banner h1 {
    color: #fff;
    font-family: 'Yantramanav', sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}
.ellvaron-page-banner .subtitle {
    color: rgba(255,255,255,.85);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin: 16px 0 0;
    max-width: 640px;
}
@media (max-width: 680px) {
    .ellvaron-page-banner h1 { font-size: 42px; }
}

/* Bullet list used in about / content columns */
.ellvaron-list { list-style: none; margin: 20px 0 0; padding: 0; }
.ellvaron-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: #565969;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}
.ellvaron-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--ellvaron-orange);
}

/* Gallery tiles */
.ellvaron-gallery { display: flex; flex-wrap: wrap; gap: 30px; }
.ellvaron-gallery > * { flex: 1 1 320px; }
.ellvaron-gallery img { width: 100%; display: block; }
