:root {
  --background-color: #ffffff;
  --default-color: #323b3b;
  --heading-color: #163535;
  --accent-color: #2c7a7b;
  --nav-hover-color: #2c7a7b;
}

/* Blue */
.theme-blue {
  --heading-color: #1a365d;
  --accent-color: #3182ce;
  --nav-hover-color: #3182ce;
}

/* Green */
.theme-green {
  --heading-color: #1b4332;
  --accent-color: #2d6a4f;
  --nav-hover-color: #2d6a4f;
}

/* Purple */
.theme-purple {
  --heading-color: #4a2c6d;
  --accent-color: #7b2cbf;
  --nav-hover-color: #7b2cbf;
}

/* Orange */
.theme-orange {
    --heading-color: #9a3412;
    --accent-color: #f97316;
    --nav-hover-color: #f97316;
}

.theme-switcher {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 9999;

    background: #fff;
    padding: 12px 8px;
    border-radius: 30px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;   /* Vertical */
    align-items: center;
    gap: 10px;
}

.theme-switcher .color {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    transition: transform 0.3s ease;
}

.theme-switcher .color:hover {
    transform: scale(1.2);
}

.theme-switcher .blue {
    background: #3182ce;
}

.theme-switcher .green {
    background: #2d6a4f;
}

.theme-switcher .purple {
    background: #7b2cbf;
}

.theme-switcher .orange {
    background: #f97316;
}

.outline-text {
    color: color-mix(in srgb, var(--heading-color) 25%, transparent);
    -webkit-text-stroke: 1px var(--heading-color); 
    text-stroke: 1px var(--heading-color);         
}

.style1 {
    display: inline-block;
    position: relative;    
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    background: none;
    padding-bottom: 20px;
    background: transparent !important;
    background-color: transparent !important;
 }
 
 .speaker-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.speaker-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
    line-height: 1.5;
}

.speaker-list li i {
    color: var(--heading-color);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.speaker-list li strong {
    color: var(--heading-color);
}

.secondary-image{
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 10;   /* higher than carousel */
}

.carousel,
.carousel-inner,
.carousel-item{
    position: relative;
}


.member-image {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or contain */
}

.custom-form-bg {
    background:  color-mix(in srgb, var(--accent-color) 15%, white);
    padding: 30px;
    border-radius: 10px;
}

.conference-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: 100%;
    max-width: 650px;
    margin: 0 auto 25px;
}

.conference-logos .logo-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
}

.conference-logos img {
    max-width: 150px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.conference-logos .main-logo img {
    max-width: 320px;
}

.conference-title-label {
    display: flex;
    align-items: center; /* vertically centers the lines with text */
    width: 100%;
    gap: 20px;
    margin: 20px 0;
}

.conference-title-label::before,
.conference-title-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--accent-color);
}

.conference-title-label .style1 {
    display: inline-block;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.conference-image-wrapper {
    float: right;
    width: 45%;
    margin: 0 0 25px 35px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.conference-about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .conference-logos {
        gap: 10px;
        margin-bottom: 20px;
    }

    .conference-logos img {
        max-width: 90px;
    }

    .conference-logos .main-logo img {
        max-width: 120px;
    }
}

@media (max-width: 768px) {

    .conference-image-wrapper {
        float: none;
        width: 100%;
        margin: 0 0 25px 0;
    }

}
.abstract-section {
    height: 100%;
    padding: 25px 30px;
    border: 1px solid rgba(44, 122, 123, 0.2);
    border-radius: 10px;
    background: rgba(44, 122, 123, 0.03);
}

.abstract-section h3 {
    margin-bottom: 20px;
    color: var(--heading-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
}

.abstract-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.abstract-section li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.abstract-section li > span {
    display: block;
}

.abstract-section li > i.bi-arrow-right-circle {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent-color);
    font-size: 16px;
}

.abstract-section li:last-child {
    margin-bottom: 0;
}

.conference-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--accent-color);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 25px 0;
    padding: 5px 0;
    border-top: 1px solid var(--heading-color);
    border-bottom: 1px solid var(--heading-color);
    
    background-color: rgba(44, 122, 123, 0.08);
}

