/*
Theme Name: NxiNaim Developer Portfolio
Author: Md Naimul Islam
Description: Tech-inspired dark portfolio theme with rounded project preview images.
Version: 2.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0f1d;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Header Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(15, 23, 42, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: #00f2fe;
}

/* Hero Section & Glowing Profile Image */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 50px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-text h1 span {
    color: #00f2fe;
}

.hero-text h2 {
    font-size: 24px;
    color: #38ef7d;
    margin-bottom: 15px;
}

.hero-text p {
    color: #94a3b8;
    margin-bottom: 25px;
}

/* Animated Profile Picture Border */
.profile-container {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    background: conic-gradient(#00f2fe, #4facfe, #00f2fe, #38ef7d);
    animation: rotateBorder 4s linear infinite;
}

.profile-container::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: #0a0f1d;
    border-radius: 50%;
}

.profile-img {
    width: 92%;
    height: 92%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 10;
    position: relative;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Styling */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #00f2fe;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.skill-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #334155;
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.skill-card h3 {
    color: #e2e8f0;
    font-size: 18px;
}

/* Projects Grid - Rounded Cards with Images */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1e293b;
    border-radius: 20px; /* চারকোনা রাউন্ডেড শেপ */
    overflow: hidden;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #00f2fe;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.project-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid #334155;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.project-info h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.project-info p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.playstore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: #000;
    font-weight: bold;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
    text-align: center;
}

.playstore-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    color: #64748b;
}