/* ==========================
    GENZI JOB - STYLE.CSS
   PART 2A
========================== */

.content-manager-panel .content-manager-grid {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
}

.content-manager-card {
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.panel-subheader {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.content-filter-input,
.content-form input,
.content-form textarea {
    width:100%;
    padding:10px 12px;
    border:1px solid #dbe4f0;
    border-radius:10px;
    font-size:14px;
}

.content-form {
    display:flex;
    flex-direction:column;
    gap:10px;
}

.content-form button,
.content-item-actions button,
.section-toggle-btn {
    border:none;
    cursor:pointer;
    border-radius:999px;
    padding:8px 12px;
    font-weight:600;
}

.content-form button {
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
}

.content-list {
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:4px;
}

.content-list-item {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    padding:10px 12px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:12px;
}

.content-list-item strong {
    display:block;
    margin-bottom:4px;
}

.content-list-item p,
.content-list-item small {
    color:#64748b;
    font-size:13px;
}

.content-item-actions {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.content-item-actions .danger-btn {
    background:#fee2e2;
    color:#b91c1c;
}

.content-item-actions .ghost-btn {
    background:#f1f5f9;
    color:#334155;
}

.content-item-actions .toggle-btn {
    background:#dcfce7;
    color:#166534;
}

.empty-home-state {
    padding:24px 12px;
    text-align:center;
    color:#64748b;
    border:1px dashed #cbd5e1;
    border-radius:12px;
    background:#fff;
}

/* Content manager tables */
.table-wrap{
    overflow:auto;
}

.content-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
    overflow:hidden;
}

.content-table th,
.content-table td{
    padding:10px 12px;
    text-align:left;
    border-bottom:1px solid #e8eef6;
}

.content-table th{
    background:#f8fafc;
    color:#0f172a;
    font-weight:700;
}

.category-grid,
.job-grid,
.testimonial-grid {
    display:grid;
    gap:20px;
}

.category-grid {
    display:flex;
    flex-wrap:nowrap;
    gap:20px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:8px;
    margin-left:-12px;
    padding-left:12px;
}

.category-grid::-webkit-scrollbar {
    display:none;
}

.category-grid {
    -ms-overflow-style:none;
    scrollbar-width:none;
}

.category-card {
    flex:0 0 280px;
    min-width:280px;
    max-width:280px;
}

.job-grid {
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.category-card,
.job-card,
.testimonial-card {
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:18px;
    padding:20px;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.category-card i,
.job-card .company-icon,
.step-card i {
    color:#2563eb;
}

.job-card .job-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.job-details {
    display:grid;
    gap:8px;
    margin:12px 0;
    color:#475569;
    font-size:14px;
}

.job-footer {
    display:flex;
    justify-content:flex-end;
}

.apply-btn {
    text-decoration:none;
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    padding:10px 16px;
    border-radius:999px;
    font-weight:600;
}

.testimonial-card .testimonial-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.testimonial-card img {
    width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
}

@media (max-width: 1024px) {
    .content-manager-panel .content-manager-grid,
    .category-grid,
    .job-grid,
    .testimonial-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .content-manager-panel .content-manager-grid,
    .category-grid,
    .job-grid,
    .testimonial-grid {
        grid-template-columns:1fr;
    }

    .content-manager-card {
        padding:14px;
    }

    .panel-subheader {
        flex-direction:column;
        align-items:flex-start;
    }

    .content-list-item {
        flex-direction:column;
    }

    .content-item-actions {
        width:100%;
        justify-content:flex-start;
    }
}

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fa;
    color:#2c3e50;
    overflow-x:hidden;
    transition:background .3s ease, color .3s ease;
    line-height:1.6;
}

.hidden{
    display:none !important;
}

.hidden{
    display:none !important;
}

.scroll-progress{
    position:fixed;
    top:0;
    left:0;
    height:4px;
    background:linear-gradient(90deg,#2563eb,#14b8a6);
    width:0%;
    z-index:1000;
}

.floating-socials{
    position:fixed;
    right:20px;
    bottom:90px;
    display:flex;
    flex-direction:column;
    gap:12px;
    z-index:1000;
}

@media (max-width: 920px) {
    .contact-layout {
        grid-template-columns:1fr;
    }
}

@media (max-width: 720px) {
    .floating-socials {
        right: 12px;
        bottom: 80px;
        gap: 10px;
    }

    .contact-layout {
        padding:24px 6% 60px;
    }

    .contact-card {
        padding:28px;
    }

    .footer-content {
        grid-template-columns:1fr;
        text-align:left;
    }

    .footer-left,
    .footer-right {
        align-items:flex-start;
        text-align:left;
    }

    .social {
        justify-content:flex-start;
    }

    .footer-links,
    .quick-links {
        justify-content:flex-start;
        align-items:flex-start;
    }

    .page-grid,
    .contact-info-grid,
    .contact-layout {
        grid-template-columns:1fr;
    }

    .page-card,
    .contact-card {
        padding:22px;
    }

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

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-socials {
        right: 10px;
        bottom: 70px;
        gap: 8px;
    }

    .float-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.float-btn{
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:22px;
    text-decoration:none;
    box-shadow:0 6px 20px rgba(0,0,0,.15);
    transition:all .3s ease;
    border:none;
}

.float-btn:hover{
    transform:translateY(-4px) scale(1.08);
    box-shadow:0 12px 30px rgba(0,0,0,.25);
}

.float-btn.whatsapp{
    background:#25d366;
}

.float-btn.instagram{
    background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.float-btn.phone{
    background:#14b8a6;
}

.float-btn.linkedin{
    background:#0a66c2;
}

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(37,99,235,.3);
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    transition:all .3s ease;
    z-index:1000;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 35px rgba(37,99,235,.4);
}

.reveal{
    opacity:0;
    transform:translateY(28px);
    transition:all .7s ease;
}

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

/* Container */

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

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

header{
    width:100%;
    height:80px;
    padding:0 8%;
    background:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    box-shadow:0 2px 15px rgba(0,0,0,.06);
    gap:20px;
    border-bottom:1px solid #f0f4f8;
}

.menu-toggle{
    display:none;
    flex-direction:column;
    gap:4px;
    background:none;
    border:none;
    cursor:pointer;
}

.menu-toggle span{
    display:block;
    width:24px;
    height:2px;
    background:#1e293b;
    border-radius:2px;
}

.logo{
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:28px;
    font-weight:700;
    color:#2563eb;
}

.logo i{
    font-size:30px;
}

.logo img{
    height:60px;
    width:auto;
    display:block;
    object-fit:contain;
    transition:transform .3s ease;
}

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

.footer-brand-logo{
    height:70px;
    width:auto;
    display:block;
    margin-bottom:10px;
    object-fit:contain;
}

@media (max-width: 900px){
    header{
        padding:0 18px;
        height:auto;
        min-height:74px;
        flex-wrap:wrap;
    }

    .logo img{
        height:50px;
    }

    .footer-brand-logo{
        height:52px;
    }

    .menu-toggle{
        display:flex;
        margin-left:auto;
    }

    nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        width:100%;
        background:#fff;
        padding:18px 20px;
        box-shadow:0 10px 20px rgba(0,0,0,.08);
        border-top:1px solid #eef2f7;
    }

    nav.open{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }

    .nav-buttons{
        display:none;
        width:100%;
        justify-content:flex-end;
        margin-top:10px;
    }

    /* reveal mobile admin link inside menu */
    nav ul li.mobile-admin{
        display:block;
    }
}

@media (max-width: 480px){
    .logo img{
        height:44px;
    }

    .footer-brand-logo{
        height:46px;
    }

    header{
        padding:10px 14px;
    }

    .menu-toggle{
        margin-left:0;
    }

    .login-btn,
    .register-btn{
        width:100%;
        text-align:center;
    }

    .nav-buttons{
        width:100%;
        justify-content:stretch;
    }
}

/* Navigation */

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav ul li a{
    text-decoration:none;
    color:#5a6c7d;
    font-weight:500;
    transition:color .3s ease;
    position:relative;
    font-size:15px;
}

nav ul li a:hover,
nav ul li a.active{
    color:#2563eb;
}

nav ul li a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after{
    width:100%;
}

@media (min-width: 901px) {
    /* Mobile-only admin list item (hidden on desktop) */
    nav ul li.mobile-admin{
        display:none;
    }
}

/* Buttons */

.nav-buttons{
    display:flex;
    gap:15px;
    align-items:center;
}

.login-btn,
.register-btn{
    text-decoration:none;
    padding:12px 25px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.login-btn{
    color:#2563eb;
    border:2px solid #2563eb;
}

.login-btn:hover{
    background:#2563eb;
    color:#fff;
}

.register-btn{
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    box-shadow:0 4px 12px rgba(37,99,235,.2);
}

.register-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(37,99,235,.3);
}

/* ==========================
   HERO
========================== */

.hero, .page-hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:120px 8% 80px;
    gap:60px;
    text-align:center;
    background:
        linear-gradient(135deg, rgba(2, 6, 23, 0.75), rgba(15, 23, 42, 0.55)),
        url('image/hero.png') center/cover no-repeat;
    border-radius:0 0 30px 30px;
}

.hero-center{
    width:100%;
    max-width:900px;
    margin:0 auto;
}

.hero-center h1{
    font-size:clamp(2.5rem, 5vw, 4.6rem);
    line-height:1.12;
    margin-bottom:20px;
    font-weight:800;
    color:#ffffff;
    letter-spacing:-0.5px;
}

.hero-center span{
    background:linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.hero-center p{
    color:rgba(255, 255, 255, 0.95);
    font-size:17px;
    line-height:1.8;
    margin:0 auto 40px;
    max-width:700px;
    font-weight:400;
}

.hero-buttons{
    justify-content:center;
    flex-wrap:wrap;
}
        /* CSS Reset & Variables */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        img,
        svg,
        video {
            display: block;
            max-width: 100%;
            height: auto;
        }

        :root {
            --primary: #0A2540;      /* Professional corporate deep blue */
            --accent: #00D4B2;       /* Vibrant growth/bloom teal */
            --text-main: #2D3748;    /* Charcoal text for optimal readability */
            --text-muted: #627D98;   /* Soft slate for subheadings */
            --bg-light: #F8FAFC;     /* Clean, modern off-white background */
            --font-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        body {
            font-family: var(--font-stack);
            background-color: var(--bg-light);
            color: var(--text-main);
            overflow-x: hidden;
        }

        /* Left Side Text Content Wrapper */
        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* Small Top Tag/Kicker */
        .hero-tagline {
            font-size: 0.875rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent);
        }

        /* Main Heading (H1) */
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.15;
            color: var(--primary);
        }

        /* Subheading Paragraph */
        .hero-description {
            font-size: 1.125rem;
            line-height: 1.6;
            color: var(--text-muted);
            max-width: 540px;
        }

        /* Button Action Wrapper */
        .hero-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        /* Primary Button Style */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.875rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            background-color: var(--primary);
            color: #ffffff;
            border: 2px solid var(--primary);
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
        }

        .btn-primary:hover {
            background-color: #0d3359;
            border-color: #0d3359;
            transform: translateY(-2px);
        }

        /* Secondary Button Style */
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.875rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            background-color: transparent;
            color: var(--primary);
            border: 2px solid #E2E8F0;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s ease-in-out;
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            background-color: rgba(10, 37, 64, 0.02);
            transform: translateY(-2px);
        }

        /* Right Side Image Placement Grid/Frame */
        .hero-visual-frame {
            position: relative;
            width: 100%;
            height: 480px;
            background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
            border-radius: 24px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Abstract structural background element to look natural before image insertion */
        .hero-visual-frame::before {
            content: '';
            position: absolute;
            width: 120%;
            height: 120%;
            background: radial-gradient(circle, rgba(0, 212, 178, 0.15) 0%, transparent 70%);
            top: -20%;
            right: -20%;
        }

        /* Main Image within frame (Hidden by default until you add your src path) */
        .hero-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 2;
        }

        /* Temporary Image Placeholder Label */
        .placeholder-text {
            color: var(--text-muted);
            font-size: 0.95rem;
            font-weight: 500;
            z-index: 1;
            text-align: center;
            padding: 2rem;
            border: 2px dashed #94A3B8;
            border-radius: 12px;
        }

        /* Responsive Breakpoints */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
                padding-top: 2rem;
            }

            .hero-content {
                align-items: center;
            }

            .hero-description {
                margin: 0 auto;
            }

            .hero-actions {
                justify-content: center;
            }

            .hero-visual-frame {
                height: 400px;
                max-width: 600px;
                margin: 0 auto;
            }
        }

        @media (max-width: 640px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-actions {
                flex-direction: column;
                width: 100%;
                gap: 0.75rem;
            }

            .btn-primary, .btn-secondary {
                width: 100%;
            }

            .hero-visual-frame {
                height: 300px;
            }
        }