.conference-date i {
    font-size: 30px;
}

@media (max-width: 576px) {
    .conference-date {
        font-size: 20px;
        gap: 8px;
    }

    .conference-date i {
        font-size: 24px;
    }
}

#institute-about{
	background: rgba(44, 122, 123, 0.05);
}
#home-about {
    background: rgba(44, 122, 123, 0.09);
}

/* Equal height columns */
#home-about .row {
    align-items: stretch;
}

#home-about .image-section,
#home-about .content-wrapper {
    height: 100%;
}

/* Image */
#home-about .main-image-wrapper {
    height: 100%;
    /*min-height: 450px;*/
    overflow: hidden;
    border-radius: 16px;
}

#home-about .main-image-wrapper .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}


/* Program button */
#home-about .cta-wrapper {
    margin-top: 25px;
    text-align: right;
}


/* =================================
   CONFERENCE READ MORE BUTTON
   ================================= */

.conference-readmore-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.conference-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 0;

    border: none;
    background: transparent;

    color: var(--accent-color);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: all 0.3s ease;
}

.conference-readmore-btn i {
    font-size: 19px;
    transition: transform 0.3s ease;
}

.conference-readmore-btn:hover {
    color: var(--heading-color);
}

.conference-readmore-btn:hover i {
    transform: translate(3px, -3px);
}


/* =================================
   CONFERENCE MODAL
   ================================= */

.conference-modal {
    border: none;
    border-radius: 18px;
    overflow: hidden;

    background: var(--background-color);

    box-shadow:
        0 25px 60px
        color-mix(
            in srgb,
            var(--default-color),
            transparent 70%
        );
}


/* =================================
   MODAL HEADER
   ================================= */

.conference-modal .modal-header {
    position: relative;

    padding: 26px 32px 22px;

    border-bottom: 1px solid
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 80%
        );

    background:
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 94%
        );
}

.conference-modal-heading {
    padding-right: 35px;
}


/* Small label */

.modal-section-label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 7px;

    color: var(--accent-color);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.modal-section-label i {
    font-size: 16px;
}


/* Main title */

.conference-modal .modal-title {
    margin: 0;

    color: var(--heading-color);

    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
}


/* Close icon */

.conference-modal .btn-close {
    position: absolute;
    top: 25px;
    right: 25px;

    opacity: 0.65;

    transition: all 0.25s ease;
}

.conference-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}


/* =================================
   MODAL BODY
   ================================= */

.conference-modal .modal-body {
    padding: 28px 32px;

    color: var(--default-color);

    font-size: 15px;
    line-height: 1.75;
}


/* PLACBIO label */

.modal-intro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 5px 10px;
    border-radius: 20px;
    background:
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 90%
        );

    border: 1px solid
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 78%
        );

    color: var(--accent-color);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.modal-intro i {
    font-size: 17px;
}


/* Paragraphs */

.conference-modal .modal-body p {
    margin: 0 0 18px;

    text-align: justify;

    line-height: 1.75;
}

.conference-modal .modal-body p:last-child {
    margin-bottom: 0;
}


/* Decorative bottom line */

.conference-modal .modal-body::after {
    content: "";

    display: block;

    width: 65px;
    height: 3px;

    margin-top: 25px;

    border-radius: 5px;

    background: var(--accent-color);

    opacity: 0.7;
}


/* =================================
   MODAL FOOTER
   ================================= */

.conference-modal .modal-footer {
    display: flex;
    justify-content: flex-end;

    padding: 15px 32px 20px;

    border-top: 1px solid
        color-mix(
            in srgb,
            var(--default-color),
            transparent 90%
        );
}


/* Close button */

.conference-modal-close {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 18px;

    border: 1px solid
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 60%
        );

    border-radius: 8px;

    background: transparent;

    color: var(--accent-color);

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.conference-modal-close i {
    font-size: 16px;
}

.conference-modal-close:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}


/* =================================
   MOBILE
   ================================= */

