

.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: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.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;

}

/* gallery css start */
:root {
    --iesrf-blue: #2E3192;
    --iesrf-red: #ED1C24;
    --bg-light: #f8faff;
}

.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Elegant Header Design */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.gallery-header h2 {
    font-weight: 800;
    color: var(--iesrf-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.gallery-header h2::after {
    content: "";
    width: 50px;
    height: 4px;
    background: var(--iesrf-red);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.gallery-header p {
    color: #777;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Gallery Card Styling */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    /* Modern Rounded Corners */
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid rgba(46, 49, 146, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Modern Hover Effects */
.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 49, 146, 0.12);
}

.gallery-card:hover img {
    transform: scale(1.15);
}

/* Glassmorphism Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 49, 146, 0.7);
    /* Deep Blue Overlay */
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.view-btn {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--iesrf-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    text-decoration: none;
    transform: scale(0.5);
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-card:hover .view-btn {
    transform: scale(1);
}

.view-btn:hover {
    background: var(--iesrf-red);
    color: #fff;
}

/* Empty State Container */
.empty-gallery {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: #999;
}

/* end gallery */

/* start footer */
.footer-modern {
    background: #151a3a;
    font-size: 14px;
}

.top-strip {
    background: #2d6cdf;
    font-weight: 500;
}

.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;
}

.newsletter-box input {
    border: 1px solid #eaeaee;
    padding: 10px 15px;
    flex: 1;
    outline: none;
}

.newsletter-box button {
    background: #2d6cdf;
    color: #fff;
    border: none;
    padding: 10px 20px;
}

.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;
}

/* end footer */

/* use for this css president message and message president both page(start) */

.hero-msg-president {
    background: linear-gradient(105deg, #3784bb 0%, #0093a4 45%, #7cc1a7 100%);
    color: #fff;
    padding: 152px 0;
}

@media (max-width: 991px) {

    .hero-msg-president {
        padding: 56px 0;
    }
}

.presidents-message-section .president-img {
   
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.presidents-message-section .card-modern {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.presidents-message-section .section-title {
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.presidents-message-section .section-title::after {
    content: "";
    width: 60%;
    height: 3px;
    background: #f84322;
    position: absolute;
    bottom: -6px;
    left: 0;
    border-radius: 10px;
}

.presidents-message-section.highlight-box {
    background: #f0f4ff;
    border-left: 4px solid #2a5298;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.presidents-message-section.list-modern li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.presidents-message-section.list-modern li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2a5298;
    font-weight: bold;
}

/* end */

/* home page  */
.service-section {
    padding: 46px;
}

.custom-hero-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {

    width: 100%;
    overflow: hidden;
    position: relative;
}

.img-full-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {

    .custom-hero-section,
    .hero-image-container {
        height: auto;
        min-height: 157px;
    }
}

.carousel-fade .carousel-item {
    opacity: 1 !important;
    transition-property: none !important;
    transform: none !important;
}

.carousel-item {
    display: block !important;
    float: none !important;
}


.content-box {
    z-index: 2;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.icon-circle:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .custom-hero-section {
        text-align: center;
    }

    .custom-hero-section .d-flex {
        justify-content: center;
    }
}


#heroInnerCarousel,
#heroInnerCarousel .carousel-inner,
#heroInnerCarousel .carousel-item {
    height: 100% !important;
}

.carousel-indicators [button] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

.img-full-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* second section css */

.gradient-cards-section {
    background: #f5f7fb;
}

.gradient-card {
    text-align: center;
    border-radius: 20px;
    padding: 40px 25px;
    color: #000000;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.gradient-card:hover {
    transform: translateY(-8px);
}

.card-1 {
    background: linear-gradient(105deg, #fcfdfe 0%, #ffffff);

}

.card-2 {
    background: linear-gradient(105deg, #ffffff 0%, #ffffff);
}

.card-3 {
    background: linear-gradient(105deg, #ffffff 0%, #ffffff);
}

.gradient-card h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.gradient-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Links */
.card-links a {
    display: block;
    text-decoration: none;
    margin-top: 12px;
    font-weight: 600;
}

.card-links a:hover {
    text-decoration: underline;
}

.arrow {
    margin-left: 6px;
}

/* president Start  */
.president-section-home {
    background: #f5f7fb;
}

.president-section-home .president-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.president-section-home .president-title {
    font-weight: 700;
}

.president-section-home .highlight {
    color: #1f6ed4;
}

/* Profile */
.president-section-home .president-profile {
    text-align: center;
}

.president-section-home .president-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 14%;
    border: 5px solid #e6ecff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Message */
.president-section-home .president-message {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}
a {
    color: #0d0d43;
}
/* Button */
.president-section-home .btn-glow {
    display: inline-block;
    margin-top: 15px;
    background: #1f6ed4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.president-section-home .btn-glow:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media(max-width:768px) {
    .president-profile {
        margin-bottom: 20px;
    }
}

/* President Section */

.service-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.service-section .section-tag {
    display: inline-block;
    margin-bottom: 16px;
    color: #1f6ed4;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-section .section-title h2 {
    font-size: 2.65rem;
    line-height: 1.1;
    color: #10214d;
    margin-bottom: 20px;
}

.service-section .section-title .section-subtitle {
    color: #576576;
    font-size: 1rem;
    line-height: 1.8;
}

.service-section .about-content p {
    color: #4b586a;
    line-height: 1.85;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

.service-section .about-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.service-section .about-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: #4b5566;
    font-size: 0.95rem;
}

.service-section .about-features li:before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #1f6ed4;
    font-size: 14px;
    line-height: 1.2;
}

.service-section .about-aside-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(31, 110, 212, 0.12);
    box-shadow: 0 24px 55px rgba(24, 88, 160, 0.08);
}

.service-section .aside-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(31, 110, 212, 0.1);
    color: #1f6ed4;
    font-weight: 700;
    font-size: 13px;
}

.service-section .about-aside-card h4 {
    font-size: 1.35rem;
    color: #10214d;
    margin-bottom: 18px;
}

.service-section .about-aside-card p {
    margin-bottom: 24px;
    color: #586575;
    line-height: 1.75;
}

.service-section .aside-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.service-section .aside-actions .btn {
    min-width: 150px;
}

.service-section .aside-img {
    width: 100%;
    display: block;
    border-radius: 16px;
    border: 1px solid #dde6f2;
}

.service-section .feature-card {
    text-align: center;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(31, 110, 212, 0.08);
    padding: 14px;
    box-shadow: 0 22px 42px rgba(23, 69, 119, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(23, 69, 119, 0.12);
}

.service-section .feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
   background: #1f6ed4;
    margin-bottom: 18px;
    font-size: 20px;
}

.service-section .feature-card h5 {
    font-size: 1.08rem;
    color: #10214d;
    margin-bottom: 14px;
}

.service-section .feature-card p {
    color: #5d6775;
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 0.96rem;
}

.service-section .feature-card a {
    color: #1f6ed4;
    font-weight: 600;
    text-decoration: none;
}

.service-section .feature-card a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .service-section {
        padding: 50px 0;
    }

    .service-section .about-aside-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .service-section .section-title h2 {
        font-size: 2rem;
    }

    .service-section .aside-actions {
        flex-direction: column;
    }
}

.detail-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(46, 49, 146, 0.1);
    color: #2E3192;
    font-size: 1.4rem;
}

.journal-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}


.journal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* aspect-ratio: 4 / 5; */
    transition: transform 0.4s ease;
    display: block;
}

.journal-card:hover .journal-img {
    transform: scale(1.04);
}

.journal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    color: #ffffff;
    text-align: left;
}

