:root {
    --auburn_blue: #0C2340;
    --auburn_orange: #cc4e0b;
    --auburn_second_blue: #006c9a;
    --auburn_second_orange: #E87722;
    --background: #ffffff;
    --black: #333;
    --gray: #e7e9ec;
    --phone_red: #ff0000;
    --auburn-orange: #dd550c;
    --auburn-blue: #03244d;
    --dark-gray: #333;
    --light-gray: #e1e1e1;
    --white: #ffffff;
    --gold-accent: #c4a747;

}


body {
    background-color: var(--background);
    margin: 0;
    font-family: sans-serif;
}


.main-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--background);
    overflow: hidden;
}

.content_component {
    flex: 85%;
    display: flex;
    background-color: var(--gray);
    width: 100%;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;
    padding: 10px;
}


.team-header-container {
    width: 100%;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray) 100%);
    padding: 1rem 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.team-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: relative;
}

.team-title-section {
    flex: 70%;
    position: relative;
    padding-left: 2rem;
}

.title-decoration {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.decoration-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
    transparent 0%,
    var(--auburn-orange) 30%,
    var(--auburn-orange) 70%,
    transparent 100%);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--auburn-orange);
    border-radius: 50%;
    margin-top: 1rem;
    box-shadow: 0 0 0 4px rgba(221, 85, 12, 0.2);
}

.team-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.5em, 1.5vw, 4em);
    color: var(--auburn-blue);
    margin: 0;
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.title-word {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
}

.ausme-au {
    color: var(--auburn-orange);
}

.ausme-sme {
    color: var(--auburn-blue);
}

.title-word-1 {
    animation: fadeInUp 0.6s 0.1s forwards;
}

.title-word-2 {
    animation: fadeInUp 0.6s 0.2s forwards;
}

.title-word-3 {
    animation: fadeInUp 0.6s 0.3s forwards;
    position: relative;
}

.title-word-4 {
    animation: fadeInUp 0.6s 0.4s forwards;
}

.title-underline {
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--auburn-orange) 0%, var(--auburn-blue) 100%);
    margin: 1.5rem 0;
    border-radius: 2px;
    animation: expandWidth 0.8s 0.8s forwards;
}

.team-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: var(--dark-gray);
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInRight 0.6s 1s forwards;
    margin: 0.75rem 0 0;
    font-style: italic;
    font-weight: 400;
    max-width: 80%;
    line-height: 1.5;
}

.team-logo-container {
    flex: 30%;
    margin-left: 3rem;
}

.logo-wrapper {
    overflow: hidden;
}

.logo-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transform: scale(0);
    animation: scaleIn 0.6s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
}

.logo-halo {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(221, 85, 12, 0.15) 0%, rgba(221, 85, 12, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    animation: fadeIn 0.6s 1.1s forwards, pulse 6s 1.5s infinite;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.team-display-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray) 100%);
    position: relative;
    overflow: auto;
    overflow-x: hidden;
}

.team-grid-container {
    width: 80%;
    margin: 0 auto;
    padding: 1em 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(400px, 400px, 450px), 1fr));
    gap: 3rem;
    position: relative;
}

.team-member-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.8s forwards;
}

.team-member-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member-image-container {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(20%);
    transition: all 0.6s ease;
    overflow: hidden;
}

.team-member-card:hover .team-member-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-member-info {
    flex: 60%;
    display: flex;
    flex-direction: column;
}

.team-member-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--auburn-blue);
    position: relative;
}

.team-member-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--auburn-orange);
    transition: width 0.4s ease;
}

.team-member-card:hover .team-member-name::after {
    width: 100px;
}

.team-member-title {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-style: italic;
}

.team-member-department {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-titles {
    font-style: italic;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-member-titles div {
    margin-bottom: 4px; /* Adjust as needed */
    line-height: 1.3;
}

.department-icon {
    width: 28px;
    height: 28px;
    margin-right: 0.8rem;
}

.department-name {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.team-member-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.5rem 0;
    justify-content: center;
}

.role-badge {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    background: var(--auburn-blue);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(3, 36, 77, 0.2);
}

.role-badge.lead {
    background: var(--auburn-orange);
}

.team-member-contact {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.contact-icon {
    font-size: 1.4rem;
    color: var(--auburn-orange);
    transition: all 0.3s ease;
}

.contact-icon:hover {
    color: var(--auburn-blue);
    transform: translateY(-3px);
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.team-info-top {
    display: flex;
    flex: 0 0 15%;
    flex-direction: column;
    padding: 20px;
    gap: 1.5em;
}


.role_container {
    display: flex;
    flex: 70%;
    justify-content: center;
    align-items: center;
}

.faculty_card_bottom {
    flex: 0 0 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faculty_card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    margin-top: 1rem;
}

.faculty_card-icon {
    font-size: 1.2em;
    color: var(--auburn_orange);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.faculty_card-icon:hover {
    transform: scale(1.1);
}

.faculty_card-name {
    font-weight: bold;
    margin: 0;
    color: var(--auburn_blue);
}


.acknowledgments-section {
    padding: 5rem 2rem;
    position: relative;
}

.acknowledgments-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.acknowledgments-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.8s ease;
}

.acknowledgments-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--auburn_orange), var(--auburn_blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease 0.3s;
}

.acknowledgments-title.visible {
    opacity: 1;
}

.acknowledgments-title.visible::after {
    transform: scaleX(1);
}

.acknowledgments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.acknowledgment-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
    transition-delay: calc(var(--delay) * 0.1s);
}

.acknowledgment-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.acknowledgment-content {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.acknowledgment-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.acknowledgment-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.acknowledgments-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    z-index: 1;
}


@media screen and (max-width: 767px), screen and (max-width: 1024px) and (orientation: landscape) {
    body {
        font-size: 1em !important;
    }

    /*.logo-wrapper {*/
    /*    width: 100px;*/
    /*    height: 100px;*/
    /*}*/
    .team-header-container {
        padding: 0.4em 0;
    }

    .title-underline {
        margin: 1rem 0px;
    }

    .team-subtitle {
        font-size: 1em;
    }

    .btn-about-ausme {
        font-size: 0.8em;
    }

    .feedback-button {
        font-size: 0.8em;
    }

    .tool_info .link {
        font-size: 0.8em;
    }

    .powered_by_content {
        font-size: 0.8em;
    }
}