/* ==========================================================================
   YSP Portfolio - Mobile & Global Responsive Stylesheet
   ========================================================================== */

/* Prevent Horizontal Overflow Globally */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

#colorlib-page,
.page {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#colorlib-page > .footer {
    margin-top: auto !important;
}

/* Bootstrap Missing Grid Columns */
.col-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-9, .col-md-11,
.col-lg-1, .col-lg-5, .col-lg-7, .col-lg-9, .col-lg-10, .col-lg-11 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
    .col-md-2 { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
    .col-md-3 { flex: 0 0 25% !important; max-width: 25% !important; }
    .col-md-9 { flex: 0 0 75% !important; max-width: 75% !important; }
    .col-md-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
}

@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
    .col-lg-5 { flex: 0 0 41.666667% !important; max-width: 41.666667% !important; }
    .col-lg-7 { flex: 0 0 58.333333% !important; max-width: 58.333333% !important; }
    .col-lg-9 { flex: 0 0 75% !important; max-width: 75% !important; }
    .col-lg-10 { flex: 0 0 83.333333% !important; max-width: 83.333333% !important; }
    .col-lg-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
}

/* Header & Navigation Toggle */
header {
    padding: 1.25rem 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 0 !important;
}

header .colorlib-navbar-brand {
    float: none !important;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
}

header .colorlib-navbar-brand .colorlib-logo img {
    height: 38px !important;
    width: auto !important;
    margin-top: 0 !important;
    transition: transform 0.3s ease;
}

header .colorlib-navbar-brand .colorlib-logo:hover img {
    transform: scale(1.05);
}

#colorlib-main-nav .colorlib-nav-toggle,
.colorlib-nav-toggle {
    float: none !important;
    margin-right: 0 !important;
    right: 0 !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

#colorlib-main-nav .colorlib-nav-toggle:hover,
.colorlib-nav-toggle:hover {
    background: rgba(163, 129, 106, 0.25) !important;
    border-color: #a3816a !important;
}

#colorlib-main-nav .colorlib-nav-toggle i,
.colorlib-nav-toggle i {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 20px !important;
    height: 2px !important;
    display: block !important;
    transition: all 0.25s ease-out !important;
}

#colorlib-main-nav .colorlib-nav-toggle i::before,
#colorlib-main-nav .colorlib-nav-toggle i::after,
.colorlib-nav-toggle i::before,
.colorlib-nav-toggle i::after {
    content: "" !important;
    width: 20px !important;
    height: 2px !important;
    background: #fff !important;
    position: absolute !important;
    left: 0 !important;
    transition: all 0.25s ease-out !important;
}

#colorlib-main-nav .colorlib-nav-toggle i::before,
.colorlib-nav-toggle:not(.active) i::before {
    top: -6px !important;
    bottom: auto !important;
}

#colorlib-main-nav .colorlib-nav-toggle i::after,
.colorlib-nav-toggle:not(.active) i::after {
    bottom: -6px !important;
    top: auto !important;
}

#colorlib-main-nav .colorlib-nav-toggle:hover i::before,
#colorlib-main-nav .colorlib-nav-toggle:hover i::after {
    width: 20px !important;
}

/* Active State: Perfectly Centered X */
.colorlib-nav-toggle.active i,
#colorlib-main-nav .colorlib-nav-toggle i,
#colorlib-main-nav .colorlib-nav-toggle.active i {
    background: transparent !important;
    top: 0 !important;
    left: 0 !important;
}

.colorlib-nav-toggle.active i::before,
#colorlib-main-nav .colorlib-nav-toggle i::before,
#colorlib-main-nav .colorlib-nav-toggle.active i::before {
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 20px !important;
    transform: rotate(45deg) !important;
    background: #a3816a !important;
}

.colorlib-nav-toggle.active i::after,
#colorlib-main-nav .colorlib-nav-toggle i::after,
#colorlib-main-nav .colorlib-nav-toggle.active i::after {
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 20px !important;
    transform: rotate(-45deg) !important;
    background: #a3816a !important;
}

