/* Navbar Styles */

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1030;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 3px 0;
}

.navbar:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.navbar .btn {
    border-radius: 8px;
    padding: 4px 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.navbar .btn:hover {
    background-color: #212121;
    color: #fff !important;
}

@media (max-width: 991px) {
    .navbar {
        width: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }
}

.atgLogo {
    height: 50px;
    z-index: 1002;
    position: relative;
    margin-top: -10px;
    margin-left: -10px;
}

/* Typing and top styles*/
:root {
    --blink-speed: 900ms;
    --cursor-color: black;
}

.typing-target {
    white-space: pre-wrap;
    word-break: break-word;
}

.cursor {
    display: inline-block;
    width: 1ch;
    color: var(--cursor-color);
    animation: blink var(--blink-speed) steps(1) infinite;
    user-select: none;
    transition: opacity 150ms linear, visibility 150ms linear;
}

.cursor.hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.helloText {
    padding-top: 120px;
    color: orange;
    font-size: xx-large;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    min-height: 1.2em;
}

.shortDescription {
    color: black;
    font-size: x-large;
    font-family: 'Courier New', Courier, monospace
}

.backgroundImage {
    background-image: url('../img/Background.jpeg');
    z-index: 1;
    height: 530px;
    background-attachment: fixed;
    position: sticky;
    background-position: center;
}

/*Brief description styles*/


.projectDescription {
    margin: -100px 1% 0 1%;
    z-index: 1000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    padding: 50px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #555;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8f9fa;
}

.lang-option {
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s ease;
}

.lang-option:hover {
    color: #0d6efd;
}

.lang-divider {
    color: #aaa;
}


.bottom-logo {
    max-width: 180px;
    margin-top: 10px;
}

.company-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*details styles*/

.sticky-left {
    position: sticky;
    top: 20px;
    z-index: 1000;
    padding-right: 20px;
}

.scroll-images {
    height: 80vh;
    overflow-y: auto;
    padding-left: 20px;
    padding-right: 20px;
    max-height: 100vh;
}


.sticky-left {
    position: sticky;
    top: 30px;
}

@media (max-width: 768px) {
    .sticky-left {
        position: static;
    }
}

.detail-background {
    margin: 0 1% 1% 1%;
    z-index: 999;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    position: relative;
    padding: 0 50px 50px 50px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

hr {
    border-width: 2px;
    background: black;
}

/* Footer styles */
.background {
    background-color: white;
    z-index: 1000
}

/* --- Team Section Upgrade --- */

#team .title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

#team .title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    border-radius: 999px;
    margin: 0.75rem auto 0;
    background: linear-gradient(90deg, #3EB19B, #FCB813);
}

#team .description {
    max-width: 640px;
    margin: 0 auto 3rem;
    color: #d1d5db;
}

#team .card.card-profile.card-plain {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;

    padding: 32px 24px;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;

    max-height: 300px;
}


#team .card.card-profile.card-plain:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

#team .card-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(62, 177, 155, 0.75);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.95);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

#team .card.card-profile.card-plain:hover .card-avatar img {
    transform: scale(1.03);
    border-color: #FCB813;
}

.card .card-image img.img-raised{
    box-shadow: none;
}
