body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.navbar-brand {
    font-weight: bold;
    color: #333;
}

.social-icons a {
    color: #333;
    margin-right: 15px;
    font-size: 1.2rem;
}

.header-title {
    font-size: 5rem;
}


.hero-section {
    background: url('cover.avif') center center / cover no-repeat;
    background-attachment: fixed; /* Keeps the background image fixed */
    color: white;
    padding: 150px 20px;
    text-align: left;
    position: relative; 
}
.social-icons-top {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
}

.social-icons-top a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.social-icons-top a:hover {
    color: #007bff; /* Change color on hover */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.progress-bar {
    background-color: #3f85e8;
    
}

.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-section .profile-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #007bff00;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.about-section .profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.navbar-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar-nav .nav-item {
    list-style-type: none;
}

.navbar-nav .nav-item a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item a:hover {
    color: #007bff;
}

.social-icons a {
    color: #333;
    margin-right: 15px;
    font-size: 1.5rem;
}

.expertise-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.expertise-card .card-header {
    background-color: #f1f8ff;
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 15px;
}

.expertise-card .line {
    display: block;
    height: 1px;
    width: 30px;
    background-color: #db1c1c;
    margin-top: 5px;
}

.progress-bar {
    font-weight: bold;
    font-size: 0.85rem;
}
#contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

#contact-form button {
    background-color: #444;
    color: #fff;
    border-radius: 5px;
}

#contact-form button:hover {
    background-color: #555;
}

.projects-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #888 #f4f4f4;
}

.projects-container::-webkit-scrollbar {
  height: 8px;
}

.projects-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.projects-container::-webkit-scrollbar-track {
  background-color: #f4f4f4;
  border-radius: 10px;
}

.project-card {
  flex: 0 0 320px;
  height: 280px;
  position: relative;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  color: white;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.project-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  width: 100%;
  border-radius: 0 0 0.5rem 0.5rem;
  text-align: left;
}

.project-overlay h5 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-overlay p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-overlay a.btn {
  margin-right: 8px;
  color: #fff;
  border-color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.project-overlay a.btn:hover:not(.disabled) {
  background-color: #f8f9fa;
  color: #333;
  border-color: #f8f9fa;
}

.project-overlay a.btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.blog-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f4f4f4;
}

.blog-container::-webkit-scrollbar {
    height: 8px;
}

.blog-container::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.blog-container::-webkit-scrollbar-track {
    background-color: #f4f4f4;
    border-radius: 10px;
}

.blog-entry {
    flex: 0 0 80%;
    max-width: 80%;
    height: 300px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 0.5rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-entry .entry-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 0.5rem;
    width: 90%;
}

.blog-entry h5 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.blog-entry p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.blog-entry a.btn {
    color: #fff;
    border-color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-entry a.btn:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #f8f9fa;
}


footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
}
