:root {
    --bg-color: #ffffff;
    --text-color: #222;
    --card-bg: #ffffff;
}

body.dark-mode {
    --bg-color: #0f172a;
    --text-color: #e5e7eb;
    --card-bg: #1e293b;
}

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

.tech-card,
.project-card {
    background: var(--card-bg);
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom Style */

.btn-gradient {
    background: linear-gradient(135deg, #203a43, #2c5364);
    border: none;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .btn-gradient:hover {
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(0,0,0,0.2);
    }

.hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.tech-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    height: 100%;
}

    .tech-card:hover {
        transform: translateY(-5px);
    }

/* Projects */

.project-card {
    background: white;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.project-card-lg {
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    background: white;
    height: 100%;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}

    .project-card-lg:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

.tech-badges {
    margin-top: 15px;
}

    .tech-badges span {
        display: inline-block;
        background: #f2f2f2;
        padding: 5px 10px;
        margin: 3px;
        border-radius: 6px;
        font-size: 12px;
    }

pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

code {
    font-family: Consolas, monospace;
}