/* =====================================================================
   ICRASTEM light design refresh (Nov 2026)
   Loaded after style.css / responsive.css from script.php.
   Same layout and HTML; refines typography, spacing, cards, buttons,
   tables, forms, page banner and footer. Remove the <link> to undo.
   ===================================================================== */

:root {
    --rf-navy: #00405a;
    --rf-navy-dark: #002b3d;
    --rf-magenta: #d50855;
    --rf-magenta-dark: #a8063f;
    --rf-gold: #e3c993;
    --rf-ink: #1f2a37;
    --rf-text: #3d4b5c;
    --rf-soft: #f5f8fa;
    --rf-line: #e3e9ee;
    --rf-radius: 14px;
    --rf-shadow: 0 6px 24px rgba(0, 43, 61, .08);
    --rf-shadow-hover: 0 14px 34px rgba(0, 43, 61, .14);
}

/* ---------- Base typography ---------- */
body {
    font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--rf-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body p,
body .text {
    line-height: 1.75;
}

body h2,
body h3,
body h4,
body h5 {
    font-family: "Poppins", "Inter", sans-serif;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--rf-magenta);
    color: #fff;
}

a {
    transition: color .2s ease;
}

/* ---------- Header ---------- */
.main-header .header-upper {
    border-bottom: 1px solid var(--rf-line);
}

.main-header .info-box .icon-box {
    color: var(--rf-magenta);
}

.main-header .header-lower {
    box-shadow: 0 2px 12px rgba(0, 43, 61, .06);
}

.main-header .main-menu .navigation > li > a {
    position: relative;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.main-header .main-menu .navigation > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 0;
    height: 2px;
    background: var(--rf-magenta);
    border-radius: 2px;
    transition: width .25s ease, left .25s ease;
}

.main-header .main-menu .navigation > li:hover > a::after {
    left: 15%;
    width: 70%;
}

/* Dropdowns. No overflow:hidden here: it would clip the 3rd-level flyout ("About > About Organizers"). */
.main-header .main-menu .navigation > li > ul {
    border-radius: 0 0 10px 10px;
    box-shadow: var(--rf-shadow-hover);
    border-top: 3px solid var(--rf-magenta);
}

.main-header .main-menu .navigation > li > ul > li > ul {
    border-radius: 0 10px 10px 10px;
    box-shadow: var(--rf-shadow-hover);
    border-left: 3px solid var(--rf-gold);
}

.main-header .main-menu .navigation > li > ul > li:last-child > a {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.sticky-header {
    box-shadow: 0 4px 18px rgba(0, 43, 61, .10);
    background: rgba(255, 255, 255, .97);
}

/* ---------- Home banner ---------- */
body .video-container:before {
    background: linear-gradient(110deg, rgba(0, 43, 61, .88) 0%, rgba(0, 64, 90, .70) 55%, rgba(213, 8, 85, .45) 100%);
}

.title-text h1 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.title-text .img-stl {
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

/* ---------- Inner page banner + breadcrumb ---------- */
.page-title {
    position: relative;
    background-size: cover;
    background-position: center;
}

body .page-title::before {
    content: "";
    opacity: 1;
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 43, 61, .92) 0%, rgba(0, 64, 90, .82) 65%, rgba(120, 20, 70, .70) 100%);
    pointer-events: none;
}

.page-title .auto-container {
    position: relative;
    z-index: 1;
}

.page-title .bread-crumb {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.page-title .bread-crumb li a:hover {
    color: var(--rf-gold);
}

/* ---------- Section headings ---------- */
.sec-title-three h2,
.sec-title-two h2,
body .auto-container > h2,
body .container > h2 {
    position: relative;
    font-weight: 700;
    color: var(--rf-navy);
    padding-bottom: 18px !important;
    margin-bottom: 24px;
}

.sec-title-three h2 span,
.sec-title-two h2 span {
    color: var(--rf-magenta);
}

.sec-title-three h2::after,
.sec-title-two h2::after,
body .auto-container > h2::after,
body .container > h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: linear-gradient(90deg, var(--rf-magenta), var(--rf-gold));
}

.sec-title-two:not(.centered) > h2::after {
    left: 0;
    transform: none;
}

