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

:root {
    --primary: #F8F4F5;
    --primary-dark: #E8D5D8;
    --primary-darker: #D8B5BB;
    --gold: #A68520;
    --gold-light: #C9A24D;
    --gold-dark: #8E701B;
    --cream: #FFFFFF;
    --cream-dark: #F5F0E6;
    --text-light: #000000;
    --text-dark: #000000;
    --text-muted: #1A1A1A;
    --shadow-gold: 0 0 30px rgba(166, 133, 32, 0.2);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --transition: all 0.3s ease-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', serif;
    background-color: var(--primary);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 19px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    border-bottom: 2px solid var(--gold);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(201, 162, 39, 0.2);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 24px 80px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A24D' stroke-width='0.5' opacity='0.1'%3E%3Cpath d='M40 0L40 80M0 40L80 40'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3Cpath d='M20 20L60 60M60 20L20 60'/%3E%3Crect x='25' y='25' width='30' height='30' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    pointer-events: none;
    opacity: 0.5;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    z-index: 1;
}

.hero-image {
    order: -1;
}

.hero-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-avatar img {
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

.hero-text {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 400;
    font-style: italic;
}

.hero-location {
    color: #A68520;
    margin-bottom: 36px;
    font-size: 1.1rem;
}

.hero-location i {
    color: var(--gold);
    margin-right: 8px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-darker);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: rgba(201, 162, 39, 0.15);
    transform: translateY(-3px);
}

.btn-download {
    background: transparent;
    color: #3A0A12;
    border: 2px solid var(--gold);
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-download i {
    margin-right: 4px;
}

.hero-scroll {
    display: none;
}

.hero-scroll a {
    color: var(--gold);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.hero-scroll a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ==================== SECTION STYLES ==================== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 4px;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='0.3' opacity='0.08'%3E%3Cpath d='M30 0L30 60M0 30L60 30'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--gold) 100%);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(138, 21, 56, 0.12);
}

.about-card h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(138, 21, 56, 0.1);
    border-color: var(--gold);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--gold);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-radius: var(--radius-sm);
}

.info-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.info-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* ==================== EXPERIENCE SECTION ==================== */
.experience {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='0.3' opacity='0.1'%3E%3Cpath d='M40 0L40 80M0 40L80 40'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Crect x='25' y='25' width='30' height='30' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.experience .section-title {
    color: var(--text-light);
}

.experience .section-title::after {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 162, 39, 0.3) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -7px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--primary-dark);
    border: 4px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}

.timeline-content {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-dark);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-6px) translateX(6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #FFFFFF;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-content h3 {
    color: #3A0A12;
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.timeline-content h4 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content .location {
    color: #1A1A1A;
    font-size: 0.9rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.timeline-content .location i {
    margin-right: 8px;
    color: var(--gold);
}

.timeline-content ul {
    list-style: none;
}

.timeline-content ul li {
    color: #1A1A1A;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

/* ==================== EDUCATION SECTION ==================== */
.education {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238A1538' stroke-width='0.3' opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.education-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(138, 21, 56, 0.15);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.education-card:hover .education-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.3) 0%, rgba(201, 162, 39, 0.1) 100%);
}

.education-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.education-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.education-place {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.education-year {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.education-spec {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 8px;
}

/* ==================== CERTIFICATIONS SECTION ==================== */
.certifications {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='0.3' opacity='0.08'%3E%3Cpath d='M40 0L40 80M0 40L80 40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.certifications .section-title {
    color: var(--text-light);
}

.certifications .section-title::after {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.cert-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--primary-dark);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
}

.cert-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.cert-card:hover .cert-logo {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.cert-card:hover .cert-logo i {
    color: var(--primary-darker);
}

.cert-logo i {
    font-size: 1.8rem;
    color: var(--gold);
    transition: var(--transition);
}

.cert-card h3 {
    color: #3A0A12;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.cert-card p {
    color: #1A1A1A;
    font-size: 0.9rem;
}

/* ==================== RESEARCH SECTION ==================== */
.research {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.research::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='0.3' opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Cpath d='M15 15L45 45M45 15L15 45'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.research-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold);
}

.research-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 24px;
    transition: var(--transition);
}

.research-card:hover i {
    transform: scale(1.15);
    color: var(--gold-dark);
}

.research-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.research-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.activities {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-dark);
    position: relative;
    z-index: 1;
}

.activities h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 28px;
    text-align: center;
    font-weight: 700;
}

.activities ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.activities ul li {
    color: var(--text-muted);
    padding: 20px 0;
    border-bottom: 1px solid var(--cream-dark);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.activities ul li:hover {
    padding-left: 12px;
}

.activities ul li:last-child {
    border-bottom: none;
}

.activities ul li i {
    color: var(--gold-dark);
    margin-top: 4px;
    font-size: 1.1rem;
}

.activities ul li strong {
    color: var(--primary);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 0;
    background: var(--primary-dark);
    position: relative;
    color: #000000;
}

.contact .section-title {
    color: #000000;
}

.contact-info h4 {
    color: var(--gold-dark);
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.6);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold-dark);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-item a,
.contact-item p {
    color: #000000;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: white;
    border: 2px solid rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-md);
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.footer {
    background: #000000;
    padding: 40px 0;
    text-align: center;
    position: relative;
    color: #FFFFFF;
}

.footer p {
    color: #FFFFFF;
    font-size: 0.95rem;
}

.footer-domain {
    color: var(--gold);
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .hero::after {
        width: 100%;
        clip-path: none;
        opacity: 0.9;
    }

    .hero-avatar img {
        max-width: 280px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .education-grid,
    .cert-grid,
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid var(--gold);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-avatar {
        margin-bottom: 20px;
    }

    .hero-avatar img {
        max-width: 320px;
    }

    .section-title {
        font-size: 2rem;
    }

    .education-grid,
    .cert-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-marker {
        left: -1px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .contact-form {
        padding: 32px;
    }

    .activities {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-avatar img {
        max-width: 280px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .timeline-content {
        padding: 24px;
    }

    .education-card,
    .research-card {
        padding: 28px 20px;
    }
}

/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switch-item {
    display: flex;
    align-items: center;
}

.btn-lang {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-lang:hover {
    background: var(--gold);
    color: white;
}

/* ==================== RTL SUPPORT ==================== */
[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] body {
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] .logo {
    font-family: 'Almarai', sans-serif;
}

[dir="rtl"] .hero-title {
    font-family: 'Amiri', serif;
    font-size: 5.5rem;
    font-weight: 700;
}

[dir="rtl"] .hero-description {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    font-style: normal;
}

[dir="rtl"] .hero-location i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .about-card::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .info-item i {
    margin-right: 0;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .timeline-item {
    padding-left: 0;
    padding-right: 48px;
}

[dir="rtl"] .timeline-marker {
    left: auto;
    right: -7px;
}

[dir="rtl"] .timeline-content ul li {
    padding-left: 0;
    padding-right: 24px;
}

[dir="rtl"] .timeline-content ul li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .activities ul li i {
    margin-right: 0;
}

@media (max-width: 768px) {
    [dir="rtl"] .timeline::before {
        right: 6px;
        left: auto;
    }
    [dir="rtl"] .timeline-marker {
        right: -1px;
        left: auto;
    }
    [dir="rtl"] .timeline-item {
        padding-right: 40px;
        padding-left: 0;
    }
}
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
