body {
    font-family: 'Nunito', sans-serif;
    background-color: #fcfcfc;  /* Light background */
}

.custom-navbar {
    background-color: #ffffff;  /* White navbar */
    border-bottom: 1px solid #dcdcdc;
}

.navbar-nav .nav-item .nav-link {
    font-size: 1.1rem;
    color: #011936 !important;  /* Dark blue text */
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #4da1a9 !important;  /* Teal hover */
}

.book-call-btn {
    background-color: #F9A620;
    color: #fff;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease-in-out;
}

.book-call-btn:hover {
    background-color: #e88e1f;
}

h2 {
    font-weight: 600;
    color: #011936;  /* Dark blue for headings */
    border-bottom: 2px solid #011936;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

p, ul {
    font-size: 1rem;
    color: #465362;  /* Soft gray-blue for text */
}

.sidebar-card {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.profile-pic img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.contact-info p {
    font-size: 1rem;
    margin: 10px 0;
}

.contact-info i {
    color: #011936;  /* Dark blue for icons */
    margin-right: 8px;
}

.social-icons a {
    font-size: 1.2rem;
}

.profile-section h5 {
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.profile-section {
    text-align: center;
}

.profile-list li {
    justify-content: center;
}

.profile-list li {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    font-weight: 500;
    color: #555;
    padding: 8px 0;
}

.profile-list li img {
    width: 30px;
    margin-right: 10px;
}

.btn-outline-primary {
    border-color: #0a66c2;
    color: #0a66c2;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: #0a66c2;
    color: #ffffff;
    border-color: #4da1a9;
}

.btn-outline-secondary {
    border-color: #465362;
    color: #465362;
    transition: all 0.3s ease-in-out;
}

.btn-outline-secondary:hover {
    background-color: #465362;
    color: #ffffff;
    border-color: #465362;
}

.public-profiles-separator {
    height: 1px;
    background-color: #ccc;
    width: 80%;
    margin: 20px auto;
}

ul.public-profiles li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

ul.public-profiles li img {
    width: 20px;
    margin-right: 10px;
}

.testimonial {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 8px;
}

footer {
    background-color: #011936;
    padding: 20px 0;
    color: #fff;
}

.btn-primary {
    background-color: #2d3d61;
    border-color: #f92020;
}

.btn-primary:hover {
    background-color: #1f65e8;
    border-color: #e88e1f;
}



/* Align tags in the center */
.project-section {
    text-align: center;
}

/* Center the tags with more padding */
.project-tags {
    display: inline-block;
    margin-bottom: 20px;
}

.project-tag {
    padding: 8px 12px; /* Increased padding */
    margin: 5px;
    background-color: #d8d8d8;
    color: black;
    border: none;
    border-radius: 3px; /* Reduced border-radius */
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.project-tag:hover {
    background-color: #0871e2;
    color: rgb(255, 255, 255);
}

/* Move the entire tag section down if it overflows */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Reduced gap between cards */
    justify-items: center;
}

/* Project card styling */
.project-card {
    display: flex;
    font-family: 'Nunito', sans-serif;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: 250px; /* Card width adjusted */
    transition: border 0.3s, transform 0.3s;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

/* Image placeholder for the project card */
.project-image-placeholder {
    width: 220px; /* Increased size to 200x200 */
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #888;
    font-size: 12px;
    border-radius: 5px;
    margin-bottom: 6px;
}

/* Info section within the project card */
.project-info {
    text-align: center;
    width: 100%;
}

.project-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.project-info p {
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: #666;
}

/* Labels within the project card */
.project-labels {
    margin-bottom: 20px; /* Increased space between labels and button */
}

.label {
    background-color: #d1e7dd;
    padding: 3px 5px;
    margin-right: 3px;
    border-radius: 5px;
    font-size: 0.7rem;
    color: #0f5132;
}

/* View project button */
.view-project-btn {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.view-project-btn:hover {
    background-color: #0056b3;
}



/* Add form styling */
form {
    margin: 20px 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

label {
    font-weight: bold;
}

input[type="text"], input[type="url"], textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}



/* Ensure the project section has a maximum height and becomes scrollable */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    max-height: 800px; /*Adjust this value based on how much content you want visible*/
    overflow-y: auto; /* Add vertical scroll if content exceeds max-height */
    padding-right: 10px; /* Add padding to avoid scrollbar overlap */
    padding-top: 10px;
    padding-bottom: 10px;

}

/* Optional: To customize the scrollbar appearance for the project section */
.project-grid::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.project-grid::-webkit-scrollbar-thumb {
    background-color: #007bff; /* Scrollbar thumb color */
    border-radius: 5px; /* Rounded scrollbar */
}

.project-grid::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Scrollbar track color */
}


/* REcommendations */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

h1 {
    margin-top: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.carousel {
    margin-top: 30px;
}

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

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #777;
}

.card-text {
    font-size: 1rem;
    margin-top: 10px;
}

.card-date {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #aaa;
    text-align: right;
}

/* Circular image styling */
.img-fluid.rounded-circle {
    border: 2px solid #ddd;
    padding: 5px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


.read-more-link {
    color: #007bff; /* Bootstrap's default link color */
    text-decoration: none;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* Horizontal scroll for certification cards */
.horizontal-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 5px;
}

.project-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* Neutral background for tabs */
.cert-tag {
    padding: 8px 14px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Highlight when active */
.cert-tag.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.cert-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.verify-btn {
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  min-width: 100px;
  text-align: center;
  transition: background-color 0.3s;
}

.verify-btn:hover {
  background-color: #0056b3;
}

.related-btn {
  padding: 6px 12px;
  background-color: #6c757d;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  min-width: 100px;
  text-align: center;
  transition: background-color 0.3s;
}

.related-btn:hover {
  background-color: #5a6268;
}