/* Fullscreen Navigation Modal/Overlay */
#colorlib-main-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(14, 14, 14, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1050 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.22s ease, visibility 0.22s ease !important;
}

#colorlib-main-nav .colorlib-table {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#colorlib-main-nav .colorlib-table-cell {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 1rem;
}

#colorlib-main-nav .colorlib-nav-toggle {
    position: fixed !important;
    top: 26px !important;
    right: 32px !important;
    z-index: 1060 !important;
}

@media (max-width: 767.98px) {
    #colorlib-main-nav .colorlib-nav-toggle {
        top: 20px !important;
        right: 20px !important;
    }
}

#colorlib-main-nav .logo {
    font-size: clamp(24px, 6vw, 44px) !important;
    line-height: 1.2 !important;
    word-break: break-word;
    display: inline-block;
    margin-bottom: 1.5rem !important;
    font-weight: 700;
}

#colorlib-main-nav .logo span {
    color: #a3816a;
}

#colorlib-main-nav ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
}

#colorlib-main-nav ul li {
    margin: 0.5rem 0 !important;
    font-size: clamp(18px, 4.5vw, 24px) !important;
}

#colorlib-main-nav ul li a {
    display: inline-block;
    padding: 6px 18px;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 25px;
    transition: all 0.25s ease;
}

#colorlib-main-nav ul li a:hover,
#colorlib-main-nav ul li.active a {
    color: #fff !important;
    background: rgba(163, 129, 106, 0.2);
    box-shadow: 0 0 15px rgba(163, 129, 106, 0.3);
}

#colorlib-main-nav ul li.active a span {
    color: #a3816a !important;
    font-weight: 700;
}

/* Hero Section (Breadcrumbs Banner on Inner Pages) */
.hero-wrap {
    height: 240px !important;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 40px;
}

