/* ==========================================================================
   Neta India — "Saffron & Navy" theme
   Cool white surfaces throughout, navy ink, saffron as the main accent with
   royal-blue and India-green used only as small accents (borders, gradients
   on small elements, hover states) — no dark sections anywhere on the page.
   Scoped entirely under body.home-modern so directory.php / birthday.php
   (which reuse the same legacy class names) are never affected outside it.
   ========================================================================== */

body.home-modern {
    background: #f4f7fc;
    /* every page section is float-left, so body collapsed to 0px; contain the floats so the sticky header has a full-height parent */
    display: flow-root;
}

/* ---------- Ambient background glow (site-wide, very soft) ---------- */
body.home-modern::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 8%, rgba(36, 81, 183, 0.07) 0%, transparent 32%),
        radial-gradient(circle at 95% 18%, rgba(255, 153, 51, 0.10) 0%, transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(19, 136, 8, 0.05) 0%, transparent 35%);
}
body.home-modern #header,
body.home-modern #famous,
body.home-modern .footer,
body.home-modern #portfolio,
body.home-modern #portdetl,
body.home-modern #banner {
    position: relative;
    z-index: 1;
}
body.home-modern .procontstn,
body.home-modern .proinfo.firstbox {
    background: #f5f7fc;
}
body.home-modern .famousstn { background: transparent; }   /* no second shade above the footer */
/* listing pages without the hero (/wiki, categories): the panel starts right under the header */
body.listing-page:not(:has(.hero-premium)) .famousstn {
    margin-top: 0;
    padding-top: 12px;
    border-radius: 0;
}

/* ---------- Fixed page width: 90% of the viewport ----------
   Header content (5% side padding) and every .container share the same 90% column,
   so logo, menu, cards and footer line up on all screen sizes. */
body.home-modern .container {
    width: 90%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Nav (clean white, sticky) ---------- */
/* #header carries .innerheader (dark #3c3c3c) and .col-12 gutters from the legacy
   CSS; both used to show through the glass bar, so reset them here. */
body.home-modern #header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(11, 31, 75, 0.07), 0 10px 30px rgba(11, 31, 75, 0.06);
}
body.home-modern #header .header {
    padding: 0 5%;
    min-height: 78px;
    background: transparent;
    border-bottom: none;
    position: relative;
    transition: min-height .25s ease;
}
body.home-modern #header .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9933 0 34%, #2451b7 34% 66%, #138808 66% 100%);
}
/* .fixed is toggled by the scroll script after 200px; the bar itself is sticky now,
   so it only needs to shrink a little. */
body.home-modern #header .header.fixed {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    min-height: 62px;
    background: transparent;
    box-shadow: none;
    animation: none;
}
body.home-modern .logo a {
    width: 190px;
    transition: width .25s ease;
}
body.home-modern #header .header.fixed .logo a {
    width: 168px;
}
body.home-modern .logo a img {
    height: auto;   /* width/height attributes only reserve the space (no layout jump); the width still comes from the rule above */
    transition: opacity .2s ease;
}
body.home-modern .logo a:hover img {
    opacity: 0.8;
}
body.home-modern #header .menu > ul {
    gap: 6px;
    align-items: center;
}
body.home-modern #header .menu ul li a {
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 12.5px;
    font-weight: 600;
    color: #0b1f4b;
}
body.home-modern #header .menu ul li:not(.nav-cta):not(.login) > a {
    position: relative;
    padding: 10px 16px;
    border-radius: 30px;
}
body.home-modern #header .menu ul li:not(.nav-cta):not(.login) > a:hover {
    background: rgba(36, 81, 183, 0.08);
    color: #2451b7 !important;
}
body.home-modern #header .menu ul li.active:not(.nav-cta):not(.login) > a {
    background: rgba(255, 153, 51, 0.16);
    color: #a14d00 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 153, 51, 0.4);
}
body.home-modern #header .menu ul li.nav-cta {
    background: transparent;
    border-radius: 30px;
}
body.home-modern #header .menu ul li.nav-cta a {
    background: linear-gradient(135deg, #ff9933, #ffb457);
    border: none;
    border-radius: 30px;
    color: #0b1f4b;
    padding: 10px 20px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 12.5px;
    box-shadow: 0 6px 18px rgba(255, 153, 51, 0.35);
}
body.home-modern #header .menu ul li.nav-cta.active a {
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.28), 0 6px 18px rgba(255, 153, 51, 0.35);
}
body.home-modern #header .menu ul li.nav-cta a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 153, 51, 0.5);
}
body.home-modern #header .menu ul li.nav-cta a i.fa {
    position: static;   /* legacy CSS absolutely-positions nav icons; only the cake was exempted */
    display: inline-block;
    float: none;
    margin: 0 7px 0 0;
    color: #0b1f4b;
}
/* icon in the plain (non-button) menu items, e.g. Portfolio: same look as the Directory / Birthday icons */
body.home-modern #header .menu ul li > a i.nav-ico {
    position: static;
    display: inline-block;
    float: none;
    margin: 0 7px 0 0;
    color: #2451b7;
    font-size: 14px;
    line-height: 1;
    transition: color .2s ease;
}
body.home-modern #header .menu ul li.active > a i.nav-ico { color: #a14d00; }
body.home-modern #header .menu ul li.login a {
    background: linear-gradient(120deg, #ff9933, #ffd6a5);
    color: #0b1f4b !important;
    padding: 9px 22px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-size: 12.5px;
    box-shadow: 0 6px 20px rgb(255 153 51 / 35%);
}
body.home-modern #header .menu ul li.login a:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 10px 28px rgb(255 153 51 / 50%);
}

