/* Variable Define kar rahe hain colors ke liye */
:root {
    --primary-color: #00d4ff;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navbar ko glass jaisa look dena */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 8%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo span { color: var(--primary-color); }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .active { color: var(--primary-color); }

/* Hero Section Styling */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.hero h1 { font-size: 4rem; margin-bottom: 10px; }
.hero p span { color: var(--primary-color); font-weight: bold; }

/* Buttons styling */
.btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
    font-weight: bold;
    transition: 0.4s;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4); }

footer {
    padding: 40px;
    text-align: center;
    background: #020617;
}


/* About Page Specific Styling */
.about-container {
    padding: 120px 10% 60px; /* Top se space navigation bar ke liye */
    min-height: 100vh;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Mobile par automatic adjust ho jaye */
    gap: 20px;
}

.info-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    width: 45%;
    min-width: 300px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: 0.3s;
}

.info-card:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.skill-list {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.skill-list li {
    margin: 8px 0;
    font-size: 1.1rem;
}

.bio-text {
    margin-top: 50px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    text-align: center;
}
.main-footer {
    background-color: #020617; /* Extra dark color for professional look */
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    margin-top: 50px;
}

.footer-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-content p span {
    color: var(--primary-color);
    font-weight: bold;
}

.footer-socials {
    margin-top: 20px;
}

.footer-socials a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
    display: inline-block;
}



.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}
/* ******* */
/* --- Projects Page Specific Styling (Neon Theme) --- */

.projects-section {
    padding: 120px 10% 80px;
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.section-title span {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.section-subtitle {
    color: var(--text-dim);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Projects Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Project Card - Same as other cards but with Project Icon focus */
.project-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Card Glow and Lift */
.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.project-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.project-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
}

.project-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Tags Styling */
.tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 5px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: 0.3s;
}

.project-card:hover .tag {
    background: var(--primary-color);
    color: #000;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .projects-section {
        padding: 100px 5% 50px;
    }
    .section-title {
        font-size: 2.2rem;
    }
}
.cursor {
    color: var(--primary-color);
    font-weight: bold;
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}






/* --- Projects Page Global Styling --- */
.projects-container {
    padding: 120px 10% 80px;
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.projects-header p {
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Project Card Styling */
.project-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Card Glow Effect on Hover */
.project-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.project-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
}

.project-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Tech Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tags span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Project Link Button */
.project-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.project-link:hover {
    color: var(--primary-color);
    gap: 12px; /* Small arrow animation */
}

/* Responsive Fix */
@media (max-width: 768px) {
    .projects-header h1 { font-size: 2.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
}








/* --- Updated Contact Page Styling (Dark Theme Match) --- */

.contact-page {
    padding: 120px 10% 60px;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--card-bg); /* Matching your other cards */
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-sidebar h2 {
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-sidebar p {
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Social Grid Layout */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.social-card span {
    font-weight: 500;
    color: var(--text-light);
}

/* Hover Effects */
.social-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Modern Form UI for Dark Theme */
.input-box {
    position: relative;
    margin-bottom: 35px;
}

.input-box input, 
.input-box textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-light);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    outline: none;
    background: transparent;
    transition: 0.3s;
}

.input-box label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s;
}

/* Label movement on focus */
.input-box input:focus ~ label,
.input-box input:valid ~ label,
.input-box textarea:focus ~ label,
.input-box textarea:valid ~ label {
    top: -20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: bold;
}

.input-box input:focus, 
.input-box textarea:focus {
    border-bottom: 2px solid var(--primary-color);
}

/* Submit Button Match */
.submit-btn {
    background: var(--primary-color);
    color: #000;
    padding: 14px 40px;
    border: none;
    border-radius: 5px; /* Matching your .btn class */
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.4s;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Footer Fix for Contact Page */
.simple-footer {
    text-align: center;
    padding: 40px;
    background: #020617;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}
/* WhatsApp Brand Color */
.whatsapp:hover { 
    background: #25D366 !important; 
    border-color: #25D366 !important; 
}
.whatsapp:hover i, .whatsapp:hover span { 
    color: white !important; 
}

/* Info List Styling */
.info-list { margin-top: 20px; }
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #94a3b8;
}
.info-item i { color: var(--primary-color); }