/* Core UH Academic Theme */
:root {
    --uh-red: #C8102E;
    --uh-dark: #222222;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f4f4f4;
    --white: #ffffff;
    --border-gray: #dddddd;
    
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    color: var(--uh-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
.site-header {
    background-color: var(--uh-dark);
    color: var(--white);
}

.utility-nav {
    display: flex;
    justify-content: flex-end;
    background-color: #111;
    padding: 0.5rem 5%;
    font-size: 0.8rem;
}

.utility-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.utility-nav a {
    color: #ccc;
}

.utility-nav a:hover {
    color: var(--white);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.logo a:hover { text-decoration: none; }

.sub-logo {
    font-size: 0.9rem;
    color: var(--uh-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.main-links a {
    color: var(--white);
}

.main-links a:hover {
    color: var(--uh-red);
    text-decoration: none;
}

/* Hero Section (CMU Overlap Style) */
.hero-section {
    position: relative;
    width: 100%;
    background-color: var(--bg-light);
}

.hero-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-content-box {
    background-color: var(--white);
    padding: 3rem;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 5px solid var(--uh-red);
}

.hero-content-box h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--uh-dark);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--uh-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-content-box hr {
    border: none;
    border-top: 1px solid var(--border-gray);
    margin: 1.5rem 0;
}

.hero-content-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--uh-red);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #a00c24;
    text-decoration: none;
    color: var(--white);
}

/* Main Content Grid */
.page-content {
    padding: 5rem 5%;
}

.content-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

/* Left Column */
.left-column {
    flex: 2;
}

.left-column h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--uh-dark);
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.icon-wrapper {
    color: var(--uh-red);
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-gray);
    margin: 3rem 0;
}

.left-column h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

/* Quote Section */
.quote-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-headshot {
    width: 250px;
    height: auto;
    border-bottom: 4px solid var(--uh-red);
}

.quote-text p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.quote-author {
    font-family: var(--font-body);
    font-style: normal !important;
    font-size: 0.9rem;
    color: var(--text-light) !important;
}

/* Right Column (Form) */
.right-column {
    flex: 1;
    min-width: 350px;
}

.form-container {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-top: 5px solid var(--uh-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-container h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.form-container p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: var(--font-body);
}

.submit-button {
    width: 100%;
    background-color: var(--uh-red);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s;
}

.submit-button:hover {
    background-color: #a00c24;
}

/* At a Glance Section */
.at-a-glance {
    background-color: var(--uh-dark);
    color: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.glance-container h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.glance-subtitle {
    color: var(--uh-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.glance-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.glance-item {
    max-width: 300px;
}

.glance-item i {
    color: var(--uh-red);
    margin-bottom: 1rem;
}

.glance-item h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.glance-item p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 2rem 5%;
    font-size: 0.85rem;
}
/* =========================================
   FUTURISTIC SCROLL REVEAL ANIMATIONS
   ========================================= */

/* The starting state for elements before they enter the screen */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(4px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth, futuristic snap */
}

/* The final state when they scroll into view */
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Add slight delays to grid items so they cascade in beautifully */
.highlight-item:nth-child(2) { transition-delay: 0.1s; }
.highlight-item:nth-child(3) { transition-delay: 0.2s; }
.highlight-item:nth-child(4) { transition-delay: 0.3s; }
.highlight-item:nth-child(5) { transition-delay: 0.4s; }

.glance-item:nth-child(1) { transition-delay: 0.1s; }
.glance-item:nth-child(2) { transition-delay: 0.3s; }

/* --- Hardware Teams Grid --- */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hardware-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hardware-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #C8102E; /* UH Red accent line */
    padding-bottom: 0.5rem;
    display: inline-block;
}

.hardware-card p {
    margin: 0;
    line-height: 1.6;
}

.hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