/* Dropdown submenu (Listing > Politician/Artist/Eminent) */
body.home-modern .navbar.mainmen .menu ul li ul {
    background: #fcfdff;
    border: 1px solid rgba(255, 153, 51, 0.3);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgb(11 31 75 / 14%);
    padding: 8px;
    top: 130%;
    overflow: hidden;
    transform: translateY(-6px);
}
body.home-modern .navbar.mainmen .menu ul li:hover ul {
    top: 100%;
    transform: translateY(0);
}
body.home-modern .navbar.mainmen .menu ul li ul li {
    background: transparent;
    border: none;
    border-radius: 8px;
}
body.home-modern .navbar.mainmen .menu ul li ul li a {
    color: #3b4763;
    line-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
}
body.home-modern .navbar.mainmen .menu ul li ul li:hover {
    background: linear-gradient(120deg, rgba(36, 81, 183, 0.12), rgba(255, 153, 51, 0.14));
}
body.home-modern .navbar.mainmen .menu ul li ul li:hover a {
    color: #a14d00;
}

/* Mobile toggle */
body.home-modern .navbar .nav-toggle span {
    background: #0b1f4b;
}

/* Mobile menu: the legacy CSS opens a full-screen dark overlay; use a light drawer
   under the header instead so the navy links stay readable. */
@media (max-width: 800px) {
    body.home-modern #header .header {
        padding: 0 5%;
        min-height: 66px;
    }
    body.home-modern #header .header.fixed {
        min-height: 60px;
    }
    body.home-modern .logo a,
    body.home-modern #header .header.fixed .logo a {
        width: 160px;
    }
    body.home-modern #header .headerrgt.navbar {
        position: static;
    }
    body.home-modern #header .headerrgt.portfol {
        width: auto;
        flex: 1;
        min-width: 0;
        margin-left: 14px;
    }
    body.home-modern .headerrgt.portfol .searchboxport {
        width: 100%;
        min-width: 0;
    }
    body.home-modern #header .headerlft {
        width: auto;
        flex-shrink: 0;
    }
    body.home-modern .navbar.mainmen .menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 92%;
        height: auto;
        max-height: calc(100vh - 66px);
        overflow-y: auto;
        padding: 4px 20px 20px;
        background: #fff;
        border-top: 1px solid rgba(11, 31, 75, 0.06);
        box-shadow: 0 24px 40px rgb(11 31 75 / 12%);
        transition: top .25s ease, opacity .25s ease, visibility .25s;
    }
    body.home-modern .navbar.mainmen .menu.open {
        top: 100%;
        padding-top: 4px;
    }
    body.home-modern .navbar.mainmen .menu ul li,
    body.home-modern .navbar.mainmen .menu ul li ul li {
        border-bottom: 1px solid #e3e9f5;
        background: transparent;
    }
    body.home-modern #header .menu ul li:not(.nav-cta):not(.login) > a,
    body.home-modern #header .menu ul li.active:not(.nav-cta):not(.login) > a {
        display: block;
        padding: 15px 4px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    body.home-modern #header .menu ul li.active:not(.nav-cta):not(.login) > a {
        color: #a14d00 !important;
    }
    body.home-modern .navbar.mainmen .menu ul li ul {
        position: static;
        padding: 0 0 8px 14px;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }
    body.home-modern .navbar.mainmen .menu ul li ul li {
        border-bottom: none;
    }
    body.home-modern .navbar.mainmen .menu ul li ul li a {
        color: #3b4763;
        font-weight: 500;
        line-height: 38px;
        padding: 0;
    }
    body.home-modern #header .menu ul li.nav-cta {
        border-bottom: none !important;
        padding: 16px 0 4px;
        text-align: center;
    }
    body.home-modern #header .menu ul li.nav-cta a {
        display: inline-block;
    }
    body.home-modern #header .menu ul li.nav-cta + li.nav-cta {
        padding-top: 4px;
    }
}

/* ---------- Hero: see css/hero-premium.css (hero.php) ---------- */

