/* ===== VARIABLES ===== */
:root {
    --first-color: #3b82f6;
    --first-color-light: #60a5fa;
    --first-color-dark: #1d4ed8;
    --second-color: #8b5cf6;
    --second-color-light: #a78bfa;
    --second-color-dark: #6d28d9;
    --accent-color: #10b981;
    --accent-color-light: #34d399;
    --text-color: #1f2937;
    --text-color-light: #6b7280;
    --body-color: #ffffff;
    --body-color-alt: #f8fafc;
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-dark: rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--first-color), var(--second-color));
    --gradient-secondary: linear-gradient(135deg, var(--second-color), var(--first-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--first-color));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 120px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px var(--shadow-color-dark);
}

.blue-btn {
    background: var(--gradient-primary);
    color: white;
}

.blue-btn:hover {
    background: var(--gradient-secondary);
}

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

.outline-btn:hover {
    background: var(--first-color);
    color: white;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-link:hover::before {
    left: 100%;
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px var(--shadow-color-dark);
}

/* ===== NAVIGATION ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 6rem;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px var(--shadow-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 120px;
}

.nav-logo .nav-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav_menu_list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav_list {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--first-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--first-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.nav_list:hover .circle {
    width: 40px;
    height: 40px;
    opacity: 0.1;
}

.nav-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
    background: none;
    border: none;
    padding: 0.5rem;
    transition: var(--transition);
}

.nav-menu-btn:hover {
    color: var(--first-color);
}

.nav-button {
    margin-left: 2rem;
}

.nav-button .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* ===== HERO SECTION ===== */
.featured-box {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.featured-text-card {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.featured-name {
    margin-bottom: 1.5rem;
}

.featured-name p {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-text-info {
    margin-bottom: 2rem;
}

.featured-text-info h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.typing-text {
    color: var(--first-color);
}

.featured-text-btn {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social_icons {
    display: flex;
    gap: 1rem;
}

.icon {
    width: 50px;
    height: 50px;
    background: var(--body-color-alt);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.icon a {
    color: inherit;
    text-decoration: none;
    font-size: 1.2rem;
}

.featured-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image .image {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    /* Removed animation to make it static */
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.floating-card {
    position: absolute;
    top: 20px;
    right: -20px;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideInRight 1s ease 0.5s both;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-text h4 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.card-text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-color-light);
}

.scroll-icon-box {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-light);
    text-decoration: none;
    transition: var(--transition);
}

.scroll-btn:hover {
    color: var(--first-color);
}

/* ===== SECTIONS ===== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--body-color-alt);
}

.top-header {
    text-align: center;
    margin-bottom: 4rem;
}

.top-header h1 {
    margin-bottom: 0.5rem;
}

.top-header span {
    color: var(--text-color-light);
    font-size: 1.1rem;
}

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

/* ===== ABOUT SECTION ===== */
.about-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);

}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--body-color-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--first-color);
    margin: 0;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.skills-category {
    background: var(--body-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
}

.skills-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px var(--shadow-color-dark);
}

.skills-header {
    margin-bottom: 1.5rem;
}

.skills-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.skills-header h3 i {
    color: var(--first-color);
    font-size: 1.5rem;
}

.skills-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    width: 100%;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: var(--body-color-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px var(--shadow-color-dark);
    border-color: var(--first-color-light);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.skill-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--body-color);
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: var(--transition);
}

.skill-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px var(--shadow-color-dark);
}

.skill-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    line-height: 1.2;
}

/* ===== EDUCATION TIMELINE ===== */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    animation: fadeInUp 0.8s ease;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: 6rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 6rem;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    margin-top: -30px;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 30px var(--shadow-color-dark);
    z-index: 3;
    border: 5px solid white;
    transition: var(--transition);
}

.timeline-icon:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px var(--shadow-color-dark);
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    margin: 0 5rem;
    flex: 1;
    position: relative;
    transition: var(--transition);
    max-width: 700px;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 5rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5rem;
    margin-right: 0;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
    border-left-color: white;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
    border-right-color: white;
    transform: translateY(-50%);
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px var(--shadow-color-dark);
    border-color: var(--first-color-light);
}

