@import url('https://fonts.googleapis.com/css2?family=Alatsi&family=Allerta&family=Alumni+Sans:ital,wght@0,100..900;1,100..900&family=Antonio:wght@100..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: #000000;
    background-color: #FFFFFF;
    line-height: 1.5;
    box-sizing: border-box;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    width: 100%;
    height: fit-content;
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 5px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    width: 100%;
    max-width: 100px;
    height: 100%;
    object-fit: cover;
}

.header-text {
    margin-left: 2.5px;
}

.header-title,
.header-subtitle {
    font-family: 'Allerta', sans-serif;
    font-weight: 600;
    color: #000000;
    width: 100%;
    margin-bottom: 0;
    text-decoration: none;
}

.header-title {
    font-size: 16px;
    color: #16476A;
}

.header-subtitle {
    font-size: 10px;
    color: #B87C4C;
}

.header-nav {
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.menu-btn {
    display: none;
    color: #fd951d;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.menu-btn:hover {
    color: #ff8800;
}

.nav-link {
    font-family: "Alatsi", sans-serif;
    font-weight: 500;
    font-optical-sizing: auto;
    font-size: 16px;
    line-height: 1.5em;
    color: #208b3a;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.nav-link:hover {
    color: #2a654e;
}

.nav-button {
    font-family: 'Alatsi', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5em;
    color: #FFFFFF;
    background-color: #fd951d;
    border: none;
    border-radius: 4px;
    padding: 10px 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.nav-button:hover {
    background-color: #ff8800;
}

/* ===== SIDEBAR MENU ===== */
.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background: #ffffff;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
    z-index: 9999;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.15);
}

.side-nav a {
    padding: 15px 25px;
    display: block;
    font-family: "Alatsi", sans-serif;
    font-weight: 500;
    font-optical-sizing: auto;
    font-size: 16px;
    line-height: 1.5em;
    color: #208b3a;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.side-nav .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
    color: #fd951d;
}

/* Hero Section */
.hero {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* adjust darkness */
    z-index: 0;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #DDDDDD;
    font-family: "Alastsi", sans-serif;
    letter-spacing: 0.5;
    line-height: 3em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.slide-content h2 {
    font-size: 44px;
}

.slide-content p {
    font-size: 24px;
}

.button-main {
    font-family: "Alastsi", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    color: #ffffff;
    background-color: #4A70A9;
    border: none;
    padding: 15px;
    border-radius: 50px;
    cursor: pointer;
    width: fit-content;
    transition: opacity 0.3s;
    text-decoration: none;
}

.button-main:hover {
    opacity: 0.8;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

/* Section Styles */
.section {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 50px 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.5em;
    color: #000000;
    margin: 0;
}

h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
}

.section-paragraph {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
    color: #000000;
    width: 100%;
    text-align: justify;
}

/* About Section */
.about-section .section-paragraph {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
}

/* Button Primary */
.button-primary {
    font-family: 'Alastri', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #FFFFFF;
    background-color: #387478;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    width: fit-content;
    border-radius: 6px;
    transition: opacity 0.3s;
    text-decoration: none;
}

.button-primary:hover {
    opacity: 0.9;
}

.button-hightlight {
    align-self: center;
    font-family: 'Alastri', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5em;
    color: #FFFFFF;
    background-color: #0046FF;
    border: none;
    padding: 12px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    width: fit-content;
    transition: opacity 0.3s;
    text-decoration: none;
}

.button-hightlight:hover {
    opacity: 0.9;
}

.subsection-title {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.5em;
    color: #000000;
    margin: 0;
}

.conference-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    width: 100%;
}

.conference-card {
    background-color: #f4f4f4;
    border: 1px solid #E6E6E6;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.conference-card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5em;
    color: #000000;
    margin: 0;
}

.conference-detail {
    display: flex;
    width: 100%;
}


.detail-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.detail-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
}

.detail-label-small {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
}

.detail-value {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5em;
    color: #828282;
}

/* Journals Section */

