* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0e27;
    --secondary-color: #1a1f3a;
    --accent-color: #00ff41;
    --accent-secondary: #00d9ff;
    --text-dark: #ecf0f1;
    --text-light: #b0b0b0;
    --bg-light: #0f1419;
    --bg-dark: #050809;
    --border-color: #00ff41;
    --danger-color: #ff0055;
    --success-color: #00ff41;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.navbar {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.35);
    animation: glow-pulse 6s ease-in-out infinite;

}

.logo-bracket {
    color: var(--accent-secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: justify;
}

.location-info {
    text-align: center;
    margin-top: 2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.location-info i {
    margin-right: 0.5rem;
}

/* Skills Section */
.skills-section {
    background: var(--bg-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(15, 20, 25, 0.8);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    border: 2px solid rgba(0, 255, 65, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    border-color: var(--accent-color);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.skill-category li::before {
    content: '✓ ';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Experience Section */
.experience-section {
    background: var(--bg-dark);
}

.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-secondary);
    border: 2px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.experience-item:hover {
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    border-color: var(--accent-secondary);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.experience-header h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.company {
    color: var(--accent-secondary);
    font-weight: 600;
}

.date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: block;
}

.experience-details {
    list-style: none;
    margin-top: 1rem;
}

.experience-details li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.experience-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Projects Section */
.projects-section {
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
    border: 2px solid rgba(0, 255, 65, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.3);
    border-color: var(--accent-color);
}

.project-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.project-features {
    list-style: none;
}

.project-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
}

.project-features li::before {
    content: '▶ ';
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Certifications Section */
.certifications-section {
    background: var(--bg-dark);
}

.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 217, 255, 0.2);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    border-color: var(--accent-secondary);
}

.cert-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Achievements Section */
.achievements-section {
    background: var(--bg-dark);
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.achievement-item {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    border: 2px solid rgba(0, 255, 65, 0.2);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(5px);
}

.achievement-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    vertical-align: middle;
}

.achievement-item p {
    color: var(--text-light);
    display: inline;
}

/* Education Section */
.education-section {
    background: var(--bg-dark);
}

.education-item {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    border-left: 4px solid var(--accent-secondary);
    border: 2px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.education-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.institution {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.duration {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: #050809;
    border-top: 2px solid rgba(0, 255, 65, 0.3);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .experience-header {
        flex-direction: column;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-content p {
        text-align: left;
    }
}



/* Animations */
@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 4px rgba(0, 255, 65, 0.22);
    }
    50% {
        text-shadow: 0 0 6px rgba(0, 255, 65, 0.28);
    }
}




@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(26, 31, 58, 0.9);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    animation: slideInUp 0.6s ease-out;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    border-color: var(--accent-secondary);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.25);
}


.stat-plus {
    color: var(--accent-secondary);
    font-size: 2rem;
}

.stat-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTF & Bug Bounty Section */
.ctf-section {
    background: var(--bg-dark);
}

.ctf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ctf-card {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-secondary);
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.ctf-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.4);
    border-color: var(--accent-color);
}

.ctf-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.ctf-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.ctf-card ul {
    list-style: none;
}

.ctf-card li {
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
    font-size: 0.95rem;
}

.ctf-card li:last-child {
    border-bottom: none;
}

.ctf-card strong {
    color: var(--accent-color);
}

/* Skill Proficiency Section */
.skill-level-section {
    background: var(--bg-dark);
}

.skill-proficiency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.proficiency-item {
    background: rgba(26, 31, 58, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid rgba(0, 255, 65, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.proficiency-item:nth-child(1) { animation-delay: 0.1s; }
.proficiency-item:nth-child(2) { animation-delay: 0.2s; }
.proficiency-item:nth-child(3) { animation-delay: 0.3s; }
.proficiency-item:nth-child(4) { animation-delay: 0.4s; }
.proficiency-item:nth-child(5) { animation-delay: 0.5s; }
.proficiency-item:nth-child(6) { animation-delay: 0.6s; }

.proficiency-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.proficiency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.proficiency-header h4 {
    color: var(--accent-color);
    font-size: 1rem;
}

.level-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.expert {
    background: rgba(0, 255, 65, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.level-badge.advanced {
    background: rgba(0, 217, 255, 0.2);
    color: var(--accent-secondary);
    border: 1px solid var(--accent-secondary);
}

.level-badge.intermediate {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.progress-text {
    text-align: right;
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(0, 255, 65, 0.05) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(26, 31, 58, 0.9);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-secondary);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-weight: bold;
}

.testimonial-header {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.stars i {
    color: var(--accent-color);
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    border-top: 2px solid rgba(0, 255, 65, 0.2);
    padding-top: 1rem;
}

.testimonial-author h4 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(0, 217, 255, 0.08) 100%);
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-box {
    background: rgba(26, 31, 58, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    animation: slideInUp 0.6s ease-out backwards;
}

.contact-box:nth-child(1) { animation-delay: 0.1s; }
.contact-box:nth-child(2) { animation-delay: 0.2s; }
.contact-box:nth-child(3) { animation-delay: 0.3s; }
.contact-box:nth-child(4) { animation-delay: 0.4s; }

.contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    border-color: var(--accent-secondary);
}

.contact-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.contact-box h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.contact-box a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    word-break: break-all;
}

.contact-box a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-box {
        padding: 1.5rem 1rem;
    }

    .contact-box i {
        font-size: 2rem;
    }
}
