:root {
--bg: #ffffff;
--text: #1e293b;
--name-color: #001f5b;
--accent: #003087;
--link: #0044cc;
--border: #e2e8f0;
--shadow: rgba(0, 31, 91, 0.1);
--radius: 8px;
--navy: #001f5b;
--navy-light: #002b6e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.68;
color: var(--text);
background-color: var(--bg);
display: flex;
flex-direction: column;
text-align: justify;
text-justify: inter-word;
}
.page-wrapper { flex: 1; display: flex; flex-direction: column; }
header {
background: linear-gradient(135deg, var(--navy), var(--navy-light));
color: white;
box-shadow: 0 2px 6px var(--shadow);
z-index: 100;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
max-width: 1100px;
margin: 0 auto;
width: 100%;
}
.nav-links {
display: flex;
gap: 1.8rem;
align-items: center;
}
.lang-switcher { position: relative; }
#lang-toggle {
background: none; border: none; font-size: 1.3rem; cursor: pointer;
color: white; padding: 0.35rem; border-radius: 4px;
transition: color 0.2s ease;
}
#lang-toggle:hover { color: #a0d8ff; }
.lang-dropdown {
position: absolute; top: 100%; right: 0; background: white;
border: 1px solid var(--border); border-radius: var(--radius);
box-shadow: 0 6px 16px var(--shadow); min-width: 120px;
margin-top: 6px; z-index: 101; padding: 0.4rem 0;
}
.lang-dropdown.hidden { display: none; }
.lang-option {
display: block; width: 100%; padding: 0.55rem 1rem;
background: none; border: none; text-align: left;
font-weight: 500; color: var(--text); cursor: pointer;
font-size: 0.95rem;
}
.lang-option:hover { background-color: #f0f7ff; color: var(--accent); }
.nav-link {
text-decoration: none; color: white; font-weight: 500;
font-size: 1.02rem; position: relative; padding: 0.35rem 0;
transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: #a0d8ff; }
.nav-link::after {
content: ''; position: absolute; bottom: -2px; left: 0;
width: 0; height: 2px; background-color: #a0d8ff;
transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.dropdown { position: relative; }
.dropdown-menu {
position: absolute; top: 100%; left: 0; background: white;
border: 1px solid var(--border); border-radius: var(--radius);
box-shadow: 0 6px 16px var(--shadow); min-width: 190px;
opacity: 0; visibility: hidden; transform: translateY(-8px);
transition: all 0.2s ease; z-index: 100; padding: 0.6rem 0;
margin-top: 8px;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-item {
display: block; padding: 0.65rem 1.2rem; color: var(--text);
text-decoration: none; font-size: 0.98rem;
}
.dropdown-item:hover { background-color: #f8fafc; color: var(--accent); }
main {
max-width: 820px; margin: 2.8rem auto; padding: 0 1.8rem; flex: 1;
}
.content-section { animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.hidden { display: none; }
h1 {
font-size: 2.4rem; margin-bottom: 1.4rem; color: var(--name-color);
font-weight: 600;
}
.tagline {
font-size: 1.35rem; font-weight: 600; color: var(--accent);
margin: 1.2rem 0; letter-spacing: 0.5px;
}
.hashtags {
font-family: monospace; font-size: 0.88rem; color: #64748b;
margin: 1rem 0; line-height: 1.5;
text-align: left;
}
.hashtags.left-align {
text-align: left;
}
.play-store-link {
margin-top: 1.8rem;
text-align: center;
}
.store-button {
display: inline-block;
background: linear-gradient(135deg, var(--navy), var(--navy-light));
color: white;
text-decoration: none;
padding: 0.9rem 1.8rem;
border-radius: var(--radius);
font-weight: 600;
font-size: 1.05rem;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(0, 31, 91, 0.15);
}
.store-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 31, 91, 0.25);
background: linear-gradient(135deg, #002b6e, #001f5b);
}
.store-icon {
margin-right: 0.6rem;
}
h2 {
font-size: 1.6rem; margin: 2.4rem 0 1.2rem; color: var(--accent);
font-weight: 600;
}
h3 {
font-size: 1.1rem; color: var(--accent); margin: 2rem 0 0.8rem;
font-weight: 600;
}
p { margin-bottom: 1.2rem; }
strong { color: var(--name-color); }
.profile-photo {
float: right; margin: 0 0 1.4rem 1.8rem; max-width: 300px;
border-radius: var(--radius); overflow: hidden;
box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.profile-photo img {
display: block; width: 100%; height: auto; border-radius: var(--radius);
}
.timeline {
list-style: none; padding-left: 0; margin: 1.2rem 0;
}
.timeline li {
margin-bottom: 1.2rem; padding-left: 1.4rem; position: relative;
line-height: 1.5;
}
.timeline li.main-degree::before,
.timeline li.academic-position::before {
content: '→'; position: absolute; left: 0; color: var(--accent);
font-weight: 600;
}
.timeline li:not(.main-degree):not(.academic-position)::before {
content: none;
}
.timeline em { font-size: 0.95rem; color: #64748b; }
.timeline small { display: block; margin-top: 0.4rem; font-size: 0.88rem; color: #94a3b8; }
.projects-list {
list-style: disc; padding-left: 1.4rem; margin: 1.2rem 0;
}
.projects-list li {
margin-bottom: 0.8rem;
line-height: 1.5;
}
.project-link { color: var(--accent); text-decoration: none; }
.project-link:hover { text-decoration: underline; }
.lessons-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.8rem 1.2rem;
margin: 1.2rem 0;
font-size: 0.98rem;
font-weight: 500;
}
.lessons-grid span {
background: #f8f9fc;
padding: 0.8rem 0.8rem;
border-radius: 6px;
text-align: center;
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
min-height: 60px;
text-align: center;
}
.certs-list {
margin: 1rem 0 1.5rem; padding-left: 1.2rem;
}
.certs-list li {
margin-bottom: 0.6rem;
position: relative;
}
.certs-list li::before {
content: '•'; position: absolute; left: -1.2rem; color: var(--accent);
}
.academics-images {
display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap;
}
.academics-img {
width: 48%; max-width: 300px; border-radius: var(--radius);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.skills-grid {
margin-top: 1.4rem;
}
.skills-grid > div {
margin-bottom: 2.4rem;
}
.skills-grid h3 {
margin-bottom: 0.9rem;
}
label { display: block; font-weight: 600; margin-bottom: 0.6rem; }
input, textarea {
width: 100%; padding: 0.75rem; border: 1px solid var(--border);
border-radius: var(--radius); font-family: inherit; font-size: 1rem;
}
input:focus, textarea:focus {
outline: none; border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}
button {
background-color: var(--accent); color: white; border: none;
padding: 0.8rem 1.8rem; border-radius: var(--radius); cursor: pointer;
font-weight: 600; font-size: 1.02rem; margin-top: 0.6rem;
}
button:hover {
background-color: #001f5b; transform: translateY(-1px);
}
footer {
text-align: center; padding: 2rem 1.5rem; margin-top: auto;
border-top: 1px solid var(--border); color: #4a5568; font-size: 1.02rem;
}
footer a { color: var(--link); text-decoration: none; font-weight: 500; }
footer a:hover { text-decoration: underline; }
/* Improved mobile navigation */
@media (max-width: 700px) {
.profile-photo {
float: none;
display: block;
margin: 0 auto 1.8rem;
max-width: 260px;
}
h1 {
text-align: center;
margin-bottom: 0.8rem;
}
.tagline {
text-align: center;
margin: 0.4rem 0 1.8rem;
}
.play-store-link {
margin-top: 1.4rem;
}
.store-button {
width: 100%;
padding: 0.85rem 1.4rem;
font-size: 1rem;
}
}
@media (max-width: 640px) {
nav {
padding: 0.9rem 1.2rem;
flex-wrap: wrap;
row-gap: 0.6rem;
}
.nav-links {
gap: 0.9rem;
font-size: 0.94rem;
justify-content: center;
flex-wrap: wrap;
}
.lang-switcher {
margin-left: auto;
margin-right: auto;
padding-top: 0.3rem;
}
#lang-toggle {
font-size: 1.4rem;
padding: 0.4rem;
}
.lessons-grid {
grid-template-columns: 1fr 1fr;
}
.academics-img {
width: 100%;
}
}
@media (max-width: 480px) {
.nav-links {
gap: 0.7rem;
font-size: 0.9rem;
}
nav {
padding: 0.8rem 1rem;
}
}
