/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a3e;
    --secondary-color: #252554;
    --accent-color: #c9a961;
    --gold: #c9a961;
    --gold-light: #d4b97a;
    --gold-dark: #a88f4f;
    --navy: #1a1a3e;
    --navy-light: #252554;
    --navy-dark: #0f0f28;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #F5EFE6;
    --bg-white: #ffffff;
    --gray: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.3);
    --a4-width: 210mm;
    --a4-height: 297mm;
}

body {
    font-family: 'Montserrat', Cambria, 'Times New Roman', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e7eb 100%);
    overflow-x: hidden;
}

/* Khmer fonts */
html[lang="km"] body,
html[lang="km"] * {
    font-family: 'Battambang', sans-serif !important;
}

html[lang="km"] h1,
html[lang="km"] h2,
html[lang="km"] h3,
html[lang="km"] .logo {
    font-family: 'Moul', cursive !important;
    font-weight: 400;
}

.container {
    max-width: var(--a4-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow);
}

.header-top {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 62, 0.92), rgba(37, 37, 84, 0.88)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23666" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--gold);
    overflow: hidden;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(201, 169, 97, 0.03) 2px, rgba(201, 169, 97, 0.03) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201, 169, 97, 0.03) 2px, rgba(201, 169, 97, 0.03) 4px);
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

/* Header Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-picture {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 56px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 4px solid var(--gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeScale 1s ease-out 0.3s both;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.5);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 56px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeScale 1s ease-out 0.5s both;
}

.logo-circle:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.4);
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    font-style: normal;
    letter-spacing: 3px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    font-family: Cambria, 'Times New Roman', serif;
}

/* Khmer font for logo title */
html[lang="km"] .logo-title {
    font-family: 'Kantumruy Pro', 'Khmer OS Kuntumruy', 'Battambang', sans-serif;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Header Services */
.header-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item i {
    color: var(--red-color);
    font-size: 8px;
}

.service-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.service-en {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.service-zh {
    font-size: 12px;
    color: #666;
}

/* Header Right */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    position: relative;
}

.header-title-km {
    font-size: 42px;
    color: white;
    font-weight: 700;
    font-family: 'Battambang', sans-serif;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: fadeUp 1s ease-out 0.3s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-title-zh {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}

.flag-text {
    color: var(--red-color);
    font-weight: 700;
    font-style: italic;
}

.legal-services-badge {
    position: absolute;
    right: -80px;
    top: -10px;
    background: linear-gradient(135deg, #1a5490 0%, #2d6db5 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.legal-services-badge i {
    font-size: 40px;
}

.legal-services-badge span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
}

/* Navigation */
.navbar {
    background: var(--navy);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.6s ease-out 1s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-menu > li {
    position: relative;
    flex-shrink: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 15px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--gold);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 80%;
}

/* Dropdown Menu */
.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy-light);
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 9px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
    display: inline-block;
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInDown 0.3s ease forwards;
}

.dropdown:hover .dropdown-menu li:nth-child(1) { animation-delay: 0.05s; }
.dropdown:hover .dropdown-menu li:nth-child(2) { animation-delay: 0.1s; }
.dropdown:hover .dropdown-menu li:nth-child(3) { animation-delay: 0.15s; }
.dropdown:hover .dropdown-menu li:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    border-bottom: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: var(--navy-dark);
    padding-left: 25px;
    color: var(--gold-light);
    border-left: 3px solid var(--gold);
}

/* Language Switcher in Nav */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    gap: 8px;
    animation: fadeSlideIn 0.8s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lang-btn {
    padding: 0;
    border: 2px solid var(--gold);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lang-btn:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.lang-btn.active {
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.5);
    transform: scale(1.1);
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e7eb 100%);
    padding: 60px 20px;
}

.hero .container {
    max-width: 1400px;
    background: white;
    padding: 80px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* About Section */
.about {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e7eb 100%);
}

.about .container {
    max-width: 1400px;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 3rem;
    font-weight: 700;
}

.about-content {
    display: block;
    width: 100%;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-image i {
    font-size: 200px;
    color: var(--primary-color);
    opacity: 0.8;
}

/* CV Upload Section */
.cv-upload-container {
    margin-top: 30px;
}

.cv-upload-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--gold-light));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.cv-upload-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.cv-upload-btn i {
    font-size: 1.2rem;
}

.cv-preview {
    margin-top: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeIn 0.3s ease;
}

.cv-preview i {
    font-size: 2rem;
    color: var(--accent-color);
}

.cv-preview span {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.cv-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv-remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cv-download-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 26, 62, 0.3);
}

.cv-download-btn:hover {
    background: linear-gradient(135deg, var(--navy-light), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 62, 0.4);
}

.cv-download-btn i {
    font-size: 1.2rem;
}