/* ==========================
   SEARCH BOX
========================== */

.search-box{
    display:flex;
    align-items:center;
    gap:15px;
    background:#ffffff;
    padding:16px 20px;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    margin:0 auto 35px;
    flex-wrap:wrap;
    border:1px solid #f0f4f8;
    max-width:900px;
    width:100%;
}

.search-item{
    flex:1;
    display:flex;
    align-items:center;
    gap:10px;
    background:#f5f7fa;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid #e8ecf1;
}

.search-item i{

    color:#2563eb;

    font-size:18px;

}

.search-item input,

.search-item select{

    width:100%;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;

}

.search-box button{
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:white;
    border:none;
    padding:12px 28px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:all .3s ease;
    box-shadow:0 4px 12px rgba(37,99,235,.2);
}

.search-box button:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(37,99,235,.3);
}

/* ==========================
   HERO BUTTONS
========================== */

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:50px;
}

.primary-btn,
.secondary-btn{
    text-decoration:none;
    padding:14px 32px;
    border-radius:10px;
    font-weight:600;
    transition:all .3s ease;
}

.primary-btn{
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    box-shadow:0 4px 15px rgba(37,99,235,.2);
}

.primary-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(37,99,235,.35);
}

.secondary-btn{
    border:2px solid #2563eb;
    color:#2563eb;
    background:#ffffff;
}

.secondary-btn:hover{
    background:#eff6ff;
    border-color:#1d4ed8;
}

/* ==========================
   STATISTICS
========================== */

.stats{

    display:grid;

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

    gap:20px;

}

.stat-card{

    background:#fff;

    padding:25px;

    text-align:center;

    border-radius:18px;

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

    transition:.3s;

}

.stat-card:hover{

    transform:translateY(-8px);

}

.stat-card h2{

    font-size:34px;

    color:#2563eb;

}

.stat-card p{

    color:#64748b;

    margin-top:8px;

}

/* ==========================
   HERO IMAGE
========================== */

.home-about-card{

    background:#ffffff;

    border-radius:24px;

    padding:30px;

    box-shadow:0 20px 45px rgba(15,23,42,.08);

    text-align:left;

    max-width:520px;

}

.home-about-card h2{

    font-size:34px;

    color:#0f172a;

    margin-bottom:18px;

}

.home-about-card p{
    color:#5a6c7d;
    line-height:1.8;
    margin-bottom:24px;
}

.home-about-card .about-features{

    display:grid;

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

    gap:16px;

}

/* ==========================
   ABOUT & FOOTER
========================== */

.highlights{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
    padding:0 8% 40px;
}

.highlight-card{
    background:#ffffff;
    border:1px solid #e8ecf1;
    border-radius:12px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.03);
    transition:all .3s ease;
}

.highlight-card:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.06);
}

.highlight-card i{
    color:#2563eb;
    font-size:18px;
    min-width:24px;
}

.highlight-card span{
    font-weight:600;
    color:#2c3e50;
    font-size:14px;
}

.about{
    padding:90px 8%;
    background:#ffffff;
}

.about-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.about-content h2{
    font-size:42px;
    margin-bottom:16px;
    color:#0f172a;
    font-weight:800;
}

.about-content p{
    color:#5a6c7d;
    line-height:1.8;
    margin-bottom:35px;
    font-size:16px;
}

.about-features{
    display:grid;
    grid-template-columns:repeat(2, minmax(220px, 1fr));
    gap:20px;
}

.feature{
    display:flex;
    align-items:center;
    gap:12px;
    background:#f5f7fa;
    padding:16px 18px;
    border-radius:12px;
    color:#2c3e50;
    font-weight:600;
    font-size:14px;
    transition:all .3s ease;
    border:1px solid #e8ecf1;
}

.feature:hover{
    background:#eff6ff;
    border-color:#2563eb;
}

.feature i{
    color:#2563eb;
    font-size:16px;
    min-width:18px;
}

footer{
    background:#0f172a;
    color:#ffffff;
    padding:60px 8%;
    text-align:center;
}

.admin-hero{
    padding:140px 8% 40px;
    text-align:center;
    background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);
}

.admin-hero h1{
    font-size:44px;
    margin-bottom:12px;
    color:#0f172a;
}

.admin-hero p{
    color:#475569;
    max-width:700px;
    margin:auto;
}

.admin-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
    padding:20px 8% 40px;
}

@media (max-width: 900px) {
    .admin-toolbar,
    .panel-header,
    .blog-item {
        flex-direction:column;
        align-items:stretch;
    }

    .admin-toolbar {
        gap:12px;
    }

    .panel-header {
        gap:8px;
    }

    .blog-item {
        display:flex;
    }
}

