/*
 * *************************************************
 * Copyright (C) 2026 DimSagara.                   *
 * Codeigniter 4 Template Modification             *
 * Please contact our email for more information : *
 * andhytaslin@gmail.com                            *
 * *************************************************
 */
:root {
    --primary-blue: #dfefff;
    --dark-blue: #123a63;
    --light-blue: #f6fbff;
    --neon-green: #a9d76b;
    --neon-green-dark: #8db552;
    --slate-gray: #20354d;
    --light-gray: #f4f7fa;
    --white: #ffffff;
    --text-dark: #1b2735;
    --text-light: #5f6f82;
    --border-color: rgba(18, 58, 99, 0.1);
    --shadow-light: 0 16px 40px rgba(18, 58, 99, 0.08);
    --shadow-medium: 0 24px 60px rgba(18, 58, 99, 0.12);
    --shadow-heavy: 0 28px 80px rgba(18, 58, 99, 0.18);
    --transition: all 0.35s ease;
}

body {
    background:
        radial-gradient(circle at top left, rgba(223, 239, 255, 0.95), transparent 32%),
        linear-gradient(180deg, #f8fbfe 0%, #ffffff 24%, #f4f8fb 100%);
    color: var(--text-dark);
}

a:hover {
    color: var(--dark-blue);
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #dfefff 0%, #a9d76b 100%);
    z-index: 9999;
    transition: width 0.12s ease;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 52px;
    height: 52px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-blue), #315982);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-4px);
    color: var(--white);
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand > img {
    height: 54px;
}

.navbar-custom {
    padding: 1rem 0;
    background-color: transparent !important;
    border-bottom: none;
    box-shadow: none;
}

.navbar-custom .container {
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    transition: var(--transition);
}

.navbar-toggler {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(18, 58, 99, 0.12) !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(18, 58, 99, 0.12);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.22rem rgba(69, 175, 223, 0.18);
}

.navbar-toggler-line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--dark-blue);
    border-radius: 999px;
    transition: var(--transition);
}

.navbar-toggler-line + .navbar-toggler-line {
    margin-top: 5px;
}

.navbar-custom.visible .container {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(18, 58, 99, 0.12);
    backdrop-filter: blur(16px);
}

.navbar-nav .nav-link {
    margin: 0 0.35rem;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-gray) !important;
    border-radius: 999px;
}

.navbar-nav .nav-link::after {
    content: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--dark-blue) !important;
    background: rgba(223, 239, 255, 0.78);
}

.navbar-language-switcher {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(18, 58, 99, 0.12);
}

.language-pill {
    min-width: 42px;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: rgba(223, 239, 255, 0.55);
    color: var(--dark-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none !important;
    transition: var(--transition);
}

.language-pill:hover,
.language-pill.active {
    background: var(--dark-blue);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(18, 58, 99, 0.18);
}

.hero-section {
    margin-top: 0;
    padding: 6.75rem 0 4rem;
}

.hero-overlay {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.84) 0%, rgba(241, 248, 255, 0.72) 42%, rgba(18, 58, 99, 0.48) 100%);
}

.hero-content {
    color: var(--text-dark);
}

.hero-shell {
    position: relative;
    z-index: 2;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--dark-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(18, 58, 99, 0.08);
}

.hero-kicker {
    background: rgba(18, 58, 99, 0.08);
}

.hero-title {
    max-width: 640px;
    margin-bottom: 1.1rem;
    font-size: 4.6rem;
    line-height: 1.02;
    color: #102132;
    text-shadow: none;
}

.hero-subtitle {
    max-width: 620px;
    margin-bottom: 1rem;
    font-size: 1.38rem;
    line-height: 1.8;
    color: #23415f;
}

.hero-quote {
    max-width: 580px;
    margin-bottom: 0;
    padding-left: 1.2rem;
    border-left: 3px solid rgba(169, 215, 107, 0.88);
    color: #2c4d70;
    font-size: 1.02rem;
    font-style: normal;
}

.tech-stack-icons {
    gap: 0.85rem;
}

.tech-icon {
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    color: var(--dark-blue);
    border: 1px solid rgba(18, 58, 99, 0.08);
    box-shadow: 0 10px 30px rgba(18, 58, 99, 0.08);
}

.tech-icon:hover {
    color: var(--dark-blue);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(18, 58, 99, 0.16);
}

.hero-buttons {
    gap: 0.9rem;
}

.hero-buttons .btn {
    min-width: 196px;
    padding: 0.92rem 1.45rem;
    border-radius: 999px;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--dark-blue), #295684) !important;
    border-color: transparent !important;
    color: var(--white) !important;
    box-shadow: 0 18px 34px rgba(18, 58, 99, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d2e4b, #20496f) !important;
    color: var(--white) !important;
}

