:root {
    --bg-color: #0f172a;        /* Deep midnight blue */
    --container-bg: #1e293b;   /* Slate blue */
    --card-bg: #334155;        /* Lighter slate */
    --accent-color: #38bdf8;   /* Bright electric blue */
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    background-color: var(--container-bg);
    width: 95%;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Typography */
h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Navigation */
.navagation {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin-bottom: 40px;
}

.navagation-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 10px 20px;
    max-width: 450px;
    margin: 0 auto;
}

.navagation ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navagation ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    transition: 0.3s;
}

.navagation ul li a:hover {
    color: var(--accent-color);
}

/* Content Boxes */
.content-box {
    background-color: var(--card-bg);
    margin: 20px 0;
    padding: 30px;
    border-radius: 16px;
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Profile Section */
.namecard-section {
    text-align: center;
    margin-bottom: 40px;
}

#img-profile {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    object-fit: cover;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* Portfolio Specifics */
#img-flower-escape {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
    filter: brightness(0.9);
    transition: 0.3s;
}

#img-flower-escape:hover {
    filter: brightness(1);
}

.social-box {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

#social-logo {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: 0.3s;
}

#social-logo:hover {
    opacity: 1;
    transform: translateY(-3px);
}


/* Experience Page Specifics */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.subtitle {
    color: var(--accent-color) !important;
    font-size: 1rem !important;
    font-weight: 600;
}

.date-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: sans-serif;
    white-space: nowrap;
}

.exp-list {
    list-style: none;
    padding-left: 0;
}

.exp-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Custom Bullet Point */
.exp-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Responsive fix for mobile */
@media (max-width: 600px) {
    .experience-header {
        flex-direction: column;
    }
    .date-badge {
        margin-top: 10px;
    }
}

/* Container for the Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Individual Project Card */
.project-card {
    background-color: #1f1356; /* Professional dark purple contrast */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: #3bf4fd; /* Matches your hover accent color */
}

/* Image Handling */
.project-image-container {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text and Links inside Card */
.project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge {
    font-size: 0.7rem;
    background: rgba(59, 244, 253, 0.15);
    color: #3bf4fd;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    margin-right: 5px;
    text-transform: uppercase;
}

.project-info h3 {
    margin: 12px 0;
    font-size: 1.3rem;
}

.project-info p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #4d9fde;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    transition: 0.2s;
}

.btn:hover {
    background-color: #3bf4fd;
    color: #0E2148;
}
