/* --- Basic Setup & Variables --- */ :root { --primary-color: #004a99; /* University Blue */ --secondary-color: #d9534f; /* University Red/Maroon (for buttons) */ --text-color: #333; --bg-light: #f4f7f6; --white: #ffffff; --border-color: #ddd; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white); } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } a { text-decoration: none; color: var(--primary-color); } h1, h2, h3 { margin-bottom: 1rem; color: var(--primary-color); } h2 { font-size: 2.2rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 0.5rem; } p { margin-bottom: 1rem; } .section { padding: 3rem 0; } /* --- Header & Navigation --- */ .site-header { background: var(--white); padding: 1rem 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); position: sticky; top: 0; z-index: 100; } .header-content { display: flex; justify-content: space-between; align-items: center; } .logo h1 { margin: 0; font-size: 1.8rem; } .logo h1 a { color: var(--text-color); font-weight: 700; } .main-nav ul { list-style: none; display: flex; align-items: center; } .main-nav li { margin-left: 25px; } .main-nav a { color: #555; font-weight: 500; font-size: 1rem; transition: color 0.3s ease; } .main-nav a:hover { color: var(--primary-color); } /* Navigation Button */ .nav-btn { background-color: var(--primary-color); color: var(--white) !important; padding: 8px 16px; border-radius: 5px; transition: background-color 0.3s ease; } .nav-btn:hover { background-color: #003366; /* Darker blue */ } /* --- Buttons --- */ .btn { display: inline-block; padding: 12px 25px; border: none; border-radius: 5px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; } .btn-primary { background: var(--primary-color); color: var(--white); } .btn-primary:hover { background: #003366; } .btn-secondary { background: var(--bg-light); color: var(--text-color); border: 1px solid var(--border-color); margin-left: 10px; } .btn-secondary:hover { background: #e9ecef; } /* --- Home Page: Hero Section --- */ .hero { background: linear-gradient(rgba(0, 74, 153, 0.7), rgba(0, 74, 153, 0.7)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1740&auto=format&fit=crop') no-repeat center center/cover; color: var(--white); padding: 6rem 0; text-align: center; } .hero-content h1 { color: var(--white); font-size: 3rem; } .hero-content p { font-size: 1.2rem; margin-bottom: 2rem; } /* --- Home Page: News Grid --- */ .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } .news-item { border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 8px; transition: box-shadow 0.3s ease; } .news-item:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); } .news-item h3 { font-size: 1.2rem; } .news-item a { font-weight: 700; } /* --- Page Header (About/Contact) --- */ .page-header { background: var(--primary-color); color: var(--white); padding: 2.5rem 0; text-align: center; } .page-header h1 { color: var(--white); margin: 0; } /* --- Contact Page --- */ .contact-flex { display: flex; flex-wrap: wrap; gap: 2rem; } .contact-form-container { flex: 2; min-width: 300px; } .contact-info { flex: 1; min-width: 300px; background: var(--bg-light); padding: 1.5rem; border-radius: 8px; } .contact-info p { font-size: 0.95rem; } .contact-info i { color: var(--primary-color); margin-right: 10px; width: 20px; } .map-container { margin-top: 1.5rem; border-radius: 8px; overflow: hidden; } /* Contact Form */ .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .form-group input, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; font-family: 'Roboto', sans-serif; } .form-group input:focus, .form-group textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(0,74,153,0.1); } /* --- Footer --- */ .site-footer { background: #222; color: #ccc; padding-top: 3rem; margin-top: 2rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .footer-widget h3 { color: var(--white); margin-bottom: 1.2rem; } .footer-widget p { font-size: 0.9rem; } .footer-links { list-style: none; } .footer-links li { margin-bottom: 0.7rem; } .footer-links a { color: #ccc; transition: color 0.3s ease; } .footer-links a:hover { color: var(--white); } .footer-widget i { margin-right: 8px; color: var(--primary-color); } .footer-bottom { text-align: center; padding: 1.5rem 0; margin-top: 2rem; border-top: 1px solid #444; font-size: 0.9rem; }