/* =========================================
   GLOBAL RESET
========================================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    font-size:0.95rem;
    background: #f1f5f9;
    min-height:100vh;
    color: #0f172a;
    padding-top: 75px !important;
}

section, .section {
    margin-bottom: 10cm;
}

section:last-of-type, .section:last-of-type {
    margin-bottom: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   NAVBAR (PREMIUM & MODERN 2026 DESIGN)
   ========================================= */

@keyframes navbarSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px !important;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navbarSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.navbar.scrolled {
    height: 65px !important;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100% !important;
    width: 100%;
    height: 100%;
    padding: 0 28px;
    box-sizing: border-box;
    position: relative;
}

/* =========================================
   LOGO
   ========================================= */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
    height: 100%;
    flex-shrink: 0;
    margin-right: 25px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.navbar .logo {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.logo-image {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 4px 0 0 !important;
    transition: filter 0.4s ease, height 0.4s ease;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 2px;
}

.logo-text {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap !important;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.68rem !important;
    font-weight: 700;
    letter-spacing: 1.8px !important;
    margin-top: 1px;
    text-transform: uppercase;
    white-space: nowrap !important;
}

/* =========================================
   NAVIGATION MENU (DESKTOP)
   ========================================= */

.nav-toggle-btn {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    flex-grow: 1;
    position: relative;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    flex: 1;
    margin: 0 20px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    padding: 6px 0;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

.nav-links a:hover {
    color: #ffffff !important;
}

/* ANIMATED UNDERLINE (KIRI KE KANAN) */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    border-radius: 4px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ACTIVE STATE WITH GLOW EFFECT */
.nav-links a.active-nav {
    color: #ffffff !important;
    font-weight: 600;
}

.nav-links a.active-nav::after {
    width: 100%;
    background: #ffffff;
}

/* =========================================
   DROPDOWN (INFO)
   ========================================= */

.dropdown-custom {
    position: relative;
}

.dropdown-custom > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-custom > a i {
    font-size: 0.8rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-custom:hover > a i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 9999;
}

.dropdown-custom:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-content a {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    padding-left: 20px;
}

/* =========================================
   AUTH LINKS
   ========================================= */

.nav-auth {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dropdown-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 5px 12px;
    transition: all 0.25s ease;
}

.dropdown-lang:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-dropdown-content {
    min-width: 270px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
}

.lang-list-container {
    max-height: 280px;
    overflow-y: auto;
    background: #0f172a !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.lang-list-container::-webkit-scrollbar {
    width: 5px;
}

.lang-list-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.lang-item,
.lang-item span,
.lang-item *,
.lang-dropdown-content a,
.lang-list-container a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 16px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-item:hover,
.lang-item:hover span,
.lang-item:hover * {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
}

/* Hide Google Translate ugly iframe banner */
.goog-te-banner-frame,
.goog-te-banner,
.skiptranslate iframe {
    display: none !important;
}

body {
    top: 0px !important;
}

.btn-login {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.25s ease;
    padding: 6px 12px;
}

.btn-login:hover {
    color: #ffffff !important;
}

.btn-register,
.btn-dashboard {
    background: #8c7a6b !important;
    color: #ffffff !important;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    box-shadow: 0 4px 12px rgba(140, 122, 107, 0.15);
}

.btn-register:hover,
.btn-dashboard:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(140, 122, 107, 0.25);
}

.btn-logout {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444 !important;
    padding: 6px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.btn-logout:hover {
    background: #ef4444;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    transform: translateY(-1px);
}

/* =========================================
   MOBILE RESPONSIVE NAVIGATION
   ========================================= */

/* =========================================
   RESPONSIVE NAVBAR (992px, 768px, 576px)
   ========================================= */

@media (max-width: 992px) {
    .navbar {
        height: 70px !important;
        padding: 0;
    }

    .navbar-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
        width: 100% !important;
    }

    .logo {
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    /* HAMBURGER TOGGLE BUTTON VISIBLE BELOW 992PX */
    .nav-toggle-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 26px !important;
        height: 20px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 10000 !important;
        margin-left: auto !important;
    }

    .hamburger-bar {
        width: 100%;
        height: 2.5px;
        background-color: #ffffff !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    /* Hamburger Animation to X */
    .nav-toggle-btn.active .hamburger-bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .nav-toggle-btn.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-btn.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    /* MOBILE / TABLET NAV MENU DRAWER */
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 24px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        padding: 30px 24px 25px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        z-index: 9998;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0 !important;
    }

    .nav-menu.active {
        display: flex !important;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links {
        position: static !important;
        transform: none !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        flex: initial !important;
        margin: 0 !important;
    }

    .nav-auth {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        margin-top: 10px !important;
    }

    .nav-links a {
        font-size: 1.05rem !important;
    }

    .nav-links a::after {
        display: none !important; /* Disable underline effect on mobile */
    }

    .dropdown-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 8px;
        padding: 6px 0;
        margin-top: 8px;
        width: 100% !important;
        text-align: center;
    }

    .dropdown-content a {
        padding: 8px 15px;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .dropdown-content a:hover {
        padding-left: 15px;
        background: rgba(255, 255, 255, 0.1) !important;
    }
        gap: 14px;
        width: 100%;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 16px;
    }

    .btn-login,
    .btn-register,
    .btn-dashboard,
    .btn-logout {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* =========================
   FOOTER MODERN
========================= */

.footer-custom{
    background:#25173d;
    margin-top:80px;
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns: 2.2fr 1fr 1.2fr 0.8fr;
    gap:40px;
    padding:55px 0;
}

.footer-col h3{
    font-size:1.75rem;
    font-weight:900;
    margin-bottom:16px;
    color:#ffffff !important;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.footer-col h4{
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:20px;
    color:#ffffff !important;
}

.footer-col p{
    color:#ffffff !important;
    line-height:1.8;
    margin-bottom:10px;
    font-size:0.95rem;
}

.footer-contact p{
    margin-bottom:6px;
    white-space: nowrap;
}

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col ul li{
    margin-bottom:14px;
}

.footer-col ul li a{
    color:#ffffff !important;
    text-decoration:none;
    transition:.3s;
    font-size:.95rem;
}

.footer-col ul li a:hover{
    color:#f8f9fa;
    padding-left:5px;
}

.footer-col ul li a::before{
    content:"›";
    margin-right:8px;
    color:#eff2f5;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:10px;
}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
    transition:.3s;
}

.footer-social a:hover{
    background:#00bfff;
    transform:translateY(-4px);
}

.footer-bottom{
    background:#130b24;
    padding:18px 0;
}

.footer-bottom-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:.9rem;
    color:#ffffff !important;
}

.footer-bottom strong{
    color:#fff;
}

@media(max-width:991px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:25px;
        text-align:center;
    }

    .footer-social{
        justify-content:center;
    }

    .footer-bottom-wrap{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

}

/* ===================================
   PROGRAM YANG KAMI SEDIAKAN
=================================== */
.about-page .program-box{
    margin-top:40px;
}

.about-page .program-box h3{
    background:linear-gradient(
        135deg,
        #000000,
        #ffffff
    );
    color:#fff;
    padding:18px 25px;
    border-radius:15px;
    font-size:28px;
    font-weight:800;
    margin-bottom:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.about-page .program-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
    gap:18px;
}

.about-page .program-item{
    background:#fff;
    border-left:5px solid #2563eb;
    padding:18px 20px;
    border-radius:15px;
    font-size:17px;
    font-weight:700;
    color:#1f2937;
    display:flex;
    align-items:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s ease;
}

.about-page .program-item:hover{
    transform:translateY(-5px);
    background:#f8fbff;
    box-shadow:0 15px 30px rgba(0, 0, 0, 0.12);
}

.about-page .program-item i{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #2563eb,
        #0ea5e9
    );
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-right:15px;
}