/* Inner pages: comfortable reading width and spacing */
.page-title + .auto-container,
.page-title + div + .auto-container {
    padding-top: 48px;
    padding-bottom: 56px;
}

body .auto-container > p {
    font-size: 16.5px;
}

/* ---------- Cards ---------- */
.serviceBox,
.info-block .inner-box,
.card,
.paper-card,
.academic-par,
.team-block .inner-box,
.speaker-block .inner-box,
.inner-box.wow {
    border-radius: var(--rf-radius) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.serviceBox,
.card,
.academic-par {
    border: 1px solid var(--rf-line) !important;
    box-shadow: var(--rf-shadow);
    background: #fff;
}

.serviceBox:hover,
.card:hover,
.academic-par:hover,
.info-block .inner-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--rf-shadow-hover);
}

/* Call for papers track cards */
.card {
    overflow: hidden;
}

.card > b:first-child {
    display: inline-block;
    margin-top: 16px;
}

/* Images inside cards and sessions */
.image-hover img,
.inner-box .image img {
    border-radius: 12px;
    transition: transform .4s ease;
}

.image-hover {
    border-radius: 12px;
}

.image-hover:hover img {
    transform: scale(1.04);
}

/* Speaker photos */
.lower-content h4 {
    margin-top: 6px;
}

img[src*="mentors/"] {
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--rf-shadow);
}

/* ---------- Buttons ---------- */
.theme-btn,
.btn_1,
.btn-bg,
.register-button {
    border-radius: 999px !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.theme-btn:hover,
.btn_1:hover,
.btn-bg:hover,
.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(213, 8, 85, .28);
}

.theme-btn:focus-visible,
.btn_1:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--rf-gold);
    outline-offset: 2px;
}

/* ---------- Tables (registration fees) ---------- */
.table {
    border-radius: var(--rf-radius);
    overflow: hidden;
    box-shadow: var(--rf-shadow);
    background: #fff;
}

.table thead th {
    background: var(--rf-navy);
    color: #fff;
    border: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.table tbody tr:nth-child(even) {
    background: var(--rf-soft);
}

.table tbody tr:hover {
    background: #fdf1f5;
}

.table td,
.table th {
    vertical-align: middle;
    border-color: var(--rf-line);
}

/* ---------- Forms ---------- */
.form-control,
.card-form input[type="text"],
.card-form input[type="email"],
.card-form select,
.card-form textarea {
    border-radius: 10px;
    border: 1px solid #cfd8e0;
    min-height: 44px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus,
.card-form input:focus,
.card-form select:focus,
.card-form textarea:focus {
    border-color: var(--rf-magenta);
    box-shadow: 0 0 0 3px rgba(213, 8, 85, .15);
    outline: 0;
}

.card-form {
    background: #fff;
    border-radius: var(--rf-radius);
    box-shadow: var(--rf-shadow);
    border: 1px solid var(--rf-line);
    padding-top: 24px;
    padding-bottom: 24px;
}

.modal-content {
    border-radius: var(--rf-radius);
    border: 0;
    overflow: hidden;
}

/* ---------- Venue / info strips ---------- */
.venue {
    border-radius: var(--rf-radius);
}

.venue img {
    border-radius: 12px;
    box-shadow: var(--rf-shadow);
}

.cta-section1,
.cta-section-one {
    background-image: linear-gradient(180deg, #fbfaf6 0%, #f3f6f8 100%) !important;
}

/* ---------- FAQ accordion ---------- */
.accordion-item {
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--rf-line);
    overflow: hidden;
    background: #fff;
}

.accordion-item button[aria-expanded="true"] .accordion-title {
    color: var(--rf-magenta);
}

/* ---------- Gallery ---------- */
.img-fluid.rounded {
    border-radius: 12px !important;
    transition: transform .3s ease, box-shadow .3s ease;
}

a[data-toggle="lightbox"]:hover .img-fluid.rounded {
    transform: translateY(-3px);
    box-shadow: var(--rf-shadow-hover);
}

/* ---------- Footer ---------- */
.footer-style-two {
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--rf-navy), var(--rf-magenta), var(--rf-gold)) 1;
}

.footer-style-two .logo img {
    background: #fff;
    padding: 8px;
    border-radius: 10px;
}

.footer-style-two .social-box li a {
    transition: transform .2s ease, color .2s ease;
    display: inline-block;
}