.admin-card{
    background:#fff;
    border-radius:20px;
    padding:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.admin-card h3{
    margin-bottom:16px;
    color:#0f172a;
    display:flex;
    align-items:center;
    gap:10px;
}

.admin-card ul{
    padding-left:18px;
    color:#64748b;
    line-height:1.8;
}

.admin-table-section{
    padding:0 8% 90px;
}

.admin-table-section h2{
    margin-bottom:16px;
    color:#0f172a;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.admin-table th,
.admin-table td{
    padding:14px 16px;
    text-align:left;
    border-bottom:1px solid #e2e8f0;
}

.admin-table th{
    background:#2563eb;
    color:#fff;
}

.admin-table button{
    padding:8px 12px;
    border:none;
    border-radius:8px;
    background:#14b8a6;
    color:#fff;
    cursor:pointer;
}

@media (max-width: 900px) {
    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table th,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tr {
        margin-bottom: 18px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 12px;
        background: #fff;
    }

    .admin-table td {
        padding: 10px 14px;
        border: none;
        border-bottom: 1px solid #e2e8f0;
        position: relative;
    }

    .admin-table td:last-child {
        border-bottom: none;
    }

    .admin-table td::before {
        content: attr(data-label);
        display: inline-block;
        font-weight: 600;
        color: #475569;
        margin-bottom: 6px;
        width: 100%;
    }

    .admin-table td[data-label="Actions"] {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
}

@media (max-width: 920px) {
    .content-manager-panel .content-manager-grid {
        grid-template-columns: 1fr;
    }

    .content-manager-card {
        padding: 14px;
    }

    .content-form input,
    .content-form textarea,
    .content-filter-input {
        font-size: 13px;
    }

    .content-list-item {
        flex-direction: column;
        align-items: stretch;
    }

    .content-item-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .content-form button,
    .section-toggle-btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .admin-hero {
        padding: 80px 6% 30px;
    }

    .admin-hero h1 {
        font-size: 32px;
    }

    .admin-hero p {
        max-width: 100%;
    }

    .admin-grid {
        padding: 20px 6% 30px;
    }

    .admin-card,
    .admin-panel,
    .admin-lock-card {
        padding: 18px;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 6% 20px;
    }

    .admin-panels {
        padding: 0 6% 60px;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-hero {
        padding: 60px 6% 24px;
    }

    .admin-hero h1 {
        font-size: 28px;
    }

    .admin-hero p {
        padding: 0 4px;
    }

    .admin-grid {
        gap: 18px;
        padding: 18px 6% 24px;
    }

    .admin-card,
    .admin-panel,
    .admin-lock-card {
        padding: 18px;
    }

    .admin-toolbar {
        padding: 0 6% 16px;
    }

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

    .blog-item {
        flex-direction: column;
    }

    .admin-login-form input,
    .admin-login-form button,
    .content-form input,
    .content-form textarea,
    .content-filter-input {
        font-size: 14px;
    }

    .admin-login-form button,
    .blog-actions button,
    .logout-btn,
    .content-form button,
    .section-toggle-btn {
        width: 100%;
    }

    .content-manager-panel .content-manager-grid {
        grid-template-columns: 1fr;
    }

    .content-list-item {
        flex-direction: column;
        align-items: stretch;
    }

    .content-item-actions {
        justify-content: flex-start;
    }
}

.admin-lock{
    padding:20px 8% 40px;
}

.admin-lock-card,
.admin-panel,
.admin-card{
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.admin-lock-card{
    max-width:520px;
    margin:0 auto;
    padding:32px;
    text-align:center;
}

.admin-lock-card h2{
    margin-bottom:10px;
    color:#0f172a;
}

.admin-lock-card p{
    color:#64748b;
    margin-bottom:18px;
}

.admin-login-form,
.blog-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.admin-login-form input,
.blog-form input,
.blog-form textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #dbe4f0;
    border-radius:10px;
    font-size:15px;
}

.admin-login-form button,
.blog-actions button,
.logout-btn{
    border:none;
    border-radius:10px;
    padding:12px 16px;
    font-weight:600;
    cursor:pointer;
}

.admin-login-form button,
.blog-actions button{
    background:#2563eb;
    color:#fff;
}

@media (max-width: 720px) {
    .admin-login-form button,
    .blog-actions button,
    .logout-btn,
    .content-form button,
    .section-toggle-btn {
        width: 100%;
    }

    .admin-login-form input,
    .content-form input,
    .content-form textarea,
    .content-filter-input {
        font-size: 14px;
    }

    .admin-lock-card {
        padding: 24px;
    }

    .admin-grid,
    .admin-panels,
    .content-manager-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 14px 4% 18px !important;
    }

    .admin-card,
    .admin-panel,
    .admin-lock-card,
    .content-manager-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-card h3 {
        font-size: 15px !important;
        margin-bottom: 10px !important;
        gap: 8px !important;
    }

    .admin-card h3 i,
    .admin-panel h2,
    .panel-header h2 {
        font-size: 1rem !important;
    }

    .admin-stat {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .admin-stat-label {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .admin-table,
    .table-wrap {
        width: 100% !important;
        overflow-x: auto !important;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 12px !important;
        white-space: normal !important;
    }

    .admin-table tr {
        display: block !important;
        margin-bottom: 14px !important;
    }

    .admin-table td {
        display: block !important;
        width: 100% !important;
        padding: 10px 12px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .admin-table thead {
        display: none !important;
    }

    .admin-table td::before {
        content: attr(data-label) ': ';
        display: block;
        font-weight: 600;
        color: #475569;
        margin-bottom: 6px;
    }

    .admin-table td[data-label="Actions"] {
        display: flex !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .panel-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 4% 18px;
    }

    .blog-item {
        flex-direction: column;
        gap: 10px;
    }

    .content-manager-panel {
        padding: 0 4% 20px;
    }
}

.admin-panel{
    padding:24px;
}

.panel-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:16px;
}

.panel-header h2{
    color:#0f172a;
}

.panel-header span{
    color:#64748b;
    font-size:14px;
}

.admin-stat{
    font-size:34px;
    font-weight:700;
    color:#2563eb;
    margin-top:8px;
}

.admin-stat-label{
    color:#64748b;
    font-size:14px;
}

.blog-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:16px;
}

.blog-item{
    border:1px solid #e2e8f0;
    border-radius:14px;
    padding:14px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:flex-start;
}

.blog-item h4{
    color:#0f172a;
    margin-bottom:6px;
}

.blog-item p{
    color:#64748b;
    font-size:14px;
    margin-bottom:6px;
}

.blog-item small{
    color:#94a3b8;
}

.blog-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.ghost-btn{
    background:#f1f5f9;
    color:#0f172a;
}

.danger-btn{
    background:#ef4444 !important;
}

.form-message{
    margin-top:10px;
    color:#2563eb;
    font-size:14px;
}

.empty-state{
    text-align:center;
    color:#64748b;
    padding:12px 0;
}

.contact-layout{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:30px;
    padding:40px 8% 90px;
    align-items:start;
}

.contact-card{
    max-width:none;
    margin:0;
    background:#ffffff;
    border-radius:16px;
    padding:40px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    border:1px solid #f0f4f8;
}

.contact-form-card{
    width:100%;
}

.contact-info-column{
    width:100%;
}

.contact-info-grid{
    padding:0;
    gap:20px;
}

.contact-card h2{
    margin-bottom:10px;
    color:#0f172a;
    font-weight:800;
    font-size:32px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:24px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #e8ecf1;
    border-radius:10px;
    font-size:14px;
    resize:vertical;
    transition:border-color .3s ease, box-shadow .3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.1);
}

.contact-form button{
    padding:12px 24px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
    box-shadow:0 4px 12px rgba(37,99,235,.2);
}

.contact-form button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(37,99,235,.3);
}

.form-message{
    margin-top:16px;
    color:#2563eb;
    font-weight:600;
}

body.page-about,
body.page-blog,
body.page-contact,
body.page-about .page-hero,
body.page-blog .page-hero,
body.page-contact .page-hero,
body.page-industries .page-hero,
body.page-jobs .page-hero {
    min-height:55vh;
    /* match homepage hero: cover the area and center the image */
    background-size: cover;
    background-position: center center;
    background-repeat:no-repeat;
}

body.page-about .page-hero {
    /* clear about page image: remove overlay, keep cover sizing */
    min-height: 100vh;
    padding: 120px 8% 80px;
    background: url('image/about.png') center/cover no-repeat;
    border-radius: 0 0 30px 30px;
}

@media (max-width: 900px) {
    body.page-about .page-hero {
        padding-top: 90px;
        min-height: auto;
        background-size: cover;
        background-position: center top;
    }
}

/* Contact page: stack contact info cards vertically */
body.page-contact .contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Center the cards within the right column for large screens */
@media (min-width: 900px) {
    body.page-contact .contact-info-column {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    body.page-contact .contact-info-grid .page-card {
        width: 320px;
    }
}

body.page-blog .page-hero {
    /* clear blog page image: remove overlay and match homepage cover */
    min-height: 100vh;
    padding: 120px 8% 80px;
    background: url('image/blog.png') center/cover no-repeat;
    border-radius: 0 0 30px 30px;
}

/* clear contact page hero: remove overlay and match homepage cover */
body.page-contact .page-hero {
    min-height: 100vh;
    padding: 120px 8% 80px;
    background: url('image/contact.png') center/cover no-repeat;
    border-radius: 0 0 30px 30px;
}

/* push contact info cards a bit lower for visual spacing */
body.page-contact .contact-info-column {
    margin-top: 80px;
}

@media (max-width: 900px) {
    body.page-contact .contact-info-column {
        margin-top: 40px;
    }
}

body.page-industries .page-hero {
    /* clear industries hero image: remove overlay and match homepage cover */
    min-height: auto;
    height: auto;
    aspect-ratio: 1774 / 887;
    padding: 0;
    /* Keep the full artwork visible at every viewport size. */
    background: url('image/industries.png') center/100% 100% no-repeat;
    border-radius: 0 0 30px 30px;
}

@media (max-width: 900px) {
    body.page-industries .page-hero {
        /* Scale the hero with the source image instead of cropping it. */
        background-size: 100% 100%;
        background-position: center top;
        padding: 0;
        min-height: auto;
        height: auto;
    }
}

body.page-industries .page-hero-image {
    /* show inline image as fallback if background doesn't render */
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* industries hero: use background image (cover) and hide inline fallback image */
body.page-industries .page-hero {
    background: url('image/industries.png') center/cover no-repeat;
}

body.page-industries .page-hero-image {
    display: none !important;
}

body.page-jobs .page-hero {
    /* Match homepage hero sizing/layout and show clear image */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 8% 80px;
    gap: 60px;
    text-align: center;
    background: url('image/jobs.png') center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0 0 30px 30px;
}

.page-hero{
    min-height:55vh;
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    position:relative;
    text-align:center;
    color:#fff;
    padding:0;
    overflow:hidden;
}

/* Ensure jobs hero uses same spacing and layout as homepage (no overlay) */
body.page-jobs .page-hero {
    min-height:100vh;
    height:100vh;
    justify-content:center;
    align-items:center;
    padding:120px 8% 80px;
    border-radius:0 0 30px 30px;
    background-size: cover;
    background-position: center center;
}

body.page-jobs .page-hero-image {
    position:relative !important;
    inset:auto !important;
    width:75% !important;
    max-width:680px !important;
    height:auto !important;
    object-fit:contain !important;
    margin:0 auto !important;
    display:block !important;
    z-index:1 !important;
}

body.page-jobs .page-hero .hero-content {
    position:relative;
    z-index:2;
    margin-top:0;
    color:#fff;
}

.page-hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:0;
}


.hero-content{
    position:relative;
    z-index:1;
    padding:80px 20px 60px;
    max-width:800px;
}

.page-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    padding:50px 8% 90px;
    margin-top:-140px;
    position:relative;
    z-index:2;
}

body.page-about .page-grid{
    margin-top:24px;
    padding-top:40px;
}

body.page-blog .page-grid{
    margin-top:24px;
    padding-top:40px;
}

.page-card{
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.65);
}

.page-hero h1{
    font-size:48px;
    margin-bottom:16px;
    color:#ffffff;
}

.page-hero p{
    max-width:700px;
    margin:auto;
    color:rgba(255,255,255,0.92);
    line-height:1.8;
}

.page-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    padding:50px 8% 90px;
}

