/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f172a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #3b82f6;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #111827 100%);
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #cbd5e1;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #94a3b8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.5rem;
    padding: 12px;
    border-radius: 50%;
    background: rgba(51, 65, 85, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Resume Download Button */
.resume-download {
    margin-top: 2rem;
    animation: fadeInUp 1s ease 1s both;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.resume-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 ease;
}

.resume-btn:hover::before {
    left: 100%;
}

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

.resume-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.resume-btn:hover i {
    transform: rotate(-10deg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #f1f5f9;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #1e293b;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.education, .certifications {
    margin-bottom: 2rem;
}

.education h3, .certifications h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.education-item {
    background: rgba(51, 65, 85, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.education-item h4 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.education-item p {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.education-item span {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Enhanced Certifications Section */
.certifications-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.certification-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.certification-item.featured {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.certification-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* AWS specific styling */
.certification-item.aws-cert {
    background: rgba(255, 153, 0, 0.1) !important;
    border: 2px solid rgba(255, 153, 0, 0.3) !important;
}

.certification-item.aws-cert::before {
    background: linear-gradient(135deg, #ff9900, #ff6600) !important;
}

.cert-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.cert-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cert-info i.fab.fa-aws {
    color: #ff9900;
    font-size: 1.5rem;
}

.cert-info i:not(.fa-aws) {
    color: #3b82f6;
    font-size: 1.5rem;
}

.cert-info h4 {
    color: #3b82f6;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.certification-item.aws-cert .cert-info h4 {
    color: #ff9900;
}

.cert-date {
    color: #94a3b8;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.cert-info p {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0;
}

.cert-actions {
    flex-shrink: 0;
}

.cert-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

/* AWS certificate buttons get orange styling */
.certification-item.aws-cert .cert-verify-btn {
    background: linear-gradient(135deg, #ff9900, #ff6600);
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.cert-verify-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;
}

.cert-verify-btn:hover::before {
    left: 100%;
}

.cert-verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

.certification-item.aws-cert .cert-verify-btn:hover {
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4);
}

.cert-verify-btn i {
    font-size: 0.8rem;
}

/* Standard certification items */
.certification-item:not(.featured) {
    align-items: center;
}

.certification-item:not(.featured) i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 20px;
}

.certification-item:not(.featured) h4 {
    color: #cbd5e1;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.certification-item:not(.featured) .cert-date {
    font-size: 0.8rem;
}

.skills h3 {
    color: #f1f5f9;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-category {
    background: rgba(51, 65, 85, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.skill-category h4 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Experience Section */
.experience {
    background: #0f172a;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 0;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    border: 4px solid #0f172a;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.timeline-content {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.date {
    color: #94a3b8;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.project {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.project h5 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.project ul {
    margin-left: 1rem;
}

.project li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    background: #1e293b;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: #f1f5f9;
    font-size: 1.3rem;
}

.project-link {
    color: #3b82f6;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
}

.project-link:hover {
    color: white;
    background: #3b82f6;
    transform: scale(1.1);
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-card p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech {
    background: rgba(51, 65, 85, 0.5);
    color: #cbd5e1;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.tech:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Contact Section */
.contact {
    background: #0f172a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3, .volunteer-experience h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
}

.contact-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    width: 20px;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3b82f6;
}

.volunteer-experience {
    background: rgba(30, 41, 59, 0.3);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.volunteer-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.volunteer-item h4 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.volunteer-item p {
    color: #94a3b8;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1d4ed8, #7c3aed);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid rgba(51, 65, 85, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        left: 1px;
    }
    
    .cert-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cert-info {
        justify-content: center;
    }
    
    .cert-verify-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .resume-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .cert-verify-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .resume-download {
        margin-top: 1.5rem;
    }
    
    .resume-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* Additional Dark Theme Enhancements */
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Glowing effects for interactive elements */
.btn-primary:hover,
.social-links a:hover,
.project-link:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Subtle animations for cards */
.project-card,
.timeline-content,
.contact-item,
.volunteer-item {
    transition: all 0.3s ease;
}

.project-card:hover,
.timeline-content:hover {
    transform: translateY(-3px);
}
