:root {
    --primary-color: #0F172A;
    --secondary-color: #334155;
    --accent-color: #3B82F6;
    --accent-hover: #2563EB;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --font-primary: 'Poppins', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary) !important;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-premium {
    background: #f1f5f9;
    color: #ffc107;
    padding: 5px 19px;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-normal);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-premium:hover {
    background: #ffc107;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-premium {
    background: transparent;
    color: #ffc107;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all var(--transition-normal);
    border: 1px solid #ffc107;
}

.btn-outline-premium:hover {
    background: #ffc107;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

.bg-primary {
    background-color: #a3bbe5 !important;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #ffff;
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ffc107;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/


@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}


.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

p {
    font-size: 0.85rem !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {

    font-family: inherit !important;
}

.accordion button {
    color: #000000 !important;
}


.article-img {
    height: 255px;
    object-fit: cover;
}

.article-title {
    font-size: 18px;
    line-height: 1.4;
}

.badge {
    font-size: 12px;
    border-radius: 20px;
}


.text-muted {
    color: #070707 !important;

}



/* start footer */
.footer-modern {
    background: #151a3a;
    font-size: 14px;
}


.footer-modern h5 {
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #cfd6ff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.newsletter-box {
    display: flex;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
}

.social-icons a {
    color: #fff;
    margin-right: 10px;
    font-size: 16px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #2d6cdf;
}

.footer-bottom {
    background: #0f1330;
    font-size: 13px;
}

.mb-5 {
    margin-bottom: 0rem !important;
}




.logo {
    height: 50px;
}

.btn-custom {
    border-radius: 25px;
    padding: 8px 18px;
    margin-left: 10px;
}

.navbar {
    background: #e9ecef;
    position: sticky;
    top: 0px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-icon {
    font-size: 18px;
    color: #1a2b4c;
    cursor: pointer;
    transition: 0.3s;
}

.search-icon:hover {
    color: #0d6efd;
}

/* Remove default list style */
.sub_menu_tag {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 999;
}

/* Show on hover */
.nav-item:hover .sub_menu_tag {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Links */
.sub_menu_tag li a {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.sub_menu_tag li a:hover {
    background: #f5f8ff;
    color: #2d6cdf;
    padding-left: 22px;
}

.nav-item {
    position: relative;
}

/* end header css */


/* member login css */
.login-card {
    max-width: 450px;
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.login-title {
    color: #000;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.input-group-modern {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid #dcdcdc;
    font-size: 0.95rem;
    transition: 0.3s;
}

.input-field:focus {
    border-color: var(--iesrf-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
}

/* Captcha Section */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.captcha-display {
    background: var(--iesrf-blue);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    min-width: 100px;
    text-align: center;
}

.refresh-icon {
    color: var(--iesrf-blue);
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
}

.refresh-icon:hover {
    transform: rotate(180deg);
    color: #ED1C24;
}

/* Actions Section */
.login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-login {
    background: #141473;
    color: #fff;
    border: none;
    padding: 12px 50px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 126, 71, 0.3);
}


/* =========================
   GLOBAL IMAGE OPTIMIZATION
========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth rendering */

img {
    image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Global image wrapper */

.image-box {
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
}

/* Skeleton loading effect */

.image-box::before {

    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(90deg,
            #f2f2f2 25%,
            #e6e6e6 50%,
            #f2f2f2 75%);

    background-size: 400% 100%;

    animation: imageLoading 1.2s infinite;

    z-index: 0;
}

/* Image */

.image-box img {

    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.4s ease;
}

/* Hover */

.image-box:hover img {
    transform: scale(1.03);
}

/* Faster rendering */

section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

/* Animation */

@keyframes imageLoading {

    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }

}

.society-card {
    border-radius: 22px;
    border: 1px solid rgba(31, 110, 212, 0.08);
}

/* header css start */
:root {
    --kerf-red: #C8202F;
    --kerf-red-dark: #8E1420;
    --kerf-red-tint: #FBEBEC;
    --kerf-navy: #0B1440;
    --kerf-navy-2: #141C56;
    --kerf-gold: #F0A400;
    --kerf-gold-light: #FFD873;
    --kerf-cream: #FBF8F2;
    --kerf-ink: #1B1F33;
    --kerf-gray: #667085;
    --kerf-line: #E7E2D6;

    --shadow-sm: 0 2px 10px rgba(11, 20, 64, 0.08);
    --shadow-md: 0 12px 28px rgba(11, 20, 64, 0.14);
    --shadow-lg: 0 24px 60px rgba(11, 20, 64, 0.20);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 26px;
    --ease: cubic-bezier(.22, .8, .32, 1);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--kerf-ink);
    background-color: var(--kerf-cream);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

a {
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid var(--kerf-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Utility bar ---------- */
.kerf-utility-bar {
    background: linear-gradient(90deg, var(--kerf-navy) 0%, var(--kerf-navy-2) 100%);
    border-bottom: 1px solid rgba(240, 164, 0, 0.25);
    padding: 9px 0;
    font-size: 0.83rem;
}

.kerf-utility-bar .brand-lockup {
    display: flex;
    align-items: center;
}

.kerf-utility-bar .brand-lockup img.logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    transition: transform .35s var(--ease);
}

.kerf-utility-bar .brand-lockup:hover img.logo {
    transform: scale(1.04) rotate(-1deg);
}

.brand-name {
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 2px;
}

.brand-tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--kerf-navy);
    background: linear-gradient(135deg, var(--kerf-gold-light), var(--kerf-gold));
    padding: 3px 10px 3px 8px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.brand-tagline-badge i {
    font-size: 0.75rem;
}

.kerf-utility-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.btn-certificate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    color: var(--kerf-gold-light);
    border: 1.5px solid rgba(240, 164, 0, 0.55);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--ease) 0.3s;
}

.btn-certificate:hover {
    background: var(--kerf-gold);
    border-color: var(--kerf-gold);
    color: var(--kerf-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(240, 164, 0, 0.35);
}

.kerf-mail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F5D9A0;
    font-weight: 500;
    transition: color .25s ease;
}

.kerf-mail-link i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 164, 0, 0.15);
    border-radius: 50%;
    color: var(--kerf-gold-light);
}

.kerf-mail-link:hover {
    color: #ffffff;
}

.kerf-mail-link:hover i {
    background: var(--kerf-gold);
    color: var(--kerf-navy);
}

/* ---------- Main navigation ---------- */
.kerf-navbar {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid var(--kerf-line);
    transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}

.kerf-navbar.is-scrolled {
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.kerf-navbar .navbar-nav {
    gap: 4px;
}

.kerf-navbar .nav-link {
    position: relative;
    color: var(--kerf-navy) !important;
    font-weight: 600;
    font-size: 0.96rem;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
    transition: color .25s ease, background-color .25s ease;
}

.kerf-navbar .nav-link i {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: 1px;
}

.kerf-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--kerf-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.kerf-navbar .nav-link:hover,
.kerf-navbar .nav-link:focus-visible {
    color: var(--kerf-red) !important;
    background: var(--kerf-red-tint);
}

.kerf-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.kerf-navbar .sub_menu_tag {
    list-style: none;
    margin: 0;
    padding: 10px;
    min-width: 240px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--kerf-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s var(--ease);
}

.kerf-navbar .dropdown:hover>.sub_menu_tag,
.kerf-navbar .dropdown-submenu:hover>.sub_menu_tag {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kerf-navbar .sub_menu_tag li a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--kerf-ink);
    font-weight: 500;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: all .2s ease;
}

.kerf-navbar .sub_menu_tag li a:hover {
    background: var(--kerf-red-tint);
    border-left-color: var(--kerf-gold);
    color: var(--kerf-red);
    padding-left: 18px;
}

.kerf-navbar .dropdown-submenu {
    position: relative;
}

.kerf-navbar .dropdown-submenu>.sub_menu_tag {
    position: absolute;
    left: 100%;
    top: 0;
}

@media (min-width: 992px) {
    .kerf-navbar .dropdown {
        position: relative;
    }

    .kerf-navbar .dropdown>.sub_menu_tag {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1050;
    }
}

.btn-member-login {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--kerf-navy);
    background: linear-gradient(135deg, var(--kerf-gold-light), var(--kerf-gold));
    box-shadow: 0 8px 18px rgba(240, 164, 0, 0.3);
    border: none;
    transition: all .3s var(--ease);
}

.btn-member-login i {
    font-size: 1.05rem;
}

.btn-member-login:hover {
    background: linear-gradient(135deg, var(--kerf-red), var(--kerf-red-dark));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(200, 32, 47, 0.32);
}

.navbar-toggler {
    border: 1.5px solid var(--kerf-line);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(11,20,64)' stroke-width='2.4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .kerf-utility-bar .kerf-utility-right {
        display: none !important;
    }

    .kerf-navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .kerf-navbar .navbar-collapse {
        background: var(--kerf-cream);
        margin-top: 14px;
        padding: 16px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
    }

    .kerf-navbar .nav-link::after {
        display: none;
    }

    .kerf-navbar .sub_menu_tag {
        opacity: 1;
        visibility: visible;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 12px;
        display: none;
    }

    .kerf-navbar .dropdown.show .sub_menu_tag,
    .kerf-navbar .dropdown-submenu.show>.sub_menu_tag {
        display: block;
    }

    .btn-member-login {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
}

/* home page css */
.kerf-hero {
    position: relative;
    padding: 70px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(240, 164, 0, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(200, 32, 47, 0.08) 0%, transparent 40%),
        var(--kerf-cream);
}

.kerf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(11, 20, 64, 0.035) 0 2px, transparent 2px 26px);
    pointer-events: none;
}

.hero-text-side {
    position: relative;
    z-index: 1;
    padding-right: 20px;
}

.foundation-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--kerf-red);
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--kerf-gold);
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    color: var(--kerf-navy);
    margin-bottom: 22px;
}