.contact-info-grid .page-card,
.page-card{
    background:#ffffff;
    border-radius:14px;
    padding:28px;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
    transition:all .3s ease;
    border:1px solid #f0f4f8;
}

.page-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.page-card h3{
    margin-bottom:10px;
    color:#0f172a;
    font-weight:700;
    font-size:18px;
}

.page-card p,
.page-card li{
    color:#5a6c7d;
    line-height:1.8;
    font-size:14px;
}

.page-card ul{
    padding-left:18px;
}

.about-info-card{
    cursor:pointer;
    background:linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border:2px solid #e2e8f0 !important;
    border-radius:20px !important;
    padding:32px 24px !important;
    text-align:center;
    box-shadow:0 4px 20px rgba(0, 0, 0, 0.06) !important;
    transition:all .3s ease !important;
    outline:2px solid transparent;
    outline-offset:3px;
}

.about-info-card:hover,
.about-info-card.is-selected{
    border-color:#2563eb;
    outline-color:#2563eb;
}

.about-info-card:hover{
    transform:translateY(-12px);
    box-shadow:0 16px 40px rgba(37, 99, 235, 0.15) !important;
    background:linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
}

.about-info-card h3{
    font-size:20px;
    margin-bottom:12px;
}

.about-info-card p,
.about-info-card li{
    font-size:15px;
    line-height:1.6;
}

.about-card-content{
    max-height:150px;
    overflow:hidden;
    transition:max-height .3s ease;
}

.about-info-card.is-expanded .about-card-content{
    max-height:1200px;
}

.read-more-btn{
    margin-top:16px;
    padding:8px 14px;
    border:1px solid #2563eb;
    border-radius:6px;
    background:#eff6ff;
    color:#1d4ed8;
    cursor:pointer;
    font:inherit;
    font-size:13px;
    font-weight:600;
    transition:background .2s ease, color .2s ease;
}

.read-more-btn:hover,
.read-more-btn:focus-visible{
    background:#2563eb;
    color:#ffffff;
}

.auth-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:120px 8% 80px;
    background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);
}

.auth-card{
    width:100%;
    max-width:460px;
    background:#ffffff;
    border-radius:16px;
    padding:40px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    border:1px solid #f0f4f8;
}

.auth-card h2{
    margin-bottom:10px;
    color:#0f172a;
    font-weight:800;
    font-size:32px;
}

.auth-card form{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:25px;
}

.auth-card input{
    padding:12px 14px;
    border:1px solid #e8ecf1;
    border-radius:10px;
    font-size:14px;
    transition:border-color .3s ease, box-shadow .3s ease;
}

.auth-card input:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.1);
}

.auth-card button{
    padding:12px 16px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
    box-shadow:0 4px 12px rgba(37,99,235,.2);
}

.auth-card button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(37,99,235,.3);
}

.footer-content{
    max-width:1200px;
    margin:auto;
    text-align:center;
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:32px;
    align-items:start;
}

.footer-left,
.footer-right{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.footer-left{
    align-items:center;
    text-align:center;
}

.footer-right{
    align-items:flex-start;
    text-align:left;
}

.footer-right h3{
    margin:0;
    color:#0f172a;
    font-size:18px;
}

.footer-hero-image{
    margin:0 auto 24px;
    width:100%;
    max-width:560px;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.footer-hero-image img{
    width:100%;
    display:block;
    height:auto;
    object-fit:cover;
}

footer{
    background:#ffffff;
    padding:40px 0 30px;
}

body{
    padding-bottom:0;
}

footer h2{
    margin-bottom:10px;
    color:#0f172a;
}

footer p{
    color:#475569;
}

.footer-brand-logo{
    margin:0 auto 18px;
}

.footer-links,
.quick-links{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin-top:0;
}

.footer-links a,
.quick-links a{
    color:#1e293b;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover,
.quick-links a:hover{
    color:#2563eb;
}

.quick-links {
    display:none;
}

.social{
    display:flex;
    justify-content:center;
    gap:16px;
    margin:0;
}

.social a{
    width:46px;
    height:46px;
    border-radius:50%;
    background:#1e293b;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    transition:.3s;
}

.social a:hover{
    background:#2563eb;
    transform:translateY(-3px);
}

.copyright{
    margin-top:15px;
    font-size:14px;
}

#newsletter-message{
    margin-top:16px;
    color:#e0f2fe;
    font-weight:600;
}

/* Floating Animation */

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-20px);

    }

    100%{

        transform:translateY(0px);

    }

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

.hero{

flex-direction:column;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.stats{

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

}

.search-box{

flex-direction:column;

}

.search-item{

width:100%;

}

.search-box button{

width:100%;

}

}

@media(max-width:900px){

header{
    padding:0 18px;
    height:auto;
    min-height:74px;
    flex-wrap:wrap;
    align-items:center;
}

.contact-layout{
    grid-template-columns:1fr;
    gap:20px;
    padding:32px 18px 60px;
}

.contact-card{
    padding:28px;
}

.menu-toggle{
    display:flex;
    margin-left:auto;
}

nav{
    display:none;
    position:absolute;
    top:74px;
    left:0;
    width:100%;
    background:#fff;
    padding:18px 20px;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
}

nav.open{
    display:block;
}

nav ul{
    flex-direction:column;
    gap:15px;
    align-items:flex-start;
}

.nav-buttons{
        display:none !important;
        justify-content:flex-end;
        flex-wrap:wrap;
        gap:10px;
        width:100%;
        margin-top:10px;
    }

    nav ul li.mobile-admin{
        display:block !important;
    grid-template-columns:1fr;
}

.hero{
    padding:110px 18px 60px;
    gap:24px;
}

.hero-right img{
        max-width:520px;
}

.about,
.categories,
.jobs,
.why-us,
.how-it-works,
.testimonials,
.newsletter,
.contact-section,
.page-hero,
.page-grid,
.auth-page{
    padding-left:18px;
    padding-right:18px;
}

}

@media(max-width:700px){

.logo img{
    height:52px;
}

header{
    padding:0 16px;
}

.contact-layout{
    padding:24px 16px 50px;
    gap:18px;
}

.contact-card{
    padding:22px;
}

.contact-card h2{
    font-size:28px;
}

.contact-form button{
    width:100%;
}

.contact-info-grid .page-card,
.page-card{
    padding:22px;
}

.hero-left h1{
    font-size:34px;
}

.hero-left p{
    font-size:15px;
}

.hero{
    padding:100px 16px 50px;
}

.hero-buttons{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
}

.search-box{
    gap:12px;
}

.search-box button{
    width:100%;
}

.category-grid{
    padding:0 8px;
}

.category-track{
    animation-duration: 26s;
}

}

@media(max-width:540px){

.logo img{
    height:48px;
}

header{
    padding:0 14px;
    height:auto;
    align-items:flex-start;
    padding-top:12px;
    padding-bottom:12px;
}

.menu-toggle{
    margin-left:0;
}

.hero{
    padding:90px 14px 40px;
}

.hero-left h1{
    font-size:30px;
}

.hero-left p{
    font-size:14px;
}

.hero-right img{
    max-width:100%;
    max-height:420px;
}

.search-box{
    padding:16px;
}

.hero-buttons{
    gap:12px;
}

.category-grid{
    padding:0 4px;
    overflow-x:auto;
    overflow-y:hidden;
    min-height:320px;
}

.category-track{
    gap:14px;
    animation:none;
    scroll-snap-type:x mandatory;
    padding-bottom:12px;
}

.category-card{
    flex:0 0 85%;
    min-width:85%;
    max-width:85%;
    scroll-snap-align:center;
}

.float-btn{
    width:44px;
    height:44px;
    font-size:20px;
}

.floating-socials{
    right:12px;
    bottom:70px;
}

}
/* =====================================================
   PART 2B-1
   FEATURED COMPANIES
   JOB CATEGORIES
   FEATURED JOBS
===================================================== */

/* ==========================
   FEATURED COMPANIES
========================== */

.featured{
    padding:80px 8%;
    background:#ffffff;
    text-align:center;
}

