:root {
    --primary-color: #33CC99;
    --secondary-color: #2BB88A;
    --accent-color: #4DD4A8;
    --text-primary: #CCCCCC;
    --text-secondary: #CCCCCC;
    --text-light: #AAAAAA;
    --bg-primary: #1A1A1A;
    --bg-secondary: #1A1A1A;
    --bg-accent: #2A2A2A;
    --border-color: #CCCCCC;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.6);
}

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

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

/* Navigation styles removed - using hero navigation instead */

/* Hero Section */
.hero {
    background: var(--bg-primary);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-name {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 2px;
}

.hero-skills {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.hero-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 204, 153, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-nav a:hover::before {
    left: 100%;
}

.hero-nav a:hover {
    color: var(--secondary-color);
    background: rgba(51, 204, 153, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(51, 204, 153, 0.2);
}

.nav-separator {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Resume Download Button */
.resume-download {
    margin-top: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 3rem;
}

.resume-download::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: fadeInLine 1s ease-in-out 0.5s both;
}

@keyframes fadeInLine {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 200px;
    }
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(51, 204, 153, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.download-btn i {
    font-size: 1.1rem;
}

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

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-primary);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.section.animate-on-scroll.animated::before {
    opacity: 1;
}

/* Color transition effects */
.section:nth-child(2) {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    position: relative;
    margin-top: -50px;
    padding-top: 130px;
    z-index: 2;
}

.section:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: -1;
}

.section:nth-child(3) {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
}

.section:nth-child(4) {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
}

.section:nth-child(5) {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section:nth-child(6) {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
}

.section:nth-child(7) {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
}

.section:nth-child(8) {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section:nth-child(even) {
    background-color: var(--bg-primary);
}

/* Color transition effects */
.section.color-transition {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.color-transition .section-title {
    transition: color 0.6s ease;
}

.section.color-transition .card {
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.section.color-transition .experience-item {
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.section.color-transition .education-item {
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.section.color-transition .certification-card {
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.section.color-transition .contact-form {
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title:hover {
    color: var(--primary-color);
    transform: scale(1.02);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Cards */
.card {
    background: var(--bg-accent);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

/* Professional Summary Card Special Styling */
#about .card {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(51, 204, 153, 0.1);
    position: relative;
    overflow: hidden;
}

#about .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

#about .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(51, 204, 153, 0.2);
    border-color: var(--accent-color);
}

/* Skills Card Special Styling */
#skills .card {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(51, 204, 153, 0.1);
    position: relative;
    overflow: hidden;
}

#skills .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

#skills .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(51, 204, 153, 0.2);
    border-color: var(--accent-color);
}

#skills .card ul li {
    position: relative;
    padding-left: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

#skills .card ul li strong {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Education Card Special Styling */
#education .card {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(51, 204, 153, 0.1);
    position: relative;
    overflow: hidden;
}

#education .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

#education .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(51, 204, 153, 0.2);
    border-color: var(--accent-color);
}

#education .card ul li {
    position: relative;
    padding-left: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

#education .card ul li strong {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

#education .card ul li span {
    display: block;
    margin-bottom: 0.2rem;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skills */
.skills-separator {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0 2rem 0;
}

.skills-list {
    max-width: 800px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: 2rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.category-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: block;
}

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

.skill-item {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 400;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

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

.skill-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(51, 204, 153, 0.3);
}

/* Experience */
.experience-item {
    margin-bottom: 3rem;
    padding: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.date {
    background: var(--bg-accent);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

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

.experience-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.education-item {
    background: var(--bg-accent);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.education-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.education-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Contact Actions */
.contact-actions {
    text-align: center;
    margin-bottom: 2rem;
}

/* Section Separator */
.section-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem 0 2rem;
    border-radius: 1px;
}

.section-content {
    color: var(--text-primary);
    line-height: 1.6;
}

.section-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Projects Section Styles */
.projects-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem 0 2rem;
    border-radius: 1px;
}

.projects-list {
    text-align: center;
}

.project-item {
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
}

.project-name {
    font-weight: bold;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-stack {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Contact Section Styles */
.contact-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem 0 2rem;
    border-radius: 1px;
}

.contact-details {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.contact-label {
    color: var(--text-light);
    margin-right: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
}

.copyright p {
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-accent);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    position: relative;
}

.form-group label::after {
    content: '*';
    color: var(--primary-color);
    margin-left: 0.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-accent);
    color: var(--text-primary);
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group:focus-within label {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.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(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.btn:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

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

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for different elements */
.section-title.animate-on-scroll {
    transition-delay: 0.1s;
}

.card.animate-on-scroll {
    transition-delay: 0.2s;
}

.experience-item.animate-on-scroll {
    transition-delay: 0.3s;
}

.skill-category.animate-on-scroll {
    transition-delay: 0.2s;
}

.certification-card.animate-on-scroll {
    transition-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-skills {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-nav a {
        font-size: 1rem;
    }

    .skill-items {
        gap: 0.3rem;
    }

    .skill-item {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .card,
    .experience-item,
    .education-item {
        padding: 1.5rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success/Error messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Certifications */
.certifications-list {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-image {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    margin-bottom: 1rem;
}

/* AWS Badge specific styling to remove white background */
.cert-image[alt*="AWS"] {
    background: transparent;
    mix-blend-mode: multiply;
}

/* ISTQB Badge specific styling */
.cert-badge img[alt*="ISTQB"] {
    background: transparent;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.4;
}

/* GitHub Links */
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(99, 102, 241, 0.1);
}

.github-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
}

.github-link i {
    font-size: 1.1rem;
}

/* Ripple animation */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

