/* =============================================================
   DU Global – All-Services Pages
   Shared layout, cards, breadcrumb, section headings
   Brand primary: #003366  |  Dark: #a10d24  |  Light bg: #fff1f1
   ============================================================= */

/* ── Layout ─────────────────────────────────────────────────── */
.wrap      { width: 1280px; margin: 0 auto; }
.gapping   { padding: 30px 0; }
.row       { width: 100%; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb              { position: relative; width: 100%; padding: 8px 0; }
.breadcrumb a            { color: #003366; padding: 4px 8px; text-decoration: none; font-size: 14px; }
.breadcrumb a:last-child { color: #666; }
.breadcrumb .sep         { color: #000; padding: 4px 2px; }

/* ── Page title ─────────────────────────────────────────────── */
.homecontent      { padding: 20px; width: 100%; }
.homecontent h3   {
    width: 100%;
    font-size: 2rem;
    line-height: 1.5em;
    text-transform: uppercase;
    margin: 20px 0 0 0;
    font-weight: bold;
    color: #003366;
    padding-bottom: 0;
}
.homecontent span {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 12px;
    background: #fff1f1;
    color: #003366;
    font-size: 16px;
    border-left: 3px solid #003366;
}

/* ── Section heading (passport / consular grouped pages) ─────── */
.passport-section              { margin-bottom: 30px; }
.passport-section-heading      {
    width: 100%;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background-color: #003366;
    padding: 10px 18px;
    border-radius: 4px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
.passport-section-heading i    { margin-right: 8px; }
.passport-section-heading:hover { background-color: #a10d24; }

/* ── Card grid ──────────────────────────────────────────────── */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.feature-box {
    width: 23%;
    margin: 1%;
    border: 1px solid #e4e4e4;
    overflow: hidden;
    border-radius: 6px;
    box-sizing: border-box;
    transition-duration: 0.4s;
}

.feature-box-wrap {
    padding: 2rem;
    width: 100%;
    height: 240px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    box-sizing: border-box;
    transition-duration: 0.4s;
}

/* ── Icon ───────────────────────────────────────────────────── */
.feature-box .elementor-icon {
    font-size: 40px;
    line-height: 1;
    text-align: center;
    color: #69727d;
    float: none;
    margin-bottom: 10px;
}

/* ── Card label ─────────────────────────────────────────────── */
.feature-box-content {
    text-align: center;
    color: #232323;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* ── VIEW DETAILS button — hidden, slides up on hover ────────── */
.feature-box-wrap .elementor-button-wrapper {
    margin-top: 15px;
    opacity: 0;
    transform: translateY(20px);
    text-align: center;
    float: none;
    transition-duration: 0.4s;
}
.elementor-button-link {
    color: #003366;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}
.elementor-button-link:hover { color: #a10d24; }
.elementor-button {
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #003366;
    padding: 5px 0 2px 0;
}

/* ── Card hover: lift + reveal button ───────────────────────── */
.feature-box:hover {
    background-color: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transform: translate3d(0, -3px, 0);
    transition: all 0.3s ease-in-out;
}
.feature-box:hover .feature-box-wrap .elementor-button-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .wrap        { width: 100%; padding: 0 15px; box-sizing: border-box; }
    .feature-box { width: 31%; }
}
@media (max-width: 768px) {
    .feature-box    { width: 48%; }
    .homecontent h3 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .feature-box { width: 98%; }
}