/* ABOUT */

.about-page{
    background:#ffffff;
    min-height:100vh;
    padding-bottom:80px;
}

.about-page .about-header{
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding:50px 0;
}

.about-page .breadcrumb-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.about-page .breadcrumb-wrap h1{
    color:#0f172a;
    font-size:42px;
    font-weight:800;
}

.about-page .breadcrumb{
    color:#64748b;
}

.about-page .breadcrumb a{
    color:#1d4ed8;
    text-decoration:none;
}

.about-page .about-card{
    background:#fff;
    margin-top: 30px;
    border-radius:25px;
    padding:50px;
    border: 1px solid #e2e8f0;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.about-page .about-content{
    display:grid;
    grid-template-columns:400px 1fr;
    gap:50px;
    align-items:center;
}

.about-page .about-image img{
    width:100%;
    max-width:380px;
    display:block;
    margin:auto;
}

.about-page .about-text h2{
    color:#123d6a;
    font-size:38px;
    font-weight:800;
    margin-bottom:20px;
}

.about-page .about-text p{
    color:#555;
    line-height:1.9;
    margin-bottom:20px;
    font-size:17px;
    text-align:justify;
}

@media(max-width:991px){

    .about-page .about-content{
        grid-template-columns:1fr;
    }

    .about-page .program-grid{
        grid-template-columns:1fr;
    }

    .about-page .breadcrumb-wrap{
        flex-direction:column;
        gap:10px;
    }

    .about-page .about-card{
        padding:30px;
    }

}

