@import url('modal-window/index.css');
@import url('pages/index.css');
@import url('modules/index.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.university-branding {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* This is the key property */
    width: 80%;
}

.logo {
    width: 60px;
    height: 58px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #003366;
}

.logo-img {
    height: inherit;
}

.nav-container {
    background-color: #004080;
}

.text-centered {
    text-align: center;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper .tg-link {
    color: #ffd900;
}

.third-row {
    grid-row: 3;
}

.navbar {
    display: flex;
    list-style-type: none;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 1rem 1.2rem;
    display: block;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #00264d;
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.page-content {
    flex: 1;
    min-width: 300px;
}

.content-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.content-section h2 {
    color: #003366;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffcc00;
}

.slide-out-image {
    width: 100%;
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 300px;
    min-width: 250px;
}

.sidebar-widget {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    color: #003366;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.quick-links {
    list-style-type: none;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #004080;
    text-decoration: none;
    display: block;
    padding: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.quick-links a:hover {
    border-left-color: #ffcc00;
    background-color: #f5f5f5;
}

/* Footer */
.footer {
    background-color: #00264d;
    color: white;
    padding: 2rem 0;
    margin-top: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #004080;
}

.footer-links {
    list-style-type: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #004080;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        /* flex-direction: column; */
        padding: 4px;
        gap: 4px
    }
    
    .sidebar {
        width: 100%;
    }
    
    .navbar {
        /* flex-direction: column; */
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .header-container {
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .navbar a {
        color: white;
        text-decoration: none;
        padding: 0.5rem 0.5rem;
        display: block;
        transition: background-color 0.3s;
    }
    
    .nav-wrapper {
        margin: 0 auto;
        padding: 0 2px;
    }
}