/* Google Material Design Style */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --secondary-color: #5f6368;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --card-bg: #ffffff;
    --border-color: #dadce0;
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-hover: 0 3px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
}

[data-theme="dark"] {
    --bg-color: #202124;
    --bg-secondary: #303134;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --card-bg: #2d2e31;
    --border-color: #5f6368;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

h1, h2, h3, h4 {
    font-family: 'Google Sans', sans-serif;
    font-weight: 500;
}

/* Header */
.header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Google Sans', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-color);
    transition: opacity 0.2s;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo .material-icons { font-size: 1.5rem; }

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.theme-toggle:hover { background: var(--bg-secondary); }

.language-selector {
    display: flex;
    gap: 0.25rem;
}

.lang-btn {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.lang-btn:hover { background: var(--bg-secondary); }
.lang-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.85), rgba(21, 87, 176, 0.9)),
                url('https://images.unsplash.com/photo-1590556408559-9d94b3f34c22?w=1920&q=80') center/cover no-repeat fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.8), rgba(21, 87, 176, 0.85));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.25rem; opacity: 0.95; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }

/* Hero Links */
.hero-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: var(--primary-dark);
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Sections */
section { padding: 3rem 0; }
.section-title { font-size: 1.75rem; text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 2rem; }

/* Content Card */
.content-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.fact-item .material-icons { color: var(--primary-color); font-size: 1.25rem; }

.info-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.info-card h4 { margin-bottom: 1rem; font-size: 1.1rem; }
.highlight-list { list-style: none; }
.highlight-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.highlight-list li:last-child { border-bottom: none; }

.highlight-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.highlight-link:hover {
    color: var(--primary-color);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    height: 100%;
}

.card-link:hover .card-item {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon { font-size: 3rem; margin-bottom: 1rem; }
.card-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* Education Cards */
.edu-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.edu-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    height: 100%;
}

.edu-link:hover .edu-card {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.edu-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.edu-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.edu-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p { color: var(--text-secondary); font-size: 0.9rem; }
.footer-note { margin-top: 0.5rem; font-size: 0.8rem; }

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-links { flex-direction: column; align-items: center; }
    .hero-btn { width: 100%; max-width: 250px; justify-content: center; }
    .navbar { flex-direction: column; gap: 1rem; }
    .language-selector { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .lang-btn { padding: 0.3rem 0.5rem; font-size: 0.75rem; }
}
