:root {
    --primary-color: #ff8906; /* Orange/Red accent */
    --secondary-color: #a7a9be;
    --dark-bg: #0f0e17;
    --light-bg: #0f0e17; /* Override light bg to match dark theme */
    --card-bg: #23222b;
    --text-color: #fffffe;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    scroll-behavior: smooth;
    padding-top: 56px; /* Offset for fixed navbar */
}

/* Navbar */
.navbar {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Darker shadow */
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 600;
    color: var(--text-color) !important;
}

.nav-link {
    color: var(--secondary-color) !important;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    /* Removed background image as per request */
    background-color: var(--dark-bg);
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 40px;
    margin-top: -56px; /* Counteract body padding for full screen */
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); Remove shadow as bg is dark */
}

.hero-section .lead {
    font-size: 1.5rem;
    color: var(--secondary-color);
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.5); Remove shadow */
}

/* About Section */
.profile-img {
    max-width: 300px;
    border: 5px solid var(--primary-color); /* Updated border color */
    box-shadow: 0 0 20px rgba(255, 137, 6, 0.4); /* Glow effect */
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center; /* Ensure text itself is centered */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Cards */
.card {
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05); /* Subtle border */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}

.card-title {
    color: var(--text-color);
}

.text-muted {
    color: var(--secondary-color) !important;
}

.text-dark {
    color: var(--text-color) !important; /* Override text-dark utility */
}

/* Timeline (Simple Vertical) */
.timeline {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-left: 10px;
}

.timeline .card {
    position: relative;
}

.timeline .card::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 20px;
    width: 15px;
    height: 15px;
    background-color: var(--dark-bg); /* Match bg */
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

/* Contact Form Removed, but keeping general styles just in case */

/* Footer */
footer {
    background-color: #000 !important; /* Pure black footer */
}

footer a {
    text-decoration: none;
    color: var(--secondary-color);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Text Utilities Override */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--dark-bg) !important;
}

.bg-dark {
    background-color: var(--card-bg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .profile-img {
        max-width: 200px;
        margin-bottom: 20px;
    }
    .timeline {
        margin-left: 20px; /* Ensure dots have enough space on mobile */
    }
}