.hero-wrap .text {
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-wrap .text .breadcrumbs {
    font-size: 12px !important;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.hero-wrap .text .bread {
    font-size: clamp(26px, 6vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .hero-wrap {
        height: 200px !important;
        min-height: 200px;
        padding-top: 50px;
    }
}

/* Home Hero Section */
.hero-home-section {
    padding-top: 110px !important;
    padding-bottom: 40px !important;
}

.hero-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.hero-avatar-wrapper::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(163, 129, 106, 0.5);
    animation: rotateSlow 25s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-avatar {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #a3816a;
    box-shadow: 0 10px 30px rgba(163, 129, 106, 0.35);
    display: block;
}

@media (max-width: 767.98px) {
    .hero-home-section {
        padding-top: 90px !important;
        padding-bottom: 30px !important;
    }
    
    .hero-avatar {
        width: 170px;
        height: 170px;
    }

    .hero-content-col {
        text-align: center !important;
        padding-top: 1.5rem;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-name-title {
        font-size: clamp(22px, 5.5vw, 28px) !important;
        justify-content: center;
    }

    .hero-cta-buttons {
        justify-content: center !important;
    }
}

.hero-name-title {
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    border-bottom: 2px solid #a3816a;
    padding-bottom: 10px;
    display: inline-block;
}

.hero-bio-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* AIClub.id Builder Badge Responsive */
.aiclub-badge-container {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .aiclub-badge-container {
        justify-content: center;
        padding: 0 4px;
    }
}

.aiclub-badge-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-radius: 8px;
}

.aiclub-badge-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.aiclub-badge-img {
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    aspect-ratio: 570 / 40 !important;
    display: block;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .aiclub-badge-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Tech Stack Badges */
.tech-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 20px;
}

@media (max-width: 767.98px) {
    .tech-pill-container {
        justify-content: center;
    }
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.tech-pill:hover {
    background: rgba(163, 129, 106, 0.2);
    border-color: #a3816a;
    color: #fff;
    transform: translateY(-2px);
}

/* Buttons */
.btn-ysp-primary {
    background: linear-gradient(135deg, #a3816a 0%, #7e5c46 100%);
    color: #fff !important;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(163, 129, 106, 0.35);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-ysp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 129, 106, 0.55);
    color: #fff !important;
}

.btn-ysp-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-ysp-outline:hover {
    border-color: #a3816a;
    color: #a3816a !important;
    background: rgba(163, 129, 106, 0.1);
    transform: translateY(-2px);
}

/* Section Header Titles */
.section-header-title {
    color: #fff;
    font-weight: 700;
    font-size: clamp(24px, 5vw, 32px);
    border-bottom: 2px solid #a3816a;
    padding-bottom: 8px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 12px;
}

.section-header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Project Cards */
.project-card {
    background: #191919 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.project-card:hover {
    transform: translateY(-5px) !important;
    border-color: #a3816a !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(163, 129, 106, 0.25) !important;
}

.project-card .img {
    height: 220px !important;
    background-size: cover !important;
    background-position: center !important;
    border-bottom: 2px solid #a3816a !important;
}

.project-card .text {
    padding: 24px !important;
    flex-grow: 1 !important;
    display: flex;
    flex-direction: column;
}

.project-card .text h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.project-card .text .cat {
    color: #a3816a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
}

.project-card .text p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-top: auto;
}

@media (max-width: 575.98px) {
    .project-card .img {
        height: 180px !important;
    }
    
    .project-card .text {
        padding: 18px 16px !important;
    }
    
    .project-card .text h3 {
        font-size: 18px !important;
    }
}

/* Experience Cards (Fix 700px Bug & Modernize) */
.experience-container-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.experience-container-card:hover {
    border-color: rgba(163, 129, 106, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(163, 129, 106, 0.15);
}

.experience-img-box {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-container-card:hover .experience-img-box {
    border-color: rgba(163, 129, 106, 0.4);
    transform: translateY(-2px);
}

/* Override Spacewood theme's 700px height bug */
@media (max-width: 991.98px) {
    .ftco-about .img-about .img {
        height: 180px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-color: #141414;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.experience-subheading {
    color: #a3816a;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 6px;
}

.experience-title {
    color: #fff;
    font-size: clamp(20px, 4.5vw, 26px);
    font-weight: 700;
    margin-bottom: 14px;
}

.experience-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.experience-desc ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.experience-desc ul li {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #d1b49f;
    background: rgba(163, 129, 106, 0.15);
    border: 1px solid rgba(163, 129, 106, 0.4);
}

@media (max-width: 991.98px) {
    .experience-container-card {
        padding: 18px 16px;
        margin-bottom: 20px;
    }
    
    .experience-img-box {
        height: 170px !important;
        margin-bottom: 14px !important;
    }
}

/* Education Cards */
.education-card-item {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.education-card-item:hover {
    border-color: #a3816a;
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(163, 129, 106, 0.2);
}

.education-img-wrap {
    width: 100% !important;
    max-width: 260px !important;
    height: 105px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 22px !important;
    overflow: hidden !important;
    padding: 14px 24px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.education-card-item:hover .education-img-wrap {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15) !important;
}

.education-logo-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.education-img-wrap .img {
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.education-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.education-card-degree {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #a3816a;
    background: rgba(163, 129, 106, 0.12);
    border: 1px solid rgba(163, 129, 106, 0.3);
}

/* Contact Page (Flush Height Alignment for Info Box and Google Map) */
.contact-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.contact-col-info,
.contact-col-map {
    display: flex !important;
    flex-direction: column !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 0 !important;
}

.contact-info-box {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 30px;
    height: 100% !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin: 0 !important;
}

.contact-map-wrapper {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    background: #181818;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.contact-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    border: 0 !important;
    display: block !important;
}

@media (max-width: 991.98px) {
    .contact-col-info {
        margin-bottom: 24px !important;
    }
    .contact-col-map,
    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        height: 280px !important;
        min-height: 280px !important;
    }
}

.contact-info-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #a3816a;
    padding-bottom: 8px;
    display: inline-block;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(163, 129, 106, 0.15);
    border: 1px solid rgba(163, 129, 106, 0.35);
    color: #a3816a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-content {
    flex-grow: 1;
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a3816a;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail-value {
    color: #fff;
    font-size: 15px;
    margin-bottom: 0;
    word-break: break-word;
}

.contact-detail-value a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: #a3816a;
}

/* Global Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 28px 0 20px !important;
    background: transparent;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: stretch !important;
}

.footer .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.footer-content-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.footer-copyright {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
}

.footer-copyright p {
    text-align: left !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.footer-social-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.footer-social {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

.footer-social li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-social li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.footer-social li a:hover {
    background: #a3816a !important;
    border-color: #a3816a !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 129, 106, 0.4);
}

@media (max-width: 767.98px) {
    .footer-content-wrapper {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .footer-copyright,
    .footer-copyright p {
        text-align: center !important;
        justify-content: center !important;
    }

    .footer-social-wrapper,
    .footer-social {
        justify-content: center !important;
    }
}

/* ==========================================================================
   Featured Projects Page & Filter Styles
   ========================================================================== */
.filter-chips-container,
.project-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2.2rem !important;
    width: 100% !important;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.filter-chip:hover,
.filter-chip.active {
    color: #fff !important;
    background: rgba(163, 129, 106, 0.25);
    border-color: #a3816a;
    box-shadow: 0 4px 15px rgba(163, 129, 106, 0.3);
    transform: translateY(-2px);
}

.filter-chip .count {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
}

.filter-chip.active .count {
    background: #a3816a;
    color: #fff;
}

/* Enhanced Project Card */
.project-card-full {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project-card-full:hover {
    transform: translateY(-6px);
    border-color: #a3816a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 18px rgba(163, 129, 106, 0.25);
}

.project-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #121212;
    border-bottom: 2px solid rgba(163, 129, 106, 0.4);
    flex-shrink: 0;
}

.project-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card-full:hover .project-card-img {
    transform: scale(1.05);
}

.project-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    transition: all 0.3s ease;
}

.project-status-badge.live {
    color: #ffffff !important;
    background: rgba(163, 129, 106, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 14px rgba(163, 129, 106, 0.45);
}

.project-status-badge.live .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.project-status-badge.internal {
    color: #f1f5f9;
    background: rgba(18, 18, 18, 0.92);
    border: 1px solid rgba(163, 129, 106, 0.6);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.project-status-badge.internal .icon-lock {
    color: #d1b49f;
    font-size: 11px;
}

.project-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-client-tag {
    color: #a3816a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
    display: block;
}

.project-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.project-card-title a,
.project-card-title span {
    color: #fff;
    transition: color 0.2s ease;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-title a:hover {
    color: #a3816a;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    min-height: 58px;
    align-content: flex-start;
}

.tech-tag-sm {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.tech-tag-sm:hover {
    background: rgba(163, 129, 106, 0.2);
    border-color: #a3816a;
    color: #fff;
    transform: translateY(-1px);
}

.project-card-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
    min-height: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #a3816a;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-project-link:hover {
    color: #d1b49f;
    transform: translateX(3px);
}

@media (max-width: 575.98px) {
    .project-card-media {
        height: 180px;
    }
    .project-card-body {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   Livewire SPA - Instant JS-like Transitions
   ========================================================================== */
#ftco-loader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Slim Top Navigation Progress Bar (YouTube/Next.js/GitHub style) */
#nprogress .bar,
.livewire-loading-bar {
    background: #a3816a !important;
    height: 3px !important;
    z-index: 999999 !important;
    box-shadow: 0 0 10px rgba(163, 129, 106, 0.7) !important;
}

#nprogress .peg {
    box-shadow: 0 0 10px #a3816a, 0 0 5px #a3816a !important;
}

/* Subtle SPA Content Transition */
#colorlib-page > section:not(.hero-wrap) {
    animation: spaContentFade 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes spaContentFade {
    0% {
        opacity: 0.75;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