/* ---------- Page toolbar (breadcrumb + total + sort/search) ---------- */
body.home-modern .famousstn {
    padding: 46px 0 60px;
    margin-top: -34px;
    border-radius: 34px 34px 0 0;
}
/* The home page (the only page with a hero) replaces the breadcrumb with the hero */
body.home-modern:has(.hero-premium) .breadcrumb {
    display: none;
}
body.home-modern .breadcrumb {
    background: transparent;
    padding: 16px 0;
    margin: 0;
    font-size: 12.5px;
    letter-spacing: 0.3px;
    color: #66708c;
}
body.home-modern .breadcrumb li a {
    color: #66708c;
    transition: color .2s ease;
}
body.home-modern .breadcrumb li a:hover {
    color: #e07b12;
}
body.home-modern .breadcrumb li + li:before {
    color: #ff9933;
}
body.home-modern .proinfo {
    background: #fff;
    border: 1px solid rgba(36, 81, 183, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgb(11 31 75 / 8%);
    padding: 24px 32px;
    margin-bottom: 40px;
}
body.home-modern .cotlft h5.totalfind {
    font-family: 'Lora', serif;
    font-size: 23px;
    font-weight: 600;
    color: #0b1f4b;
    margin: 0;
}
body.home-modern .sort span {
    color: #66708c;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.home-modern .sort select {
    border: 1px solid #e3e9f5;
    border-radius: 24px;
    padding: 8px 18px;
    height: 42px;
    background: #f6f8fd;
    color: #0b1f4b;
    font-size: 13px;
}
body.home-modern .search form.form--merge {
    background: #f6f8fd;
    border: 1px solid #e3e9f5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 2px 6px 2px 20px;
}
body.home-modern .search input[type="search"] {
    border: none;
    background: transparent;
    height: 38px;
}
body.home-modern .search button {
    background: linear-gradient(120deg, #2451b7, #ff9933);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}
body.home-modern .search button img {
    width: 14px;
    filter: brightness(0) invert(1);
}

/* Toolbar (title + filters + search) wraps instead of overflowing on tablets */
@media (max-width: 1150px) {
    body.home-modern .famousstn.internalpage .procont {
        flex-wrap: wrap;
        row-gap: 14px;
    }
    body.home-modern .famousstn.internalpage .procont .cotlrgt {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }
}

/* ---------- Card grid ---------- */
body.home-modern .famousbox {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 30px !important;
    justify-content: stretch !important;
    width: 100% !important;
    margin-top: 0;
}
body.home-modern .famous {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: #fff !important;
    background-image: none;
    padding: 0 0 22px !important;
    border-radius: 22px;
    border: 1px solid rgba(11, 31, 75, 0.06);
    box-shadow: 0 10px 30px rgb(11 31 75 / 6%);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body.home-modern .famous::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, #2451b7, #ff9933, #138808);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 3;
    pointer-events: none;
}
body.home-modern .famous:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 55px rgb(11 31 75 / 12%), 0 0 30px rgb(255 153 51 / 12%);
}
body.home-modern .famous:hover::before {
    opacity: 1;
}

body.home-modern .fambnr {
    border-radius: 22px 22px 0 0;
    overflow: hidden;
}
body.home-modern .fambnr img {
    height: 130px;
    background: linear-gradient(135deg, #ffe5c8 0%, #ffd6a5 100%);
    transition: transform .5s ease;
}
body.home-modern .famous:hover .fambnr img {
    transform: scale(1.07);
}

body.home-modern .famimg {
    width: 96px;
    height: 96px;
    margin: 26px auto 0;
    border: 3px solid #ff9933;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #fff, 0 8px 20px rgb(11 31 75 / 18%);
    background: #fff #eee;
}
body.home-modern .fambnr + .famimg {
    margin-top: -48px;
}
body.home-modern .famous > .famimg:first-child,
body.home-modern .famous > a:first-child > .famimg {
    margin-top: 0;
    position: relative;
    top: 0;
}
body.home-modern .famous > a:first-child {
    display: block;
    padding-top: 24px;
    background: linear-gradient(135deg, #ffe5c8 0%, #ffd6a5 100%);
    border-radius: 22px 22px 0 0;
}

body.home-modern .famname {
    margin-top: 14px;
    position: relative;
    z-index: 1;
}
body.home-modern .famname h3 {
    font-family: 'Lora', serif;
    color: #0b1f4b;
    font-size: 19px;
    font-weight: 600;
}
body.home-modern .famname h3 a {
    color: #0b1f4b !important;
}
body.home-modern .famname span {
    width: auto;
    display: block;
    color: #66708c;
    font-size: 12px;
    margin-top: 4px;
    letter-spacing: 0.2px;
}
body.home-modern .famname span a {
    color: inherit;
}
body.home-modern .famname span i {
    color: #e07b12;
    margin-right: 4px;
}
body.home-modern .famname span:first-of-type:has(a:not(:empty)) {
    color: #a14d00;
    background: linear-gradient(120deg, rgba(255, 153, 51, 0.14), rgba(36, 81, 183, 0.08));
    border: 1px solid rgba(255, 153, 51, 0.4);
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 8px;
}
body.home-modern .famname span:first-of-type:has(a:empty) {
    display: none;
}

/* "Today's birthday" corner date badge */
body.home-modern .highlightdob {
    top: 12px;
    right: 12px;
    z-index: 2;
}
body.home-modern .famname .highlightdob span {
    background: linear-gradient(120deg, #ff9933, #138808);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    width: auto;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1.4;
    display: inline-block;
    box-shadow: 0 4px 14px rgb(255 153 51 / 40%);
}

body.home-modern .famname ul {
    height: auto;
    padding: 16px 0 4px;
}
body.home-modern .famname ul li {
    background: transparent !important;
    border-color: #e3e9f5 !important;
}
body.home-modern .famname ul li a {
    color: #9aa6c0 !important;
}
body.home-modern .famname ul li:hover {
    background: linear-gradient(120deg, #2451b7, #ff9933) !important;
    border-color: transparent !important;
}
body.home-modern .famname ul li:hover a {
    color: #fff !important;
}

/* card social icons: real brand colours on phones / touch screens (no hover there) */
@media (max-width: 767px), (hover: none) {
    body.home-modern .famname ul li a i.fa-facebook  { color: #1877f2 !important; }
    body.home-modern .famname ul li a i.fa-instagram { color: #e4405f !important; }
    body.home-modern .famname ul li a i.fa-linkedin  { color: #0a66c2 !important; }
    body.home-modern .famname ul li a i.fa-twitter   { color: #1da1f2 !important; }
    body.home-modern .famname ul li a i.fa-youtube,
    body.home-modern .famname ul li a i.fa-youtube-play { color: #ff0000 !important; }
    body.home-modern .famname ul li a i.fa-whatsapp  { color: #25d366 !important; }
    body.home-modern .famname ul li:hover a i.fa { color: #fff !important; }   /* still readable on the hover gradient */
    /* bigger, easier to tap, each on a soft tint of its own colour */
    body.home-modern .famname ul { height: auto; gap: 8px; padding: 12px 0 4px; }
    body.home-modern .famname ul li { width: 40px; height: 40px; margin: 0; line-height: 40px; }
    body.home-modern .famname ul li a { font-size: 18px; line-height: 40px; }
    body.home-modern .famname ul li:has(i.fa-facebook)  { background: rgba(24, 119, 242, 0.1) !important; }
    body.home-modern .famname ul li:has(i.fa-instagram) { background: rgba(228, 64, 95, 0.1) !important; }
    body.home-modern .famname ul li:has(i.fa-linkedin)  { background: rgba(10, 102, 194, 0.1) !important; }
    body.home-modern .famname ul li:has(i.fa-twitter)   { background: rgba(29, 161, 242, 0.1) !important; }
    body.home-modern .famname ul li:has(i.fa-whatsapp)  { background: rgba(37, 211, 102, 0.12) !important; }
    body.home-modern .famname ul li:hover { background: linear-gradient(120deg, #2451b7, #ff9933) !important; }
}

body.home-modern .famvpro {
    margin: 6px 0 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
/* "View Profile" is a quiet blue text link with an icon (the whole card is still clickable, see below) */
body.home-modern .famvpro a {
    display: block;                       /* (not flex: an inline-block icon keeps the hover underline off the icon) */
    text-align: center;
    width: 100%;
    height: 46px;
    padding: 0 8px;
    border: 0;
    border-top: 1px solid #e3e9f5;
    border-radius: 0;
    background: none !important;
    box-shadow: none;
    color: #2451b7 !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 45px;
    text-transform: none;
    text-decoration: none;
    transition: color .2s ease;
}
body.home-modern .famvpro a::before {
    content: "\f2be";                     /* user-circle-o */
    display: inline-block;
    margin-right: 9px;
    vertical-align: -2px;
    font: normal 17px/1 FontAwesome;
    transition: transform .25s ease;
}
/* hovering anywhere on the card (the link covers it) darkens the text and underlines it */
body.home-modern .famous:hover .famvpro a,
body.home-modern .famvpro a:hover,
body.home-modern .famvpro a:focus-visible {
    color: #0b1f4b !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}
body.home-modern .famous:hover .famvpro a::before { transform: scale(1.12); }

/* ---------- Whole card is the link ----------
   "View Profile" is a stretched link: its ::after fills the card (.famous is the
   positioned ancestor), so a click anywhere opens the profile. The social icons
   sit above it (z-index 3) and keep their own external links. */
body.home-modern .famous {
    cursor: pointer;
}
body.home-modern .famous .famname {
    z-index: auto;  /* no stacking context here, or the icons could not rise above the overlay */
}
body.home-modern .famous .famvpro,
body.home-modern .famous .famvpro a {
    position: static;
}
body.home-modern .famous .famvpro a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 22px;
}
body.home-modern .famous .famvpro a:focus-visible::after {
    outline: 3px solid #2451b7;
    outline-offset: -3px;
}
body.home-modern .famous .famname ul li a {
    position: relative;
    z-index: 3;
}

/* ---------- Listing pages (index / wiki): 5 cards per row ----------
   keyed on body.listing-page, so it works with or without the hero (the hero is on the home page only) */
body.listing-page .proinfo {
    padding: 24px 26px;
}
body.listing-page .famousbox {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 22px !important;
}
/* equal-height cards with the button pinned to the bottom edge */
body.listing-page .famous {
    display: flex;
    flex-direction: column;
}
body.listing-page .famous .famvpro {
    margin-top: auto;
    padding: 12px 16px 0;
}
body.listing-page .famous .famname {
    text-align: center;
}
body.listing-page .famous .famname > span {
    float: none;
}
body.listing-page .famous .famname h3 {
    font-size: 17px;
    line-height: 1.3;
    min-height: 2.6em;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (max-width: 1199px) {
    body.listing-page .famousbox {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 991px) {
    body.listing-page .famousbox {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 767px) {
    body.listing-page .famousbox {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
    body.listing-page .proinfo {
        padding: 20px 16px;
    }
}
@media (max-width: 479px) {
    body.listing-page .famousbox {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ---------- Pagination ---------- */
body.home-modern .page-wrap ul li a {
    border-radius: 50%;
    color: #0b1f4b;
    border: 1px solid #e3e9f5;
    width: 36px;
    height: 36px;
    display: inline-block;
    line-height: 36px;
    text-align: center;
    transition: all .2s ease;
}
body.home-modern .page-wrap ul li.active a,
body.home-modern .page-wrap ul li a:hover {
    background: linear-gradient(120deg, #2451b7, #ff9933) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* ---------- Footer ---------- */
/* One rounded panel with a gap above it, so the footer never butts against the page content. */
body.home-modern #footer {
    clear: both;
    position: relative;
    margin-top: 72px;
    overflow: hidden;
    border-radius: 34px 34px 0 0;
    background: #fbfcff;
    background-image:
        radial-gradient(circle at 10% 8%, rgba(36, 81, 183, 0.09) 0%, transparent 42%),
        radial-gradient(circle at 92% 30%, rgba(255, 153, 51, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 60% 110%, rgba(19, 136, 8, 0.07) 0%, transparent 45%);
    box-shadow: 0 -18px 50px rgba(11, 31, 75, 0.07);
}
body.home-modern #footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff9933 0 34%, #2451b7 34% 66%, #138808 66% 100%);
}
body.home-modern .elementor-shape.elementor-shape-top { display: none !important; }
body.home-modern .footer {
    margin: 0;
    padding: 64px 0 0;
    background: none;
    border-top: 0;
    position: relative;
}
body.home-modern .footer::before { content: none; }

/* call-to-action card */
body.home-modern .ftr-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    width: 100%;
    margin: 0 15px 46px;
    padding: 26px 30px;
    background: linear-gradient(120deg, #fff7ec 0%, #f2f6ff 100%);
    border: 1px solid rgba(255, 153, 51, 0.32);
    border-radius: 26px;
    box-shadow: 0 18px 44px rgba(11, 31, 75, 0.08);
    position: relative;
    overflow: hidden;
}
body.home-modern .ftr-cta::after {                 /* soft dotted corner */
    content: "";
    position: absolute;
    right: -30px; top: -30px;
    width: 180px; height: 180px;
    background-image: radial-gradient(rgba(255, 153, 51, 0.4) 1.5px, transparent 1.6px);
    background-size: 14px 14px;
    opacity: .55;
    pointer-events: none;
}
.ftr-cta-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff9933, #ffb457);
    color: #0b1f4b;
    font-size: 22px;
    box-shadow: 0 10px 22px rgba(255, 153, 51, 0.35);
}
.ftr-cta-text { flex: 1 1 260px; min-width: 0; position: relative; z-index: 1; }
body.home-modern .ftr-cta h3 {
    margin: 0 0 4px;
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 600;
    color: #0b1f4b;
}
body.home-modern .ftr-cta p { margin: 0; color: #56617c; font-size: 14.5px; line-height: 1.6; }
.ftr-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.ftr-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 24px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.ftr-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ftr-btn-primary {
    background: linear-gradient(120deg, #2451b7, #ff9933);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(36, 81, 183, 0.25);
}
.ftr-btn-primary:hover { background: linear-gradient(120deg, #ffd6a5, #ff9933); color: #0b1f4b !important; box-shadow: 0 10px 24px rgba(255, 153, 51, 0.38); }
.ftr-btn-primary i { transition: transform .25s ease; }
.ftr-btn-primary:hover i { transform: translateX(4px); }
.ftr-btn-ghost { background: #fff; color: #0b1f4b !important; border: 1px solid #d7dff0; }
.ftr-btn-ghost:hover { border-color: #ff9933; color: #a14d00 !important; box-shadow: 0 10px 22px rgba(255, 153, 51, 0.18); }

/* columns */
body.home-modern .ftrstn {
    display: grid !important;
    grid-template-columns: 1.35fr 1.15fr 1fr 1fr !important;
    gap: 34px 48px;
    align-items: start !important;
    width: 100%;
    padding: 0 15px 52px;
    border-bottom: 0;
}
body.home-modern .ftrssbox {
    width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: break-word;
    float: none !important;
}
body.home-modern .ftrbrand .ftrlogo { display: inline-block; width: 176px; margin-bottom: 16px; }
body.home-modern .ftrbrand .ftrlogo img { display: block; }
body.home-modern .ftrbrand p {
    color: #56617c;
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
    margin: 0 0 18px;
}
.ftr-flag { display: inline-flex; gap: 6px; }
.ftr-flag i { display: block; width: 26px; height: 5px; border-radius: 3px; }
.ftr-flag i:nth-child(1) { background: #ff9933; }
.ftr-flag i:nth-child(2) { background: #d7dff0; }
.ftr-flag i:nth-child(3) { background: #138808; }
body.home-modern .ftrssbox h4 {
    font-family: 'Lora', serif;
    color: #0b1f4b;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    padding-bottom: 13px;
    margin: 0 0 18px !important;
    height: auto;
}
body.home-modern .ftrssbox h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 34px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2451b7, #ff9933);
}
body.home-modern .ftrssbox ul { margin: 0; padding: 0; list-style: none; }
body.home-modern .ftrssbox ul li { margin: 0 0 4px; padding: 0; }
body.home-modern .ftrssbox ul li::before { content: none; }
body.home-modern .ftrssbox ul li a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6px 10px 6px 6px;
    margin-left: -6px;
    border-radius: 12px;
    color: #56617c;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
body.home-modern .ftrssbox ul li a:hover,
body.home-modern .ftrssbox ul li a:focus-visible {
    color: #0b1f4b !important;      /* the legacy footer CSS forces white on hover with !important */
    background: #fff;
    box-shadow: 0 6px 18px rgba(11, 31, 75, 0.08);
    transform: translateX(3px);
    padding-left: 6px;
}
body.home-modern .ftrssbox ul li a:hover span,
body.home-modern .ftrssbox ul li a:hover i:not(.fa-angle-right) { color: inherit; }
body.home-modern .ftr-links li a i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 153, 51, 0.15);
    color: #e07b12;
    font-size: 13px;
    transition: background .2s ease, color .2s ease;
}
body.home-modern .ftr-links li:nth-child(2) a i { background: rgba(36, 81, 183, 0.12); color: #2451b7; }
body.home-modern .ftr-links li a:hover i { background: #ff9933; color: #fff; }
body.home-modern .ftr-people li a img {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ffd6a5;
    background: #fff;
}
body.home-modern .ftr-people li a i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(36, 81, 183, 0.12);
    color: #2451b7;
    font-size: 13px;
}
body.home-modern .ftr-people li a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* bottom bar */
body.home-modern .copyright { position: relative; background: transparent; margin: 0; padding: 20px 0 22px; border-top: 0; }
body.home-modern .copycont {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    width: 100%;
    padding: 0 15px;
    text-align: left;
}
body.home-modern .copycont p { margin: 0; color: #66708c; font-size: 13px; letter-spacing: .3px; }
.ftr-top {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 16px 0 12px;
    border: 1px solid #d7dff0;
    border-radius: 30px;
    background: #fff;
    color: #0b1f4b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.ftr-top i { font-size: 18px; line-height: 1; color: #e07b12; transition: transform .25s ease, color .25s ease; }
.ftr-top:hover { background: linear-gradient(120deg, #ffd6a5, #ff9933); border-color: transparent; }
.ftr-top:hover i { transform: translateY(-3px); color: #0b1f4b; }
.ftr-top:focus-visible { outline: 3px solid #ff9933; outline-offset: 2px; }

@media (max-width: 991px) {
    body.home-modern #footer { margin-top: 56px; border-radius: 28px 28px 0 0; }
    body.home-modern .footer { padding-top: 48px; }
    body.home-modern .ftr-cta { padding: 22px 22px; }
    body.home-modern .ftrstn { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 30px 32px; }
    body.home-modern .ftrbrand { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
    body.home-modern #footer { margin-top: 44px; border-radius: 22px 22px 0 0; }
    body.home-modern .footer { padding-top: 34px; }
    body.home-modern .ftr-cta {margin:0; margin-bottom: 34px; gap: 14px; }
    body.home-modern .ftr-cta h3 { font-size: 21px; }
    .ftr-cta-btns { width: 100%; }
    .ftr-cta-btns .ftr-btn { flex: 1 1 100%; justify-content: center; }
    body.home-modern .ftrstn { grid-template-columns: minmax(0, 1fr) !important; gap: 26px; padding: 0; padding-bottom: 34px; }
    body.home-modern .ftrbrand p { max-width: none; }
    body.home-modern .copycont { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ftr-btn, .ftr-top, .ftrssbox ul li a { transition: none; }
}

/* ---------- Directory page: banner (mirrors the Birthday banner) ---------- */
body.home-modern .banners-directory {
    clear: both;   /* the header is float-left; without this the flex box squeezes to 0px beside it */
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    padding: 0 0 34px;   /* the rounded panel below overlaps the last 34px */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 10% 35%, rgba(255, 153, 51, 0.38) 0%, transparent 36%),
        radial-gradient(circle at 90% 18%, rgba(36, 81, 183, 0.6) 0%, transparent 42%),
        radial-gradient(circle at 62% 115%, rgba(19, 136, 8, 0.4) 0%, transparent 40%),
        linear-gradient(135deg, #050f2b 0%, #0b1f4b 60%, #0e2a63 100%);
}
/* confetti dots, echoing the Birthday banner */
body.home-modern .banners-directory::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(#ff9933 2px, transparent 2.5px),
        radial-gradient(#ffffff 1.5px, transparent 2px),
        radial-gradient(#4f86f7 2px, transparent 2.5px),
        radial-gradient(#3fbf3f 2px, transparent 2.5px);
    background-size: 110px 110px, 70px 70px, 150px 150px, 130px 130px;
    background-position: 0 0, 35px 45px, 70px 20px, 20px 80px;
    opacity: 0.35;
}
body.home-modern .banners-directory .banners-inner {
    position: relative;
    z-index: 1;
    padding: 40px 20px 0;
    max-width: 720px;
}
body.home-modern .banners-directory .banners-eyebrow {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(255, 153, 51, 0.6);
    border-radius: 30px;
    background: rgba(255, 153, 51, 0.12);
    color: #ffd6a5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}
body.home-modern .banners-directory h1 {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 58px;
    line-height: 1.15;
    color: #fff;
    margin: 18px 0 12px;
}
body.home-modern .banners-directory h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff9933 0 34%, #fff 34% 66%, #138808 66% 100%);
}
body.home-modern .banners-directory p {
    color: rgb(255 255 255 / 78%);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 767px) {
    body.home-modern .banners-directory {
        min-height: 280px;
    }
    body.home-modern .banners-directory h1 {
        font-size: 38px;
    }
    body.home-modern .banners-directory p {
        font-size: 14px;
    }
}

/* ---------- Directory page cards (.direcbox): same white-card look as the listing/birthday cards ----------
   Markup is unchanged: .directimg (photo) becomes the blurred cover strip, .directcont / .profile
   flow normally under it, and "Know more" is a stretched link so the whole card is clickable. */
/* .famousbox is itself a grid; let the directory wrapper span every column */
body.home-modern .famousbox > .directorystn {
    grid-column: 1 / -1;
}
body.home-modern .directorystn {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
    width: 100%;
    float: none;
    justify-content: stretch;
    align-items: stretch;
}
body.home-modern .famousstn.internalpage .direcbox {
    width: auto;
    float: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    border: 1px solid rgba(11, 31, 75, 0.06);
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgb(11 31 75 / 6%);
    transition: transform .3s ease, box-shadow .3s ease;
}
body.home-modern .famousstn.internalpage .direcbox:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 55px rgb(11 31 75 / 12%), 0 0 30px rgb(255 153 51 / 12%);
}
body.home-modern .direcbox .directimg {
    float: none;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe5c8 0%, #ffd6a5 100%);
}
body.home-modern .direcbox .directimg img {
    height: 100%;
    border-radius: 0;
    filter: blur(10px) saturate(1.2);
    transform: scale(1.25);
    transition: transform .5s ease;
}
body.home-modern .direcbox:hover .directimg img {
    transform: scale(1.35);
}
body.home-modern .direcbox .directimg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.28), rgba(36, 81, 183, 0.25));
}
body.home-modern .famousstn.internalpage .direcbox .directcont {
    position: static;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    padding: 0 20px 22px;
    color: #0b1f4b;
}
body.home-modern .famousstn.internalpage .direcbox .directcont .profile {
    float: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
body.home-modern .famousstn.internalpage .direcbox .profile img {
    width: 96px;
    height: 96px;
    margin: -48px 0 12px;
    position: relative;
    border: 3px solid #ff9933;
    background: #fff;
    box-shadow: 0 0 0 4px #fff, 0 8px 20px rgb(11 31 75 / 18%);
}
body.home-modern .famousstn.internalpage .direcbox .directcont h4 {
    float: none;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #0b1f4b;
}
body.home-modern .famousstn.internalpage .direcbox .directcont .profile span {
    float: none;
    font-size: 12.5px;
    line-height: 18px;
    color: #66708c;
    margin-top: 4px;
}
body.home-modern .famousstn.internalpage .direcbox .directcont .profile span:first-of-type {
    display: inline-block;
    width: auto;
    margin-top: 8px;
    padding: 3px 14px;
    border: 1px solid rgba(255, 153, 51, 0.4);
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(255, 153, 51, 0.14), rgba(36, 81, 183, 0.08));
    color: #a14d00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
body.home-modern .famousstn.internalpage .direcbox .directcont ul {
    float: none;
    width: 100%;
    margin: 14px 0 6px;
    padding-top: 12px;
    border-top: 1px solid #e3e9f5;
}
body.home-modern .famousstn.internalpage .direcbox .directcont ul li {
    float: none;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #3b4763;
}
body.home-modern .direcbox .directcont ul li a {
    position: relative;
    z-index: 3;     /* stay above the stretched "Know more" link */
    color: #3b4763;
    overflow-wrap: anywhere;
}
body.home-modern .direcbox .directcont ul li a:hover {
    color: #a14d00;
}
body.home-modern .famousstn.internalpage .direcbox .directcont ul li i {
    flex: 0 0 auto;
    width: auto;
    margin-right: 10px;
}
body.home-modern .famousstn.internalpage .direcbox .directcont ul li i img {
    width: 28px;
    height: 28px;
    padding: 6px;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9933, #ffb457);
    object-fit: contain;
}
body.home-modern .direcbox .profile > a {
    display: block;
    text-align: center;
    margin-top: auto;
    width: 100%;
    height: 46px;
    padding: 0 8px;
    border: 0;
    border-top: 1px solid #e3e9f5;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #2451b7 !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 45px;
    text-transform: none;
    text-decoration: none;
    transition: color .2s ease;
}
body.home-modern .direcbox .profile > a::before { content: "\f2be"; display: inline-block; margin-right: 9px; vertical-align: -2px; font: normal 17px/1 FontAwesome; }
body.home-modern .direcbox:hover .profile > a,
body.home-modern .direcbox .profile > a:hover {
    color: #0b1f4b !important;
    background: none;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}
body.home-modern .direcbox .profile > a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 22px;
}
body.home-modern .direcbox .profile > a:focus-visible::after {
    outline: 3px solid #2451b7;
    outline-offset: -3px;
}
@media (max-width: 479px) {
    body.home-modern .directorystn {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Gallery / video pages ---------- */
body.home-modern .lightbox {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgb(11 31 75 / 8%);
    transition: transform .3s ease;
}
body.home-modern .lightbox:hover {
    transform: translateY(-4px);
}
body.home-modern .lightbox img {
    border-radius: 16px;
    transition: transform .4s ease;
}
body.home-modern .lightbox:hover img {
    transform: scale(1.06);
}
body.home-modern .videobox {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgb(11 31 75 / 8%);
}
body.home-modern .videobox iframe {
    border-radius: 16px;
}

/* ---------- Memory / birthday archive page ---------- */
body.home-modern .memoryinfo span.active,
body.home-modern .boxcategory {
    background: linear-gradient(120deg, #ffd6a5, #ff9933);
    color: #0b1f4b;
    border-radius: 14px;
}
body.home-modern .memoryinfo span {
    color: #66708c;
    border-radius: 20px;
}
body.home-modern .memoryinfo span.active {
    color: #0b1f4b;
    font-weight: 600;
    padding: 6px 18px;
}
body.home-modern .memoryname h3,
body.home-modern .memoryname h4 {
    font-family: 'Lora', serif;
    color: #0b1f4b;
}

/* ---------- Detail pages (portfolio-details / birthday_details) ---------- */

/* Sidebar + content sat on the edge of fitting in the old full-bleed container
   (188px + 85% + 1% margin); inside the 90% column they wrap, so let the content flex. */
@media (min-width: 981px) {
    body.home-modern .portdtlcont {
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
    }
    body.home-modern .portdtlcont .tabslayer {
        flex: 0 0 auto;
    }
    body.home-modern .portdtlcont .portrgt {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        margin-right: 0;
    }
}

/* Breadcrumb + name heading */
body.home-modern .portdtlcont h1 {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 600;
    background: linear-gradient(100deg, #0b1f4b 10%, #e07b12 55%, #0b1f4b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}
body.home-modern .portdtlcont h1 span {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #66708c;
    -webkit-text-fill-color: #66708c;
    margin-top: 6px;
}
body.home-modern .shortcort {
    color: #3b4763;
    line-height: 1.8;
    font-size: 14.5px;
}
body.home-modern .shortcort a {
    color: #e07b12;
    font-weight: 600;
    margin-left: 4px;
}

/* Sidebar tab navigation */
body.home-modern .tabslayer .tabs {
    background: #fcfdff;
    border: 1px solid #ffe2c2;
    border-radius: 20px;
    padding: 6px 0;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 50px rgb(11 31 75 / 8%);
}
body.home-modern .tabslayer .menus li.mtitle {
    color: #a14d00;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 14px 20px 6px;
}
body.home-modern .tabslayer .menus li a {
    color: #3b4763;
    padding: 10px 20px;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
body.home-modern .tabslayer .menus li a i {
    color: #e07b12;
    margin-right: 8px;
    width: 14px;
}
body.home-modern .tabslayer .menus li a:hover,
body.home-modern .tabslayer .menus li.active a {
    color: #a14d00;
    background: linear-gradient(120deg, rgba(255, 153, 51, 0.1), rgba(36, 81, 183, 0.06));
    padding-left: 24px;
}
body.home-modern .tabslayer strong {
    color: #0b1f4b;
    font-family: 'Lora', serif;
}

/* Main content card */
body.home-modern .portrgt {
    background: transparent;
}
body.home-modern .procontstn,
body.home-modern .proinfo.firstbox {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgb(11 31 75 / 8%);
    padding: 28px 32px;
    margin-bottom: 24px;
}

/* Bio fact list */
body.home-modern .info-list li {
    padding: 9px 0;
    border-bottom: 1px dashed #e3e9f5;
    align-items: baseline;
}
body.home-modern .info-list li:last-child {
    border-bottom: none;
}
body.home-modern .info-list li span {
    color: #0b1f4b;
    min-width: 150px;
}
body.home-modern .info-list li span i {
    color: #ff9933;
    margin-right: 8px;
    width: 16px;
}
body.home-modern .info-list li p {
    color: #3b4763;
    white-space: normal;
}
body.home-modern .info-list li.socialm span i {
    color: #2451b7;
}

/* Content sections: Career / Awards / News / Media / References */
body.home-modern .procontstn2 h2 {
    font-family: 'Lora', serif;
    font-size: 21px;
    font-weight: 600;
    color: #0b1f4b;
    position: relative;
    padding-bottom: 12px;
    margin: 28px 0 16px;
}
body.home-modern .procontstn2 h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    background: linear-gradient(90deg, #2451b7, #ff9933);
    border-radius: 2px;
}
body.home-modern .procontstn2 > div:first-of-type h2 {
    margin-top: 0;
}
body.home-modern .careerdetl,
body.home-modern .achievdetl,
body.home-modern .newsdetl,
body.home-modern .referencelist,
body.home-modern .externallinks {
    color: #3b4763;
    line-height: 1.85;
    font-size: 14.5px;
}
body.home-modern .mediadetl iframe {
    border-radius: 14px;
}
body.home-modern .reviews h2 {
    margin-top: 28px;
}
body.home-modern .reviews .review-box {
    background: #f6f8fd;
    border: 1px solid #e3e9f5;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 14px;
}
body.home-modern .reviews .review-box h3 {
    font-size: 15px;
    color: #0b1f4b;
    margin: 0 0 6px;
}
body.home-modern .reviews .rating .fa.checked {
    color: #ff9933;
}
body.home-modern .no-reviews-heading {
    color: #66708c;
    font-weight: 400;
    font-size: 14px;
}

/* ---------- Phones: body text is 15px with a 1.8 line-height ---------- */
@media (max-width: 767px) {
    body.home-modern { font-size: 15px; line-height: 1.8; }
}