/* ===================================
   ABOUT IMAGE IMPROVEMENT
=================================== */

.about-page .about-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.about-page .about-image img{

    width:100%;

    max-width:380px;

    height:auto;

    display:block;

    margin:auto;

    filter:
        drop-shadow(
            0 12px 25px rgba(0,0,0,.12)
        );

    animation:
        floatingImage 4s ease-in-out infinite;

    transition:.3s ease;
}

.about-page .about-image img:hover{

    transform:scale(1.02);
}

/* ===================================
   ABOUT CARD
=================================== */

.about-page .about-card{

    background:#ffffff;

    margin-top:-30px;

    border-radius:20px;

    padding:35px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.about-page .about-content{

    display:grid;

    grid-template-columns:
        380px
        1fr;

    gap:40px;

    align-items:center;
}

.about-page .about-text h2{

    font-size:30px;

    font-weight:800;

    color:#0d1013;

    margin-bottom:15px;
}

.about-page .about-text p{

    font-size:16px;

    line-height:1.8;

    color:#555;

    margin-bottom:15px;
}

/* ===================================
   PROGRAM SECTION
=================================== */

.about-page .program-box{
    margin-top:30px;
}

.about-page .program-box h3{

    background:linear-gradient(
        135deg,
        #0f2f57,
        #1d4e89
    );

    color:#fff;

    font-size:22px;

    font-weight:700;

    text-align:center;

    padding:15px 20px;

    border-radius:12px;

    margin-bottom:20px;
}

.about-page .program-grid{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:15px;
}

.about-page .program-item{

    background:#fff;

    border-left:4px solid #2563eb;

    padding:15px 18px;

    border-radius:12px;

    font-size:15px;

    font-weight:600;

    color:#1f2937;

    display:flex;

    align-items:center;

    box-shadow:
        0 5px 15px rgba(0,0,0,.06);

    transition:.3s ease;
}

.about-page .program-item:hover{

    transform:translateY(-3px);

    background:#f8fbff;
}

.about-page .program-item i{

    width:38px;

    height:38px;

    min-width:38px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #2563eb,
        #0ea5e9
    );

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-right:12px;

    font-size:14px;
}

/* ===================================
   FLOATING ANIMATION
=================================== */

@keyframes floatingImage{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}

/* ===================================
   SCROLL REVEAL
=================================== */

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.revealed{

    opacity:1;

    transform:translateY(0);
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:991px){

    .about-page .about-content{

        grid-template-columns:1fr;

        gap:25px;
    }

    .about-page .about-image img{

        max-width:300px;
    }

    .about-page .program-grid{

        grid-template-columns:1fr;
    }

    .about-page .about-card{

        padding:25px;
    }

    .about-page .about-text h2{

        font-size:26px;
    }

}

/* ===================================
   PORTFOLIO PAGE
=================================== */

.portfolio-page{

    background:#f5f7fb;

    min-height:100vh;

    padding-bottom:80px;
}

/* HEADER */

.portfolio-header{
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding:45px 0;
    margin-bottom:40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.portfolio-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.portfolio-top h1{
    color: #0f172a;
    font-size:38px;
    font-weight:800;
    margin:0;
}

.breadcrumb{
    color: #64748b;
}

.breadcrumb a{
    color: #1d4ed8;
    text-decoration:none;
    font-weight: 600;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

/* FILTER */

.portfolio-filter{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:40px;
}

.portfolio-filter button{

    border:none;

    background:#fff;

    color:#123d6a;

    padding:12px 22px;

    border-radius:50px;

    font-weight:600;

    box-shadow:
        0 4px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.portfolio-filter button:hover,
.portfolio-filter button.active{

    background:#123d6a;

    color:#fff;
}

/* AREA FOTO */

.portfolio-wrapper{

    background:#ffffff;

    border-radius:20px;

    padding:30px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.portfolio-grid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:25px;
}

.portfolio-item{

    overflow:hidden;

    border-radius:15px;

    position:relative;

    background:#fff;
}

.portfolio-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.5s ease;
}

.portfolio-item:hover img{

    transform:scale(1.08);
}

/* OVERLAY */

.portfolio-item::after{

    content:'';

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.25)
        );

    opacity:0;

    transition:.3s;
}