.hero-headline .accent {
    color: var(--kerf-red);
    font-style: italic;
}

.hero-subtext {
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--kerf-gray);
    margin-bottom: 34px;
    max-width: 46ch;
}

.hero-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-btn {
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: all .3s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    letter-spacing: 0.2px;
}

.btn-hero-solid {
    background: linear-gradient(135deg, var(--kerf-red), var(--kerf-red-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(200, 32, 47, 0.28);
}

.btn-hero-solid:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(200, 32, 47, 0.36);
}

.btn-hero-outline {
    background: transparent;
    color: var(--kerf-navy);
    border: 2px solid var(--kerf-navy);
}

.btn-hero-outline:hover {
    color: var(--kerf-navy);
    background: var(--kerf-gold-light);
    border-color: var(--kerf-gold);
    transform: translateY(-3px);
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px dashed var(--kerf-line);
}

.hero-trust-row .seal-mini {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px dashed var(--kerf-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kerf-red);
    font-size: 1.15rem;
    flex-shrink: 0;
    animation: kerf-spin 16s linear infinite;
}

.hero-trust-row .seal-mini i {
    animation: kerf-spin-reverse 16s linear infinite;
}

@keyframes kerf-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes kerf-spin-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.hero-trust-row small {
    color: var(--kerf-gray);
    line-height: 1.4;
    display: block;
}

.hero-trust-row strong {
    color: var(--kerf-navy);
    display: block;
    font-size: 0.92rem;
}

/* ---- Slider side ---- */
.hero-slider-side {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
}

.hero-slider-side::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: calc(var(--radius-lg) - 6px);
    box-shadow: inset 0 -80px 60px -40px rgba(11, 20, 64, 0.45);
    pointer-events: none;
}

