/* Zone College Management System - Custom Styles */ /* 1. Google Fonts */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Lato:wght@400;700&display=swap'); /* 2. Variables */ :root { --primary-color: #005A9E; --secondary-color: #FFC107; --background-color: #F8F9FA; --surface-color: #FFFFFF; --text-color: #212529; --light-text-color: #F8F9FA; --border-radius: 0.5rem; --font-family-headings: 'Poppins', sans-serif; --font-family-body: 'Lato', sans-serif; } /* 3. General Styles */ body { font-family: var(--font-family-body); color: var(--text-color); background-color: var(--background-color); } h1, h2, h3, h4, h5, h6 { font-family: var(--font-family-headings); font-weight: 600; color: var(--primary-color); } .btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); border-radius: var(--border-radius); padding: 0.75rem 1.5rem; font-weight: 600; 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); border-radius: var(--border-radius); padding: 0.75rem 1.5rem; font-weight: 600; transition: all 0.3s ease; } .btn-secondary:hover { background-color: #e6ac00; border-color: #e6ac00; transform: translateY(-2px); } /* 4. Navbar */ .navbar { transition: background-color 0.3s ease; } .navbar-brand { font-family: var(--font-family-headings); font-weight: 700; font-size: 1.75rem; } .navbar.scrolled { background-color: var(--surface-color); box-shadow: 0 2px 10px rgba(0,0,0,0.1); } /* 5. Hero Section */ .hero { color: var(--light-text-color); height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url('https://images.pexels.com/photos/256490/pexels-photo-256490.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center; background-size: cover; position: relative; } .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(0, 90, 158, 0.8), rgba(0, 40, 70, 0.9)); } .hero .container { position: relative; z-index: 2; } .hero h1 { font-size: 3.5rem; font-weight: 700; color: var(--surface-color); text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } .hero p { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); } /* 6. Section Styles */ .section { padding: 6rem 0; } .section-title { text-align: center; margin-bottom: 4rem; font-size: 2.5rem; font-weight: 700; } /* 7. Features Section */ .feature-card { background-color: var(--surface-color); border: none; border-radius: var(--border-radius); padding: 2rem; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; height: 100%; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); } .feature-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; } .feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; } /* 8. Contact Section */ #contact { background-color: var(--surface-color); } .form-control { border-radius: var(--border-radius); padding: 0.75rem; } .form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.25rem rgba(0, 90, 158, 0.25); } /* 9. Footer */ footer { background-color: #343a40; color: var(--light-text-color); padding: 3rem 0; } footer a { color: var(--secondary-color); text-decoration: none; transition: color 0.3s ease; } footer a:hover { color: #fff; }