:root {
    --primary-color: #00A2FF;
    --dropshadow-color: #DCDCDC;
}

html {
    overflow-y: scroll;
}

.landing-logo-image {
    /* Keep 60% width, but add max-width to stop it from getting too big on desktop */
    width: 60%; 
    max-width: 550px; /* Use the desired desktop size as a maximum limit */
    height: auto;
}

.landing {
    background-color: var(--primary-color);
    /* REMOVE max-height: 550px; or set it very high */
    /* If you MUST keep a max-height, set overflow: hidden; */
    
    /* Example keeping a max-height but preventing bleed */
    max-height: 550px;
    overflow: hidden; /* Add this to contain the image */

    /* The rest of the flex properties are fine for centering */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.project-description {
    font-size: larger;
}

.padded-container {
padding: 5rem 3rem;
}

.technologies-list-container {
    display: flex;
    justify-content: center;
}

.technologies-list {
    display: flex;
    gap: 20px;

    width: 95%;

    list-style-type: none;

    overflow: scroll;

    padding-left: 0px;
}

.technology-square {
    width: 220px;
    height: 220px;
    padding: 20px 20px;
    border-radius: 20px;
    background-color: #F0F0F0;
}

.technology-square img {
    height: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.technologies-list .subtitle {
    color: gray;
    font-size: 0.9rem;
    margin: 0px;

    line-height: .75;
}

.technologies-list .name {
    font-size: 1.3rem;
    
}

.schedule {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--dropshadow-color);
  border-top: 6px solid var(--primary-color);
  border-bottom: 6px solid var(--primary-color);
}

.schedule table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
}

.schedule th,
.schedule td {
  padding: 20px 20px;
  text-align: left;
  vertical-align: top;
}

.schedule th {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;

}

.archive {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--dropshadow-color);
  border-top: 6px solid var(--primary-color);
  border-bottom: 6px solid var(--primary-color);
}

.archive h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.archive-item {
  margin-bottom: 40px;
}

.archive-item h3 {
  margin-bottom: 8px;
  color: var(--primary-color);
}

.archive-item p {
  margin-bottom: 10px;
  color: #555;
}

.archive-item iframe {
  width: 100%;
  height: 400px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 8px;
}

.archive-item a {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-color);
  font-weight: bold;
}

/* Nav Bar */
/* Navbar background and layout */
.custom-nav {
    position: fixed;
    background-image: url("./Assets/topo_black.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    z-index: 1030;
}

/* Collapse container transparent to show background */
#navbarSupportedContent {
    background: transparent;
    width: 100%;
}

/* Desktop links aligned left with brand */
@media (min-width: 992px) {
    #navbarSupportedContent .navbar-nav {
        flex-direction: row;
        align-items: center;
        margin-left: 1rem; /* spacing from brand */
    }
}

/* Mobile / small screens */
@media (max-width: 991px) {
    #navbarSupportedContent .navbar-nav {
        flex-direction: column;    /* vertical stack */
        align-items: flex-end;     /* right align menu items */
        padding-right: 20px;       /* space from right edge */
    }

    #navbarSupportedContent .nav-link {
        padding: 10px 0;
        color: white;
    }

    /* Smooth dropdown expansion */
    .navbar-collapse {
        transition: height 0.3s ease;
        overflow: hidden;
    }
}

.navbar-collapse {
    transition: height 0.3s ease;
    overflow: hidden;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #00bfff !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #00bfff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #00bfff !important;
    font-weight: 600;
}



/* Page body buffer */
.page-buffer {
    padding: 0 40px;
    padding-top: 110px; /
}

/* documetns cards */
.card {
  width: 45%;
    border: none;
    border-radius: 16px;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* team cards */
.team-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

.team-card img {
    border-bottom: 4px solid #0d6efd;
}

.team-card .card-body {
    text-align: center;
    padding: 1.5rem;
}

.team-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #003566;
}

.team-card .card-text {
    font-size: 0.95rem;
    color: #444;
}

/* footer */
html, body {
    height: 100%;
}

.content-wrapper {
    min-height: calc(100vh - 100px);
}

.footer-custom {
     margin-top: auto;
    background-color: #2D2F32;
}