.home-banner-slider .swiper-slide img {
    width: 100%;
    /* height: 460px; */
    object-fit: cover;
    display: block;
}

.home-banner-slider .swiper-button-next,
.home-banner-slider .swiper-button-prev {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--kerf-navy);
    box-shadow: var(--shadow-sm);
    transition: all .25s ease;
}

.home-banner-slider .swiper-button-next:hover,
.home-banner-slider .swiper-button-prev:hover {
    background: var(--kerf-gold);
    color: var(--kerf-navy);
}

.home-banner-slider .swiper-button-next::after,
.home-banner-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 900;
}

.home-banner-slider .swiper-pagination-bullet-active {
    background: var(--kerf-gold);
}

.hero-badge-floating {
    position: absolute;
    left: -22px;
    bottom: -22px;
    z-index: 2;
    background: #ffffff;
    border-radius: 50%;
    width: 118px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 3px dashed var(--kerf-gold);
    animation: kerf-spin 22s linear infinite;
}

.hero-badge-floating .badge-inner {
    animation: kerf-spin-reverse 22s linear infinite;
    color: var(--kerf-navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.25;
    padding: 6px;
}

.hero-badge-floating .badge-inner i {
    display: block;
    color: var(--kerf-red);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

@media (max-width: 991px) {
    .hero-text-side {
        padding-right: 0;
        margin-bottom: 44px;
        text-align: center;
    }

    .hero-btn-group,
    .hero-trust-row {
        justify-content: center;
    }

    .hero-subtext {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    /* .home-banner-slider .swiper-slide img { height: 300px; } */
    .hero-badge-floating {
        width: 96px;
        height: 96px;
        left: 8px;
        bottom: -18px;
    }
}

/* ===================== ABOUT ===================== */
.about-section {
    padding: 90px 0;
    background-color: #ffffff;
    position: relative;
}

.about-subtitle {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: var(--kerf-red);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.about-main-title {
    font-family: var(--font-display);
    color: var(--kerf-navy);
    font-weight: 700;
    line-height: 1.28;
}

.about-lead-text {
    font-size: 1.1rem;
    color: var(--kerf-ink);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-secondary-text {
    color: var(--kerf-gray);
    line-height: 1.75;
}

.about-feature-box {
    background: var(--kerf-cream);
    border-left: 4px solid var(--kerf-red);
    padding: 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    height: 100%;
    transition: all .3s var(--ease);
}

.about-feature-box.feature-box-accent {
    border-left-color: var(--kerf-gold);
}

.about-feature-box:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 32, 47, 0.08);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.about-feature-box.feature-box-accent .feature-icon {
    background: rgba(240, 164, 0, 0.14);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.28rem;
    color: var(--kerf-navy);
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.96rem;
    color: var(--kerf-gray);
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-section {
        padding: 56px 0;
    }
}

/* ===================== WHAT WE DO ===================== */
.section-padding {
    padding: 90px 0;
}

.section-bg-light {
    background-color: var(--kerf-cream);
}

.tagline {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    color: var(--kerf-red);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.main-heading {
    font-family: var(--font-display);
    color: var(--kerf-navy);
    font-weight: 700;
    margin-bottom: 46px;
}

.wwd-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--kerf-line);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    height: 100%;
    overflow: hidden;
    transition: all .35s var(--ease);
}

.wwd-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kerf-red), var(--kerf-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.wwd-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.wwd-card:hover::before {
    transform: scaleX(1);
}

.wwd-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(11, 20, 64, 0.12);
    margin-bottom: 14px;
    transition: color .3s ease;
}

.wwd-card:hover .wwd-number {
    color: var(--kerf-gold);
}

.wwd-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--kerf-navy);
    margin-bottom: 12px;
}

