@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    font-family: "Albert Sans", sans-serif;
    background: #fff;
    position: relative;
    min-height: 90vh;
    letter-spacing: -.5px;
}

.background {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -99;
    background: url('../img/bg1.png') no-repeat center center;
    background-size: cover;
    opacity: 0.7;
}

#loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}
#loader .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ffc800;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite, spinnerColor 4s linear infinite;
}
@keyframes spinnerColor {
    0%  { border-top-color: #ffc800; }
    25%  { border-top-color: #2d5be3; }
    50%  { border-top-color: #af4c4c;}
    75%  { border-top-color: #af4c4c; }
    100%  { border-top-color: #ffc800; }
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}
#loader.hide {
    opacity: 0;
    pointer-events: none;
}

.bgIcon1 {
    position: fixed;
    bottom: -60%;
    left: -20%;
    opacity: 1;
    z-index: -99;
}

.bgIcon2 {
    position: fixed;
    top: -90%;
    right: -24%;
    opacity: 1;
    z-index: -99;
    width: auto;
    height: 150%;
}

.bgIcon3 {
    position: fixed;
    bottom: -18%;
    right: -6%;
    opacity: 1;
    z-index: -99;
    width: auto;
    height: 40%;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.bgIcon1,
.bgIcon2,
.bgIcon3 {
    transform-origin: center center;
    will-change: transform;
    animation: spin 30s linear infinite;
}

.bgIcon1 { animation-duration: 105s; }
.bgIcon2 { animation-duration: 160s; }
.bgIcon3 { animation-duration: 98s; }

.header {
    display: flex;
    flex-direction: row;
    width: calc(100vw - 1.3in);
    height: 80px;
    margin: 4rem auto 1rem auto;
    justify-content: space-between;
    align-items: center;
}

.navSection {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    border: 1px solid #DBDBDB;
    border-radius: 16px;
}

#logoutBtn {
    background: #ff4d4d;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
}

.logout {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.accInfo {
    display: flex;
    align-items: center;
    width: auto;
    gap: 10px;
    font-size: 1.1rem;
    color: #333;
    padding: 0 32px;
}

.admin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
}

.navButtons {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 1.1rem;
    color: #333;
    padding: 0 32px;
}
.navButtons a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}
.navButtons a:hover {
    border-bottom: 1px solid #2d5be3;
}

.main-card {
    position: relative;
    z-index: 1;
    width: calc(100vw - 2in);
    min-height: calc(100vh - 3in);
    margin: 0 auto 5% auto;
    background: #fff;
    border: 1px solid #DBDBDB;
    border-radius: 16px;
    padding: 32px 32px 24px 32px;
}

.about-section {
    background: #ffffff;
    border: 1px solid #DBDBDB;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 18px 24px;
    margin-bottom: 18px;
}
/*
.intro-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    background: linear-gradient(135deg, #ffffff 60%, #f7f9ff 100%);
} */
 /*
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
} */
 /*
.hero-tagline {
    font-size: 1.2rem;
    color: #444;
} */
 /*
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
} */
 /*
.chip {
    display: inline-block;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    color: #333;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
} */
 /*
.chip:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.chip.primary { border-color: #2d5be3; color: #2d5be3; }
.chip.accent { border-color: #ffc800; color: #af4c4c; }
.chip.success { border-color: #4cd964; color: #317e34; }
.chip.neutral { border-color: #bbb; color: #555; }

.hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
} */
 /*
.highlight-card {
    border: 1px solid #DBDBDB;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    transition: box-shadow 0.2s, transform 0.2s;
} */
/*
.highlight-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); transform: translateY(-2px); }
.highlight-title { font-weight: 600; color: #333; }
.highlight-desc { color: #666; font-size: 0.98rem; margin-top: 4px; } */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #444;
    margin: 0 0 8px 0;
}
.section-text {
    font-size: 1.2rem;
    color: #555;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}
.tech-item {
    font-size: 1.1rem;
    color: #444;
    padding: 6px 0;
}
.tech-name {
    font-weight: 600;
    color: #333;
}

.developer-card {
    border: 1px solid #DBDBDB;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
    width: 240px; 
    
    /* --- MODIFIED/NEW LINES --- */
    position: relative;
    overflow: hidden;         /* This is crucial for the rounded corners on the image */
    min-height: 280px;         /* Gives the card a taller, portrait-like shape */
    background: #f6f6f6;      /* Fallback color if image fails */
}
.developers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.developer-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-2px) scale(1.02);
}
.team-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #444; /* Darker than the old #555 */
    margin-top: 24px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* These containers will center the single cards */
.adviser-container,
.lead-container {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

/* This stops the single cards from stretching 100% wide */
.adviser-container .developer-card,
.lead-container .developer-card {
    width: 100%;
    max-width: 250px;
    flex-shrink: 0;
}
.avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Change back to 'cover' to fill the whole card */
    z-index: 1;
    
    /* Remove old properties */
    border-radius: 0;
    background: none;
    margin-bottom: 0;
}
.dev-name {
    font-size: 1.3rem; /* Make the name bigger */
    font-weight: 600;
    color: #ffffff; /* White text */
}

.dev-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    
    /* This creates the "pill" tag look from the example */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    padding: 4px 10px;
    align-self: flex-start; /* Makes it only as wide as its content */
}

