File size: 5,050 Bytes
15ad075 9ae9f92 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* GENERAL RESET */
{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { line-height: 1.6; background-color: #f4f7f9; color: #222; }
/* NAVIGATION BAR */ .navbar { background-color: #004e56; color: white; display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; position: sticky; top: 0; z-index: 1000; flex-wrap: wrap; }
.nav-left { display: flex; align-items: center; gap: 15px; }
.nav-logo { font-size: 1.8em; font-weight: bold; text-transform: uppercase; }
.nav-toggle { display: none; font-size: 1.8em; cursor: pointer; background: none; border: none; color: white; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: white; text-decoration: none; padding: 10px; }
.nav-links a:hover { background-color: #ffcc00; color: #004e56; border-radius: 5px; }
/* HERO SECTION */ .hero { height: 90vh; background: linear-gradient(to bottom right, rgba(0, 78, 86, 0.7), rgba(0, 123, 133, 0.7)), url("background-design.jpg") center center/cover no-repeat; display: flex; justify-content: center; align-items: center; position: relative; text-align: center; overflow: hidden; color: white; padding: 0 20px; animation: zoomBackground 30s infinite alternate ease-in-out; }
.hero::before { content: ""; background: url("STC_logo.png") center center/30% no-repeat; opacity: 0.15; position: absolute; top: 0; left: 0; height: 100%; width: 100%; }
.hero-overlay { background-color: rgba(0, 0, 0, 0.5); padding: 40px; border-radius: 15px; max-width: 700px; width: 100%; z-index: 2; }
.hero-overlay h1 { font-size: 2.8em; margin-bottom: 15px; text-transform: uppercase; }
.hero-overlay p { font-size: 1.3em; margin-bottom: 20px; }
.btn { background-color: #ffcc00; padding: 12px 24px; color: #222; text-decoration: none; font-weight: bold; border-radius: 6px; transition: all 0.3s ease; }
.btn:hover { background-color: #e6b800; transform: scale(1.05); }
/* LEADERSHIP SECTION */ .leadership { padding: 40px 20px; background: #f4f7f9; text-align: center; }
.leadership h2 { font-size: 2.4em; color: #004e56; margin-bottom: 30px; text-transform: uppercase; }
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1000px; margin: auto; }
.leader-card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s ease, background 0.3s ease; border-left: 5px solid #004e56; }
.leader-card:hover { transform: translateY(-5px); background: #eef9f9; }
.leader-card h3 { color: #004e56; margin-bottom: 10px; font-size: 1.2em; }
.leader-card p { color: #333; font-weight: bold; font-size: 0.95em; line-height: 1.4; }
/* FOOTER */ footer { text-align: center; padding: 20px; background: #004e56; color: white; }
footer a { color: #ffcc00; text-decoration: none; }
footer a:hover { text-decoration: underline; }
/* SUCCESS PAGE BUTTONS */ .success-container { text-align: center; padding: 30px; }
.success-container .button { display: inline-block; margin: 10px; padding: 12px 20px; background: #004e56; color: white; text-decoration: none; border-radius: 5px; transition: background 0.3s ease; }
.success-container .button:hover { background: #006f77; }
/* PRINTABLE PASSPORT */ #printable-content img.passport { max-width: 100px; border-radius: 6px; border: 2px solid #004e56; display: block; margin: 10px auto; }
/* ID CARD ENHANCED DESIGN */ .id-card { position: relative; width: 320px; height: 200px; background: url('background.jpg') center/cover no-repeat; margin: 30px auto; border-radius: 10px; color: #fff; text-align: center; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.2); overflow: hidden; }
.id-card::before { content: ""; background: rgba(0,0,0,0.4); position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 10px; z-index: 1; }
.id-card * { position: relative; z-index: 2; }
.id-card img.passport { border: 2px solid #fff; max-width: 80px; border-radius: 50%; margin-bottom: 10px; }
.qr-code { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 2; }
/* PAGE SEPARATION */ .page { page-break-after: always; padding: 20px; background: white; min-height: 100vh; }
@media print { body * { display: none !important; }
#printable-content, #printable-content * { display: block !important; visibility: visible !important; } }
/* RESPONSIVE STYLES */ @media screen and (max-width: 768px) { .nav-toggle { display: block; }
.nav-links { display: none; flex-direction: column; background: #004e56; width: 100%; margin-top: 10px; }
.nav-links.show { display: flex; }
.nav-links a { padding: 12px 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hero h1 { font-size: 1.8em; }
.hero-overlay p { font-size: 1em; }
.navbar { flex-direction: column; align-items: flex-start; }
.navbar a { margin: 5px 0; } }
/* BACKGROUND ZOOM ANIMATION */ @keyframes zoomBackground { 0% { background-size: 100%; } 100% { background-size: 110%; } }
|