/* =========================================
   GLOBAL RESET & BASE STYLES
   ========================================= */

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

:root {
    --color-primary: #1e3a5f;
    --color-primary-dark: #152940;
    --color-secondary: #2c5f7c;
    --color-accent: #3d8ba8;
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;
    --color-text-muted: #6b6b6b;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-dark: #e9ecef;
    --color-border: #dee2e6;
    --color-success: #2d7a4e;
    --color-teal: #2d8d8d;

    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-system);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* =========================================
   LOADING OVERLAY
   ========================================= */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-bg-dark);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   CONTAINER & LAYOUT
   ========================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-accent);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-small {
    min-height: 400px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.92) 0%, rgba(44, 95, 124, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   SECTION HEADERS
   ========================================= */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* =========================================
   HIGHLIGHTS GRID
   ========================================= */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.highlight-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* =========================================
   TIMELINE
   ========================================= */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid white;
    box-shadow: 0 0 0 4px var(--color-bg-light);
}

.timeline-content {
    padding-left: 2rem;
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--color-accent);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--color-text-light);
}

/* =========================================
   CTA SECTION
   ========================================= */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info p {
    margin: 0;
    opacity: 0.95;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    color: rgba(255, 255, 255, 0.8);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-nav h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.content-section {
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main h2 {
    margin-bottom: 2rem;
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.stats-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-light);
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-icon {
    color: var(--color-accent);
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.focus-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent);
    transition: var(--transition);
}

.focus-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.focus-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.focus-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* =========================================
   MEDIA PAGE
   ========================================= */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.media-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--color-accent);
}

.media-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.media-date {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.media-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.media-publication {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.media-item p:last-child {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.press-kit-content {
    max-width: 900px;
    margin: 0 auto;
}

.press-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.press-kit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.press-kit-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.press-kit-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.asset-list {
    margin: 1.5rem 0;
}

.asset-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
}

.asset-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.press-contact {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.press-contact h3 {
    margin-bottom: 1rem;
}

.press-contact p {
    margin-bottom: 0.5rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.topic-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.topic-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.topic-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.topic-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================
   CV PAGE
   ========================================= */

.cv-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cv-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cv-title {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.cv-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--color-text-light);
}

.cv-summary-text {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
}

.cv-summary-text h3 {
    margin-bottom: 1.5rem;
}

.cv-summary-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.cv-section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.cv-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-accent);
}

.cv-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.cv-entry {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-accent);
}

.cv-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.cv-entry-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.cv-company {
    color: var(--color-accent);
    font-weight: 600;
}

.cv-dates {
    color: var(--color-text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.cv-list {
    list-style: none;
}

.cv-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.7;
}

.cv-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.cv-education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cv-school {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cv-details {
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.skills-container {
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: 3rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 3px solid var(--color-accent);
}

.cert-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.cert-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.pub-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-accent);
}

.pub-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pub-source {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
}

.pub-item p:last-child {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================
   PRIVACY POLICY PAGE
   ========================================= */

.privacy-content {
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.policy-meta {
    background: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--color-accent);
}

.policy-meta p {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.policy-meta p:last-child {
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.policy-section h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--color-secondary);
}

.policy-section p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.policy-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.policy-section ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.7;
}

.policy-section ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--color-accent);
    font-size: 1.5rem;
    line-height: 1;
}

.contact-box {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid var(--color-border);
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.policy-acknowledgment {
    background: var(--color-accent);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.policy-acknowledgment p {
    margin: 0;
    font-weight: 500;
}

/* =========================================
   ANIMATIONS
   ========================================= */

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 968px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 0;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cv-entry-header {
        flex-direction: column;
    }

    .cv-dates {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .highlights-grid,
    .focus-grid,
    .media-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-small {
        min-height: 350px;
    }

    .btn {
        width: 100%;
    }
}