.featured h2{
    font-size:38px;
    color:#1e293b;
    margin-bottom:50px;
    font-weight:700;
}

.company-logos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:25px;
}

.company-logos div{
    background:#f8fafc;
    border-radius:16px;
    padding:35px 20px;
    font-size:20px;
    font-weight:600;
    color:#334155;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.35s;
    cursor:pointer;
}

.company-logos div:hover{
    transform:translateY(-8px);
    background:#2563eb;
    color:#ffffff;
}

/* ==========================
   JOB CATEGORIES
========================== */

.categories{
    padding:90px 8%;
    background:#f8fafc;
}

.section-title{
    text-align:center;
    margin-bottom:15px;
    font-size:40px;
    color:#1e293b;
    font-weight:700;
}

.section-subtitle{
    text-align:center;
    color:#64748b;
    margin-bottom:55px;
    font-size:17px;
}

.categories .category-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:22px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding-bottom:12px !important;
    scroll-behavior:smooth !important;
        width:100% !important;
    }

    .categories .category-card{
        flex:0 0 280px !important;
        min-width:280px !important;
        max-width:280px !important;
        width:auto !important;
        background:#ffffff;
        border-radius:18px;
        padding:24px 20px;
        text-align:center;
        box-shadow:0 10px 25px rgba(0,0,0,.08);
        transition:transform .35s ease, box-shadow .35s ease;
    }

    .categories .category-card:hover{
        transform:translateY(-8px);
    }

    .category-grid{
    flex-wrap:nowrap;
    animation: categoryMarquee 20s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

.category-grid:hover .category-track{
    animation-play-state: paused;
}

.companies .category-grid,
.companies .category-track {
    animation: none !important;
}

@keyframes categoryMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.category-card{
    flex:0 0 22%;
    min-width:22%;
    max-width:22%;
    background:#ffffff;
    border-radius:14px;
    padding:14px 10px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:transform .35s ease, box-shadow .35s ease;
}

.category-card:hover{
    transform:translateY(-8px);
}

.category-card i{
    width:56px;
    height:56px;
    line-height:56px;
    font-size:22px;
    color:#ffffff;
    background:#2563eb;
    border-radius:50%;
    margin-bottom:14px;
}

.category-card h3{
    font-size:15px;
    margin-bottom:6px;
    color:#1e293b;
}

.category-card p{
    color:#64748b;
    margin-bottom:12px;
    font-size:12px;
    line-height:1.4;
    min-height:38px;
    overflow-wrap:anywhere;
}

.category-card span{
    display:inline-block;
    background:#e0f2fe;
    color:#2563eb;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

@media (max-width: 900px){
    .category-track{
        gap:10px;
    }

    .category-card{
        flex:0 0 34%;
        min-width:34%;
        max-width:34%;
        padding:14px 8px;
    }
}

@media (max-width: 700px){
    .category-track{
        gap:10px;
    }

    .category-card{
        flex:0 0 42%;
        min-width:42%;
        max-width:42%;
        padding:12px 8px;
    }
}

@media (max-width: 540px){
    .categories{
        padding:60px 5%;
    }

    .category-track{
        gap:10px;
    }

    .category-card{
        flex:0 0 76%;
        min-width:76%;
        max-width:76%;
    }
}

/* ==========================
   FEATURED JOBS
========================== */

.jobs{
    padding:90px 8%;
    background:#ffffff;
}

.job-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:30px;
}

.job-card{
    background:#ffffff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
    border-top:5px solid #2563eb;
}

.job-card:hover{
    transform:translateY(-10px);
}

.job-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:25px;
}

.company-icon{
    width:70px;
    height:70px;
    border-radius:15px;
    background:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#ffffff;
    font-size:28px;
}

.job-header h3{
    color:#1e293b;
    font-size:22px;
    margin-bottom:5px;
}

.job-header p{
    color:#64748b;
}

.job-details{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin:25px 0;
}

.job-details div{
    display:flex;
    align-items:center;
    gap:10px;
    color:#475569;
}

.job-details i{
    color:#2563eb;
}

.job-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:25px;
}

.salary{
    font-size:22px;
    color:#2563eb;
    font-weight:700;
}

.apply-btn{
    background:#2563eb;
    color:#ffffff;
    padding:12px 24px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.apply-btn:hover{
    background:#1d4ed8;
}

.view-all{
    text-align:center;
    margin-top:60px;
}

.view-all a{
    display:inline-block;
    padding:16px 38px;
    background:#14b8a6;
    color:#ffffff;
    text-decoration:none;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.view-all a:hover{
    background:#0f9486;
    transform:translateY(-3px);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    .job-details{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .section-title{
        font-size:32px;
    }

    .featured h2{
        font-size:32px;
    }

    .category-grid,
    .job-grid,
    .company-logos{
        grid-template-columns:1fr;
    }

}
/* =====================================================
   PART 2B-2
   WHY CHOOSE US
   HOW IT WORKS
   TESTIMONIALS
   NEWSLETTER
===================================================== */

/* ==========================
   WHY CHOOSE US
========================== */

.why-us{
    padding:90px 8%;
    background:#f8fafc;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.why-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.why-card:hover{
    transform:translateY(-10px);
}

.why-card i{
    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    font-size:32px;
    margin-bottom:25px;
}

.why-card h3{
    font-size:22px;
    color:#1e293b;
    margin-bottom:15px;
}

.why-card p{
    color:#64748b;
    line-height:1.8;
}

/* ==========================
   HOW IT WORKS
========================== */

.how-it-works{
    padding:90px 8%;
    background:#ffffff;
}

.steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:35px;
}

.step-card{
    text-align:center;
    background:#fff;
    border-radius:20px;
    padding:35px 25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.step-card:hover{
    transform:translateY(-10px);
}

.step-number{
    width:60px;
    height:60px;
    margin:auto;
    border-radius:50%;
    background:#14b8a6;
    color:#fff;
    font-size:24px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
}

.step-card i{
    font-size:40px;
    color:#2563eb;
    margin-bottom:20px;
}

.step-card h3{
    margin-bottom:15px;
    color:#1e293b;
}

.step-card p{
    color:#64748b;
    line-height:1.7;
}

/* ==========================
   TESTIMONIALS
========================== */

.testimonials{
    padding:90px 8%;
    background:#f8fafc;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
}

.testimonial-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.testimonial-header img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
}

.testimonial-header h4{
    color:#1e293b;
}

.testimonial-header span{
    color:#64748b;
    font-size:14px;
}

.stars{
    color:#f59e0b;
    margin-bottom:15px;
}

.testimonial-card p{
    color:#475569;
    line-height:1.8;
    font-style:italic;
}

/* ==========================
   NEWSLETTER
========================== */

.newsletter{
    padding:90px 8%;
}

.newsletter-box{
    background:linear-gradient(135deg,#2563eb,#14b8a6);
    border-radius:25px;
    padding:60px;
    text-align:center;
    color:#fff;
}

.newsletter-box h2{
    font-size:40px;
    margin-bottom:15px;
}

.newsletter-box p{
    margin-bottom:35px;
    font-size:18px;
}

.newsletter-form{
    max-width:700px;
    margin:auto;
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.newsletter-form input{
    flex:1;
    min-width:250px;
    padding:18px;
    border:none;
    outline:none;
    border-radius:50px;
    font-size:16px;
}

.newsletter-form button{
    padding:18px 35px;
    border:none;
    border-radius:50px;
    background:#ffffff;
    color:#2563eb;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.newsletter-form button:hover{
    transform:translateY(-3px);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){
    .hero-left h1{
        font-size:34px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:stretch;
    }

    .primary-btn,
    .secondary-btn{
        text-align:center;
    }

    .highlights{
        grid-template-columns:1fr;
        padding:0 20px 30px;
    }

    .admin-grid{
        display:grid !important;
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
        gap:8px !important;
        padding:14px 4% 18px !important;
    }

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

    .admin-stat{
        font-size:1.5rem !important;
    }

    .admin-stat-label{
        font-size:9px !important;
        line-height:1.4 !important;
    }

    .admin-table th,
    .admin-table td{
        font-size:14px;
    }

    .admin-panels{
        grid-template-columns:1fr;
    }

    .blog-item,
    .admin-toolbar{
        flex-direction:column;
        align-items:flex-start;
    }

    .newsletter-box{
        padding:40px 20px;
    }

    .newsletter-box h2{
        font-size:28px;
    }

    .newsletter-form{
        flex-direction:column;
    }

    .newsletter-form input,
    .newsletter-form button{
        width:100%;
    }

    .page-hero h1{
        font-size:32px;
    }

    .testimonial-grid,
    .steps,
    .why-grid,
    .about-features,
    .category-grid,
    .job-grid,
    .company-logos,
    .page-grid{
        grid-template-columns:1fr;
    }

    .job-footer,
    .job-details,
    .job-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .job-details{
        display:grid;
        gap:10px;
    }

    .apply-btn{
        width:100%;
        text-align:center;
    }

    .contact-card,
    .auth-card,
    .page-card{
        padding:24px;
    }

    .back-to-top{
        right:16px;
        bottom:16px;
    }

    .floating-socials{
        right:12px;
        bottom:82px;
        gap:10px;
    }

    .float-btn{
        width:46px;
        height:46px;
        font-size:20px;
    }
}

@media (max-width: 720px){
    .hero,
    .about,
    .categories,
    .jobs,
    .why-us,
    .how-it-works,
    .testimonials,
    .newsletter,
    .auth-page,
    .page-grid,
    .page-hero,
    .footer-content{
        padding-left:16px;
        padding-right:16px;
    }

    .hero{
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 56px;
    }

    .hero-center h1{
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .search-box{
        gap:12px;
        padding:14px;
    }

    .search-item,
    .search-box button{
        width:100%;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .primary-btn,
    .secondary-btn,
    .apply-btn,
    .newsletter-form button,
    .login-btn,
    .register-btn{
        width:100%;
        text-align:center;
    }

    .highlights,
    .job-grid,
    .why-grid,
    .steps,
    .testimonial-grid,
    .about-features,
    .company-logos,
    .content-manager-panel .content-manager-grid,
    .page-grid,
    .footer-content{
        grid-template-columns:1fr;
    }

    .categories .category-grid,
    .job-grid,
    .testimonial-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        overflow:visible !important;
    }

    .categories .category-card,
    .category-card,
    .job-card,
    .testimonial-card{
        flex:1 1 100% !important;
        min-width:0 !important;
        max-width:none !important;
    }

    .newsletter-form{
        flex-direction:column;
    }

    .footer-content{
        display:grid;
        gap:22px;
    }

    .footer-right{
        align-items:center;
        text-align:center;
    }

    .footer-links,
    .quick-links{
        align-items:center;
    }
}

@media (max-width: 480px){
    .section-title,
    .featured h2,
    .newsletter-box h2,
    .page-hero h1{
        font-size:2rem;
    }

    .hero-center h1{
        font-size:2.4rem;
    }

    .search-item input,
    .search-item select,
    .search-box button,
    .newsletter-form input,
    .newsletter-form button,
    .auth-card input,
    .auth-card button,
    .contact-form input,
    .contact-form textarea,
    .contact-form button{
        font-size:0.95rem;
    }

    .nav-buttons .login-btn{
        padding:10px 14px;
    }

    .floating-socials{
        right:10px;
        bottom:70px;
        gap:8px;
    }

    .float-btn{
        width:42px;
        height:42px;
        font-size:18px;
    }

    body.page-about .page-hero,
    body.page-blog .page-hero,
    body.page-contact .page-hero,
    body.page-industries .page-hero,
    body.page-jobs .page-hero {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        min-height: 220px;
        height: auto;
    }

    body.page-industries .page-hero {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1774 / 887;
        background-size: 100% 100% !important;
    }

    body.page-jobs .page-hero {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        padding: 90px 16px 40px !important;
        min-height: auto !important;
        height: auto !important;
    }

    .page-hero {
        min-height: auto;
        height: auto;
    }

    body.page-jobs .page-hero .hero-content h1 {
        font-size: 2rem !important;
    }

    body.page-jobs .page-hero .hero-content p {
        font-size: 1rem !important;
        max-width: 90vw !important;
        margin: 0 auto !important;
    }

    body.page-jobs .page-hero-image {
        display: none !important;
    }


    .page-hero-image {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-visual-frame,
    .hero-right img,
    .footer-hero-image img,
    .home-about-card img,
    .about-card-content img,
    .contact-card img,
    .page-card img,
    .testimonial-card img,
    .company-logos img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .jobs,
    .companies {
        padding-left: 16px;
        padding-right: 16px;
    }

    .job-grid,
    .companies .category-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .job-card,
    .companies .category-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

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

    body.page-jobs .page-hero,
    body.page-industries .page-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 100px 0 40px !important;
    }

    .page-hero-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    body.page-jobs .jobs,
    body.page-jobs #jobGrid,
    body.page-jobs .job-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.page-jobs #jobGrid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
        overflow-x: visible !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.page-jobs .job-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 20px !important;
        margin: 0 auto 18px !important;
        box-sizing: border-box !important;
    }

    body.page-jobs .page-hero {
        background-size: cover !important;
        background-position: center center !important;
        padding: 90px 16px 40px !important;
        min-height: auto !important;
        height: auto !important;
    }
}

/* ==========================
   COMPANIES SECTION STYLING
========================== */

.companies {
    padding: 90px 8%;
    background: #ffffff;
}

.companies .category-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    overflow: visible !important;
    animation: none !important;
}

.companies .category-card {
    flex: none !important;
    min-width: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 32px 24px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.companies .category-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15) !important;
    border-color: #2563eb !important;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
}

.companies .category-card i {
    display: none;
}

.companies .category-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #0f172a !important;
}

.companies .category-card p {
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    min-height: auto !important;
}

.companies .category-card span {
    display: none;
}

@media (max-width: 900px) {
    .companies {
        padding: 60px 18px;
    }

    .companies .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 20px !important;
    }

    .companies .category-card {
        padding: 24px 18px !important;
    }

    .companies .category-card h3 {
        font-size: 18px !important;
    }

    .companies .category-card p {
        font-size: 14px !important;
    }
}

