/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(30, 41, 59, 0.98);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar h1 {
    color: #38bdf8;
    font-weight: 700;
    font-size: 1.6em;
    letter-spacing: 1px;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 28px;
}

.navbar ul li a {
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.3s;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s;
    margin: 0 auto;
}

.navbar ul li a:hover {
    color: #38bdf8;
}
.navbar ul li a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1.2s;
}

.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    margin-bottom: 18px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(56,189,248,0.15);
}

.hero h2 {
    font-size: 2.7em;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #38bdf8;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight {
    color: #38bdf8;
}

.btn {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 32px;
    background: linear-gradient(90deg, #38bdf8 60%, #0284c7 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(56,189,248,0.10);
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: linear-gradient(90deg, #0284c7 60%, #38bdf8 100%);
    transform: translateY(-2px) scale(1.04);
}

/* Sections */
section {
    padding: 60px 20px 40px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

section h2 {
    font-size: 2em;
    margin-bottom: 18px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
}

/* About */
.about p {
    font-size: 1.1em;
    color: #cbd5e1;
    line-height: 1.7;
    margin-top: 10px;
}

/* Skills */
.skill-bars {
    margin: 30px auto 0 auto;
    max-width: 500px;
    text-align: left;
}

.skill-bar {
    margin-bottom: 22px;
}

.skill-bar span {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 1em;
}

.bar-bg {
    background: #334155;
    border-radius: 8px;
    height: 14px;
    margin-top: 6px;
    overflow: hidden;
}

.bar-fill {
    background: linear-gradient(90deg, #38bdf8 60%, #0284c7 100%);
    height: 100%;
    width: 0;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(.4,2,.6,1);
}

.bar-fill.animate {
    width: inherit !important;
}

@media (max-width: 600px) {
    .skill-bars { max-width: 100%; }
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.project-card {
    background: #1e293b;
    padding: 28px 20px 22px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(30,41,59,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    position: relative;
}

.project-card i {
    font-size: 2.2em;
    color: #38bdf8;
    margin-bottom: 10px;
    display: block;
}

.project-card h3 {
    color: #f1f5f9;
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 700;
}

.project-card p {
    color: #cbd5e1;
    font-size: 1em;
    margin-bottom: 16px;
}

.project-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.2s;
}

.project-link:hover {
    color: #0284c7;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(56,189,248,0.10);
}

/* Contact */
.contact .btn {
    margin-bottom: 18px;
}

.social-links {
    margin-top: 18px;
}

.social-links a {
    color: #38bdf8;
    font-size: 2em;
    margin: 0 10px;
    transition: color 0.2s;
    vertical-align: middle;
}

.social-links a:hover {
    color: #0284c7;
}

/* Footer */
footer {
    background: #1e293b;
    padding: 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 1em;
    letter-spacing: 1px;
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}