
:root {
    --primary: #6e45e2;
    --secondary: #88d3ce;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f8f9fa;
    --gray: #2d2d2d;
    --gray-light: #3d3d3d;
    --highlight: #ff6b6b;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--highlight);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--highlight);
}

/* Layout */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-section {
    background-color: var(--darker);
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--highlight));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Glass Effect */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    color: white;
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 69, 226, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.btn-outline:hover {
    background: var(--light);
    color: var(--dark);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.neon-btn {
    position: relative;
    overflow: hidden;
}

.neon-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.3s;
}

.neon-btn:hover::after {
    left: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.logo span {
    color: var(--highlight);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--highlight);
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger .bar {
    width: 100%;
    height: 2px;
    background: var(--light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
    font-weight: 400;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid var(--glass);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    opacity: 0.5;
    filter: blur(30px);
    animation: glow-pulse 4s infinite alternate;
}

.tech-icons {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.tech-icons i {
    font-size: 2rem;
    background: var(--gray);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--highlight);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light);
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 1;
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down span {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--light);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

/* Skills Section */

.skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Reduced from 200px */
    gap: 15px; /* Reduced from 20px */
}
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-card {
    background: rgba(255, 107, 157, 0.08);
    padding: 15px; /* Decreased padding to make cards shorter and thinner */
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 157, 0.15);
}

.skill-card {
    background: var(--gray);
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    min-height: 120px;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.2);
    border-color: var(--highlight);
}

.skill-icon {
    font-size: 1.5rem; /* Reduced icon size */
    color: var(--highlight);
    margin-bottom: 10px; /* Reduced margin below icon */
}

.skill-card h3 {
    margin-bottom: 10px; /* Reduced margin below heading */
    font-size: 1rem; /* Reduced font size for heading */
    color: var(--light);
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-light);
    border-radius: 3px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--highlight));
    border-radius: 3px;
    transition: width 1s ease;
}

.skills-category {
    background: rgba(255, 107, 157, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 157, 0.1);
}
.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 107, 157, 0.2);
}

.category-icon {
    font-size: 1.8rem;
    color: var(--highlight);
}

.category-title {
    font-size: 1.5rem;
    color: var(--light);
    margin: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: white;
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.project-content p {
    margin-bottom: 15px;
    opacity: 0.8;
    flex: 1;
}

.project-features {
    margin-bottom: 20px;
}

.project-features ul {
    list-style: none;
}

.project-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.project-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--highlight);
}

.project-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.coming-soon {
    position: relative;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.coming-soon-overlay i {
    font-size: 3rem;
    margin-top: 20px;
    color: var(--highlight);
}

/* Hackathon Section */
.hackathon-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hackathon-text {
    flex: 1;
}

.hackathon-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--highlight);
}

.hackathon-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hackathon-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--gray);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--highlight);
    margin-bottom: 15px;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.hackathon-cta {
    background: var(--gray);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 1px solid var(--gray-light);
}

.hackathon-cta h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.hackathon-cta p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.hackathon-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.code-terminal {
    width: 100%;
    max-width: 500px;
    background: var(--darker);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gray-light);
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--gray);
    border-bottom: 1px solid var(--gray-light);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-buttons .red {
    background: #ff5f56;
}

.terminal-buttons .yellow {
    background: #ffbd2e;
}

.terminal-buttons .green {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    color: var(--light);
    opacity: 0.7;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 200px;
}

.terminal-line {
    margin-bottom: 10px;
    color: var(--light);
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.blink {
    animation: blink 1s infinite;
}

/* Certifications Section */
/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.certification-card {
    background: rgba(255, 105, 180, 0.1); /* Pinkish, semi-transparent background */
    backdrop-filter: blur(10px); /* Glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 105, 180, 0.3); /* Lighter pink border */
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3); /* Pink shadow on hover */
    border-color: #ff69b4; /* Solid pink border on hover */
}

.certification-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.certification-content {
    flex: 1;
}

.certification-content h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.certification-issuer {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.certification-desc {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--highlight);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--highlight);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text a, .contact-text p {
    color: var(--light);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: var(--highlight);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background: var(--gray);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--gray-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--darker);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(110, 69, 226, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    padding: 50px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-quote {
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--highlight);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--light);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-copyright i {
    color: var(--highlight);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hackathon-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .profile-container {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .projects-grid, .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 70px 20px;
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Even smaller on mobile */
        gap: 10px;
    }
    
    .skill-card {
        padding: 12px;
        min-height: 110px;
    }
}