.dev-tagline {
    font-size: 0.95rem;
    color: #eeeeee; /* Light gray text */
    font-weight: 400;
}
/* The new wrapper for the text */
.dev-info-overlay {
    position: relative;
    z-index: 2; /* Sits on top of the z-index: 1 image */
    height: 100%;
    
    /* This pushes the text to the bottom */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    /* This is the dark gradient */
    background: linear-gradient(180deg, rgba(80,0,0,0.0) 55%, rgba(80,0,0,0.9) 120%);
    
    /* Add back the padding and set a gap for the text */
    padding: 16px;
    box-sizing: border-box;
    gap: 6px;
}

/* Add a subtle dimming effect on the image itself
.developer-card .avatar {
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}  */

/* On hover, make the card lift and the image slightly clearer */
.developer-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.developer-card:hover .avatar {
    filter: brightness(1);
}

footer {
    position: fixed;
    bottom: 18px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    font-size: 1.4rem;
    letter-spacing: -1px;
    color: #222;
    background: none;
}
.ub-logo {
    vertical-align: middle;
    width: 22px;
    height: 22px;
    margin: 0 4px;
}

@media (max-width: 700px) {
    .header { width: calc(100vw - 0.6in); margin: 2rem auto 1rem auto; }
    .navSection { gap: 12px; }
    .main-card { width: calc(100vw - 0.8in); margin-bottom: 1.4in; }
    .intro-hero { grid-template-columns: 1fr; }
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.tech-card {
    border: 1px solid #DBDBDB;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}
.tech-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); transform: translateY(-2px); }
.tech-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #333;
    background: radial-gradient(circle at 30% 30%, #f7f7f7, #ededed);
    border: 1px solid #e5e7eb;
}
.tech-title { font-size: 1.2rem; font-weight: 600; color: #333; margin-top: 10px; }
.tech-desc { font-size: 0.98rem; color: #666; margin-top: 4px; }
.tech-toggle {
    margin-top: 10px;
    border: none;
    background: #2d5be3;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
}
.tech-toggle:hover { background: #1f46c7; }
.tech-more {
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
    border-top: 1px dashed #e5e7eb;
    padding-top: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}
.tech-card.expanded .tech-more { max-height: 120px; opacity: 1; }
/* --- NEW UBYTES HERO STYLES --- */

.ubytes-hero-section {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, #ffffff 60%, #f7f9ff 100%);
}

.ubytes-logo-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.ubytes-logo {
    width: 150px;
    height: 150px;
}
/*
.ubytes-full-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    max-width: 180px;
} */

.ubytes-info-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Make the section stack on small screens */
@media (max-width: 700px) {
    .ubytes-hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .ubytes-info-side {
        text-align: center;
    }
}