body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    padding-top: 80px;
    background-image: url('bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: #165F84;
}

.navbar {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #007bff;
    z-index: 1000;
    width: 100%;
}

.nav-link {
    color: #165F84 !important;
}

.navbar-brand .job-title {
    display: block;
    font-size: 0.8em;
    color: #165F84;
}

@media (max-width: 576px) {
    .navbar-brand {
        flex-direction: column;
        align-items: center;
    }

    .profile-image {
        width: 40px;
        height: 40px;
    }
}

.personal-info p, .skills p, .experience div, .education p, .projects p {
    font-size: 1.05em;
    line-height: 1.7;
}

.contact-form form {
    max-width: 600px;
    margin: auto;
}

.contact-form button {
    background-color: #007bff;
    border-color: #007bff;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .personal-info, .skills, .experience, .education, .projects {
        padding: 20px;
    }
}

.skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stars {
  display: inline-block;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 3px;
  background: linear-gradient(90deg, #ffc107 60%, #e4e5e9 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-rating="3"]::before {
  background: linear-gradient(90deg, #ffc107 60%, #e4e5e9 60%);
}

[data-rating="4"]::before {
  background: linear-gradient(90deg, #ffc107 80%, #e4e5e9 80%);
}

[data-rating="5"]::before {
  background: linear-gradient(90deg, #ffc107 100%, #e4e5e9 100%);
}

.section {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.section h2 {
    color: #007bff;
    margin-bottom: 15px;
}

.section h3 {
    color: #0056b3;
    margin-top: 10px;
}

.section p {
    font-size: 16px;
    line-height: 1.6;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.profile-image {
    width: 50px; /* Adjust based on your preference */
    height: 50px; /* Adjust to keep the aspect ratio */
    border-radius: 50%; /* Circular image */
    margin-right: 10px;
}

.job-title {
    font-size: 0.8rem; /* Smaller font size for the job title */
    margin-left: 10px;
    color: #666; /* Subdued color for contrast */
}

