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;
}

:root {
    --isdl-green-dark: #0b291f;
    --isdl-green-primary: #15803d;
    --isdl-green-accent: #2d6a4f;
    --isdl-green-bright: #10b981;
    --isdl-green-light: #e8f5e9;
    --isdl-green-soft-bg: #f2f9f5;
    --isdl-border: #c8e6c9;
    --isdl-teal-dark: #075985;
}

.theme-heading {
    color: var(--isdl-teal-dark);
}

.bg-green-dark {
    background-color: var(--isdl-green-dark) !important;
}

.hero-banner {
    background: linear-gradient(90deg, #196c40 0%, #196c40 64%, #1a7643 82%, #1b854a 100%);
    border-radius: 1.25rem;
    padding: 2rem 2rem;
    color: #ffffff;
}

.hero-image {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 1rem;
}

.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--isdl-border);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.12);
}

.icon-square {
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.isdl-feature-card {
    border: 1px solid var(--isdl-border);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(27, 67, 50, 0.06);
    overflow: hidden;
}

.isdl-feature-card .card-body {
    min-height: 165px;
}

.isdl-feature-illustration {
    width: 120px;
    max-width: 35%;
    height: auto;
    float: right;
    margin: 0 0 0.5rem 1rem;
    display: block;
}

.isdl-feature-illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.isdl-feature-card .card-body::after {
    content: "";
    display: block;
    clear: both;
}

.code-preview {
    background-color: #ffffff;
    border: 1px solid var(--isdl-border);
    border-radius: 0.75rem;
    color: #1f2937;
    font-family: 'Courier New', Courier, monospace;
}

.code-comment {
    color: #64748b;
}

.code-keyword {
    color: #2563eb;
}

.code-string,
.code-output {
    color: #15803d;
}

.text-green-primary {
    color: var(--isdl-green-primary) !important;
}

.text-green-accent {
    color: var(--isdl-green-accent) !important;
}

.btn-green-main {
    background-color: var(--isdl-green-primary);
    color: #ffffff;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-green-main:hover {
    background-color: #166534;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-outline-green {
    color: var(--isdl-green-primary);
    border: 2px solid var(--isdl-green-primary);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-green:hover {
    background-color: var(--isdl-green-primary);
    color: #ffffff;
}

.isdl-card {
    border: 1px solid var(--isdl-border);
    border-top: 4px solid var(--isdl-green-bright);
    background-color: #ffffff;
}

.isdl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.12);
}

.isdl-badge {
    background-color: var(--isdl-green-light);
    color: var(--isdl-green-primary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
}

.isdl-contact-box {
    background-color: var(--isdl-green-soft-bg);
    border: 1px solid var(--isdl-border);
    border-radius: 0.75rem;
}