html {
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-blue: #3b82f6;
    --border-subtle: #222222;
    --border-radius: 8px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-page {
    min-height: 100vh;
    padding-top: 40px;
}

/* Profile Section */
.section-1 {
    display: flex;
    flex-direction: column;
    padding: 60px 0;
}

.container-box-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

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

h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

span {
    color: #37a7f7;
    text-shadow: 0px 0px 15px #0094FD;
    font-weight: 800;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-top: 16px;
}

/* Story Section */
.section-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media screen and (max-width: 769px) {
    .section-2{
        flex-direction: column;
    }
}

.container-box-2 {
    flex: 1;
    max-width: 400px;
    text-align: center;
}


.story-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    transition: left 0.5s ease;
}

.story-card:hover::before {
    left: 100%;
}

.story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.story-card h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 600;
}

.story-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
    background: var(--secondary-bg);
    margin: 80px 0;
}

.skills-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.skills-container h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.skill-card {
    background: var(--primary-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::after {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-card h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), #8b5cf6);
    border-radius: 3px;
    width: 0%;
    transition: width 2s ease;
}

.skill-percentage {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--primary-bg);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-icon {
    color: var(--accent-blue);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