@media (max-width: 600px) {
    .companies {
        padding: 50px 16px;
    }

    .companies .category-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .companies .category-card {
        padding: 20px 16px !important;
    }

    .companies .category-card h3 {
        font-size: 16px !important;
    }

    .companies .category-card p {
        font-size: 13px !important;
    }
}

/* Page hero: shorter than homepage for internal pages */
.page-hero {
    min-height: 55vh;
    padding: 80px 8% 40px;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 900px) {
    header {
        min-height: 70px;
        height: auto;
        padding: 10px 16px;
    }

    .logo img {
        height: 50px;
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        padding: 8px;
        margin-left: auto;
    }

    nav {
        top: 70px;
        padding: 14px 18px 18px;
    }

    nav ul {
        gap: 4px;
    }

    nav ul li,
    nav ul li a {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 10px 2px;
    }

    .hero {
        min-height: 720px;
        padding: 110px 18px 48px;
    }

    .hero-center,
    .hero-content {
        max-width: 100%;
    }

    .hero-center h1 {
        font-size: clamp(2.2rem, 8vw, 3.6rem);
    }

    .search-box {
        width: 100%;
        padding: 16px;
    }

    .search-item,
    .search-item input,
    .search-item select,
    .search-box button {
        width: 100%;
        min-width: 0;
    }

    .hero-buttons a,
    .hero-buttons button {
        width: 100%;
        text-align: center;
    }

    .page-hero,
    body.page-about .page-hero,
    body.page-blog .page-hero,
    body.page-contact .page-hero,
    body.page-industries .page-hero,
    body.page-jobs .page-hero {
        min-height: 320px;
        height: auto;
        padding: 92px 18px 38px;
        background-position: center center;
    }

    body.page-jobs .page-hero {
        min-height: 320px !important;
        padding: 92px 18px 38px !important;
    }

    .page-grid,
    .contact-layout,
    .admin-grid,
    .admin-panels,
    .content-manager-grid {
        width: 100%;
        min-width: 0;
    }

    .page-card,
    .job-card,
    .testimonial-card,
    .admin-card,
    .admin-panel,
    .contact-card,
    .auth-card,
    .content-manager-card {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select,
    .admin-login-form input,
    .content-form input,
    .content-form textarea,
    .content-filter-input {
        width: 100%;
        max-width: 100%;
    }

    .admin-toolbar,
    .toolbar-actions,
    .panel-header {
        width: 100%;
    }

    .toolbar-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .toolbar-actions button {
        flex: 1 1 180px;
    }

    .footer-content {
        width: min(100% - 32px, 1200px);
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 650px;
        padding: 96px 14px 40px;
    }

    .hero-center h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .section-title,
    .featured h2,
    .page-hero h1,
    .admin-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .featured,
    .categories,
    .jobs,
    .why-us,
    .how-it-works,
    .testimonials,
    .newsletter,
    .companies,
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-hero,
    body.page-about .page-hero,
    body.page-blog .page-hero,
    body.page-contact .page-hero,
    body.page-industries .page-hero,
    body.page-jobs .page-hero {
        min-height: 260px !important;
        padding: 88px 14px 30px !important;
    }

    .page-grid {
        padding: 32px 16px 56px;
        gap: 16px;
    }

    .page-card,
    .contact-card,
    .auth-card,
    .admin-card,
    .admin-panel,
    .admin-lock-card {
        padding: 18px 16px !important;
        border-radius: 14px;
    }

    .contact-layout {
        padding: 24px 16px 50px;
    }

    .admin-hero {
        padding: 92px 16px 24px;
    }

    .admin-grid,
    .admin-panels {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .footer-content {
        width: calc(100% - 32px);
    }

    .footer-links,
    .quick-links {
        width: 100%;
    }

    .floating-socials {
        right: 10px;
        bottom: 68px;
    }
}

/* Keep internal-page artwork fully visible at every viewport size. */
body.page-about .page-hero,
body.page-blog .page-hero,
body.page-contact .page-hero,
body.page-industries .page-hero,
body.page-jobs .page-hero {
    width: 100%;
    max-width: 100%;
    margin-top: 80px;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1774 / 887;
    padding: 0 !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
}

body.page-admin .admin-hero,
body.page-application .page-hero {
    margin-top: 80px;
}

@media (max-width: 480px) {
    body.page-about .page-hero,
    body.page-blog .page-hero,
    body.page-contact .page-hero,
    body.page-industries .page-hero,
    body.page-jobs .page-hero {
        margin-top: 58px;
    }

    body.page-admin .admin-hero,
    body.page-application .page-hero {
        margin-top: 58px;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 58px !important;
        padding: 7px 12px !important;
    }

    .logo img {
        height: 42px !important;
    }

    .menu-toggle {
        width: 36px !important;
        min-height: 36px !important;
        padding: 6px !important;
    }

    nav {
        top: 58px !important;
    }
}


/* =====================================================
   ADMIN PAGE â€” REQUESTED THEME OVERRIDES
   Dashboard structure/data/functionality remain unchanged.
===================================================== */

body.page-admin {
    position: relative;
    min-height: 100vh;
    background: #f5faf7;
    color: #26364a;
}

body.page-admin::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(245, 250, 247, 0.88), rgba(245, 250, 247, 0.94)),
        url("images/admin-bg.jpg") center center / cover no-repeat;
    filter: blur(2px);
    transform: scale(1.03);
    pointer-events: none;
}

