34613-vm/assets/css/custom.css
2025-10-03 05:34:13 +00:00

136 lines
2.6 KiB
CSS

:root {
--primary-color: #005A9C;
--secondary-color: #FDB813;
--background-color: #F8F9FA;
--surface-color: #FFFFFF;
--text-color: #212529;
--heading-font: 'Georgia', serif;
--body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
font-family: var(--body-font);
color: var(--text-color);
background-color: var(--background-color);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--heading-font);
font-weight: 700;
}
.navbar {
transition: background-color 0.3s ease-in-out;
}
.navbar-brand {
font-family: var(--heading-font);
font-weight: bold;
}
.navbar.scrolled {
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.hero {
position: relative;
height: 100vh;
min-height: 500px;
background: url('https://picsum.photos/seed/universityhero/1600/900') no-repeat center center;
background-size: cover;
color: white;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, rgba(0, 90, 156, 0.8), rgba(0, 90, 156, 0.6));
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.hero .display-4 {
font-size: 3.5rem;
font-weight: 900;
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
padding: 0.75rem 1.5rem;
border-radius: 0.25rem;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: #004170;
border-color: #004170;
transform: translateY(-2px);
}
.btn-secondary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
color: var(--text-color);
padding: 0.75rem 1.5rem;
border-radius: 0.25rem;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background-color: #d99d0b;
border-color: #d99d0b;
transform: translateY(-2px);
}
.section {
padding: 5rem 0;
}
.section-title {
margin-bottom: 3rem;
font-size: 2.5rem;
}
.card {
border: none;
border-radius: 0.5rem;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.testimonial-card {
background-color: var(--surface-color);
}
.testimonial-card blockquote {
font-style: italic;
}
.footer {
background-color: #343a40;
color: white;
padding: 3rem 0;
}
.footer a {
color: var(--secondary-color);
}
.footer a:hover {
color: #fff;
text-decoration: none;
}