:root {
    --primary-bg: #0f172a;
    --card-bg: #1e293b;
    --accent-blue: #2563eb; /* Royal Blue */
    --accent-gold: #fbbf24; /* Gold */
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header & Personal Branding */
header {
    background: linear-gradient(135deg, var(--accent-blue), #1e3a8a);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 5px solid var(--accent-gold);
}

.profile-container {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* Makes it round */
  overflow: hidden;   /* Clips the image zoom so it stays in the circle */
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);   /*Soft Shadows*/
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Ensures the image fills the circle without stretching */
  transition: transform 0.4s ease; /* Smooths the zoom */
}

.profile-container:hover .profile-img {
  transform: scale(1.1); /* Zooms in 10% */
}


h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--accent-gold);
}

/* Cards & Sections */
section {
    margin-bottom: 3rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

h2 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    transition: 0.3s;
}

.skill-category:hover {
    outline: 2px solid var(--accent-gold);
}

.skill-category h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    cursor: pointer;
}

ul li::before {
    content: "→";
    color: var(--accent-gold);
    margin-right: 8px;
}

/* Project Styling */
.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #334155;
}

.tech-stack span {
    background: #334155;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-right: 5px;
}

.btn {
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #1d4ed8;
}

.colorful-dots {
  list-style: none; /* Remove default bullets */
  padding: 0;
}

.colorful-dots li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  cursor: pointer;
}

/* Create the dot */
.colorful-dots li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  /* Assign random colors to each dot */
  transition: opacity 0.3s ease; /* Smooth transition */
}

/* Individual random colors for items */
.colorful-dots li:nth-child(1)::after { background-color: #ff5733; }
.colorful-dots li:nth-child(2)::after { background-color: #33ff57; }
.colorful-dots li:nth-child(3)::after { background-color: #3357ff; }
.colorful-dots li:nth-child(4)::after { background-color: #ffc233; }
.colorful-dots li:nth-child(5)::after { background-color: #cf33ff; }

/* Disappear on hover */
.colorful-dots li:hover::after {
  opacity: 0; /* Makes dot disappear */
}

/*Footer Styling*/
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.tech-stack {
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .project-card {
        flex-direction: column;
        text-align: center;
    }
    .btn {
        margin-top: 1.5rem;
        width: 100%;
    }
}