Skip to content

Commit 6e384a4

Browse files
authored
Update style.css
1 parent e5297c1 commit 6e384a4

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

style.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,101 @@
1+
/* Base variables */
2+
:root {
3+
--bg: #0e1620; /* dark body background */
4+
--paper: #0f1720; /* slightly lighter cards */
5+
--primary: #ffffff; /* main text */
6+
--accent: #f6b75e; /* warm accent */
7+
--muted: #98a3b3; /* secondary text */
8+
--text: #e6eef6;
9+
--card: #0b1116;
10+
--container: 1100px;
11+
--radius: 12px;
12+
}
13+
14+
/* Base reset */
15+
* { box-sizing: border-box; }
16+
html, body { height: 100%; }
17+
body {
18+
margin: 0;
19+
font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
20+
color: var(--text);
21+
background: linear-gradient(180deg,#07101a, #0d1a26);
22+
-webkit-font-smoothing: antialiased;
23+
-moz-osx-font-smoothing: grayscale;
24+
}
25+
26+
/* Container */
27+
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
28+
29+
/* Header */
30+
.site-header {
31+
background: rgba(6,10,18,0.6);
32+
backdrop-filter: blur(6px);
33+
position: sticky;
34+
top: 0;
35+
z-index: 90;
36+
border-bottom: 1px solid rgba(255,255,255,0.03);
37+
}
38+
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
39+
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); }
40+
.logo {
41+
width: 48px;
42+
height: 48px;
43+
border-radius: 10px;
44+
background: linear-gradient(135deg,var(--accent),#d9a75e);
45+
display: flex;
46+
align-items: center;
47+
justify-content: center;
48+
font-weight: 800;
49+
color: #041027;
50+
}
51+
.org-name { font-size: 1rem; margin: 0; }
52+
.tagline { font-size: 12px; color: var(--muted); }
53+
54+
/* Nav */
55+
.nav { display: flex; gap: 14px; align-items: center; }
56+
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
57+
.nav a:hover { color: var(--accent); }
58+
.nav-toggle { display: none; background: transparent; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }
59+
60+
/* Hero */
61+
.hero { position: relative; height: 55vh; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom:1px solid rgba(255,255,255,0.02);}
62+
.hero-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:brightness(.5) contrast(.95);}
63+
.hero-overlay { position:relative; z-index:2; text-align:center; padding:36px; }
64+
.hero-overlay h2 { font-size:2rem; margin:0 0 8px; color: var(--primary); }
65+
.hero-overlay p { color: var(--muted); margin-bottom:12px; }
66+
67+
/* Sections */
68+
.section { padding:48px 0; }
69+
.pale { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
70+
.section h2, .section h3 { color: var(--accent); }
71+
.lead { color: var(--muted); max-width: 760px; }
72+
73+
/* Card & grid */
74+
.card { background: var(--card); padding: 18px; border-radius: var(--radius); box-shadow:0 8px 30px rgba(2,6,12,0.6); border:1px solid rgba(255,255,255,0.02);}
75+
.section-grid, .contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
76+
@media(max-width:900px){ .section-grid, .contact-grid { grid-template-columns:1fr; } }
77+
78+
/* Buttons */
79+
.btn { padding: 8px 12px; border-radius: 10px; border:0; cursor:pointer; font-weight:700; }
80+
.btn.primary { background: var(--accent); color: #041027; }
81+
.btn.ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color: var(--text); }
82+
.btn:hover { opacity: 0.85; }
83+
84+
/* Back to top */
85+
#topBtn {
86+
position: fixed; right:18px; bottom:18px; width:50px; height:50px; border-radius:50%; background:var(--accent); color:#041027; border:0; font-size:20px; display:none; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 10px 30px rgba(246,183,94,0.14);
87+
}
88+
89+
/* Mobile responsiveness */
90+
@media(max-width:700px){
91+
.nav { display:none; flex-direction:column; gap:12px; background:var(--bg); position:absolute; top:60px; right:20px; padding:12px; border-radius:10px;}
92+
.nav.visible { display:flex; }
93+
.nav-toggle { display:block; }
94+
.hero { height:40vh; }
95+
.hero-overlay h2 { font-size:1.25rem; }
96+
.footer-grid { flex-direction: column; align-items:flex-start; }
97+
}
98+
199
/* Variables & base */
2100
:root{
3101
--bg:#0e1620; /* deep charcoal body background for sleek feel */
@@ -121,3 +219,4 @@ body{
121219
.hero-overlay h2{font-size:1.25rem}
122220
.footer-grid{flex-direction:column;align-items:flex-start}
123221
}
222+

0 commit comments

Comments
 (0)