/* --- CSS Variables for Easy Theming --- */
:root {
    --primary-color: #2c3e50;
    --accent-color: #5bc0de;
    --accent-hover: #31b0d5;
    --bg-light: #f8f9fa;
    --header-blue: #05b4d3;
    --text-color: #333;
    --text-muted: #6c757d;
    --spacing-unit: 1rem;
    --container-width: 1140px;
}

/* --- Reset & Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Hero / Jumbotron Section --- */
.hero {
    background-color: var(--header-blue);
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    position: relative;
}

/* Optional: Dark overlay to ensure text readability if image is bright */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 50, 100, 0.4); /* Blue-ish tint overlay */
    z-index: 1;
}

/* Ensure text sits on top of overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero sup {
    font-size: 0.6em;
}

/* --- Main Content Grid --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

/* Tablet and up: 2 columns */
@media (min-width: 768px) {
    .hero {
        background-image: url('img/logo-uii.png'); 
        background-size: auto;
        background-position: 80% center;
        background-repeat: no-repeat;
        
        padding: 6rem 1rem;
        text-align: left;
    }

    .content-grid {
        grid-template-columns: 2fr 1fr; /* Text takes 2/3, Image takes 1/3 */
    }
}

/* --- Typography & Elements --- */
h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-image {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Image Styling */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 4px solid #fff; /* Polaroid effect border */
    margin-bottom: 2rem;
}

/* --- CTA Button --- */
.cta-section {
    text-align: center;
    text-wrap: balance;
    margin: 3rem 0;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.btn:hover {
    background-color: var(--accent-hover);
    color: white;
    text-decoration: none;
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}