.footer-style-two .social-box li a:hover {
    transform: translateY(-3px);
    color: var(--rf-magenta);
}

.footer-style-two .footer-menu li a:hover {
    color: var(--rf-magenta);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, .08);
}


/* ---------- Registration page: bring colours into the brand palette ---------- */
.pricing-table {
    border-radius: var(--rf-radius) !important;
    overflow: hidden;
}

.pricing-table:hover {
    transform: none;
}

.pricing-table .card-header {
    background: linear-gradient(100deg, var(--rf-navy-dark), var(--rf-navy)) !important;
    border: 0;
}

body .pricing-table .table thead th {
    background-color: var(--rf-navy);
}

body .pricing-table .form-check-input:checked {
    background-color: var(--rf-magenta);
    border-color: var(--rf-magenta);
    accent-color: var(--rf-magenta);
}

.pricing-table input[type="checkbox"],
.pricing-table input[type="radio"] {
    accent-color: var(--rf-magenta);
}

#proceed-btn {
    border-radius: 999px;
    padding: 10px 28px;
    background: var(--rf-magenta);
    border-color: var(--rf-magenta);
    font-weight: 600;
}

#proceed-btn:disabled {
    background: #c9d3db;
    border-color: #c9d3db;
}

.rf-pay-link {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 999px;
    background: var(--rf-gold);
    color: var(--rf-navy-dark) !important;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rf-pay-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 43, 61, .18);
}


/* ---------- Replace the bright blue (#0810d1 / #0d15d1) with the brand navy ---------- */
body .header-style-two .info-box .icon-box {
    background-color: #fdeef4;
    color: var(--rf-magenta);
    box-shadow: inset 0 0 0 1px rgba(213, 8, 85, .18);
}

body .info-section .info-block:nth-child(2) .inner-box {
    background-color: var(--rf-navy);
}

body .footer-style-two {
    background-color: var(--rf-navy-dark);
}

body .btn-style-two {
    background-color: var(--rf-navy) !important;
}

body .btn-style-two:hover {
    background-color: var(--rf-magenta) !important;
}

ul.custom-list li::before {
    color: var(--rf-magenta) !important;
}


/* =====================================================================
   Home page sections
   ===================================================================== */

/* Info strip under the banner (date / venue / call) */
.info-section .info-block .inner-box {
    box-shadow: 0 12px 30px rgba(0, 43, 61, .18);
}

.info-section .info-block .inner-box strong {
    font-family: "Poppins", sans-serif;
    letter-spacing: .01em;
}

/* Organizer card */
.academic-par {
    padding: 18px 16px 6px;
}

.academic-par img {
    border-radius: 10px;
}

/* CPD certificate block */
.certification-container {
    border-radius: 18px !important;
    border: 1px solid var(--rf-line);
    box-shadow: var(--rf-shadow) !important;
}

.cpd-credit-highlight {
    color: var(--rf-navy) !important;
}

/* Welcome + Purpose */
.section-padding .sec-title-two .text {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16.5px;
}

.about-section-two .image-column .image img {
    border-radius: 18px;
    box-shadow: 18px 18px 0 0 rgba(227, 201, 147, .45), var(--rf-shadow-hover);
}

.about-section-two .content-column .text {
    font-size: 16px;
}

/* SDG strip */
.cta-section1 .sdg img {
    border-radius: 14px;
    box-shadow: var(--rf-shadow);
    background: #fff;
}

/* Important dates: navy + magenta instead of the purple theme colours */
body .serviceBox.magenta {
    --color1: #00405a;
    --color2: #d50855;
}

.serviceBox .title {
    font-family: "Poppins", sans-serif;
    color: var(--rf-navy);
}

.serviceBox .description {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 16px;
    border-radius: 999px;
    background: #fdeef4;
    color: var(--rf-magenta) !important;
    font-weight: 700;
}