.portfolio-item:hover::after{

    opacity:1;
}

/* MOBILE */

@media(max-width:991px){

    .portfolio-grid{

        grid-template-columns:
            repeat(2,1fr);
    }

}

@media(max-width:768px){

    .portfolio-top{

        gap:15px;
    }

    .portfolio-top h1{

        font-size:28px;
    }

    .portfolio-grid{

        grid-template-columns:1fr;
    }

    .portfolio-item img{

        height:260px;
    }

}

/* ===================================
   NEWS & EVENTS PAGE
=================================== */

.news-page{
    padding:60px 0;
    background:#f4f7fb;
}

/* ===================================
   PAGE HEADER
=================================== */

.page-header{
    background:#f3f1f8;
    padding:35px 0;
    margin-bottom:40px;
    border-bottom:1px solid #e5e7eb;
}

.page-header-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.page-header h1{
    margin:0;
    font-size:3rem;
    font-weight:800;
    color:#6b63a9;
}

.breadcrumb{
    display:flex;
    gap:10px;
    align-items:center;
    color:#64748b;
    font-size:16px;
}

.breadcrumb a{
    color:#6b63a9;
    text-decoration:none;
    font-weight:600;
}

.breadcrumb a:hover{
    color:#4f46e5;
}

/* ===================================
   LAYOUT
=================================== */

.news-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:35px;
    align-items:start;
}

/* ===================================
   MAIN CARD
=================================== */

.news-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.news-image{
    overflow:hidden;
}

.news-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.news-card:hover .news-image img{
    transform:scale(1.04);
}

.news-content{
    padding:35px;
}

.news-meta{
    display:flex;
    gap:20px;
    color:#64748b;
    font-size:14px;
    margin-bottom:20px;
}

.news-content h2{
    font-size:2rem;
    font-weight:800;
    line-height:1.3;
    color:#0f172a;
    margin-bottom:20px;
}

.news-content p{
    color:#475569;
    font-size:16px;
    line-height:1.9;
}

.news-description{
    margin-top:25px;
}

.news-btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 28px;
    border-radius:50px;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.news-btn:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/* ===================================
   SIDEBAR
=================================== */

.news-sidebar{
    position:sticky;
    top:100px;
}