.btn-outline-primary {
    border-color: rgba(18, 58, 99, 0.22) !important;
    color: var(--dark-blue) !important;
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-primary:hover {
    background: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    color: var(--white) !important;
}

.hero-spotlight {
    padding: 2rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(18, 58, 99, 0.08);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(18px);
}

.hero-spotlight-label {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--dark-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-spotlight h2 {
    margin-bottom: 0.85rem;
    font-size: 1.9rem;
    color: #132538;
}

.hero-spotlight-text {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-metric {
    padding: 1rem 0.85rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(223, 239, 255, 0.75), rgba(255, 255, 255, 0.96));
    text-align: center;
}

.hero-metric strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--dark-blue);
    font-size: 1.7rem;
    line-height: 1;
}

.hero-metric span {
    color: var(--text-light);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-contact-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--dark-blue);
    border: 1px solid rgba(18, 58, 99, 0.08);
    box-shadow: 0 12px 30px rgba(18, 58, 99, 0.06);
}

.hero-contact-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(223, 239, 255, 0.95);
}

.hero-contact-link:hover {
    transform: translateY(-2px);
    color: var(--dark-blue);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head-page {
    margin: 0 0 2.4rem;
    text-align: left;
}

.section-head-page .section-title::after {
    left: 0;
    transform: none;
}

.section-title {
    margin-bottom: 1rem;
    color: #132538;
}

.section-title::after {
    background: linear-gradient(90deg, #dfefff 0%, #8db552 100%);
}

.section-subtitle {
    max-width: 640px;
    margin: 1.8rem auto 0;
    color: var(--text-light);
    line-height: 1.8;
}

.section-head-page .section-subtitle {
    margin-left: 0;
}

.projects-section,
.blog-section,
.contact-section {
    position: relative;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.projects-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(223, 239, 255, 0.4) 100%);
}

.blog-section {
    background: linear-gradient(180deg, rgba(223, 239, 255, 0.32) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.contact-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(223, 239, 255, 0.45) 100%);
}

.blog-background {
    background-image: url('../img/blog-article-hero.jpg');
    opacity: 0.05;
}

.projects-grid {
    gap: 1.5rem;
}

.project-card,
.blog-card,
.blog-card-horizontal,
.contact-form,
.contact-info {
    border: 1px solid rgba(18, 58, 99, 0.08);
    box-shadow: var(--shadow-light);
}

.project-card {
    border-radius: 28px;
}

.project-card:hover,
.blog-card:hover,
.blog-card-horizontal:hover,
.contact-form:hover,
.contact-info:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    height: 240px;
}

.project-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(18, 58, 99, 0.2) 100%);
}

.project-content {
    padding: 1.6rem;
}

.project-index {
    display: inline-flex;
    margin-bottom: 1rem;
    color: rgba(18, 58, 99, 0.42);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.project-title {
    font-size: 1.45rem;
    color: #152b40;
}

.project-description {
    margin-bottom: 1.15rem;
    line-height: 1.8;
}

.template-features li {
    align-items: flex-start;
    gap: 0.65rem;
}

.template-features i {
    margin-top: 0.18rem;
}

.project-links .btn {
    padding: 0.8rem 1rem;
    border-radius: 16px;
}

.blog-slider {
    gap: 1.35rem;
    padding: 0.6rem 0 1rem;
}

.blog-slide {
    min-width: 320px;
}

.blog-card {
    border-radius: 28px;
}

.blog-image {
    height: 220px;
}

.blog-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 58, 99, 0.18) 100%);
}

.blog-content {
    padding: 1.55rem;
}

.blog-date {
    color: var(--dark-blue);
    opacity: 0.72;
}

.blog-title {
    color: #132538;
}

.blog-excerpt {
    margin-bottom: 1.1rem;
    line-height: 1.8;
}

.blog-link {
    color: var(--dark-blue);
}

.blog-link:hover {
    text-decoration: none;
}

.blog-nav {
    gap: 0.8rem;
}

.blog-prev,
.blog-next {
    border-color: rgba(18, 58, 99, 0.12);
    color: var(--dark-blue);
    box-shadow: 0 10px 24px rgba(18, 58, 99, 0.08);
}

.blog-prev:hover,
.blog-next:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

.contact-form,
.contact-info {
    height: 100%;
    padding: 2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
}

.contact-form label {
    margin-bottom: 0.55rem;
    color: var(--slate-gray);
    font-weight: 700;
}

.contact-form .form-control {
    min-height: 54px;
    border: 1px solid rgba(18, 58, 99, 0.12);
    border-radius: 16px;
    box-shadow: none;
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: rgba(18, 58, 99, 0.22);
    box-shadow: 0 0 0 4px rgba(223, 239, 255, 0.8);
}

.contact-info h3 {
    margin-bottom: 1.6rem;
    color: #132538;
    font-size: 1.65rem;
}

.info-item {
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(246, 251, 255, 0.95);
}

