/*
Theme Name: Nxi Naim Portfolio Theme
Theme URI: https://naimitbd.xyz/
Author: Md Naimul Islam Naim
Author URI: https://naimitbd.xyz/
Description: An advanced dark-themed portfolio for Android App Developers and Cybersecurity Analysts, built with Bootstrap 5.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nxinaim-portfolio
*/

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    overflow-x: hidden;
}

:root {
    --accent-color: #00f2fe;
    --accent-hover: #4facfe;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--accent-color); }

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(5px);
}
.navbar-brand {
    font-weight: 700;
    color: var(--accent-color) !important;
    font-size: 1.5rem;
}
.nav-link {
    color: #fff !important;
    font-weight: 400;
}
.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #121212 100%);
}
.profile-img-container {
    position: relative;
    display: inline-block;
}
.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #333;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}
.profile-img-container::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    animation: rotate 20s linear infinite;
    opacity: 0.5;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.hero-text h1 span {
    color: var(--accent-color);
}
.typewriter {
    font-size: 1.5rem;
    color: #b0b0b0;
    font-weight: 300;
}

/* Sections General */
section {
    padding: 100px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Skills */
.skill-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.1);
    border-color: var(--accent-color);
}
.skill-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.skill-card h5 {
    font-weight: 600;
    margin-bottom: 0;
}

/* Apps/Projects */
.app-card {
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: 0.3s;
}
.app-card:hover {
    border-color: var(--accent-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.app-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}
.app-body {
    padding: 20px;
}
.app-title {
    font-weight: 600;
    color: #fff;
}
.tech-stack-badge {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
    color: #ccc;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

/* Buttons */
.btn-custom {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-custom:hover {
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
    color: #fff;
    transform: scale(1.05);
}
.btn-outline-custom {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    background: transparent;
}
.btn-outline-custom:hover {
    background: var(--accent-color);
    color: #121212;
}

/* Contact */
.contact-info i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

footer {
    background: #0a0a0a;
    padding: 30px 0;
    border-top: 1px solid #222;
}

@media (max-width: 991px) {
    .hero-text h1 { font-size: 2.8rem; }
    .profile-img { width: 250px; height: 250px; }
    section { padding: 60px 0; }
}
@media (max-width: 767px) {
    .hero-text { text-align: center; margin-top: 30px; }
    .hero-text h1 { font-size: 2.2rem; }
    .profile-img-container { margin-bottom: 20px; }
}