.journal-overlay h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: #fff;
}

.journal-overlay p {
    margin-bottom: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.president-section-home {
    padding-top: 60px;
}

/* end home page  */

/* header css */

.top-bar {
    padding: 10px 0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
    height: 50px;
}

.btn-custom {
    border-radius: 25px;
    padding: 8px 18px;
    margin-left: 10px;
}

.navbar {
    background: #e9ecef;
    position: sticky;
    top: 70px;
    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 */

/* start committee section css  */
.committee-section {
    padding: 60px 0;
    background-color: #fcfdfe;
}

.committee-header {
    text-align: center;
    margin-bottom: 50px;
}

.committee-card {
    background: #fff;
    border: 1px solid #e1e5ef;
    border-radius: 12px;
    padding: 20px;
    transition: 0.4s ease-in-out;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.committee-card:hover {
    border-color: var(--iesrf-blue);
    box-shadow: 0 10px 30px rgba(46, 49, 146, 0.1);
    transform: translateY(-5px);
}

.committee-img-container {
    width: 100%;
    aspect-ratio: 1/1;
    /* Perfect square */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

.committee-img-container img {
    width: 100%;
    object-fit: cover;
}

.member-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.member-info-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #444;
}

.info-label {
    font-weight: 700;
    color: #000;
    display: block;
}

.member-title {
    color: var(--iesrf-blue);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--iesrf-red);
    display: inline-block;
    padding-bottom: 5px;
}

/* end committee section css  */

/* start cass committee member */

.committee-member .committee-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 50px;
}

.committee-member .section-title {
    color: #222;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.committee-member .info-list {
    list-style: none;
    padding-left: 0;
}

.committee-member .info-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.committee-member .info-list li::before {
    content: '•';
    color: #da2f22;
    font-weight: bold;
    font-size: 25px;
    position: absolute;
    left: 0;
    top: -5px;
}

.committee-member .form-control,
.form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.committee-member .form-control:focus {
    border-color: #4333a3;
    box-shadow: 0 0 0 0.25rem rgba(67, 51, 163, 0.1);
}

.committee-member .captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.committee-member .captcha-code {
    background: #4333a3;
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 5px;
    font-style: italic;
}

.committee-member .btn-submit {
    background: #ff7e41;
    border: none;
    color: white;
    padding: 15px 60px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.committee-member .btn-submit:hover {
    background: #e66a2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 126, 65, 0.4);
}

/* end cass committee member */

/* start css contact page */
.contact-section {
    padding: 80px 0;
    background-color: #f4f7fe;
}

.contact-wrapper {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(46, 49, 146, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Left Side: Form */
.contact-form-container {
    padding: 50px;
}

.contact-form-container h2 {
    color: var(--iesrf-blue);
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
}

.form-control-modern {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 15px 20px;
    transition: 0.3s;
}

.form-control-modern:focus {
    background: #fff;
    border-color: var(--iesrf-blue);
    box-shadow: 0 5px 15px rgba(46, 49, 146, 0.05);
    outline: none;
}

/* Right Side: Details */
.contact-info-container {
    background: #6c7acf;
    padding: 50px;
    color: #fff;
    height: 100%;
}
.contact-info-container h4{
    color:#fff;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    color: #ffcbd1;
    transition: 0.3s;
}

.info-item:hover .info-icon {
    background: var(--iesrf-red);
    color: #fff;
}

.info-content h6 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.info-content p,
.info-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
}

/* Captcha Styling */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.captcha-display {
    background: #fff;
    color: var(--iesrf-blue);
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 10px;
    border: 2px solid var(--iesrf-blue);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.refresh-icon {
    color: var(--iesrf-blue);
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.refresh-icon:hover {
    transform: rotate(180deg);
    color: var(--iesrf-red);
}

.btn-submit {
    background: #363670;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 126, 95, 0.4);
    color: #fff;
}

/* Map integration */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* end css contact page */

/* start css editor corner page */

.editor-page {
    background-color: var(--bg-soft);
    padding: 60px 0;
}

.editor-page .editor-hero-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(46, 49, 146, 0.05);
    border: 1px solid rgba(46, 49, 146, 0.05);
    margin-bottom: 40px;
}

.editor-page .newsletter-badge {
    background: rgba(237, 28, 36, 0.1);
    color: var(--iesrf-secondary);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.editor-page .editor-title {
 
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.editor-page .content-text {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.editor-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.editor-page .feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.editor-page .feature-item:hover {
    border-color: var(--iesrf-primary);
    transform: translateY(-5px);
}

.editor-page .feature-icon {
    width: 40px;
    height: 40px;
    background: var(--iesrf-primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Newsletter Graphics */
.editor-page .newsletter-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: 0.4s;
}

.editor-page .newsletter-image:hover {
    transform: scale(1.02);
}

/* Video Link Card */
.editor-page .video-card {
    background: #4bc2b4;
    color: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.editor-page .video-btn {
    background: var(--iesrf-secondary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.editor-page .video-btn:hover {
    background: #fff;
    color: var(--iesrf-secondary);
}

/* end cs editor corner page  */

/* events css start */
.btn-webinar-tab {
    background-color: #3368c6 !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-size: 0.95rem;
    font-weight: 600;
    border: none !important;
    transition: all 0.3s ease;
}

.btn-webinar-tab:hover,
.btn-webinar-tab.active {
    background-color: var(--iesrf-red) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 47, 34, 0.3);
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #eee;
}

.video-thumb-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 60px;
    height: 60px;
    background: var(--iesrf-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.video-card:hover .play-btn-circle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    z-index: 2;
}

.video-mini-logo {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
}

.video-top-overlay .video-mini-logo {
    width: 50px;
}

.video-info-body {
    padding: 8px;
}

/* events css end */

/* start css executive-section */
.executive-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Info Box Styling */
.executive-section .board-info-box {
    background: #f8faff;
    border-left: 5px solid var(--iesrf-blue);
    padding: 25px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 40px;
}

.executive-section .board-info-box p {
    font-size: 1.1rem;
    color: #444;
    margin: 0;
}

/* Roles Grid */
.executive-section .role-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #e1e5ef;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.executive-section .role-item:hover {
    border-color: var(--iesrf-red);
    background: #fffcfc;
    transform: translateX(10px);
}

.executive-section .role-icon {
    width: 40px;
    height: 40px;
    background: rgba(46, 49, 146, 0.1);
    color: var(--iesrf-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.executive-section .role-name {
    font-weight: 600;
    color: #333;
}

/* Links */
.executive-section .btn-board-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.executive-section .link-existing {
    color: var(--iesrf-blue);
    border: 2px solid var(--iesrf-blue);
}

.executive-section .link-existing:hover {
    background: var(--iesrf-blue);
    color: #fff;
}

.executive-section .btn-apply-now {
    background: var(--iesrf-red);
    color: #fff;
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.2);
}

.executive-section .btn-apply-now:hover {
    background: #c11219;
    color: #fff;
    transform: translateY(-2px);
}

/* end css executive-section */

/* join-membership-ins css start */

.membership-form-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(46, 49, 146, 0.08);
    border: 1px solid #e1e5ef;
}

.form-label-custom {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-modern,
.form-control-custom {
    border: 1px solid #dce0ee;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #f8faff;
}

.input-modern:focus,
.form-control-custom:focus {
    border-color: var(--iesrf-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
    outline: none;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f3f9;
    padding: 10px;
    border-radius: 12px;
}

.captcha-display-box {
    background: #fff;
    color: var(--iesrf-blue);
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 8px;
    letter-spacing: 5px;
    border: 1px dashed var(--iesrf-blue);
}

.btn-refresh {
    background: none;
    border: none;
    color: var(--iesrf-red);
    font-size: 1.2rem;
    cursor: pointer;
}

.btn-join {
    background: linear-gradient(135deg, var(--iesrf-blue), #1a1c54);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    width: 100%;
}

.btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 49, 146, 0.3);
}

.form-header-title {
    color: var(--iesrf-blue);
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}

.form-header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--iesrf-red);
    border-radius: 2px;
}

/* end */

/* membership join css  */
.membership-card {
    background: #fff;
    border-radius: 25px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(46, 49, 146, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.membership-card .download-wrapper {
    background: var(--iesrf-light-bg);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
    border: 1px dashed #cbd5e0;
}

.membership-card .download-link-btn {
    text-decoration: none;
    color: var(--iesrf-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e1e5ef;
    transition: 0.3s;
    font-size: 0.9rem;
}

.membership-card .download-link-btn:hover {
    background: var(--iesrf-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Form Elements */
.membership-card .form-label-custom {
    font-weight: 600;
    color: var(--iesrf-blue);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.membership-card .input-modern {
    border-radius: 12px;
    padding: 12px 18px;
    border: 1.5px solid #e1e5ef;
    background: #fff;
    transition: 0.3s;
}

.membership-card .input-modern:focus {
    border-color: var(--iesrf-blue);
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
    outline: none;
}

/* Captcha Box */
.membership-card .captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.membership-card .captcha-display-box {
    background: linear-gradient(135deg, var(--iesrf-blue), #1a1c54);
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 3px;
    font-family: 'Courier New', Courier, monospace;
}

.membership-card .btn-refresh {
    background: #f1f3f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--iesrf-blue);
    transition: 0.3s;
}

.membership-card .btn-refresh:hover {
    background: var(--iesrf-red);
    color: #fff;
    transform: rotate(180deg);
}

.membership-card .btn-join {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.3);
    transition: 0.3s;
}

.membership-card .btn-join:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 126, 95, 0.4);
    color: #fff;
}

/* end */

/* members list css start */
.members-section {
    padding: 60px 0;
    background-color: #f9fbff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.member-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
    border: 1px solid #e1e5ef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 49, 146, 0.1);
    border-color: var(--iesrf-blue);
}

.member-img-wrapper {
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #f0f2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    color: var(--iesrf-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-divider {
    width: 50px;
    height: 2px;
    background: var(--iesrf-red);
    margin: 10px auto;
}

.member-inst {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 3rem;
}

.membership-id-box {
    background: #f1f3f9;
    padding: 8px;
    border-radius: 8px;
}

.id-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--iesrf-red);
    text-transform: uppercase;
}

.id-value {
    font-weight: 700;
    color: var(--iesrf-blue);
    font-size: 0.9rem;
}

.btn-join-nav {
    background-color: #28a745;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-join-nav:hover {
    background-color: #218838;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* end */

/* start css member benefit */
.membership-info-section {
    padding: 50px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.policy-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e1e5ef;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.policy-card:hover {
    border-color: var(--iesrf-blue);
    transform: translateY(-5px);
}

.policy-card h4 {
    color: var(--iesrf-blue);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Payment Details Box */
.payment-details-box {
    background: var(--iesrf-light-bg);
    border-radius: 15px;
    padding: 35px;
    border-left: 5px solid var(--iesrf-blue);
    margin-bottom: 40px;
}

.bank-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.bank-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.bank-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

.bank-value {
    font-weight: 600;
    color: var(--iesrf-blue);
    word-break: break-all;
}

/* Strengths Section */
.strengths-container {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.strengths-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--iesrf-blue), var(--iesrf-red));
}

.mission-statement {
    background: rgba(46, 49, 146, 0.05);
    padding: 20px;
    border-radius: 12px;
    font-style: italic;
    margin-top: 20px;
}

.committee-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 700;
    color: var(--iesrf-secondary);
}

/* end */

/* start css member testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonial-card {
    background: #f8faff;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    border: 1px solid #eef1f9;
    transition: 0.3s;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 49, 146, 0.08);
    background: #fff;
    border-color: var(--iesrf-blue);
}

.quote-icon {
    font-size: 2rem;
    color: var(--iesrf-red);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--iesrf-blue);
}

.user-info h6 {
    margin: 0;
    font-weight: 700;
    color: var(--iesrf-blue);
}

.user-info span {
    font-size: 0.8rem;
    color: #777;
}

.section-subtitle {
    color: var(--iesrf-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* end */

/* 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);
}



.download-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
}

.download-link:hover {
    text-decoration: underline;
    color: var(--iesrf-blue);
}

/* end  */

/* start members-organization */
.members-organization-section {
    padding: 60px 0;
    background-color: #f9fbff;
}

.members-organization-section .section-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.members-organization-section .org-card {
    background: #fff;
    /* Red accent border at the top as per your branding colors */
    border-top: 3px solid var(--iesrf-red);
    border-left: 1px solid #e1e5ef;
    border-right: 1px solid #e1e5ef;
    border-bottom: 1px solid #e1e5ef;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.members-organization-section .org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 49, 146, 0.1);
    border-color: var(--iesrf-blue);
}

.members-organization-section .org-logo-wrapper {
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.members-organization-section .org-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.members-organization-section .org-name {
    color: var(--iesrf-blue);
    /* Using your blue for the title */
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.4;
}

.members-organization-section .btn-org-join {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    transition: 0.3s;
}

.members-organization-section .btn-org-join:hover {
    background-color: #218838;
    color: white;
}

/* end */

/* start css proposal */
.proposal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(46, 49, 146, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-label-custom {
    font-weight: 600;
    color: var(--iesrf-blue);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control-custom {
    border-radius: 12px;
    padding: 12px 18px;
    border: 1.5px solid #e1e5ef;
    transition: 0.3s;
}

.form-control-custom:focus {
    border-color: var(--iesrf-blue);
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
    outline: none;
}

/* Captcha Section Styling */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: #f8faff;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px dashed #cbd5e0;
    width: fit-content;
}

.captcha-box {
    background: linear-gradient(135deg, var(--iesrf-blue), #1a1c54);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 4px;
    user-select: none;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 4px 10px rgba(46, 49, 146, 0.2);
}

.refresh-btn {
    background: #fff;
    border: 1px solid #e1e5ef;
    color: var(--iesrf-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.refresh-btn:hover {
    background: var(--iesrf-red);
    color: #fff;
    border-color: var(--iesrf-red);
    transform: rotate(180deg);
}

.submit-btn {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    /* Orange gradient like your image */
    color: #fff;
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 126, 95, 0.4);
    color: #fff;
}

.upload-info {
    font-size: 0.85rem;
    color: var(--iesrf-red);
    margin-top: 5px;
    display: block;
}

/* end  */

/* =========================
   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;
    }

}

/*start about*/

/* IESRF Branding Colors */
    :root {
        --iesrf-blue: #2E3192;
        --iesrf-red: #ED1C24;
        --iesrf-light: #f8faff;
    }

    .iesrf-about-section {
        background: linear-gradient(105deg, #3784bb 0%, #0093a4 45%, #7cc1a7 100%);
        color: #fff;
        padding: 100px 0;
        border-radius: 0 0 80px 0;
        position: relative;
        overflow: hidden;
    }

    /* Decorative Circle */
    .iesrf-about-section::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        background: rgba(237, 28, 36, 0.1);
        border-radius: 50%;
        top: -100px;
        right: -100px;
    }

    .iesrf-about-section .glass-card {
        background: rgba(255, 255, 255, 1);
        backdrop-filter: blur(10px);
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(46, 49, 146, 0.08);
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid rgba(46, 49, 146, 0.05);
    }

    .iesrf-about-section .glass-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(46, 49, 146, 0.15);
        border-color: var(--iesrf-red);
    }

    .iesrf-about-section .icon-circle {
        width: 50px;
        height: 50px;
        background: rgba(46, 49, 146, 0.05);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        color: var(--iesrf-blue);
        font-size: 22px;
        transition: 0.3s;
        backdrop-filter: blur(5px);
    }

    .iesrf-about-section .glass-card:hover .icon-circle {
        background: var(--iesrf-blue);
        color: #fff;
    }

    .iesrf-about-section .section-title {
        position: relative;
        color: var(--iesrf-blue);
        font-weight: 800;
    }

    .iesrf-about-section .section-title::before {
        content: "";
        width: 40px;
        height: 4px;
        background: var(--iesrf-red);
        position: absolute;
        top: -10px;
        left: 0;
        border-radius: 10px;
    }

    .iesrf-about-section .fact-item {
        padding: 10px 0;
        border-bottom: 1px dashed #eee;
    }

    .iesrf-about-section .fact-item:last-child { border: none; }

    .iesrf-about-section .mission-box {
        background: var(--iesrf-blue);
        color: #fff;
        border-left: 8px solid var(--iesrf-red);
    }

/*end about*/


    .community-card {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        min-height: 220px;
    }

    .community-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

    .glass-icon {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        background: rgba(46, 49, 146, 0.1);
        backdrop-filter: blur(5px);
        border-radius: 20px;
        color: #2E3192;
        transition: 0.3s;
        z-index: 2;
        position: relative;
    }

    .community-card:hover .glass-icon {
        background: #fff;
        color: #2E3192;
    }

    /* Hover Overlay */
    .hover_box {
        position: absolute;
        inset: 0;
        background: rgba(46, 49, 146, 0.92);
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        opacity: 0;
        transition: 0.4s ease;
        font-size: 14px;
    }

    .community-card:hover .hover_box {
        opacity: 1;
    }

    .hover_box a {
        color: #fff;
        font-weight: 700;
        text-decoration: underline;
    }

    .box_footer_div {
        position: absolute;
        bottom: 15px;
        left: 0;
        right: 0;
        text-align: center;
        font-weight: 700;
        text-transform: uppercase;
        color: #2E3192;
        z-index: 2;
        transition: 0.3s;
    }

    .community-card:hover .box_footer_div {
        color: #fff;
    }
    /* Hover Overlay */
.hover_box {
    position: absolute;
    inset: 0;
    background: rgba(46, 49, 146, 0.92);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: 0.4s ease;
    font-size: 14px;
    z-index: 5;
}

/* Hide icon on hover */
.community-card:hover .glass-icon {
    opacity: 0;
    visibility: hidden;
}

/* Hide footer text on hover */
.community-card:hover .box_footer_div {
    opacity: 0;
}
.community-card:hover .glass-icon,
.community-card:hover .box_footer_div {
    display: none;
}
.hover_box h5{
    color:#fff;
}
.society-card{
    border-radius: 22px;
    border: 1px solid rgba(31, 110, 212, 0.08);
}
.community-card{
     border-radius: 22px;
    border: 1px solid rgba(31, 110, 212, 0.08);
}
#communitycardsection{
    padding-top: 34px;
}
#borderradius{
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}