/* CV Container Styles */
.cv-container {
    max-width: 210mm; /* A4 width */
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media print {
    .cv-container {
        max-width: 210mm;
        min-height: 297mm; /* A4 height */
        margin: 0;
        padding: 20mm;
        box-shadow: none;
        border-radius: 0;
    }
}

.cv-header-new {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a3e 0%, #2c2c5e 100%);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cv-header-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cv-photo-circle {
    width: 160px;
    height: 200px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a961 0%, #b89450 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.cv-photo-circle i {
    font-size: 80px;
    color: white;
}

.cv-header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.cv-main-name {
    font-size: 2.8em;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cv-position {
    font-size: 1.3em;
    color: #c9a961;
    margin-bottom: 20px;
    font-weight: 500;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.cv-contact-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1em;
    color: rgba(255,255,255,0.95);
}

.contact-item i {
    width: 20px;
    color: #c9a961;
    font-size: 1.1em;
}

.contact-item span {
    font-weight: 400;
}

.cv-section {
    margin-bottom: 35px;
}

.cv-section-title {
    color: #1a1a3e;
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c9a961;
    font-weight: 600;
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.cv-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.cv-item.full-width {
    grid-column: 1 / -1;
}

.cv-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #c9a961;
}

.cv-entry {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
}

.cv-entry::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #c9a961;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #c9a961;
}

.cv-entry.highlight::before {
    background: #1a1a3e;
    box-shadow: 0 0 0 2px #1a1a3e;
}

.cv-year {
    display: inline-block;
    background: linear-gradient(135deg, #c9a961, #b89450);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 8px;
}

.cv-details {
    margin-top: 8px;
}

.cv-details strong {
    color: #1a1a3e;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.cv-details p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cv-list .cv-entry {
    padding-left: 0;
    margin-bottom: 20px;
}

.cv-list .cv-entry::before {
    display: none;
}

.cv-list .cv-entry p {
    color: #666;
    line-height: 1.6;
    margin-top: 5px;
}

.cv-referee {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #c9a961;
}

.cv-referee p {
    margin: 8px 0;
    line-height: 1.6;
}

.cv-referee i {
    color: #c9a961;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .cv-container {
        padding: 25px 15px;
    }
    
    .cv-name {
        font-size: 1.8em;
    }
    
    .cv-table {
        font-size: 0.9em;
    }
    
    .cv-table th,
    .cv-table td {
        padding: 8px;
    }
}

/* CV Table Styles */
.cv-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
}

.cv-table thead {
    background: linear-gradient(135deg, #1a1a3e, #252554);
    color: white;
}

.cv-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.cv-table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    vertical-align: top;
    line-height: 1.6;
}

.cv-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.cv-table tbody tr:hover {
    background: #fff8e7;
}

.cv-table .cv-label {
    font-weight: 600;
    color: #1a1a3e;
    width: 150px;
    background: #f8f9fa;
}

.cv-table .highlight-row {
    background: #fff8e7;
    border-left: 4px solid #c9a961;
}

.cv-table .highlight-row td {
    font-weight: 500;
}

@media (max-width: 768px) {
    .cv-container {
        padding: 25px 15px;
    }
    
    .cv-header-new {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .cv-photo-circle {
        width: 130px;
        height: 130px;
    }
    
    .cv-photo-circle i {
        font-size: 55px;
    }
    
    .cv-header-right {
        text-align: center;
        align-items: center;
    }
    
    .cv-main-name {
        font-size: 1.8em;
    }
    
    .cv-position {
        font-size: 1.1em;
    }
    
    .contact-item {
        justify-content: center;
        font-size: 0.9em;
    }
    
    .cv-table {
        font-size: 0.85em;
    }
    
    .cv-table th,
    .cv-table td {
        padding: 6px 8px;
    }
    
    .cv-table .cv-label {
        width: 100px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CV Document Viewer */
.cv-document-viewer {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.cv-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px 12px 0 0;
}

.cv-viewer-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.cv-viewer-container {
    background: white;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cv-pages-container {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cv-page {
    background: white;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    animation: fadeIn 0.5s ease;
}

.cv-page:last-child {
    margin-bottom: 0;
}

.cv-page canvas {
    display: block;
    width: 100%;
    height: auto;
}

.cv-viewer-container iframe {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

.cv-upload-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--gold-light));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.cv-upload-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.cv-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cv-remove-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.credentials {
    display: flex;
    gap: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e7eb 100%);
}

.services .container {
    max-width: 1400px;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gray);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.25);
    border-color: var(--gold);
}

.service-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--gold-light);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--navy);
    font-weight: 600;
}

.service-card p {
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e7eb 100%);
}

.contact .container {
    max-width: 1400px;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
    border-color: var(--gold);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-top: 5px;
    min-width: 40px;
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid rgba(201, 169, 97, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
    background: white;
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 60px;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .nav-bar {
        position: relative;
        top: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .credentials {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .about-image i {
        font-size: 120px;
    }
}
