/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.bg-light {
    background-color: #f4f7f9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e293b;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #2563eb;
    margin: 10px auto 0;
}

/* Navigation Bar */
header {
    background-color: #1e293b;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #38bdf8;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Hero / Introduction Section */
.hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #38bdf8;
    margin-bottom: 20px;
    background-color: #cbd5e1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero h1 span {
    color: #38bdf8;
}

.tagline {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.intro {
    max-width: 720px;
    margin: 0 auto 25px;
    color: #e2e8f0;
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #1d4ed8;
}

/* Grid Cards (About & Projects) */
.about-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.card h3 {
    color: #2563eb;
    margin-bottom: 12px;
}

.tech-tag {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #475569;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Technical Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.skill-badge {
    background: #1e293b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, background 0.3s;
}

.skill-badge:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

/* Qualifications Table */
.edu-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.edu-table th, .edu-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.edu-table th {
    background-color: #1e293b;
    color: #ffffff;
}

.edu-table tr:hover {
    background-color: #f8fafc;
}

/* Contact Section */
.contact-text, .contact-info {
    text-align: center;
}

.contact-info {
    margin-top: 20px;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    background: #1e293b;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #2563eb;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 650px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}
/* Hero Buttons Style */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.btn-outline:hover {
    background: #38bdf8;
    color: #0f172a;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn-secondary {
    background: #1e293b;
}

.btn-secondary:hover {
    background: #0f172a;
}