:root {
    --bs-primary: #06a106;
    --bs-primary-rgb: 6, 161, 6;
    --bs-primary-hover: #059753;
    --bs-body-font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bs-heading-font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--bs-heading-font-family);
    letter-spacing: -0.02em;
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.navbar-brand .brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--bs-primary), #1e8a92);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-link {
    font-weight: 600;
    color: #475569;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--bs-primary);
}

.search-input-group .form-control {
    border-radius: 50rem 0 0 50rem;
    border-right: none;
    padding-left: 1.1rem;
    font-size: 0.9rem;
}

.search-input-group .btn {
    border-radius: 0 50rem 50rem 0;
    border-left: none;
    padding-right: 1.1rem;
}

.btn-primary {
    --bs-btn-bg: #06a106;
    --bs-btn-border-color: #06a106;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #058805;
    --bs-btn-hover-border-color: #058805;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #34c234;
    --bs-btn-active-border-color: #34c234;
    --bs-btn-disabled-bg: #245f24;
    --bs-btn-disabled-border-color: #245f24;

}

/* Hero Carousel */
.hero-carousel .carousel-item {
    height: 540px;
    min-height: 400px;
    background-color: #0f172a;
    position: relative;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 460px;
    }
}

.hero-carousel img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    filter: brightness(0.85);
}

.hero-carousel .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    max-width: 700px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
    max-width: 600px;
    line-height: 1.6;
}

.carousel-control-prev, .carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1.5rem;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background: var(--bs-primary);
    opacity: 1;
}

/* Content Sections */
.content-card-img-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.content-card-img-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card-img-wrapper:hover img {
    transform: scale(1.03);
}

.floating-accent-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.section-eyebrow {
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.feature-check-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
}

.feature-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #475569;
}

.feature-check-list li i {
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--bs-primary);
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.site-footer h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background-color: var(--bs-primary);
    border-radius: 2px;
}

.footer-nav-list {
    padding-left: 0;
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 0.65rem;
}

.footer-nav-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-nav-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-nav-list a i {
    font-size: 0.75rem;
    color: var(--bs-primary);
    margin-right: 0.6rem;
    transition: transform 0.2s ease;
}

.contact-info-list {
    list-style: none;
    padding-left: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.contact-info-list i {
    color: var(--bs-primary);
    font-size: 1.1rem;
    margin-right: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 22px;
}

.social-icon-btn:hover {
    background: var(--bs-primary-hover);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: var(--bs-primary-hover);
    box-shadow: 0 2px 2px rgba(1, 6, 17, 0.3);
}

/* Back to top button */
#backToTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border: none;
}

/* Code modal preview */
.code-preview-box {
    background: #1e293b;
    color: #38bdf8;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.825rem;
    max-height: 450px;
    overflow-y: auto;
    border-radius: 0.5rem;
    padding: 1.25rem;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Toast notifications */
.custom-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}


.card-custom {
    background:#f8fafc;
    transition: transform 0.3s ease;
}