/* Global Styles */
:root {
    --svie-red: #D32F2F; /* Deep Professional Red */
    --svie-dark-red: #B71C1C;
    --svie-black: #121212;
    --svie-dark-gray: #333333;
    --svie-light-gray: #F5F5F5;
    --svie-white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--svie-dark-gray);
    background-color: var(--svie-light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.text-svie-red {
    color: var(--svie-red) !important;
}

.bg-svie-red {
    background-color: var(--svie-red) !important;
    color: var(--svie-white);
}

.bg-svie-black {
    background-color: var(--svie-black) !important;
    color: var(--svie-white);
}

/* Custom Buttons */
.btn-svie-red {
    background-color: var(--svie-red);
    color: var(--svie-white);
    border: none;
    transition: background-color 0.3s ease;
}

.btn-svie-red:hover {
    background-color: var(--svie-dark-red);
    color: var(--svie-white);
}

.btn-outline-svie-red {
    border-color: var(--svie-red);
    color: var(--svie-red);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-svie-red:hover {
    background-color: var(--svie-red);
    color: var(--svie-white);
}

/* Navbar */
.navbar-custom {
    background-color: var(--svie-black);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    color: var(--svie-white);
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-custom .navbar-brand span {
    color: var(--svie-white);
}

.navbar-custom .nav-link {
    color: var(--svie-white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--svie-red);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('../img/campus-bg.jpg') center/cover no-repeat;
    color: var(--svie-white);
    padding: 100px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section h1 span {
    color: var(--svie-red);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--svie-red);
}

/* Cards (About, Academics) */
.svie-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.svie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.svie-card .card-header {
    background-color: var(--svie-black);
    color: var(--svie-white);
    border-bottom: 3px solid var(--svie-red);
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--svie-red);
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3; /* Keeps gallery images uniform */
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Documents Section */
.document-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--svie-white);
    border-left: 4px solid var(--svie-red);
    border-radius: 4px;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--svie-dark-gray);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.document-link:hover {
    background-color: var(--svie-red);
    color: var(--svie-white);
}

.document-link .doc-title {
    color: var(--svie-black);
}

.document-link .doc-meta {
    color: #6c757d; /* muted gray */
}

.document-link:hover .doc-title,
.document-link:hover .doc-meta {
    color: var(--svie-white);
}

.document-link i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--svie-red);
}

.document-link:hover i {
    color: var(--svie-white);
}

/* Footer */
.footer-custom {
    background-color: var(--svie-black);
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-custom h5 {
    color: var(--svie-white);
    border-bottom: 2px solid var(--svie-red);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-custom ul {
    list-style: none;
    padding-left: 0;
}

.footer-custom ul li {
    margin-bottom: 10px;
}

.footer-custom ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom ul li a:hover {
    color: var(--svie-red);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 15px 0;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}
