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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    min-height: 100vh;
    padding-top: 4rem;
}

/* Navigation */
.nav-island {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 25px 25px;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

.nav-island::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0 0 25px 25px;
    padding: 1px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96c93d);
    background-size: 400% 400%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: auto;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.nav-links-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.nav-links li a i {
    font-size: 1rem;
}

.nav-links li a span {
    display: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links li a:hover span {
    display: inline;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
}

.highlight {
    color: #3498db;
    position: relative;
    display: inline-block;
}

.highlight:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: #3498db;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hero:hover .highlight:after {
    transform: scaleX(1);
    transform-origin: left;
}

.subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.subtitle-container:hover {
    transform: scale(1.02);
}

.subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    position: relative;
    transition: all 0.3s ease;
    opacity: 1;
}

.subtitle:hover {
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.subtitle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.subtitle:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Remove cursor */
.cursor {
    display: none;
}

@keyframes typing {
    display: none;
}

@keyframes blink {
    display: none;
}

@keyframes fadeIn {
    display: none;
}

.hero-details {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-details p {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.hero-details p:last-child {
    margin-bottom: 0;
}

.hero-details i {
    color: #3498db;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00ff88;
}

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

.about-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.1);
}

.about-header {
    margin-bottom: 1.5rem;
}

.about-header h3 {
    color: #00ff88;
    font-size: 1.5rem;
    margin: 0;
}

.about-content {
    color: #ccc;
    line-height: 1.6;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-content li:before {
    content: "•";
    color: #00ff88;
    position: absolute;
    left: 0;
}

.about-content strong {
    color: #fff;
}

.intro-card {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .about {
        padding: 2rem 1rem;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 1.5rem;
    }
}

/* Skills Section */
.skills {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
}

.skills h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00ff88;
}

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

.skill-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.skill-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.skill-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skill-details h4,
.skill-highlight h4 {
    color: #00ff88;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.skill-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.skill-details li {
    color: #fff;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-details li:last-child {
    border-bottom: none;
}

.skill-highlight p {
    color: #ccc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.project-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    min-height: 600px;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-category {
    font-size: 0.9rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tech-stack, .project-features, .project-highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.tech-stack h4, .project-features h4, .project-highlight h4 {
    font-size: 1rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.tech-stack ul, .project-features ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.tech-stack li, .project-features li {
    font-size: 0.9rem;
    color: #ffffff;
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
}

.tech-stack li:before, .project-features li:before {
    content: "•";
    color: #3498db;
    margin-right: 0.5rem;
}

.project-highlight p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.project-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.project-link:active {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
    color: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00ff88;
}

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

.contact-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.1);
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.social-link span {
    font-size: 1.2rem;
    font-weight: 500;
}

.social-link:hover {
    color: #00ff88;
}

.social-link:hover i {
    transform: scale(1.2);
}

.instagram {
    color: #E1306C;
}

.email {
    color: #3498db;
}

.linkedin {
    color: #0077b5;
}

@media (max-width: 768px) {
    .contact {
        padding: 2rem 1rem;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .social-link i {
        font-size: 2rem;
    }

    .social-link span {
        font-size: 1rem;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-message {
    margin-bottom: 1.5rem;
}

.footer-message p {
    font-size: 1.1rem;
    color: #fff;
}

.footer-message i {
    color: #ff4d4d;
    margin: 0 0.3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 1rem;
        padding: 0.4rem;
    }
    
    .footer-message p {
        font-size: 1rem;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background: #121212;
    color: #ffffff;
}

body.dark-mode .nav-island {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .nav-links li a {
    color: #ffffff;
}

body.dark-mode .logo {
    color: #ffffff;
}

body.dark-mode .hero h1 {
    color: #ffffff;
}

body.dark-mode .subtitle {
    color: #ffffff;
}

body.dark-mode .hero-details {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .hero-details p {
    color: #ffffff;
}

body.dark-mode .background-box {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .background-box h2,
body.dark-mode .background-box h3,
body.dark-mode .background-box h4 {
    color: #3498db;
}

body.dark-mode .background-box p {
    color: #bdc3c7;
}

body.dark-mode .project-card {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .project-card h3 {
    color: #ffffff;
}

body.dark-mode .project-description {
    color: #bdc3c7;
}

body.dark-mode .skill-card {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .skill-card h3 {
    color: #ffffff;
}

body.dark-mode .skill-description {
    color: #bdc3c7;
}

body.dark-mode .skill-details h4,
body.dark-mode .skill-highlight h4 {
    color: #00ff88;
}

body.dark-mode .skill-details ul li {
    color: #bdc3c7;
}

body.dark-mode .skill-highlight p {
    color: #bdc3c7;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode footer {
    background-color: #2c3e50;
}

body.dark-mode .about,
body.dark-mode .projects,
body.dark-mode .skills,
body.dark-mode .contact {
    background: transparent;
}

.upcoming-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff4500, #ff0000, #ff4500);
    background-size: 200% 200%;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    position: relative;
    animation: pulse 2s infinite, gradient 3s ease infinite;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hackathon-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff4500, #ff0000, #ff4500);
    background-size: 200% 200%;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: bold;
    margin-left: 5px;
    position: relative;
    top: -4px;
    animation: pulse 2s infinite, gradient 3s ease infinite;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .hackathon-badge {
        font-size: 0.5rem;
        padding: 1px 6px;
        margin-left: 4px;
        top: -3px;
    }
} 