.wwd-desc {
    font-size: 0.95rem;
    color: var(--kerf-gray);
    line-height: 1.65;
}

.inline-btn {
    color: var(--kerf-red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.92rem;
    transition: gap .25s ease, color .25s ease;
}

.inline-btn:hover {
    color: var(--kerf-red-dark);
    gap: 10px;
}

/* ===================== JOIN CTA ===================== */
.join-khyati-wrapper {
    padding: 30px 0 90px;
}

.join-khyati-section {
    position: relative;
    background:
        linear-gradient(135deg, rgba(11, 20, 64, 0.90), rgba(142, 20, 32, 0.85)),
        url(http://127.0.0.1:8000/assets/img/Join-us-img.jpg) center / cover no-repeat;
    padding: 80px 24px;
    text-align: center;
    color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.join-khyati-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(240, 164, 0, 0.06) 0 2px, transparent 2px 22px);
}

.join-khyati-section>* {
    position: relative;
    z-index: 1;
}

.join-khyati-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--kerf-gold-light);
    font-weight: 700;
    margin-bottom: 16px;
}

.join-khyati-title {
    font-family: var(--font-display);
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.join-khyati-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #E7E2D6;
    margin-bottom: 34px;
}

.btn-join-today {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--kerf-gold-light), var(--kerf-gold));
    color: var(--kerf-navy);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 15px 34px;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .3s var(--ease);
    border: none;
    box-shadow: 0 12px 26px rgba(240, 164, 0, 0.32);
}

.btn-join-today:hover {
    background: #ffffff;
    color: var(--kerf-red);
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
    .join-khyati-section {
        padding: 56px 18px;
    }
}

/* ===================== Scroll reveal ===================== */
.kerf-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.kerf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}