-
Notifications
You must be signed in to change notification settings - Fork 0
Collapse file tree
Files
Search this repository(forward slash) forward slash/
/
Copy pathIndex.html
More file actions
More file actions
Latest commit
640 lines (612 loc) · 32.5 KB
/
Index.html
File metadata and controls
640 lines (612 loc) · 32.5 KB
You must be signed in to make or propose changes
More edit options
Edit and raw actions
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
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
>gt;
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
--p: #5B21B6;
--p2: #7C3AED;
--pale: #F5F3FF;
--border: #E5E7EB;
--text: #111827;
--muted: #6B7280;
--light: #9CA3AF;
--bg: #FFFFFF;
--bg2: #FAFAFA;
}
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
/* NAV */
nav {
position: sticky; top: 0; z-index: 100;
background: #fff; border-bottom: 1px solid var(--border);
padding: 0 6vw; height: 62px;
display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
width: 36px; height: 36px; border-radius: 8px;
background: var(--p); color: #fff;
font-weight: 700; font-size: 14px;
display: flex; align-items: center; justify-content: center;
letter-spacing: 0.3px;
}
.logo-name { font-weight: 600; font-size: 15px; color: var(--text); }
.logo-name span { font-weight: 400; color: var(--muted); font-size: 13px; display: block; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--p); }
.nav-btn {
background: var(--p); color: #fff !important;
padding: 8px 18px; border-radius: 7px;
font-size: 13px !important; font-weight: 600 !important;
}
.nav-btn:hover { background: var(--p2) !important; color: #fff !important; }
/* HERO */
.hero {
padding: 80px 6vw 72px;
border-bottom: 1px solid var(--border);
display: flex; align-items: center; justify-content: space-between;
gap: 48px; max-width: 1100px; margin: 0 auto;
}
.hero-left { max-width: 560px; }
.hero-eyebrow {
display: inline-block;
background: var(--pale); color: var(--p);
font-size: 12px; font-weight: 600;
letter-spacing: 0.8px; text-transform: uppercase;
padding: 5px 12px; border-radius: 6px;
margin-bottom: 20px;
}
.hero h1 {
font-family: 'Instrument Serif', serif;
font-size: clamp(2rem, 3.8vw, 3.2rem);
font-weight: 400; line-height: 1.18;
color: var(--text); margin-bottom: 18px;
}
.hero h1 i { font-style: italic; color: var(--p); }
.hero p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-main {
background: var(--p); color: #fff;
padding: 12px 28px; border-radius: 8px;
font-weight: 600; font-size: 14px;
text-decoration: none; border: none; cursor: pointer;
transition: background .15s;
}
.btn-main:hover { background: var(--p2); }
.btn-out {
background: #fff; color: var(--p);
padding: 12px 28px; border-radius: 8px;
font-weight: 600; font-size: 14px;
text-decoration: none;
border: 1.5px solid #DDD6FE;
transition: border-color .15s, background .15s;
}
.btn-out:hover { border-color: var(--p); background: var(--pale); }
.hero-stats {
display: flex; gap: 32px; margin-top: 40px;
padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-n { font-size: 1.6rem; font-weight: 700; color: var(--p); line-height: 1; }
.stat-l { font-size: 12px; color: var(--light); font-weight: 500; margin-top: 3px; text-transform: uppercase; letter-spacing: .8px; }
/* TEACHER CARD */
.teacher-card {
background: var(--bg2); border: 1px solid var(--border);
border-radius: 16px; padding: 32px 28px;
text-align: center; min-width: 240px;
flex-shrink: 0;
}
.t-avatar {
width: 80px; height: 80px; border-radius: 50%;
background: var(--p); color: #fff;
font-family: 'Instrument Serif', serif;
font-size: 1.8rem; font-weight: 400;
display: flex; align-items: center; justify-content: center;
margin: 0 auto 14px;
}
.t-name { font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 3px; }
.t-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.t-tag {
background: var(--pale); color: var(--p);
font-size: 11px; font-weight: 600;
padding: 4px 10px; border-radius: 5px;
}
/* SECTIONS */
.section { padding: 72px 6vw; border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.sec-label {
font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
text-transform: uppercase; color: var(--p); margin-bottom: 8px;
}
.sec-title {
font-family: 'Instrument Serif', serif;
font-size: clamp(1.6rem, 2.6vw, 2.2rem);
font-weight: 400; color: var(--text);
ul>gt;
div>gt;
div>gt;
div>gt;
div>gt;
footer>gt;
div>gt;
div>gt;
select>gt;
div>gt;
div>gt;
div>gt;
div>gt;
div>gt;
div>gt;
function openModal(t, s) {
document.getElementById('mTitle').textContent = t;
document.getElementById('mSub').textContent = s;
document.getElementById('modal').classList.add('on');
document.getElementById('fState').style.display = 'block';
document.getElementById('sState').style.display = 'none';
document.body.style.overflow = 'hidden';
}
function closeModal() {
document.getElementById('modal').classList.remove('on');
document.body.style.overflow = '';
}
document.getElementById('modal').addEventListener('click', e =>gt; { if (e.target.id === 'modal') closeModal(); });
function submitForm() {
const v = ['fn','ph','em','cl'].map(id =>gt; document.getElementById(id).value.trim());
if (v.some(x =>gt; !x)) { alert('Please fill all required fields.'); return; }
document.getElementById('fState').style.display = 'none';
document.getElementById('sState').style.display = 'block';
}
script>gt;
body>gt;
html>gt;