/* Participate & Scopus proof */
section.rf-participate {
    background: linear-gradient(180deg, #eef4fb 0%, #f8fafc 100%) !important;
    padding: 70px 0 60px;
}

.rf-participate .testimonial-box {
    background: #fff;
    border-radius: var(--rf-radius);
    border-left: 4px solid var(--rf-magenta);
    box-shadow: var(--rf-shadow);
    padding: 22px 22px 18px;
    margin: 12px 8px 24px;
}

.rf-participate .testimonial-box .name {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: var(--rf-navy);
}

.rf-participate .btn_1 {
    background: var(--rf-navy);
    color: #fff;
    border: 0;
    padding: 7px 20px;
    font-weight: 600;
}

.rf-participate .btn_1:hover {
    background: var(--rf-magenta);
}

/* Venue */
.testimonial-section-two {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.testimonial-section-two::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 43, 61, .94) 0%, rgba(0, 64, 90, .88) 60%, rgba(120, 20, 70, .80) 100%);
    pointer-events: none;
}

.testimonial-section-two .auto-container {
    position: relative;
    z-index: 1;
}

.rf-venue-title {
    text-align: center;
    color: var(--rf-gold);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 24px;
}

.testimonial-section-two .venue {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 24px 28px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.testimonial-section-two .venue p,
.testimonial-section-two .venue span {
    color: #fff !important;
}

.testimonial-section-two .venue img {
    border: 4px solid rgba(255, 255, 255, .9);
}

/* Speakers */
.team-section-two .inner-box {
    background: #fff;
    border-radius: var(--rf-radius);
    box-shadow: var(--rf-shadow);
    padding: 14px 14px 10px;
}

.team-section-two .inner-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--rf-shadow-hover);
}

/* Proceedings & Publications */
body .cta-section-one .inner-container {
    background-color: var(--rf-navy) !important;
    background-image: linear-gradient(120deg, rgba(0, 43, 61, .96), rgba(0, 64, 90, .92) 60%, rgba(120, 20, 70, .88)) !important;
    border-radius: 20px;
    box-shadow: var(--rf-shadow-hover);
}

body .cta-section-one .inner-container .sec-title-two h2 {
    color: #fff !important;
}

body .cta-section-one .inner-container img.ba {
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    margin: 6px;
}

/* Why should you attend */
body .service-section-three:before {
    background: linear-gradient(120deg, #002b3d 0%, #00405a 70%, #4a1035 100%);
    opacity: .94;
}

body .service-section-three .sec-title-two h2 {
    color: #fff;
}

body .service-block-three .inner-box {
    background-color: #fff;
    border-radius: 16px !important;
    border-top: 4px solid var(--rf-magenta);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    padding: 30px 22px 26px;
}

body .service-block-three .inner-box .color-layer {
    display: none;
}

body .service-block-three .inner-box h5 a {
    color: var(--rf-navy) !important;
}

body .service-block-three .inner-box .text {
    color: var(--rf-text) !important;
}

body .service-block-three .inner-box .icon-box {
    color: var(--rf-magenta) !important;
}

body .service-block-three .inner-box .icon-box span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fdeef4;
    font-size: 24px;
}

body .service-block-three .inner-box:hover {
    transform: translateY(-6px);
}

/* Session tracks */
.session-padding .image-hover {
    box-shadow: var(--rf-shadow);
}

/* Essential downloads */
.testimonial-section .counter-block .inner-block {
    border-radius: var(--rf-radius) !important;
    border: 1px solid var(--rf-line);
    box-shadow: var(--rf-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-section .counter-block .inner-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--rf-shadow-hover);
}

.testimonial-section .counter-block .icon-box:before {
    background-color: var(--rf-magenta) !important;
}

.testimonial-section .counter-text {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: var(--rf-navy);
}

/* Glimpses + associates */
.gall img {
    border-radius: 12px;
    box-shadow: var(--rf-shadow);
}

.sponsors-section img {
    border-radius: 10px;
    transition: transform .25s ease, filter .25s ease;
}

.sponsors-section img:hover {
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .about-section-two .image-column .image img {
        box-shadow: 10px 10px 0 0 rgba(227, 201, 147, .45), var(--rf-shadow);
    }

    .testimonial-section-two .venue {
        padding: 18px;
    }

    section.rf-participate {
        padding: 48px 0 40px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .page-title + .auto-container,
    .page-title + div + .auto-container {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .page-title .bread-crumb {
        padding: 6px 14px;
    }

    .serviceBox:hover,
    .card:hover,
    .academic-par:hover,
    .info-block .inner-box:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation-duration: .01ms !important;
    }
}