.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-content h4 {
    color: var(--first-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 30px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content p {
    color: var(--text-color-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

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

.timeline-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.timeline-content ul li:last-child {
    margin-bottom: 0;
}

.timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--first-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline-content ul li p {
    margin: 0;
    color: var(--text-color-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== PROJECTS SECTION ===== */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-box {
    background: var(--body-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.project-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px var(--shadow-color-dark);
    border-color: var(--first-color-light);
}

.project-box.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--body-color) 0%, rgba(59, 130, 246, 0.02) 100%);
    border: 2px solid var(--first-color-light);
}

.project-box.featured .project-image {
    height: 300px;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--first-color-light), var(--second-color-light));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-box:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-color-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-features span {
    background: linear-gradient(135deg, var(--accent-color-light), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: var(--body-color-alt);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== CERTIFICATES SECTION ===== */
.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.certificate-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color-dark);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.certificate-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.certificate-content p {
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.certificate-link {
    color: var(--first-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.certificate-link:hover {
    color: var(--first-color-dark);
    transform: translateX(5px);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--body-color-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-color-light);
}

.contact-cta {
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-cta p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* ===== FOOTER ===== */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.bottom-footer p {
    margin: 0;
    color: #9ca3af;
}

.bottom-footer a {
    color: var(--first-color);
    text-decoration: none;
    transition: var(--transition);
}

.bottom-footer a:hover {
    color: var(--first-color-light);
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 80px;
    }
    
    nav {
        padding: 0 80px;
    }
    
    .nav_menu_list {
        gap: 2rem;
    }
    
    .timeline-container {
        max-width: 1000px;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: 5rem;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 5rem;
    }
    
    .timeline-content {
        padding: 2rem;
        margin: 0 4rem;
        max-width: 600px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: 4rem;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 4rem;
        margin-right: 0;
    }
    
    .timeline-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.125rem;
    }
    
    .featured-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-top: 80px;
    }
    
    .featured-image .image {
        width: 300px;
        height: 300px;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-box.featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 60px;
    }
    
    nav {
        padding: 0 60px;
    }
    
    .nav-logo .nav-name {
        font-size: 1.5rem;
        margin-left: 10px;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-color);
        padding: 2rem;
        transform: translateY(-100%);
        transition: var(--transition);
        box-shadow: 0 10px 30px var(--shadow-color);
        flex: none;
        justify-content: flex-start;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav_menu_list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .nav-menu-btn {
        display: block;
    }
    
    .nav-button {
        margin-right: 0;
        margin-left: 0;
    }
    
    .nav-button .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 5rem !important;
        padding-right: 0 !important;
        margin-bottom: 3rem;
    }
    
    .timeline-icon {
        left: 30px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 2rem;
        margin-right: 0;
        max-width: none;
        padding: 2rem;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-content h3 {
        font-size: 1.4rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-date {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
    
    .featured-box {
        margin-top: 80px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .featured-name p {
        font-size: 2.5rem;
    }
    
    .featured-text-btn {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .project-container {
        grid-template-columns: 1fr;
    }
    
    .certificates-container {
        grid-template-columns: 1fr;
    }
    
    .social_icons {
        justify-content: center;
    }
    
    .contact-info {
        height: auto;
    }

    .skills-cards {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .skill-card {
        padding: 1rem 0.75rem;
    }
    
    .skill-icon {
        width: 40px;
        height: 40px;
    }
    
    .skill-icon img {
        width: 28px;
        height: 28px;
    }
    
    .project-box.featured .project-image {
        height: 200px;
    }
    
    .featured-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 6rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 40px;
    }
    
    nav {
        padding: 0 40px;
    }
    
    .nav-logo .nav-name {
        font-size: 1.25rem;
        margin-left: 5px;
    }
    
    .nav-button .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        padding: 1.5rem;
        max-height: 70vh;
    }
    
    .nav_menu_list {
        gap: 1rem;
    }
    
    .timeline-container {
        padding: 2rem 0;
    }
    
    .timeline-item {
        padding-left: 4rem !important;
        margin-bottom: 2.5rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
        margin-left: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.25rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    .featured-box {
        margin-top: 80px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .featured-name p {
        font-size: 2rem;
    }
    
    .featured-image .image {
        width: 250px;
        height: 250px;
    }
    
    .floating-card {
        position: static;
        margin-top: 1rem;
        animation: none;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .featured-text-btn {
        flex-direction: column;
        align-items: center;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }

    .skills-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skill-card {
        padding: 0.75rem 0.5rem;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--body-color-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--first-color-dark);
} 

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== ENHANCED SECTIONS ===== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.top-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
}

.top-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1; /* Increased opacity */
}

.top-header span {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 500;
    opacity: 0.9; /* Increased opacity */
}

/* ===== ATTRACTIVE BADGE LINK ===== */
.badge-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.badge-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.badge-link:hover::before {
    left: 100%;
}

.badge-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: var(--gradient-secondary);
}

.badge-link i:first-child {
    font-size: 1.25rem;
}

.badge-link span {
    font-weight: 600;
}

.badge-link i:last-child {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.badge-link:hover i:last-child {
    transform: translateX(4px);
}

/* ===== ENHANCED TIMELINE ===== */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.timeline-item:nth-child(odd) {
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 3rem;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px var(--shadow-color-dark);
    z-index: 2;
}

.timeline-content {
    background: var(--body-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-color-dark);
    border-color: var(--first-color-light);
}

.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--first-color);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
}

/* ===== ENHANCED CERTIFICATES ===== */
.certificates-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-box {
    background: var(--body-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.certificate-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.certificate-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-color-dark);
    border-color: var(--first-color-light);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow-color-dark);
}

.certificate-content h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.certificate-content p {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.certificate-link {
    color: var(--first-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.certificate-link:hover {
    color: var(--first-color-dark);
    transform: translateX(4px);
}

/* ===== ENHANCED CONTACT SECTION ===== */
.contact-info {
    background: var(--body-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-color-dark);
    border-color: var(--first-color-light);
}

.contact-info h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-info h2 i {
    color: var(--first-color);
    font-size: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--body-color-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--first-color-light);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-color-light);
    margin: 0;
}

.contact-cta {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-cta p {
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ===== ENHANCED SOCIAL ICONS ===== */
.social_icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.icon:hover::before {
    left: 100%;
}

.icon:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px var(--shadow-color-dark);
}

.icon a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ===== ENHANCED FOOTER ===== */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.bottom-footer p {
    margin: 0;
    font-size: 1rem;
}

.bottom-footer a {
    color: var(--first-color-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.bottom-footer a:hover {
    color: var(--accent-color-light);
} 