/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility improvements */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        color: #000;
        background-color: #fff;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #000;
        background-color: #fff;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-logo a:hover {
    color: #1d4ed8;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo a:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

.hamburger:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    background: #f8fafc;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #333;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #1f2937;
}

.highlight {
    color: #2563eb;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #6b7280;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4b5563;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-github {
    background-color: #24292e;
    color: white;
    border-color: #24292e;
}

.btn-github:hover {
    background-color: #1a1e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 41, 46, 0.3);
}

.btn-resume {
    background-color: #059669;
    color: white;
    border-color: #059669;
}

.btn-resume:hover {
    background-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(37, 99, 235, 0.2);
}

.scroll-indicator {
    display: none;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
    position: relative;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: #f8fafc;
    padding-top: 3rem !important;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    text-indent: 2rem;
}

.about-text p:first-child::first-letter {
    font-size: 3rem;
    font-weight: bold;
    color: #2563eb;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.about-stats {
    display: none;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-3px);
}

.stat h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

.about-details h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-details ul {
    list-style: none;
}

.about-details li {
    padding: 0.5rem 0;
    color: #4b5563;
    display: flex;
    align-items: center;
}

.about-details li i {
    margin-right: 0.75rem;
    color: #2563eb;
    width: 16px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.skill-category h3 {
    margin-bottom: 2.5rem;
    color: #1f2937;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    text-align: center;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 2px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    color: #0277bd;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(2, 119, 189, 0.2);
    position: relative;
    overflow: hidden;
}

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

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    border-color: #2563eb;
}

/* Services Section */
.services {
    background-color: #ffffff;
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.service-card h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card > p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    color: #6b7280;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Community Work Section */
.community {
    background-color: #f8fafc;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.community-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #2563eb;
}

.community-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.community-item h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.community-item .organization {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.community-item .date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.community-item p {
    color: #4b5563;
    line-height: 1.6;
}

/* Certificates Section */
.certificates {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.certificates .section-title {
    color: white;
}

.certificates .section-title::after {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
}

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

.certificate-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.certificate-item h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.certificate-item .issuer {
    color: #93c5fd;
    font-weight: 500;
    margin-bottom: 1rem;
}

.certificate-embed {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.certificate-embed iframe {
    border-radius: 10px;
}

/* Experience Section */
.experience {
    background-color: #f8fafc;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    background: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.timeline-marker {
    display: none;
}

.timeline::after {
    display: none;
}

.timeline-content {
    position: relative;
}

.timeline-content:hover {
    transform: none;
}

.timeline-content h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-company {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.timeline-content li {
    padding: 0.25rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '•';
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Education Section */
.education-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-icon {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 2rem;
    color: white;
}

.education-content h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-school {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-date {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.coursework h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-tag {
    background: #e0f2fe;
    color: #0277bd;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-details {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: left;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    margin-right: 1rem;
    width: 20px;
    color: #60a5fa;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #60a5fa;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-form {
    display: none;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: all 0.4s ease-in-out;
        z-index: 1000;
        backdrop-filter: blur(20px);
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 0.75rem 2rem;
        display: block;
        margin: 0.25rem 0;
        font-size: 1.3rem;
        font-weight: 600;
        color: #1f2937;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover {
        transform: translateY(-3px);
        color: #2563eb;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #2563eb;
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 80%;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-marker {
        left: 21px !important;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .contact-details p {
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .footer-social {
        justify-content: center;
        order: -1;
        gap: 0.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* iPad/Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .about {
        padding-top: 0.5rem !important;
        margin-top: -2rem !important;
    }
    
    .section-title {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .image-placeholder i {
        font-size: 5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline::after {
        left: 21px;
    }
    
    .timeline-marker {
        left: 11px !important;
        width: 16px;
        height: 16px;
    }
    
    .footer-main {
        gap: 1.5rem;
    }
    
    .footer-contact h4 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.65rem;
    }
}

/* Skills Section within About */
.skills-section {
    margin-top: 3rem;
}

.skills-title {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.skills-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 2px;
}

/* Experience Accordion */
.experience-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.experience-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.experience-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.experience-header:hover {
    background-color: #f8fafc;
}

.experience-title-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.experience-company {
    color: #2563eb;
    font-weight: 600;
    margin: 0;
}

.experience-toggle i {
    color: #6b7280;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.experience-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.experience-details {
    padding: 0 2rem 2rem 2rem;
}

.experience-location {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
}

.experience-details ul {
    list-style: none;
    padding: 0;
}

.experience-details li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.experience-details li::before {
    content: '•';
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Improved Certificates Section */
.certificates {
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    color: #1f2937;
}

.certificates .section-title {
    color: #1f2937;
}

.certificates .section-title::after {
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.certificates-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
    font-style: italic;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.certificate-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.certificate-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.certificate-issuer {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.certificate-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.certificate-description {
    padding: 0 2rem;
    color: #4b5563;
    line-height: 1.6;
}

.certificate-actions {
    padding: 1.5rem 2rem;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.certificate-link:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

.certificate-embed, .certificate-badge {
    padding: 1rem 2rem 2rem 2rem;
    text-align: center;
}

.certificate-embed iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 3rem 0 1.5rem 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 50%;
    color: #60a5fa;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(96, 165, 250, 0.2);
}

.footer-social a:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-3px);
    border-color: #60a5fa;
}

.footer-contact {
    text-align: left;
}

.footer-contact h4 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-details p {
    color: #d1d5db;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
}

.contact-details i {
    color: #60a5fa;
    width: 18px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0;
    line-height: 1.6;
}

.footer-copyright i {
    color: #ef4444;
    margin: 0 0.25rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* Timeline Positions within Experience */
.timeline-position {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.timeline-position:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.position-header h4 {
    color: #1f2937;
    font-size: 1.1rem;
    margin: 0;
}

.position-duration {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.position-description {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Promotion Timeline */
.promotion-timeline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.promotion-date {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    border-left: 3px solid #2563eb;
}

/* Remove badge tooltips */
.badge-item::after {
    display: none;
}

/* Badges Section */
.badges-section {
    padding: 2rem 0;
    background: #f8fafc;
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-item {
    position: relative;
    transition: all 0.3s ease;
    background: transparent !important;
}

.badge-item:hover {
    transform: translateY(-5px);
    background: transparent !important;
}

.badge-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: transparent !important;
    border: none !important;
    box-shadow: none;
}

.badge-item:hover .badge-icon {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: transparent !important;
}

.badge-item a {
    background: transparent !important;
    border: none !important;
    display: block;
}

/* Tooltip for badges */
.badge-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 200px;
    white-space: normal;
    text-align: center;
}

.badge-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .badges-container {
        gap: 1rem;
    }
    
    .badge-icon {
        width: 60px;
        height: 60px;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}