html {
    scroll-behavior: smooth;
}

section {
    
    scroll-margin-top: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f1a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}


.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 15% 25%, #3b82f615 0%, transparent 45%),
                radial-gradient(circle at 85% 75%, #10b98110 0%, transparent 45%);
    filter: blur(80px);
}


.glass-container {
    width: 95%;
    max-width: 1150px;
    height: 90vh;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 50px;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}


header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

nav a {
    text-decoration: none;
    color: #94a3b8;
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #10b981;
}

.btn-contact {
    background: #10b981;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 12px;
}


.hero-section {
    display: flex;
    align-items: center; 
    gap: 50px;
    margin-bottom: 80px;
}

.hero-photo {
    flex: 0 0 280px;
}

.photo-frame {
    width: 280px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-3deg);
    transition: 0.4s ease;
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.03);
    border-color: #10b981;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.university-tag {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.introduction {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 15px;
}

.highlight {
    color: #f8fafc;
    border-bottom: 1px solid #10b981;
}

.cta-group {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: #10b981;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary {
    border: 1px solid #334155;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
}


.section-title {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #10b981;
    transform: translateY(-5px);
}

.card-icon { font-size: 1.5rem; margin-bottom: 15px; }

.tags span {
    font-size: 0.7rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 5px;
}


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

#experience {
    margin-top: 60px;
    margin-bottom: 80px;
}

.timeline {
    border-left: 2px solid rgba(16, 185, 129, 0.2);
    margin-left: 10px;
    padding-left: 35px;
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.time-dot {
    position: absolute;
    left: -41px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    z-index: 2;
}

.timeline-content h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.company {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.timeline-content li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
}

.cert-card:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: #10b981;
    transform: scale(1.02);
}

.cert-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 15px;
}

.cert-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cert-info p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.cert-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #10b981;
    font-weight: 700;
}


.skills-glass {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-group h4 {
    color: #10b981;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.skill-group p {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 0.95rem;
}

#skills-languages {
    margin-bottom: 80px;
}

.skills-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}


.skills-grid-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
}

.skill-category:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.02);
}

.skill-category h4 {
    color: #10b981;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.skill-category p {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}


.languages-glass {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.lang-item {
    margin-bottom: 25px;
}

.lang-name {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

.lang-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 5px;
    overflow: hidden;
}

.lang-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 10px;
}

.lang-desc {
    font-size: 0.75rem;
    color: #64748b;
}


@media (max-width: 900px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}

.project-link {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.project-link:hover {
    color: #10b981; 
}


.btn-view {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 5px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-view:hover {
    background: #10b981;
    color: #fff;
}

#projects {
    padding: 60px 0; 
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Increased spacing between cards */
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px; 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; 
}

.card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #10b981;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.project-link {
    text-decoration: none;
    color: #ffffff; 
    font-weight: 800;
    display: inline-block;
    width: 100%;
    transition: color 0.3s ease;
}

.card h3 {
    margin-bottom: 15px;
    line-height: 1.3;
}

.card h3:hover .project-link {
    color: #10b981;
}

.card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}


.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto; 
}

.tags span {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