.sidebar-box{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.sidebar-title{
    padding:18px 20px;
    background:#f8fafc;
    font-weight:800;
    color:#0f172a;
    font-size:18px;
}

.search-box{
    padding:20px;
}

.search-box input{
    width:100%;
    padding:14px;
    border:1px solid #dbeafe;
    border-radius:10px;
    outline:none;
    font-size:15px;
}

.news-side-item{
    display:flex;
    gap:15px;
    padding:15px;
    text-decoration:none;
    border-top:1px solid #eef2f7;
    transition:.3s;
}

.news-side-item:hover{
    background:#f8fafc;
}

.news-side-item img{
    width:90px;
    height:70px;
    object-fit:cover;
    border-radius:10px;
}

.news-side-item span{
    color:#334155;
    font-weight:600;
    line-height:1.5;
}

.category-list a{
    display:block;
    padding:15px 20px;
    color:#334155;
    text-decoration:none;
    border-top:1px solid #eef2f7;
    transition:.3s;
}

.category-list a:hover{
    background:#f8fafc;
    color:#2563eb;
    padding-left:28px;
}

/* ===================================
   ANIMATION
=================================== */

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

.reveal.revealed{
    opacity:1;
    transform:translateY(0);
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:991px){

    .news-layout{
        grid-template-columns:1fr;
    }

    .news-sidebar{
        position:relative;
        top:0;
    }

    .news-image img{
        height:350px;
    }

}

@media(max-width:768px){

    .page-header h1{
        font-size:2rem;
    }

    .news-image img{
        height:250px;
    }

    .news-content{
        padding:25px;
    }

    .news-content h2{
        font-size:1.5rem;
    }

    .breadcrumb{
        font-size:14px;
    }

}

/* ===================================
CONTACT PAGE
=================================== */

.contact-page{
padding:50px 0 70px;
background:#f4f7fb;
}

/* HEADER */

.page-header{
margin-bottom:35px;
}

.page-header-wrap{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:15px;
}

.page-label{
display:inline-block;
padding:8px 18px;
border-radius:30px;
background:#e0edff;
color:#2563eb;
font-size:13px;
font-weight:700;
letter-spacing:1px;
}

.page-header h1{
margin-top:12px;
font-size:42px;
font-weight:800;
color:#0f172a;
}

.breadcrumb{
display:flex;
align-items:center;
gap:10px;
color:#64748b;
font-size:15px;
}

.breadcrumb a{
color:#2563eb;
text-decoration:none;
}

/* CONTACT CARD */

.contact-card{
background:#ffffff;
border-radius:20px;
padding:35px;
box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.contact-grid{
display:grid;
grid-template-columns:0.9fr 1.3fr;
gap:35px;
align-items:center;
}

/* INFO */

.contact-info h2{
font-size:34px;
font-weight:800;
color:#2f2464;
margin-bottom:15px;
}

.contact-divider{
width:100px;
height:4px;
background:#2f2464;
border-radius:50px;
margin-bottom:25px;
}

.contact-item{
display:flex;
align-items:center;
gap:15px;
margin-bottom:18px;
color:#475569;
font-size:16px;
line-height:1.7;
}

.contact-item i{
width:42px;
height:42px;
border-radius:50%;
background:#f3f0ff;
color:#2f2464;
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
}

/* MAP */

.contact-map iframe{
width:100%;
height:380px;
border:none;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

/* REVEAL ANIMATION */

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

.reveal.revealed{
opacity:1;
transform:translateY(0);
}

/* TABLET */

@media(max-width:991px){

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

.contact-map iframe{
    height:340px;
}

.page-header h1{
    font-size:34px;
}

}

/* MOBILE */

@media(max-width:768px){

.contact-card{
    padding:25px;
}

.page-header h1{
    font-size:28px;
}

.contact-info h2{
    font-size:26px;
}

.contact-item{
    font-size:15px;
}

.contact-map iframe{
    height:280px;
}

.page-header-wrap{
    flex-direction:column;
    align-items:flex-start;
}

}

/* =====================================
 SLIDE TAMPILAN AWAL
===================================== */

.hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    visibility:hidden;
    transition:1s ease;
}

.slide.active{
    opacity:1;
    visibility:visible;
    animation:zoomHero 8s linear forwards;
}

@keyframes zoomHero{
    from{
        transform:scale(1);
    }
    to{
        transform:scale(1.1);
    }
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

/* ==========================
   TULISAN
========================== */

.hero-content{
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    transform:translate(-50%, -50%) !important;
    width:60% !important;
    max-width:1000px !important;
    text-align:center !important;
    z-index:100 !important;
    margin:0 !important;
    padding:0 !important;
}

.hero-content{
    color:#ffffff !important;
}

.hero-content h1{
    color:#ffffff !important;
    font-size:45px;
    font-weight:800;
    text-shadow:
        0 3px 10px rgba(0,0,0,.5);
}

.hero-content p{
    color:#ffffff !important;
    font-size:28px;
    line-height:1.8;
    text-shadow:
        0 2px 8px rgba(0,0,0,.5);
}

.hero-content a{
    color:#ffffff !important;
}

/* ARROW */

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.2);
    color:#fff;
    font-size:30px;
    cursor:pointer;
    z-index:20;
}

.prev{
    left:25px;
}

.next{
    right:25px;
}

/* DOTS */

.slider-dots{
    position:absolute;
    bottom:40px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    z-index:20;
}

.slider-dots span{
    width:14px;
    height:14px;
    border-radius:50%;
    background:#fff;
    opacity:.5;
}

.slider-dots span.active{
    opacity:1;
    background:#2563eb;
}

/* MOBILE */

@media(max-width:768px){

    .hero-content h1{
        font-size:36px;
    }

    .hero-content p{
        font-size:18px;
    }

    .slider-btn{
        width:45px;
        height:45px;
        font-size:22px;
    }
}

/*test*/
.confirm-modal{
    display:none;
    pointer-events:none;
}

.confirm-modal.active{
    display:flex;
    pointer-events:auto;
}

/* =========================================
   DASHBOARD PAGES SPACING ENHANCEMENT
   ========================================= */
.dashboard-wrapper,
.bookings-wrapper,
.products-wrapper,
.services-wrapper,
.transaction-wrapper,
.transactions-wrapper {
    padding: 70px 0 120px !important;
}

/* Also apply generous spacing for admin and company content containers */
.main,
.co-main,
.container-fluid {
    padding-top: 60px !important;
    padding-bottom: 100px !important;
}

/* =========================================
   MODERN SHOPPING ACCOUNT & TABLE ENHANCEMENTS
   ========================================= */

/* Body Background */
body {
    background: #f8fafc !important;
}

/* Page Titles */
.page-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    margin-bottom: 6px !important;
}