body.page-admin::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

body.page-admin > * {
    position: relative;
    z-index: 1;
}

/* Header */
body.page-admin header {
    position: sticky;
    top: 0;
    height: 80px;
    padding: 0 6%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5eee8;
    box-shadow: 0 3px 16px rgba(25, 65, 52, 0.07);
}

body.page-admin header .logo img {
    height: 50px;
    width: auto;
}

body.page-admin nav ul {
    gap: 32px;
}

body.page-admin nav ul li a {
    color: #53657a;
}

body.page-admin nav ul li a:hover,
body.page-admin nav ul li a.active {
    color: #149447;
}

body.page-admin nav ul li a::after {
    background: #149447;
}

body.page-admin .nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-admin .nav-buttons .login-btn {
    min-width: 92px;
    padding: 10px 22px;
    border: 1.7px solid #149447;
    border-radius: 50px;
    color: #149447;
    background: transparent;
    text-align: center;
}

body.page-admin .nav-buttons .login-btn:hover,
body.page-admin .nav-buttons .login-btn.active {
    background: #149447;
    color: #fff;
}

/* Admin hero */
body.page-admin .admin-hero {
    margin-top: 0;
    padding: 65px 8% 32px;
    background: rgba(245, 250, 247, 0.68);
    text-align: center;
}

body.page-admin .admin-hero h1 {
    color: #26364a;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
}

body.page-admin .admin-hero p {
    color: #6b7888;
}

/* Keep the original dashboard cards/tables, recolored to Genzi Job green. */
body.page-admin .admin-lock-card,
body.page-admin .admin-panel,
body.page-admin .admin-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e1ebe5;
    box-shadow: 0 10px 28px rgba(25, 65, 52, 0.08);
}

body.page-admin .admin-stat {
    color: #149447;
}

body.page-admin .admin-card h3,
body.page-admin .panel-header h2,
body.page-admin .admin-lock-card h2,
body.page-admin .content-manager-card h3,
body.page-admin .admin-table-section h2 {
    color: #26364a;
}

body.page-admin .admin-table th {
    background: #149447;
    color: #fff;
}

body.page-admin .admin-table button,
body.page-admin .admin-login-form button,
body.page-admin .blog-actions button,
body.page-admin .content-form button {
    background: #149447;
    color: #fff;
}

body.page-admin .admin-table button:hover,
body.page-admin .admin-login-form button:hover,
body.page-admin .blog-actions button:hover,
body.page-admin .content-form button:hover {
    background: #107c3b;
}

body.page-admin .toggle-btn,
body.page-admin .ghost-btn,
body.page-admin .section-toggle-btn {
    border-color: #149447;
}

body.page-admin .content-manager-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e1ebe5;
}

/* Footer â€” same two-column/quick-links style used on the recreated pages. */
body.page-admin footer {
    background: #193b2a;
    color: #fff;
    padding: 42px 6% 28px;
    text-align: left;
}

body.page-admin footer .footer-content {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

body.page-admin footer .footer-left,
body.page-admin footer .footer-right {
    display: flex;
    flex-direction: column;
}

body.page-admin footer .footer-left {
    align-items: flex-start;
    text-align: left;
}

body.page-admin footer .footer-right {
    align-items: flex-start;
    text-align: left;
}

body.page-admin footer .footer-brand-logo {
    height: 55px;
    width: auto;
    margin-bottom: 10px;
}

body.page-admin footer p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

body.page-admin footer h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}

body.page-admin footer .footer-links,
body.page-admin footer .quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

body.page-admin footer .footer-links a,
body.page-admin footer .quick-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    transition: color .3s ease;
}

body.page-admin footer .footer-links a:hover,
body.page-admin footer .quick-links a:hover {
    color: #fff;
}

body.page-admin footer .social {
    display: flex;
    gap: 10px;
    margin: 8px 0 16px;
}

body.page-admin footer .social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .3s ease;
}

body.page-admin footer .social a:hover {
    background: #149447;
    border-color: #149447;
}

body.page-admin footer .copyright {
    margin-top: 8px;
    font-size: 12px;
}

/* Floating Phone / WhatsApp / LinkedIn buttons */
body.page-admin .floating-socials {
    position: fixed;
    right: 20px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9998;
}

body.page-admin .floating-socials .float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    transition: transform .3s ease, box-shadow .3s ease;
}

body.page-admin .floating-socials .float-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

body.page-admin .floating-socials .float-btn.phone {
    background: #149447;
}

body.page-admin .floating-socials .float-btn.whatsapp {
    background: #25d366;
}

body.page-admin .floating-socials .float-btn.linkedin {
    background: #0a66c2;
}

@media (max-width: 900px) {
    body.page-admin header {
        height: auto;
        min-height: 74px;
        padding: 10px 18px;
    }

    body.page-admin .nav-buttons {
        display: flex;
        margin-left: auto;
    }

    body.page-admin .nav-buttons .login-btn {
        min-width: auto;
        padding: 9px 16px;
    }

    body.page-admin .admin-hero {
        padding: 52px 6% 28px;
    }

    body.page-admin footer .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    body.page-admin header {
        min-height: 58px;
        padding: 7px 12px;
    }

    body.page-admin header .logo img {
        height: 42px;
    }

    body.page-admin .admin-hero {
        padding: 42px 16px 22px;
    }

    body.page-admin .admin-hero h1 {
        font-size: 30px;
    }

    body.page-admin .floating-socials {
        right: 10px;
        bottom: 18px;
        gap: 8px;
    }

    body.page-admin .floating-socials .float-btn {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }
}


/* =========================================================
    GENZI JOB ADMIN â€” FINAL VISUAL THEME
   Data, IDs and dashboard functionality are intentionally
   preserved. This layer only controls presentation.
========================================================= */

:root {
    --bi-green: #149447;
    --bi-green-dark: #107c3b;
    --bi-blue: #173b63;
    --bi-navy: #16293d;
    --bi-ink: #26364a;
    --bi-muted: #68788a;
    --bi-light: #eef8f2;
    --bi-border: #dfe9e3;
    --bi-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body.page-admin {
    margin: 0;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    color: var(--bi-ink);
    background: #eef8f2;
    position: relative;
    overflow-x: hidden;
}

/* Creative blurred background image.
   If images/admin-bg.jpg exists, it is used automatically.
   The layered gradient keeps the page attractive/readable even
   if the image is unavailable. */
body.page-admin::before {
    content: "";
    position: fixed;
    inset: -28px;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(238,248,242,.88), rgba(232,244,239,.78)),
        url("images/admin-bg.jpg") center / cover no-repeat;
    filter: blur(8px);
    transform: scale(1.06);
    pointer-events: none;
}

body.page-admin::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(20,148,71,.12), transparent 25%),
        radial-gradient(circle at 86% 28%, rgba(23,59,99,.11), transparent 27%),
        radial-gradient(circle at 55% 90%, rgba(20,148,71,.08), transparent 30%);
}

/* ---------- NAVIGATION ---------- */

body.page-admin .site-header {
    width: 100%;
    min-height: 80px;
    box-sizing: border-box;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 34px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(20,148,71,.10);
    box-shadow: 0 5px 22px rgba(22,41,61,.07);
    backdrop-filter: blur(12px);
}

body.page-admin .site-header .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

body.page-admin .site-header .logo img {
    display: block;
    width: auto;
    height: 46px;
    object-fit: contain;
}

body.page-admin #siteNav {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

body.page-admin #siteNav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0;
    margin: 0;
}

body.page-admin #siteNav ul li {
    margin: 0;
    padding: 0;
}

body.page-admin #siteNav ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 29px 0 26px;
    color: #1f3041;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .25s ease;
}

body.page-admin #siteNav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 2px;
    border-radius: 20px;
    background: var(--bi-green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

body.page-admin #siteNav ul li a:hover,
body.page-admin #siteNav ul li a.active {
    color: var(--bi-green);
}

body.page-admin #siteNav ul li a:hover::after,
body.page-admin #siteNav ul li a.active::after {
    transform: scaleX(1);
}

body.page-admin .nav-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-admin .nav-outline-btn {
    min-width: 90px;
    height: 42px;
    padding: 0 20px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bi-green);
    border-radius: 999px;
    background: transparent;
    color: var(--bi-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

body.page-admin .nav-outline-btn:hover {
    background: var(--bi-green);
    color: #fff;
    transform: translateY(-1px);
}

body.page-admin .admin-nav-btn.active {
    background: transparent;
    color: var(--bi-green);
}

/* ---------- ADMIN HERO ---------- */

body.page-admin .admin-hero {
    margin: 0;
    padding: 58px 7% 32px;
    text-align: center;
    background: rgba(255,255,255,.32);
}

body.page-admin .admin-hero h1 {
    margin: 0 0 9px;
    color: var(--bi-ink);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -.6px;
}

body.page-admin .admin-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--bi-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- LOGIN CARD ---------- */

body.page-admin .admin-lock {
    padding: 26px 6% 70px;
}

body.page-admin .admin-lock-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 34px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(20,148,71,.13);
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(22,41,61,.12);
    backdrop-filter: blur(10px);
}

