/* style.css (Dark Neon Professional Theme) */

/* Import Google Font (Poppins) for a modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- General Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* Deep dark blue/gray background for the professional IT look */
    background-color: #0b1121;
    color: #94a3b8;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 50px 20px;
    flex: 1;
}

/* --- Navigation Bar --- */
header {
    background: rgba(11, 17, 33, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

header .logo {
    color: #f8fafc;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #0ea5e9;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.6); /* Neon glow on hover */
}

/* --- Buttons (Neon Outline Style) --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #0ea5e9;
    color: #0ea5e9;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
    cursor: pointer;
}

.btn:hover {
    background: #0ea5e9;
    color: #0b1121;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6); /* Strong neon glow */
    transform: translateY(-3px);
}

.btn-secondary {
    border-color: #8b5cf6; /* Purple neon for secondary buttons */
    color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #8b5cf6;
    color: #0b1121;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* --- Hero Section (Home Page) --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #f8fafc;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text h3 {
    font-size: 1.4rem;
    color: #0ea5e9;
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(14,165,233,0.3);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #94a3b8;
}

.hero-img {
    flex: 1;
    text-align: center;
}

.hero-img img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0ea5e9;
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.4); /* Neon ring around profile */
    transition: all 0.4s ease;
}

.hero-img img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(14, 165, 233, 0.6);
}

/* --- Shared Card Styles (Replaced White Boxes with Dark Glassmorphism) --- */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #f8fafc;
    margin-bottom: 45px;
    font-weight: 700;
}

.about-content, .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.about-text, .education-box, .contact-info, .contact-form, .project-card {
    flex: 1;
    min-width: 300px;
    background: #1e293b; /* Dark Slate background */
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #334155;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.about-text:hover, .education-box:hover, .contact-info:hover, .project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15); /* Subtle blue glow on hover */
}

h2 {
    color: #f8fafc;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #0ea5e9;
    border-radius: 2px;
    box-shadow: 0 0 10px #0ea5e9;
}

h3 {
    color: #f8fafc;
}

/* --- Skills Grid --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-box {
    background: #0f172a;
    color: #0ea5e9;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.skill-box:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: #0ea5e9;
    color: #f8fafc;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
    transform: translateY(-3px);
}

/* --- Projects Page --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.project-card p {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tech-stack span {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* --- Contact Page Form --- */
.contact-info p {
    margin-bottom: 18px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.contact-info a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: text-shadow 0.3s;
}

.contact-info a:hover {
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #334155;
    border-radius: 8px;
    font-family: inherit;
    background: #0f172a;
    color: #f8fafc;
    transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: #64748b;
    text-align: center;
    padding: 25px 0;
    margin-top: auto;
    font-size: 0.95rem;
    border-top: 1px solid #1e293b;
}