/* General Reset */
* { box-sizing: border-box; }

body { margin: 0; font-family: sans-serif; background-color: #f9f9f9; }
.container { max-width: 1000px; margin: 0 auto; padding: 20px; }

/*-- TEXT CONFIGURATIONS --*/
.card-title {
    text-align: center; 
    color: #2c3e50;    
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    line-height: 1.2;
}

.card-text {
    text-align: center; 
    color: #2c3e50;    
    margin: 5px 0;
}

.centered-title {
    text-align: center; 
    color: #2c3e50;    
    margin-top: 40px;
}

.centered-title-map {
    text-align: center; 
    background: linear-gradient(90deg, rgba(4, 102, 151, 1) 0%, rgba(64, 147, 90, 1) 50%, rgba(116, 186, 35, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block; /* Helps with clipping */
    width: 100%;
}

.centered-title-policy {
    text-align: center; 
    background: linear-gradient(90deg, rgba(4, 102, 151, 1) 0%, rgba(64, 147, 90, 1) 50%, rgba(116, 186, 35, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block; /* Helps with clipping */
    width: 100%;
    font-size: 3rem;
}

.justify-text {
    text-align: justify; 
    color: #2c3e50;    
    margin: 20px 0;
    line-height: 1.6;
}

.centered-text {
    text-align: center; 
    color: #2c3e50;    
    margin: 20px 0;
    line-height: 1.6;
}

/*-- BOXES AND CONTAINERS --*/
.hero {
    background: url('images/coimbra.png') center/cover; 
    height: 500px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.hero-card { 
    background: rgba(255, 255, 255, 0.75); 
    padding: 30px; 
    backdrop-filter: blur(5px);
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    width: 90%;
    max-width: 650px;       
    min-height: 250px; 
    display: flex;       
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-card {
    margin: 40px auto; 
    max-width: 500px;
    text-align: center;
}

.bottom-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 40px; 
}

.card { 
    background: white; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.main-footer { 
    background: linear-gradient(90deg,rgba(4, 102, 151, 1) 0%, rgba(64, 147, 90, 1) 50%, rgba(116, 186, 35, 1) 100%); 
    color: white; 
    padding: 20px 40px; 
    display: flex; 
    justify-content: space-between; 
    font-size: 12px; 
    margin-top: 40px; 
}

.btn {
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(90deg, rgba(4, 102, 151, 1) 0%, rgba(64, 147, 90, 1) 50%, rgba(116, 186, 35, 1) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    margin-top: 15px; 
    font-weight: bold;
    border: none;
}

.logo-grid {
    display: grid;
    /* This creates 2 columns. Use '1fr 1fr 1fr' if you want 3 columns. */
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    align-items: center; /* Centers logos vertically if they have different heights */
    justify-items: center; /* Centers logos horizontally */
    margin-top: 15px;
}

.logo-grid img {
    max-width: 100%; /* Prevents the image from being wider than the grid cell */
    height: auto;    /* Maintains aspect ratio */
    max-height: 60px; /* Limits height so all logos look similar in size */
}


.top-banner {
    background:linear-gradient(90deg, rgba(4, 102, 151, 1) 0%, rgba(64, 147, 90, 1) 50%, rgba(116, 186, 35, 1) 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}