-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
203 lines (176 loc) · 16.3 KB
/
Copy pathstyle.css
File metadata and controls
203 lines (176 loc) · 16.3 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/* ===== CSS Variables ===== */
:root {
/* New Custom Color Palette */
--primary: #5E4B7A; /* Primary purple: pale but darkened, muted, elegant */
--primary-light: #8E7AB5; /* Pale purple */
--gold: #C79A2B; /* Mustard yellow-gold: richer than standard gold */
--gold-light: #E8D39A; /* Light gold */
--teal: #1F6F78; /* Dark turquoise teal: restrained, deep accent */
--bg: #FAF8FC; /* Light translucent neutral base */
--bg-alt: #EEE8F7; /* Pastel lavender: soft accent background */
--glass-bg: rgba(250, 248, 252, 0.82); /* Soft glass background */
--card-bg: #FFFFFF;
--card-border: rgba(94, 75, 122, 0.12); /* Muted border matched to primary */
--text: #2F2940; /* Deep text */
--text-muted: #6E6782; /* Muted text */
--white: #ffffff;
--font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
--transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
--radius: 16px;
--shadow: 0 10px 30px rgba(94, 75, 122, 0.08);
--shadow-hover: 0 15px 35px rgba(94, 75, 122, 0.15);
}
/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
/* ===== Utility ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.bg-alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); letter-spacing: -0.5px; }
.section-title span { color: var(--primary); }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-divider { width: 70px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); border-radius: 2px; margin: 0 auto 3.5rem; }
/* ===== Fade-in ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 30px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all var(--transition); text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); box-shadow: 0 4px 15px rgba(94, 75, 122, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(94, 75, 122, 0.35); color: var(--white); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--text); box-shadow: 0 4px 15px rgba(199, 154, 43, 0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(199, 154, 43, 0.45); color: var(--text); }
/* ===== Navbar (Glassmorphism) ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--glass-bg); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.3); transition: all var(--transition); }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(94, 75, 122, 0.08); background: rgba(250, 248, 252, 0.96); }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.6rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 0.5rem; }
.nav-links a { padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); transition: all var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(94, 75, 122, 0.08); }
/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* ===== Security Banner ===== */
.security-banner { background-color: #FFF3F3; border-left: 6px solid #E53935; padding: 18px; margin: 90px 20px 20px 20px; font-family: var(--font-main); border-radius: 8px; font-size: 0.95rem; line-height: 1.5; color: #444; box-shadow: 0 4px 10px rgba(229, 57, 53, 0.05); }
/* ===== Hero Section ===== */
.hero { min-height: 40vh; display: flex; align-items: center; padding: 9rem 1.5rem 4rem; background: radial-gradient(circle at top right, rgba(199, 154, 43, 0.08) 0%, transparent 40%), linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%); position: relative; overflow: hidden; }
.hero-content { max-width: 1100px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 4rem; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero-name { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; color: var(--primary); line-height: 1.1; margin-bottom: 1.2rem; letter-spacing: -1px; }
.hero-subtitle-line { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 2.5rem; font-weight: 500; }
.typed-wrap { color: var(--gold); font-weight: 700; }
.typed::after { content: '|'; animation: blink 1s infinite; color: var(--primary); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.hero-image-wrap { flex-shrink: 0; }
.hero-avatar { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, #ffffff, var(--bg-alt)); border: 4px solid rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-hover); position: relative; }
.hero-avatar::after { content: ''; position: absolute; inset: -10px; border: 1.5px dashed rgba(199, 154, 43, 0.6); border-radius: 50%; animation: spin 20s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.profile-emoji-fallback { display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about-highlight-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; transition: var(--transition); }
.about-highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(199, 154, 43, 0.3); }
.about-highlight-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); }
.about-icon-circle { font-size: 3rem; margin-bottom: 1.5rem; }
.about-highlight-card h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 0.8rem; font-weight: 700; }
.about-highlight-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.7; }
.card-tag-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.card-tag { background: rgba(31, 111, 120, 0.08); color: var(--teal); border-radius: 20px; padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(31, 111, 120, 0.2); }
.about-text h3 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 1.2rem; }
.about-text p { font-size: 1.05rem; }
.about-facts { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; background: var(--bg-alt); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--card-border); }
.fact-item { display: flex; gap: 1rem; align-items: center; border-bottom: 1px solid rgba(94, 75, 122, 0.06); padding-bottom: 0.8rem; }
.fact-item:last-child { border-bottom: none; padding-bottom: 0; }
.fact-label { font-size: 0.85rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; min-width: 100px; }
.fact-value { color: var(--text); font-size: 1rem; font-weight: 500; }
/* ===== Competencies ===== */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2rem; }
.edu-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 2.5rem 2rem; box-shadow: var(--shadow); transition: all var(--transition); text-align: center; }
.edu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(94, 75, 122, 0.15); }
.edu-card-icon { font-size: 2.5rem; margin-bottom: 1.2rem; display: inline-block; padding: 15px; background: rgba(199, 154, 43, 0.12); border-radius: 50%; }
.edu-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.edu-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
/* ===== Assignments ===== */
.assignments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2rem; }
.assignment-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 2.5rem 2rem; box-shadow: var(--shadow); transition: all var(--transition); display: flex; flex-direction: column; }
.assignment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.assignment-tag { align-self: flex-start; background: rgba(199, 154, 43, 0.15); color: var(--gold); border-radius: 20px; padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 700; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid rgba(199, 154, 43, 0.3); }
.assignment-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.8rem; line-height: 1.3; }
.assignment-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; }
.assignment-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; font-weight: 700; color: var(--teal); border-top: 1px solid var(--card-border); padding-top: 1.2rem; text-transform: uppercase; }
.assignment-link:hover { color: var(--primary); gap: 0.6rem; }
/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.contact-info h3 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem; background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-item-icon { font-size: 1.8rem; background: rgba(94, 75, 122, 0.08); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; }
.value { font-size: 1rem; color: var(--text); font-weight: 600; }
.contact-form-wrap { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 3rem 2.5rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-group label { font-size: 0.9rem; font-weight: 700; color: var(--primary); }
.form-group input, .form-group textarea { padding: 0.9rem 1.2rem; border: 2px solid var(--card-border); border-radius: 8px; font-family: var(--font-main); font-size: 0.95rem; background: var(--bg); color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); outline: none; width: 100%; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); background: var(--card-bg); box-shadow: 0 0 0 3px rgba(31, 111, 120, 0.15); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
.form-success { display: none; margin-top: 1.5rem; padding: 1rem; background: rgba(31, 111, 120, 0.1); border: 1px solid rgba(31, 111, 120, 0.3); border-radius: 8px; color: var(--teal); font-size: 0.95rem; font-weight: 600; text-align: center; }
/* ===== Footer ===== */
footer { background: var(--text); color: rgba(255,255,255,0.8); padding: 3rem 1.5rem; text-align: center; margin-top: 2rem; }
footer p { font-weight: 500; letter-spacing: 0.5px; }
footer a { color: rgba(255,255,255,0.6); font-size: 0.9rem; text-decoration: underline; text-decoration-color: transparent; transition: all 0.3s; }
footer a:hover { color: var(--gold-light); text-decoration-color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 1rem; }
/* ===== Privacy Policy ===== */
.privacy-content h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: 2rem 0 0.6rem; }
.privacy-content p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; line-height: 1.8; }
.privacy-content a { color: var(--primary); font-weight: 600; }
.privacy-content a:hover { color: var(--gold); }
.privacy-list { list-style: disc; padding-left: 1.8rem; margin-bottom: 1rem; color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
/* ===== Scroll-to-top button ===== */
#scrollTop { position: fixed; bottom: 2rem; right: 2rem; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--white); border: 2px solid rgba(255,255,255,0.15); font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(15px); transition: all var(--transition); box-shadow: 0 4px 15px rgba(0,0,0,0.25); z-index: 999; }
#scrollTop.show { opacity: 1; transform: none; }
#scrollTop:hover { background: var(--gold); border-color: var(--white); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(199, 154, 43, 0.4); }
/* =========================================
RESPONSIVE DESIGN (TABLETS & MOBILE)
========================================= */
@media (max-width: 900px) {
.hero-content { flex-direction: column-reverse; text-align: center; gap: 2rem; }
.hero-buttons { justify-content: center; }
.hero-image-wrap { display: block; margin: 0 auto; }
.about-grid, .contact-grid { grid-template-columns: 1fr; }
.form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.nav-toggle { display: flex; }
.nav-links { position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-alt); flex-direction: column; padding: 1rem 1.5rem; display: none; border-bottom: 1px solid var(--card-border); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.nav-links.open { display: flex; }
.nav-links a { padding: 1rem; border-bottom: 1px solid var(--card-border); border-radius: 0; text-align: center; }
.nav-links a:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
.section { padding: 3.5rem 0; }
.hero { padding: 7rem 1rem 3rem; }
.section-title { font-size: 1.8rem; }
.hero-name { font-size: 2.2rem; }
.hero-subtitle-line { font-size: 1.1rem; }
.hero-buttons { flex-direction: column; width: 100%; gap: 0.8rem; }
.btn { width: 100%; padding: 0.9rem; }
.contact-form-wrap { padding: 1.8rem 1rem; }
.about-highlight-card { padding: 1.8rem 1rem; }
.edu-card, .assignment-card { padding: 1.8rem 1.2rem; }
}