:root {
    --bg-dark: #090a0f;
    --card-dark: #12151e;
    --teal: #00b4d8;
    --teal-accent: #0284c7;
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
}

body.light-theme {
    --bg-dark: #f8fafc;
    --card-dark: #ffffff;
    --teal: #0284c7;
    --teal-accent: #0369a1;
    --text-main: #0f172a;
    --text-sub: #475569;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(9, 10, 15, 0.9);
    backdrop-filter: blur(8px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

#theme-toggle {
    padding: 6px 14px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Page Layout */
section {
    padding: 100px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 80vh;
}

.section-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--text-main);
    border-bottom: 2px solid var(--teal);
    display: inline-block;
    padding-bottom: 5px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 140px;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero .subtitle {
    color: var(--teal);
    font-size: 1.4rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skills-list {
    list-style: none;
    margin-top: 15px;
}

.skills-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-sub);
}

.skills-list li::before {
    content: "•";
    color: var(--teal);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Grid Cards Layout */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card{
    background-color: var(--card-dark);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.card h3 {
    color: var(--teal);
    margin-bottom: 10px;
}

.tag{
    display: inline-block;
    background: var(--teal);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 5px;
    margin-top: 10px;
}
.btn{
    display: inline-block;
    background: var(--teal);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 5px;
    margin-top: 10px;
}
/* Highlight Box */
.quote-box {
    background-color: var(--teal);
    color: white;
    padding: 25px;
    border-radius: 6px;
    margin-top: 25px;
    font-style: italic;
}

/* Contact Details */
.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-sub);
}

.btn-counter {
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}