.journal-cards-current {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.journal-cards-previous {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.journal-card {
    background-color: #f4f4f4;
    border: 1px solid #E6E6E6;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
}

.journal-card:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.journal-card-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5em;
    color: #000000;
    margin: 0;
}

.previous-issues-title {
    margin-top: 25px;
}

/* ITHC Section */

.ithc-list {
    font-size: 18px;
    line-height: 1.6em;
    color: #000;
    padding-left: 20px;
}

.ithc-list li {
    margin-bottom: 8px;
}

.ithc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.ithc-table th,
.ithc-table td {
    border: 1px solid #e6e6e6;
    padding: 12px;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.ithc-table th {
    background-color: #f0f0f0;
    font-weight: 600;
}

.ithc-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.committee-card {
    background-color: #f4f4f4;
    border: 1px solid #E6E6E6;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
    text-align: center;
    max-width: 300px;
    width: 100%;
    margin: 0px auto;
}

.committee-card img {
    width: 175px;
    height: 175px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #e6e6e6;
}

.committee-card h3 {
    margin: 8px 0 5px;
    font-size: 18px;
}

.position {
    font-weight: 600;
    font-size: 18px;
    color: #0046FF;
}

.details {
    font-size: 16px;
    color: #555;
    margin: 5px 0;
}

.state {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

/* Contact Section */
.contact-section {
    background-color: #e9f3f6;
    padding: 50px 10%;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.contact-info,
.contact-form {
    flex: 1 1 45%;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1c1c1c;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

.contact-info a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Form Styling */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    margin-top: 15px;
    color: #1a1a1a;
}

.contact-form span {
    font-weight: normal;
    color: #666;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: 5px;
    font-size: 1rem;
    border-radius: 4px;
    background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2e7d32;
    outline: none;
}

.contact-form button {
    background-color: #1c1c1c;
    color: #fff;
    border: none;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #333;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #000000;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.footer-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.footer-logo {
    width: 100px;
}

.footer-section {
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.footer-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5em;
    color: #FFFFFF;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon img {
    width: 100%;
    height: 100%;
}

.social-icon-facebook {
    flex: 1;
}

.footer-contact {
    font-weight: 400;
    font-size: 18px;
    word-spacing: 5px;
    line-height: 1em;
    color: #a4a4a4;
    text-align: left;
    margin: 0;
    white-space: pre-line;
}

/* Responsive Design */
@media screen and (max-width: 1440px) {

    .section {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (max-width: 1024px) {

    .header-nav {
        display: none;
    }

    /* Show hamburger button */
    .menu-btn {
        display: block;
    }

    .conference-cards {
        flex-direction: column;
    }

    .header-nav {
        width: 100%;
        justify-content: space-between;
        gap: 5px;
    }

    .header-logo img {
        max-width: 75px;
    }

    .header-title {
        font-size: 14px;
    }

    .header-subtitle {
        font-size: 8px;
    }

    .slider {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 36px;
        line-height: 1em;
    }

    .slide-content p {
        font-size: 20px;
        line-height: 2em;
    }

    .journal-cards-previous {
        flex-wrap: wrap;
    }

    .footer {
        padding: 25px;
    }

}

@media screen and (max-width: 768px) {

    .nav-link {
        font-size: 16px;
    }

    .nav-button {
        font-size: 12px;
    }

    .slide-content h2 {
        font-size: 28px;
        line-height: 1.1em;
    }

    .slide-content p {
        margin-top: 5px;
        font-size: 16px;
        line-height: 1.5em;
    }

    .section {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 28px;
        line-height: 1.3em;
    }

    .subsection-title {
        font-size: 20px;
        line-height: 1.3em;
    }

    .about-section .section-paragraph {
        font-size: 18px;
    }

    .conference-card {
        padding: 10px;
    }

    .section-paragraph,
    .journal-card-title,
    .conference-card-title {
        font-size: 16px;
    }

    .detail-label,
    .detail-value {
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
    }

    .ithc-list {
        font-size: 16px;
    }

    .ithc-table th,
    .ithc-table td {
        font-size: 18px;
        padding: 10px;
    }

    .ithc-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
        overflow-x: auto;
        display: block;
        -webkit-overflow-scrolling: touch;
    }

    .ithc-table th,
    .ithc-table td {
        white-space: nowrap;
    }

    .button-primary {
        padding: 7.5px;
        font-size: 14px;
    }

    .button-hightlight {
        padding: 10px;
        font-size: 16px;
    }

    .committee-card {
        padding: 15px;
    }

    .committee-card img {
        width: 150px;
        height: 150px;
    }

    .committee-card h3 {
        font-size: 16px;
    }

    .position {
        font-size: 16px;
    }

    .details {
        font-size: 14px;
    }

    .state {
        font-size: 14px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 100%;
    }

}

@media screen and (max-width: 468px) {

    .header-container,
    .section {
        padding-left: 12.5px;
        padding-right: 12.5px;
    }

    .header-logo img {
        max-width: 67.5px;
    }

    .header-title {
        font-size: 10px;
    }

    .header-subtitle {
        font-size: 6px;
    }

    .menu-btn {
        font-size: 24px;
    }

    .nav-link {
        font-size: 13px;
    }

    .nav-button {
        font-size: 10px;
        padding: 4px;
        border-radius: 4px;
    }

    .slider {
        max-height: 400px;
    }

    .slide-content h2 {
        font-size: 28px;
    }


    .slide-content p {
        font-size: 14px;
    }

    .button-main {
        font-size: 12px;
        padding: 12px;
    }



    .footer-logo {
        width: 75px;
    }

}

.hero1 {
    width: 100%;
    height: 40vh;
    /* Adjust as needed */
    background-image: url('images/banner.png');
    /* Your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Optional dark overlay for better text visibility */
.hero1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Adjust darkness */
}

/* Text content */
.hero1-content {
    position: relative;
    color: #fff;
    z-index: 2;
}

.hero1-content h1 {
    font-size: 48px;
    font-family: 'Antonio';
    margin-bottom: 10px;
    font-weight: 700;
}
