
/********** Template CSS **********/
:root {
  --primary: #00B87B;
  --secondary: #314355;
  --light: #F2F2F2;
  --dark: #2C3E50;
  
  /* Dark theme colors */
  --dark-bg: #1a1a2e;
  --dark-secondary: #16213e;
  --dark-text: #e6e6e6;
  
  /* Light theme colors */
  --light-bg: #ffffff;
  --light-secondary: #f8f9fa;
  /* --light-text: #495057; */
  --light-text: #020303;
}

body.dark-theme {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

body.light-theme {
  background-color: var(--light-bg);
  color: var(--light-text);

 
}


.dark-theme .bg-secondary {
  background-color: var(--dark-secondary) !important;
}

.light-theme .bg-secondary {
  background-color: var(--light-secondary) !important;


}

.dark-theme .border-secondary {
  border-color: var(--dark-secondary) !important;
}

.light-theme .border-secondary {
  border-color: #dee2e6 !important;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  background: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.theme-toggle i {
  color: var(--light);
  font-size: 1.2rem;
  position: absolute;
  transition: opacity 0.3s ease;
}

.theme-toggle .fa-moon {
  opacity: 1;
}

.theme-toggle .fa-sun {
  opacity: 0;
}

.light-theme .theme-toggle .fa-moon {
  opacity: 0;
}

.light-theme .theme-toggle .fa-sun {
  opacity: 1;

}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-lg-top.vh-100 {
    height: 100% !important;
  }
}

/* Fonts */
body {
  font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.btn-square {
  width: 40px;
  height: 40px;
}

/* Tools and Frameworks stylings*/
.tool-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: var(--primary);
    color: white;
}

.tool-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.tool-item:hover .tool-icon {
    background: rgba(255, 255, 255, 0.2);
}

.filter-buttons .btn {
    margin: 0 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.filter-buttons .btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-buttons .btn:hover:not(.active) {
    background: rgba(0, 184, 123, 0.1);
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tech-stack .badge {
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.75rem;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 20px;
}

.carousel-item img {
    border-radius: 5px;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
}

.modal-body ul {
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 8px;
}