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


body {
    font-family: "Roboto", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    font-optical-sizing: auto;
    font-style: normal;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.name-title h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.name-title h2 {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: 500;
}

.contact-info {
    text-align: right;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

section {
    margin-bottom: 30px;
}

h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.skills ul, .certifications ul, .languages ul, .services ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.skills li, .certifications li, .languages li, .services li {
    background: #e1f0fa;
    color: #3498db;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.summary ul, .position ul {
    list-style: none;
}

.summary li, .position li {
    margin-bottom: 8px;
}

.summary strong, .position strong {
    color: #2c3e50;
}

.job {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.job:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.job h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.duration {
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 5px;
}

.location {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.description {
    color: #555;
    margin-top: 10px;
}

.description ul {
    padding-left: 20px;
    margin-top: 10px;
}

.description li {
    margin-bottom: 8px;
}

.education .degree {
    margin-bottom: 20px;
}

.education .degree:last-child {
    margin-bottom: 0;
}

.education h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.education .degree-type {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 5px;
}

.education .duration {
    color: #7f8c8d;
}

li {
    list-style-type: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 15px;
    }
    
    .header {
        flex-direction: column;
    }
    
    .name-title {
        margin-bottom: 20px;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .skills ul, .certifications ul, .languages ul, .services ul {
        flex-direction: column;
    }
    
    .skills li, .certifications li, .languages li, .services li {
        margin-bottom: 8px;
    }
}



/* new  */
/* Umumiy dizayn */
body {
    font-family: 'Roboto', sans-serif;
    background: #f7f9fc;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: slideDown 1s ease-out;
}

.header h1 {
    font-size: 2.2rem;
    margin: 0;
    color: #1a73e8;
    animation: popIn 1.2s ease-out;
}

.header h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
    animation: fadeIn 1.5s ease-in-out;
}

.contact-info {
    margin-top: 15px;
    animation: fadeInUp 1.5s ease-in-out;
}
.contact-info a {
    text-decoration: none;
    color: #1a73e8;
    transition: 0.3s;
}
.contact-info a:hover {
    color: #0c47a1;
}

/* Sections */
section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.5s ease-in-out;
}
section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.15);
}

h3 {
    color: #1a73e8;
    margin-bottom: 10px;
    position: relative;
    animation: slideRight 1s ease-in-out;
}
h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #1a73e8;
    margin-top: 5px;
    animation: grow 1s ease-in-out;
}

/* Lists */
ul li {
    margin: 8px 0;
    animation: fadeIn 1.2s ease-in-out;
}

/* Job cards */
.job {
    margin-bottom: 15px;
    animation: fadeInUp 1.5s ease-in-out;
}
.job h4 {
    color: #0c47a1;
}

/* Keyframes */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}
@keyframes slideDown {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}
@keyframes slideRight {
    from {opacity: 0; transform: translateX(-30px);}
    to {opacity: 1; transform: translateX(0);}
}
@keyframes popIn {
    0% {transform: scale(0.5); opacity: 0;}
    100% {transform: scale(1); opacity: 1;}
}
@keyframes grow {
    from {width: 0;}
    to {width: 50px;}
}


 .wakatime-stats {
  display: flex;
  gap: 1rem; /* orasini ochadi */
  justify-content: center;
  flex-wrap: wrap; /* ekran kichrayganda pastga tushadi */
}

.wakatime-stats a {
  flex: 1 1 30%; /* har biri ~33% joy oladi */
  max-width: 33%;
}

.wakatime-stats img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* xohlasa yumaloqlash */
}

/* Telefon (768px dan kichik ekranlar) */
@media (max-width: 520px) {
  .wakatime-stats a {
    flex: 1 1 100%;  /* endi 1ta butun qatorni egallaydi */
    max-width: 100%;
  }
}


/* ===========================
   DARK MODE STYLES
   =========================== */

/* Global rang o'zgaruvchilar */
:root {
  --color-bg-default: #1E1E1E;
  --color-bg-elevated: #2C2C2C;
  --color-text-primary: #E5E5E5;
  --color-text-secondary: #B3B3B3;
  --color-accent: #8AB4F8;
  --color-accent-hover: #AECBFA;
  --color-border: #3A3A3A;
  --color-shadow: rgba(0, 0, 0, 0.4);
}