.page-subtitle {
    color: #64748b !important;
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
}

/* Unify Card Styles */
.transaction-card,
.booking-card,
.product-card,
.service-card,
.recent-card {
    border: none !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
}

.transaction-header,
.booking-header,
.product-header,
.service-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 20px 24px !important;
    color: #0f172a !important;
}

.transaction-header h5,
.booking-header h5,
.product-header h5,
.service-header h5 {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
}

.transaction-body,
.booking-body,
.product-body,
.service-body {
    padding: 24px !important;
}

/* Modern E-commerce Table Styles */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

.table thead {
    background: #f8fafc !important;
}

.table thead th {
    padding: 14px 20px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
}

.table tbody td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #475569 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
}

.table-hover tbody tr:hover {
    background: #f8fafc !important;
}

/* Monospace ID & Highlighted Price */
.table tbody td:first-child {
    font-family: monospace !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    font-size: 0.95rem !important;
}

.table tbody td.price, 
.table tbody td:nth-child(3) {
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* Soft Premium Badges */
.custom-badge {
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}

.badge-warning { background: #fef3c7 !important; color: #d97706 !important; }
.badge-info { background: #e0f2fe !important; color: #0284c7 !important; }
.badge-primary { background: #e0e7ff !important; color: #4f46e5 !important; }
.badge-success { background: #dcfce7 !important; color: #16a34a !important; }
.badge-danger { background: #fee2e2 !important; color: #dc2626 !important; }
.badge-secondary { background: #f1f5f9 !important; color: #475569 !important; }

/* Modern E-commerce Sidebar styling */
.dashboard-sidebar {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.dashboard-sidebar .list-group {
    gap: 6px !important;
}

.dashboard-sidebar .list-group-item {
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
}

.dashboard-sidebar .list-group-item:hover {
    background: #f1f5f9 !important;
    color: #2563eb !important;
    transform: none !important;
}

.dashboard-sidebar .list-group-item.active {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

/* Modern Search Box */
.search-box {
    position: relative !important;
    margin-bottom: 24px !important;
}

.search-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94a3b8 !important;
    font-size: 1rem !important;
}

.search-input {
    padding: 12px 20px 12px 46px !important;
    border-radius: 30px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    width: 100% !important;
    font-size: 0.9rem !important;
    outline: none !important;
    transition: all 0.25s ease !important;
}

.search-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    background: #ffffff !important;
}

.search-input::placeholder {
    color: #94a3b8 !important;
}

/* Modern Shopping Product Card Layout */
.product-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.product-image {
    background: #f8fafc !important;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.product-image i {
    font-size: 4rem !important;
    color: #94a3b8 !important;
}

.product-body {
    padding: 20px !important;
}

.product-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
}

.product-category {
    font-size: 0.8rem !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
}

.product-price {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    margin-bottom: 16px !important;
}

.btn-buy {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    border: none !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
}

.btn-buy:hover {
    background: #1d4ed8 !important;
}

/* Modern Shopping Service Card Layout */
.service-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.service-image {
    background: #f8fafc !important;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.service-image i {
    font-size: 4rem !important;
    color: #94a3b8 !important;
}

.service-body {
    padding: 20px !important;
}

.service-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
}

.service-type {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    z-index: 5 !important;
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    background: rgba(37, 99, 235, 0.15) !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.service-info {
    font-size: 0.82rem !important;
    color: #64748b !important;
    margin-bottom: 12px !important;
    display: flex !important;
    gap: 12px !important;
}

.service-price {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
}

.btn-book {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.btn-book:hover {
    background: #1d4ed8 !important;
}

/* Success Alert override */
.success-alert {
    background: #dcfce7 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    color: #14532d !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.success-icon {
    background: #22c55e !important;
    box-shadow: none !important;
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 1.4rem !important;
}

.success-title {
    color: #14532d !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    margin-bottom: 4px !important;
}

.success-text {
    color: #15803d !important;
    font-size: 0.9rem !important;
}

/* Form inputs styling */
.form-control,
.form-select,
textarea {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
}
.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* =========================================
   DRIBBBLE MINIMALIST E-COMMERCE ADMIN
   ========================================= */

/* Body & Base Text Overrides for Admin Section */
.wrapper,
.admin-wrapper,
.sidebar,
.admin-sidebar,
.main,
.admin-main,
.container-fluid,
.card,
.admin-card,
.card-header,
.card-body,
table,
.admin-table,
.menu a,
.admin-sidebar a,
.list-group-item,
h2, h3, h4, p, th, td, span, strong, small, div {
    color: #000000 !important;
}

/* Sidebar and Sidebar Menus */
.sidebar,
.admin-sidebar,
.list-group {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    min-height: 400px;
}

.sidebar h3,
.admin-sidebar h3,
.sidebar h4,
.admin-sidebar h4 {
    color: #000000 !important;
}

/* Sidebar Links */
.menu a,
.admin-sidebar a,
.list-group-item {
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-decoration: none !important;
}

.menu a:hover,
.admin-sidebar a:hover,
.list-group-item:hover {
    background: #f1f5f9 !important;
    color: #2563eb !important;
    transform: none !important;
}

.menu a.active,
.admin-sidebar a.active,
.list-group-item.active {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.menu a.active *,
.admin-sidebar a.active *,
.list-group-item.active * {
    color: #ffffff !important;
}

/* Logo icon in sidebar */
.logo,
.admin-logo {
    background: linear-gradient(135deg, #2563eb, #38bdf8) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

/* Profile area in sidebar */
.profile {
    margin-top: 30px !important;
    padding: 16px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    color: #000000 !important;
}
.profile h4 {
    margin: 0 0 4px 0 !important;
    color: #000000 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}
.profile p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
}

/* Headings and descriptions */
.main h2,
.admin-main h2,
.col-md-9 h2 {
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
    margin-bottom: 6px !important;
}
.main p,
.admin-main p,
.col-md-9 p,
.page-subtitle {
    color: #1e293b !important;
    font-size: 0.95rem !important;
}

/* Stats Cards Grid */
.stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 24px !important;
    margin-bottom: 30px !important;
}

.stats .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 24px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.stats .card h3 {
    font-size: 0.85rem !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 8px 0 4px 0 !important;
    font-weight: 600 !important;
}

.stats .card h2 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
    margin: 0 !important;
}

/* Standard Admin Content Cards */
.col-md-9 .card,
.main .card,
.admin-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    color: #000000 !important;
}

.col-md-9 .card-header,
.main .card-header,
.card-header,
.admin-card-title {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 20px 24px !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.col-md-9 .card-body,
.main .card-body {
    padding: 24px !important;
    background: #ffffff !important;
}

/* Admin Table Styles */
.main table,
.admin-main table,
.col-md-9 table,
.admin-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-top: 15px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
}

.main table thead,
.admin-main table thead,
.col-md-9 table thead,
.admin-table thead,
.admin-table tr:first-child {
    background: #f8fafc !important;
}

.main table th,
.admin-main table th,
.col-md-9 table th,
.admin-table th {
    padding: 14px 20px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
    text-align: left !important;
    background: #f8fafc !important;
}

.main table td,
.admin-main table td,
.col-md-9 table td,
.admin-table td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #000000 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    vertical-align: middle !important;
    background: #ffffff !important;
}

.main table tbody tr:hover td,
.admin-main table tbody tr:hover td,
.col-md-9 table tbody tr:hover td,
.admin-table tbody tr:hover td {
    background: #f8fafc !important;
}

/* Inline text override hacks inside table */
.main table td div,
.admin-main table td div,
.col-md-9 table td div,
.admin-table td div {
    color: #000000 !important;
}
.main table td small,
.admin-main table td small,
.col-md-9 table td small,
.admin-table td small {
    color: #475569 !important;
}

/* Bullet bullet style for admin status */
td.success,
td.pending,
td.info {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

td.success { color: #16a34a !important; }
td.pending { color: #d97706 !important; }
td.info { color: #0284c7 !important; }

td.success::before,
td.pending::before,
td.info::before {
    content: "●" !important;
    margin-right: 6px !important;
    font-size: 0.8rem !important;
}

td.success::before { color: #16a34a !important; }
td.pending::before { color: #d97706 !important; }
td.info::before { color: #0284c7 !important; }

/* Modern E-commerce Buttons for Admin */
.main .btn,
.admin-main .btn,
.col-md-9 .btn,
.sidebar .btn,
.btn-primary,
.btn-success,
.btn-danger {
    border-radius: 30px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.25s ease !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-primary {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}
.btn-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
}

.btn-success {
    background: #16a34a !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15) !important;
}
.btn-success:hover {
    background: #15803d !important;
    transform: translateY(-1px) !important;
}

.btn-danger {
    background: #ef4444 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
}
.btn-danger:hover {
    background: #dc2626 !important;
    transform: translateY(-1px) !important;
}

/* Modern inputs, select options, dropdowns in admin section */
.main input,
.admin-main input,
.col-md-9 input,
.main select,
.admin-main select,
.col-md-9 select,
.main textarea,
.admin-main textarea,
.col-md-9 textarea,
.admin-table input,
.admin-table select {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    outline: none !important;
    transition: all 0.25s ease !important;
}

.main input:focus,
.admin-main input:focus,
.main select:focus,
.admin-main select:focus,
.admin-table select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.main select option,
.admin-main select option,
.admin-table select option {
    color: #000000 !important;
    background-color: #ffffff !important;
}

/* =========================================
   FORCE WHITE TEXT - FOOTER & PORTFOLIO
========================================= */
.footer-custom,
.footer-custom *,
.footer-col,
.footer-col h3,
.footer-col h4,
.footer-col p,
.footer-col strong,
.footer-col span,
.footer-col ul li a,
.footer-col ul li a::before,
.footer-contact p,
.footer-contact strong,
.footer-bottom-wrap,
.footer-bottom-wrap span,
.footer-bottom-wrap strong {
    color: #ffffff !important;
}

.portfolio-overlay h4,
.portfolio-overlay p {
    color: #ffffff !important;
}

/* =========================================
   100% COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Supports: 1920px, 1440px, 1366px, 1280px,
   Laptops, Tablets, iOS/Android Smartphones
   ========================================= */

/* GLOBAL VIEWPORT PROTECTION */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

img, video, iframe {
    max-width: 100% !important;
    height: auto;
}

/* Table Responsive Wrapper */
.table-responsive,
.admin-table-container,
.table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 20px;
}

/* 1. LARGE DESKTOP & LAPTOP (1280px - 1440px) */
@media (max-width: 1440px) {
    .container {
        max-width: 1280px;
        padding: 0 20px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 1140px;
        padding: 0 18px;
    }
    
    .stats {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
}

/* 2. TABLET & SMALL LAPTOPS (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    /* Admin & User Layout */
    .admin-wrapper {
        flex-direction: column !important;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Modals responsive bounds */
    #terminateModal > div,
    #scheduleModal > div,
    #approveModal > div,
    #rejectModal > div,
    .modal-dialog {
        max-width: 90% !important;
        width: 90% !important;
        margin: 20px auto !important;
    }
}

/* 3. SMALL TABLETS & SMARTPHONES (< 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 60px !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 16px !important;
    }

    /* Typography scaling for Mobile */
    h1, .page-header h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }

    h2, .section-title h2 {
        font-size: 1.65rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    /* Section Spacing */
    section, .section {
        margin-bottom: 2.5cm !important;
        padding: 50px 0 !important;
    }

    /* Grid layout stack on Mobile */
    .grid,
    .services-grid,
    .products-grid,
    .projects-grid,
    .portfolio-grid,
    .news-grid,
    .team-grid,
    .clients-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Mobile Data Tables Smooth Horizontal Scroll */
    .admin-table,
    table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .admin-table th,
    .admin-table td,
    table th,
    table td {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }

    /* Form Grids Stacking */
    .admin-card form div[style*="grid-template-columns"],
    form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* Touch-friendly Action Buttons */
    .btn,
    .btn-primary,
    .btn-success,
    .btn-danger,
    .btn-blue,
    .btn-red,
    .hero-btn {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Floating Contact Widget Mobile position */
    .floating-contact-container {
        bottom: 16px !important;
        right: 16px !important;
    }

    .floating-contact-menu {
        right: 0 !important;
        width: calc(100vw - 32px) !important;
        max-width: 340px !important;
    }
}

/* 4. EXTRA SMALL DEVICES / COMPACT SMARTPHONES (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px !important;
    }

    h1, .page-header h1 {
        font-size: 1.75rem !important;
    }

    h2, .section-title h2 {
        font-size: 1.4rem !important;
    }

    .admin-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    /* Modals Extra Small Screen handling */
    #terminateModal > div,
    #scheduleModal > div,
    #approveModal > div,
    #rejectModal > div,
    .modal-dialog {
        max-width: 95vw !important;
        width: 95vw !important;
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .slider-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    .prev { left: 10px !important; }
    .next { right: 10px !important; }
}