.info-item i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(223, 239, 255, 0.95);
    color: var(--dark-blue);
    font-size: 1.2rem;
}

.info-item h4 {
    margin-bottom: 0.15rem;
}

.info-item a {
    color: var(--text-light);
}

.info-item a:hover {
    color: var(--dark-blue);
}

.social-links {
    margin-top: 1.4rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(223, 239, 255, 0.95);
    color: var(--dark-blue);
    box-shadow: 0 12px 28px rgba(18, 58, 99, 0.08);
}

.social-link:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.footer-section {
    background: linear-gradient(180deg, #18314a 0%, #102132 100%);
}

.footer-background {
    opacity: 0.07;
}

.footer-title {
    color: #dfefff;
}

.footer-text,
.footer-bottom p,
.footer-links a {
    color: rgba(223, 239, 255, 0.82);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    gap: 0.8rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    color: #dfefff;
    border: 1px solid rgba(223, 239, 255, 0.12);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.pages-content {
    display: block;
    padding-top: 130px;
    padding-bottom: 2.5rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #132538;
}

.page-header span {
    display: block;
    width: 100%;
}

.page-info {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.page-image {
    margin-bottom: 1.5rem;
}

.page-image img,
.page-description img {
    border-radius: 24px;
    border: 1px solid rgba(18, 58, 99, 0.08);
    box-shadow: var(--shadow-light);
    width:100%;
}

.page-head-description {
    margin-bottom: 1.35rem;
    color: var(--dark-blue);
    font-size: 1.12rem;
    font-weight: 600;
}

.page-description {
    color: var(--text-light);
    line-height: 1.95;
}

.page-description p {
    margin-bottom: 1.1rem;
}

.blog-card-horizontal {
    margin-bottom: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-card-horizontal .blog-image {
    width: 220px;
    min-width: 220px;
    object-fit: cover;
}

.blog-card-horizontal .blog-content {
    justify-content: center;
}

.side-article-title {
    border-radius: 16px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    transform: translateX(36px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 7.5rem;
    }

    .hero-title {
        font-size: 3.4rem;
    }

    .hero-shell > div:last-child {
        margin-top: 2rem;
    }

    .hero-spotlight {
        padding: 1.5rem;
    }

    .projects-section,
    .blog-section,
    .contact-section {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .navbar-custom .container {
        border-radius: 28px;
        padding: 0.85rem 1rem;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 40px rgba(18, 58, 99, 0.12);
        backdrop-filter: blur(18px);
    }

    .navbar-custom .navbar-collapse {
        margin-top: 0.9rem;
        padding: 1rem;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 248, 255, 0.98) 100%);
        border: 1px solid rgba(18, 58, 99, 0.08);
        box-shadow: 0 18px 36px rgba(18, 58, 99, 0.1);
    }

    .navbar-nav .nav-item + .nav-item {
        margin-top: 0.3rem;
    }

    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.8rem 1rem !important;
        border-radius: 16px;
    }

    .navbar-language-switcher {
        margin-top: 0.9rem;
        margin-left: 0;
        padding-top: 0.9rem;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(18, 58, 99, 0.1);
        justify-content: flex-start;
    }

    .navbar-brand > img {
        height: 48px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.08rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .blog-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .blog-card-horizontal {
        flex-direction: column;
        height: auto;
    }

    .blog-card-horizontal .blog-image {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }

    .page-title {
        font-size: 2.25rem;
    }

    .contact-section .row {
        flex-direction: column-reverse;
    }

    .contact-form,
    .contact-info {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
}

/*@media (prefers-color-scheme: dark) {
    :root {
        --white: #111b25;
        --light-gray: #13202d;
        --text-dark: #e6edf5;
        --text-light: #aeb9c5;
        --border-color: rgba(223, 239, 255, 0.08);
    }

    body {
        background: linear-gradient(180deg, #0e1720 0%, #111b25 100%);
    }

    .navbar-custom.visible .container,
    .hero-spotlight,
    .project-card,
    .blog-card,
    .blog-card-horizontal,
    .contact-form,
    .contact-info {
        background: rgba(17, 27, 37, 0.92);
    }

    .navbar-toggler,
    .navbar-custom .navbar-collapse {
        background: rgba(17, 27, 37, 0.94);
        border-color: rgba(223, 239, 255, 0.14) !important;
    }

    .navbar-toggler-line {
        background: #dfefff;
    }

    .language-pill {
        background: rgba(223, 239, 255, 0.08);
        color: #dfefff;
    }

    .language-pill:hover,
    .language-pill.active {
        background: #dfefff;
        color: #102132;
    }

    .section-kicker,
    .tech-icon,
    .hero-contact-link,
    .info-item,
    .social-link {
        background: rgba(223, 239, 255, 0.06);
    }
}*/
.blog-section .container {
    position:relative;
}