@media (max-width: 576px) {

    .conference-modal {
        margin: 10px;
        border-radius: 15px;
    }

    .conference-modal .modal-header {
        padding: 22px 20px 18px;
    }

    .conference-modal .modal-body {
        padding: 22px 20px;
        font-size: 14px;
    }

    .conference-modal .modal-footer {
        padding: 12px 20px 18px;
    }

    .conference-modal .modal-title {
        font-size: 20px;
    }

    .conference-modal .modal-body p {
        line-height: 1.65;
    }

    .conference-modal .btn-close {
        top: 20px;
        right: 18px;
    }

}


/* Institute & Department modal sections */

#instituteReadMoreModal .modal-intro {
    margin-top: 24px;
}

#instituteReadMoreModal .modal-intro:first-child {
    margin-top: 0;
}

#instituteReadMoreModal .modal-body a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

#instituteReadMoreModal .modal-body a:hover {
    text-decoration: underline;
}


/* =========================================
   CONFERENCE DEADLINE CARDS
   ========================================= */

.conference-deadlines {
    margin-top: 30px;
}

.conference-deadlines .deadline-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    min-height: 125px;

    background: color-mix(
        in srgb,
        var(--accent-color) 7%,
        var(--surface-color)
    );

    border: 1px solid color-mix(
        in srgb,
        var(--accent-color) 25%,
        transparent
    );

    border-radius: 14px;

    box-shadow: 0 10px 30px
        color-mix(
            in srgb,
            var(--default-color),
            transparent 90%
        );

    transition: all 0.3s ease;
    
    overflow: hidden;
}


/* Decorative left border */

.conference-deadlines .deadline-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent-color);
}


/* Hover */

.conference-deadlines .deadline-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px
        color-mix(
            in srgb,
            var(--accent-color),
            transparent 80%
        );

    border-color: var(--accent-color);
}


/* Icon */

.conference-deadlines .deadline-icon {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: color-mix(
        in srgb,
        var(--accent-color) 12%,
        transparent
    );

    border: 1px solid color-mix(
        in srgb,
        var(--accent-color) 35%,
        transparent
    );

    color: var(--accent-color);
}


.conference-deadlines .deadline-icon i {
    font-size: 24px;
}


/* Content */

.conference-deadlines .deadline-content {
    flex: 1;
}


/* Early Bird / Late label */

.conference-deadlines .deadline-label {
    display: inline-block;

    margin-bottom: 3px;

    color: var(--accent-color);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* Date */

.conference-deadlines .deadline-content h4 {
    margin: 0 0 5px;

    color: var(--heading-color);

    font-size: 25px;
    font-weight: 900;

    line-height: 1.2;
}


/* Description */

.conference-deadlines .deadline-content p {
    margin: 0;

    color: color-mix(
        in srgb,
        var(--default-color),
        transparent 20%
    );

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


/* Decorative corner */

.conference-deadlines .deadline-card::after {
    content: "";
    position: absolute;

    width: 80px;
    height: 80px;

    right: -35px;
    bottom: -35px;

    border-radius: 50%;

    border: 1px solid color-mix(
        in srgb,
        var(--accent-color) 20%,
        transparent
    );
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 576px) {

    .conference-deadlines {
        margin-top: 20px;
    }

    .conference-deadlines .deadline-card {
        padding: 16px;
        gap: 12px;
        min-height: 105px;
    }

    .conference-deadlines .deadline-icon {
        width: 44px;
        height: 44px;
    }

    .conference-deadlines .deadline-icon i {
        font-size: 20px;
    }

    .conference-deadlines .deadline-content h4 {
        font-size: 21px;
    }

    .conference-deadlines .deadline-content p {
        font-size: 12px;
    }

}

.abstract-header {
    display: flex;
    justify-content: space-between; /* Pushes child elements to far left and far right */
    align-items: center;            /* Vertically aligns text and button in the middle */
    width: 100%;                     /* Ensures full width of the container */
}

/* Optional styling for the button */
.template-pill {
    padding: 6px 16px;
    background-color: var(--accent-color);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.template-pill:hover {
    background-color: var(--default-color);
    color: #ffffff;
}

@media (min-width: 1200px) {
    .header-container {
        position: relative;
    }

    .header-container .navmenu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-container .navmenu > ul {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
}