body.page-admin .admin-lock-card h2 {
    color: var(--bi-ink);
}

body.page-admin .admin-login-form input,
body.page-admin .blog-form input,
body.page-admin .blog-form textarea,
body.page-admin .content-form input,
body.page-admin .content-form textarea,
body.page-admin .content-filter-input {
    border-color: var(--bi-border);
    background: rgba(255,255,255,.96);
    color: var(--bi-ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.page-admin .admin-login-form input:focus,
body.page-admin .blog-form input:focus,
body.page-admin .blog-form textarea:focus,
body.page-admin .content-form input:focus,
body.page-admin .content-form textarea:focus,
body.page-admin .content-filter-input:focus {
    border-color: var(--bi-green);
    box-shadow: 0 0 0 3px rgba(20,148,71,.10);
}

/* ---------- DASHBOARD ---------- */

body.page-admin .admin-dashboard {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 12px 0 80px;
}

body.page-admin .admin-toolbar {
    margin-bottom: 24px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(22,41,61,.94);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(22,41,61,.15);
}

body.page-admin .admin-toolbar > span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.82);
}

body.page-admin .toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.page-admin .import-btn,
body.page-admin .logout-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 17px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

body.page-admin .import-btn {
    background: var(--bi-green);
    color: #fff;
}

body.page-admin .logout-btn {
    background: #fff;
    color: var(--bi-navy);
}

body.page-admin .import-btn:hover,
body.page-admin .logout-btn:hover {
    transform: translateY(-2px);
}

body.page-admin .admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
    padding: 0;
    margin: 0 0 24px;
}

body.page-admin .admin-card {
    min-height: 145px;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(255,255,255,.91);
    border: 1px solid rgba(20,148,71,.12);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(22,41,61,.09);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, box-shadow .25s ease;
}

body.page-admin .admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(22,41,61,.13);
}

body.page-admin .admin-card h3 {
    margin: 0 0 12px;
    color: var(--bi-ink);
    font-size: 15px;
}

body.page-admin .admin-card h3 i {
    color: var(--bi-green);
    margin-right: 7px;
}

body.page-admin .admin-stat {
    color: var(--bi-green);
    font-size: 36px;
    line-height: 1;
}

body.page-admin .admin-stat-label {
    color: var(--bi-muted);
}

/* ---------- PANELS / TABLES ---------- */

body.page-admin .admin-panels {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
}

body.page-admin .admin-panel {
    padding: 25px;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(20,148,71,.11);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22,41,61,.08);
    backdrop-filter: blur(8px);
}

body.page-admin .panel-header {
    margin-bottom: 18px;
}

body.page-admin .panel-header h2 {
    margin: 0;
    color: var(--bi-ink);
    font-size: 20px;
}

body.page-admin .panel-header span {
    color: var(--bi-muted);
}

body.page-admin .admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

body.page-admin .admin-table th {
    padding: 13px 12px;
    background: var(--bi-green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

body.page-admin .admin-table td {
    padding: 13px 12px;
    color: #435466;
    border-bottom: 1px solid #e8eee9;
    font-size: 13px;
    vertical-align: top;
}

body.page-admin .admin-table tbody tr:hover {
    background: #f7fbf8;
}

body.page-admin .admin-table button,
body.page-admin .admin-login-form button,
body.page-admin .blog-actions button,
body.page-admin .content-form button {
    border: 0;
    border-radius: 999px;
    background: var(--bi-green);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

body.page-admin .admin-table button:hover,
body.page-admin .admin-login-form button:hover,
body.page-admin .blog-actions button:hover,
body.page-admin .content-form button:hover {
    background: var(--bi-green-dark);
    transform: translateY(-1px);
}

body.page-admin .content-manager-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

body.page-admin .content-manager-card {
    background: rgba(248,251,249,.92);
    border: 1px solid var(--bi-border);
    border-radius: 16px;
    padding: 18px;
}

body.page-admin .content-manager-card h3 {
    color: var(--bi-ink);
}

body.page-admin .section-toggle-btn,
body.page-admin .ghost-btn {
    background: #fff;
    color: var(--bi-green);
    border: 1px solid rgba(20,148,71,.35);
}

body.page-admin .section-toggle-btn:hover,
body.page-admin .ghost-btn:hover {
    background: var(--bi-light);
}

body.page-admin .danger-btn {
    background: #fff0f0 !important;
    color: #bd3030 !important;
}

/* ---------- FOOTER â€” MATCH JOBS PAGE ---------- */

body.page-admin .site-footer {
    background: #193b2a;
    color: #ffffff;
    padding-top: 55px;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

body.page-admin .site-footer .footer-container {
    width: min(1200px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 45px;
}

body.page-admin .footer-brand img {
    width: 140px;
    margin-bottom: 15px;
    display: block;
}

body.page-admin .footer-brand p {
    color: #aebbb3;
    max-width: 330px;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

body.page-admin .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.page-admin .footer-links h4 {
    font-size: 15px;
    margin: 0 0 7px;
    color: #fff;
}

body.page-admin .footer-links a {
    color: #aebbb3;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s ease;
}

body.page-admin .footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

body.page-admin .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 18px;
    color: #87958c;
    font-size: 12px;
}

body.page-admin .footer-bottom p {
    margin: 0;
    color: #87958c;
    font-size: 12px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 950px) {
    body.page-admin .site-header {
        gap: 18px;
        padding: 0 3%;
    }

    body.page-admin #siteNav ul {
        gap: 20px;
    }

    body.page-admin .site-header .logo img {
        height: 43px;
    }

    body.page-admin .admin-dashboard {
        width: 94%;
    }

    body.page-admin .content-manager-grid {
        grid-template-columns: 1fr;
    }

    body.page-admin .site-footer .footer-content {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    body.page-admin .footer-follow {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body.page-admin .site-header {
        min-height: 68px;
        padding: 0 16px;
        flex-wrap: wrap;
    }

    body.page-admin .site-header .logo img {
        height: 40px;
    }

    body.page-admin .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    body.page-admin #siteNav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        padding: 10px 16px 18px;
        background: #fff;
        border-top: 1px solid #edf2ee;
        box-shadow: 0 12px 24px rgba(22,41,61,.10);
    }

    body.page-admin #siteNav.open {
        display: block;
    }

    body.page-admin #siteNav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    body.page-admin #siteNav ul li a {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 5px;
    }

    body.page-admin #siteNav ul li a::after {
        bottom: 5px;
    }

    body.page-admin .nav-buttons {
        margin-left: 0;
        margin-right: 0;
        gap: 7px;
    }

    body.page-admin .nav-outline-btn {
        min-width: 72px;
        height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    body.page-admin .admin-hero {
        padding: 45px 18px 25px;
    }

    body.page-admin .admin-dashboard {
        width: calc(100% - 28px);
        padding-bottom: 55px;
    }

    body.page-admin .admin-grid {
        grid-template-columns: 1fr;
    }

    body.page-admin .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    body.page-admin .toolbar-actions {
        flex-wrap: wrap;
    }

    body.page-admin .floating-socials {
        right: 12px;
    }

    body.page-admin .site-footer .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    body.page-admin .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    body.page-admin .nav-buttons {
        width: 100%;
        order: 3;
        padding-bottom: 10px;
    }

    body.page-admin .site-header {
        min-height: 116px;
    }

    body.page-admin #siteNav {
        top: 116px;
    }

    body.page-admin .nav-outline-btn {
        flex: 1;
    }

    body.page-admin .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.page-admin .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    body.page-admin .footer-brand,
    body.page-admin .footer-follow {
        grid-column: auto;
    }

    body.page-admin .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 15px 0;
    }

    body.page-admin .floating-socials .float-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* =========================================================
   MOBILE RESPONSIVE REFINEMENT (375px PRIMARY TARGET)
   Desktop styles above remain unchanged.
========================================================= */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }
  img, video, iframe { max-width: 100%; height: auto; }
  input, select, textarea, button { max-width: 100%; }
  .site-header, .header { max-width: 100vw; }
}
@media (max-width: 480px) {
  h1 { overflow-wrap: anywhere; }
}

/* Final mobile guard for the Admin dashboard. */
@media (max-width: 720px) {
  .site-header { width: 100%; min-width: 0; }
  .site-header .logo img { max-width: 120px; height: auto; }
  #siteNav { max-width: 100vw; }
  .admin-hero, .admin-dashboard, .dashboard-container, .content-manager-panel { max-width: 100%; min-width: 0; }
  .content-manager-grid { grid-template-columns: 1fr; }
  .table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .page-admin { overflow-x: hidden; }
  .site-header { padding-left: 14px; padding-right: 14px; }
  .nav-buttons { display: none; }
  .content-list-item, .panel-subheader { flex-wrap: wrap; }
}


/* =========================================================
   MOBILE NAVIGATION ACTIONS
   Contact and Admin remain available inside the mobile menu.
========================================================= */
.mobile-nav-actions {
    display: none;
}

@media (max-width: 800px) {
    .site-nav.open .mobile-nav-actions,
    .navigation.open .mobile-nav-actions {
        display: flex !important;
        width: 100%;
        gap: 10px;
        padding-top: 6px;
        margin-top: 4px;
        border-top: 1px solid rgba(33, 139, 109, 0.18);
    }

    .mobile-nav-actions a {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 12px;
        border: 1.5px solid #218b6d;
        border-radius: 24px;
        color: #218b6d;
        background: #ffffff;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }
}
