/* =========================================================
   PAK GURU ABDULLAH — MODERN TECH THEME
   Disesuaikan dengan index.php
========================================================= */

:root{
    --bg:#050b14;
    --bg-soft:#07111e;
    --panel:#0b1422;
    --panel2:#101c2d;
    --text:#edf6ff;
    --muted:#91a5ba;
    --blue:#2d8cff;
    --cyan:#28d7ff;
    --line:rgba(255,255,255,.09);
    --line-cyan:rgba(40,215,255,.24);
    --shadow:0 18px 50px rgba(0,0,0,.28);
    --radius:18px;
    --max:1200px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    background:var(--bg);
}

body{
    margin:0;
    min-height:100vh;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,Segoe UI,Arial,sans-serif;
    line-height:1.65;
    overflow-x:hidden;
}

::selection{
    background:rgba(40,215,255,.25);
    color:#fff;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}

/* =========================================================
   BACKGROUND
========================================================= */

.tech-bg{
    position:fixed;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
        radial-gradient(circle at 75% 8%,rgba(40,215,255,.13),transparent 28%),
        radial-gradient(circle at 12% 30%,rgba(45,140,255,.12),transparent 27%),
        radial-gradient(circle at 50% 100%,rgba(45,140,255,.07),transparent 35%),
        linear-gradient(125deg,#030811,#081321 55%,#040914);
}

.tech-bg::before{
    content:"";
    position:absolute;
    inset:0;
    opacity:.10;
    background:
        radial-gradient(circle at center,transparent 0,rgba(0,0,0,.12) 70%),
        linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.22) 100%);
}

.tech-bg::after{
    content:"";
    position:absolute;
    inset:0;
    opacity:.14;
    background-image:
        linear-gradient(rgba(60,150,255,.25) 1px,transparent 1px),
        linear-gradient(90deg,rgba(60,150,255,.25) 1px,transparent 1px);
    background-size:55px 55px;
    mask-image:linear-gradient(to bottom,#000,transparent 90%);
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar{
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 max(5%,calc((100% - var(--max))/2));
    border-bottom:1px solid var(--line);
    background:rgba(3,9,17,.88);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    position:sticky;
    top:0;
    z-index:100;
}

.brand{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:14px;
    letter-spacing:1px;
    white-space:nowrap;
}

.brand b{
    color:var(--cyan);
}

.brand-mark{
    width:38px;
    height:38px;
    border:1px solid rgba(40,215,255,.5);
    display:grid;
    place-items:center;
    color:var(--cyan);
    font-weight:800;
    border-radius:10px;
    background:rgba(40,215,255,.04);
    box-shadow:0 0 22px rgba(40,215,255,.06);
}

.nav{
    display:flex;
    align-items:center;
    gap:25px;
    color:#a8b9ca;
    font-size:14px;
}

.nav a{
    position:relative;
    padding:7px 0;
    transition:color .2s ease;
}

.nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:0;
    height:2px;
    border-radius:10px;
    background:linear-gradient(90deg,var(--blue),var(--cyan));
    transition:right .25s ease;
}

.nav a:hover,
.nav .active{
    color:#fff;
}

.nav a:hover::after,
.nav .active::after{
    right:0;
}

.menu-btn{
    display:none;
    width:42px;
    height:42px;
    background:rgba(255,255,255,.03);
    border:1px solid var(--line);
    border-radius:10px;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

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

.hero{
    width:100%;
    max-width:var(--max);
    min-height:590px;
    margin:0 auto;
    padding:65px 6%;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
    align-items:center;
    gap:45px;
    position:relative;
}

.hero-copy{
    position:relative;
    z-index:10;
    width:100%;
    max-width:650px;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:11px;
    letter-spacing:3px;
    color:var(--cyan);
    font-weight:800;
}

.eyebrow span{
    display:inline-block;
    width:24px;
    height:2px;
    background:var(--cyan);
    border-radius:5px;
}

.hero h1{
    position:relative;
    z-index:10;
    font-size:clamp(44px,5vw,66px);
    line-height:1.03;
    letter-spacing:-1.8px;
    margin:14px 0 18px;
    color:var(--text);
}

.hero h1 em{
    font-style:normal;
    background:linear-gradient(90deg,#fff,var(--cyan));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero p{
    max-width:610px;
    margin:0 0 24px;
    color:var(--muted);
    font-size:15px;
    line-height:1.8;
}

/* =========================================================
   BUTTON
========================================================= */

.actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin:25px 0;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:12px 19px;
    border-radius:10px;
    font-weight:700;
    font-size:14px;
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn.primary{
    background:linear-gradient(135deg,var(--blue),var(--cyan));
    color:#00101b;
    box-shadow:0 9px 24px rgba(20,160,255,.18);
}

.btn.primary:hover{
    box-shadow:0 13px 30px rgba(20,160,255,.25);
}

.btn.ghost{
    border:1px solid var(--line);
    background:rgba(255,255,255,.03);
    color:#fff;
}

.btn.ghost:hover{
    border-color:var(--line-cyan);
    background:rgba(40,215,255,.06);
}

.btn.small{
    min-height:38px;
    padding:9px 13px;
    font-size:12px;
}

/* =========================================================
   STATISTIK
========================================================= */

.stats{
    display:flex;
    gap:32px;
    margin-top:30px;
}

.stats div{
    display:flex;
    flex-direction:column;
}

.stats b{
    font-size:22px;
    line-height:1.2;
    color:#fff;
}

.stats small{
    color:var(--muted);
    font-size:12px;
}

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

.hero-visual{
    position:relative;
    z-index:2;
    width:100%;
    min-height:410px;
    display:grid;
    place-items:center;
    overflow:visible;
}

.orbit{
    position:absolute;
    border:1px solid rgba(40,215,255,.18);
    border-radius:50%;
    pointer-events:none;
    z-index:0;
    box-shadow:0 0 45px rgba(40,215,255,.035);
}

.o1{
    width:365px;
    height:365px;
    transform:rotate(-20deg);
}

.o2{
    width:450px;
    height:190px;
    transform:rotate(-20deg);
}

/* =========================================================
   PROFILE CARD HERO
========================================================= */

.profile-card{
    position:absolute;
    z-index:5;
    display:flex;
    align-items:center;
    gap:13px;
    padding:14px 16px;
    top:35px;
    left:2%;
    max-width:310px;
    background:rgba(10,22,37,.94);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:18px;
}

.avatar{
    width:62px;
    height:62px;
    flex:none;
    border-radius:14px;
    background:linear-gradient(135deg,#124c7b,#22d4ff);
    display:grid;
    place-items:center;
    overflow:hidden;
    font-weight:900;
    font-size:20px;
    box-shadow:0 0 22px rgba(40,215,255,.12);
}

.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.profile-card small,
.profile-card span{
    display:block;
    color:var(--muted);
    font-size:9px;
}

.profile-card small{
    letter-spacing:.2px;
}

.profile-card strong{
    display:block;
    font-size:15px;
    margin-top:2px;
    color:#fff;
}

/* =========================================================
   CODE CARD
========================================================= */

.code-card{
    position:absolute;
    z-index:5;
    right:1%;
    bottom:22px;
    padding:20px 22px;
    font-family:Consolas,Monaco,monospace;
    line-height:1.85;
    color:#a8bed3;
    font-size:13px;
    background:rgba(10,22,37,.94);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:18px;
}

.code-card b,
.code-card span{
    color:var(--cyan);
}

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

.section{
    width:100%;
    max-width:var(--max);
    margin:auto;
    padding:85px 6%;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:30px;
    margin-bottom:30px;
}

.section h2{
    font-size:36px;
    line-height:1.15;
    letter-spacing:-.7px;
    margin:7px 0;
}

.section-head p{
    color:var(--muted);
    max-width:430px;
    margin:0;
}

.text-link{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:var(--cyan);
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    transition:transform .2s ease;
}

.text-link:hover{
    transform:translateX(3px);
}

/* =========================================================
   GRID
========================================================= */

.grid{
    display:grid;
    gap:18px;
}

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

.grid.three{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
    width:100%;
    max-width:1080px;
    margin:0 auto;
}

/* =========================================================
   CARD UMUM
========================================================= */

.subject,
.card,
.article,
.contact-card{
    border:1px solid var(--line);
    background:rgba(9,20,34,.72);
    border-radius:16px;
    padding:25px;
    transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.subject:hover,
.card:hover,
.article:hover,
.contact-card:hover{
    transform:translateY(-5px);
    border-color:var(--line-cyan);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

/* =========================================================
   BIDANG PEMBELAJARAN
========================================================= */

.subject{
    position:relative;
    overflow:hidden;
}

.subject::after{
    content:"";
    position:absolute;
    width:90px;
    height:90px;
    right:-35px;
    bottom:-35px;
    border-radius:50%;
    background:rgba(40,215,255,.05);
    transition:transform .3s ease;
}

.subject:hover::after{
    transform:scale(1.5);
}

.subject i{
    font-style:normal;
    font-size:32px;
    color:var(--cyan);
    display:block;
    margin-bottom:20px;
}

.subject b{
    display:block;
    font-size:18px;
}

.subject span{
    display:block;
    color:var(--muted);
    font-size:13px;
    margin-top:3px;
}

/* =========================================================
   MATERI CARD
   Cocok dengan index.php yang memakai .card
========================================================= */

.dark-panel .grid.three{
    max-width:1080px;
}

.dark-panel .card{
    display:flex;
    flex-direction:column;
    height:100%;
    min-width:0;
    padding:21px;
    background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
}

.dark-panel .card .tag{
    align-self:flex-start;
}

.dark-panel .card h3{
    margin:16px 0 8px;
    font-size:18px;
    line-height:1.3;
    overflow-wrap:anywhere;
}

.dark-panel .card p{
    flex:1;
    margin:0 0 15px;
    color:var(--muted);
    font-size:12px;
    line-height:1.65;
    overflow-wrap:anywhere;
}

.dark-panel .card a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:38px;
    margin-top:auto;
    padding:8px 11px;
    border-radius:9px;
    background:linear-gradient(135deg,#20d7ff,#1685ff);
    border:1px solid rgba(40,215,255,.2);
    color:#fff;
    font-size:11px;
    font-weight:700;
    transition:transform .25s ease,box-shadow .25s ease;
}

.dark-panel .card a:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(20,160,255,.22);
}

/* =========================================================
   TAG
========================================================= */

.tag{
    display:inline-block;
    max-width:100%;
    color:var(--cyan);
    background:rgba(40,215,255,.08);
    border:1px solid rgba(40,215,255,.15);
    padding:4px 8px;
    border-radius:99px;
    font-size:10px;
    font-weight:800;
    letter-spacing:1px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* =========================================================
   DARK PANEL
========================================================= */

.dark-panel{
    width:100%;
    max-width:none;
    background:rgba(0,0,0,.18);
    padding-left:max(6%,calc((100% - var(--max))/2 + 6%));
    padding-right:max(6%,calc((100% - var(--max))/2 + 6%));
    position:relative;
}

.dark-panel::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(40,215,255,.18),transparent);
}

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

.page-hero{
    width:100%;
    max-width:var(--max);
    margin:auto;
    padding:80px 6% 30px;
}

.page-hero h1{
    font-size:clamp(38px,5vw,60px);
    line-height:1.05;
    margin:10px 0;
}

.page-hero p{
    color:var(--muted);
    max-width:650px;
    margin:0;
}

/* =========================================================
   FILTER
========================================================= */

.filters{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin:0 auto 24px;
    max-width:1080px;
}

.filters a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:100px;
    padding:8px 14px;
    border:1px solid var(--line);
    border-radius:9px;
    background:rgba(255,255,255,.045);
    color:var(--muted);
    font-size:11px;
    font-weight:700;
    transition:.25s;
}

.filters a:hover{
    color:#fff;
    border-color:var(--line-cyan);
    background:rgba(40,215,255,.08);
}

.filters .selected{
    background:linear-gradient(135deg,#20d7ff,#1685ff);
    color:#fff;
    border-color:transparent;
    font-weight:800;
    box-shadow:0 7px 18px rgba(20,160,255,.18);
}

/* =========================================================
   EMPTY MATERI
========================================================= */

.empty-material{
    grid-column:1/-1;
    text-align:center;
    padding:45px 20px;
}

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

.about{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:70px;
}

.about-photo{
    min-height:400px;
    border-radius:22px;
    overflow:hidden;
    border:1px solid var(--line);
    background:linear-gradient(135deg,#0b2b45,#06101c);
    display:grid;
    place-items:center;
}

.about-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.placeholder{
    font-size:70px;
    font-weight:900;
    color:var(--cyan);
}

.info-list{
    border-top:1px solid var(--line);
    margin-top:30px;
}

.info-list div{
    padding:14px 0;
    border-bottom:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.info-list span{
    color:var(--muted);
}

/* =========================================================
   ARTIKEL
========================================================= */

.card h3,
.article h3{
    font-size:20px;
    line-height:1.25;
    margin:18px 0 8px;
}

.card p,
.article p{
    display:block;
    color:var(--muted);
    font-size:13px;
}

.card a,
.article a{
    color:var(--cyan);
    font-size:13px;
    font-weight:700;
}

.article small{
    color:var(--muted);
}

/* =========================================================
   KONTAK
========================================================= */

.contact-section{
    padding-top:10px;
    padding-bottom:45px;
}

.page-hero.contact-hero{
    padding-top:48px !important;
    padding-bottom:12px !important;
    min-height:auto !important;
}

.page-hero.contact-hero .eyebrow{
    display:block;
    margin-bottom:3px;
    font-size:10px;
    letter-spacing:2.5px;
}

.page-hero.contact-hero h1{
    font-size:clamp(32px,4vw,46px) !important;
    line-height:1.05;
    margin:3px 0 8px !important;
}

.page-hero.contact-hero p{
    font-size:13px;
    line-height:1.5;
    margin:0;
    max-width:600px;
}

/* =========================================================
   PROFILE KONTAK
========================================================= */

.contact-profile{
    width:100%;
    max-width:500px;
    margin:0 auto 30px;
    padding:24px 22px 25px;
    text-align:center;
    background:rgba(9,20,34,.78);
    border:1px solid rgba(40,215,255,.2);
    border-radius:22px;
    box-shadow:0 18px 50px rgba(0,0,0,.38),0 0 30px rgba(40,215,255,.06);
    backdrop-filter:blur(15px);
}

.contact-photo{
    width:145px;
    height:145px;
    margin:0 auto 13px;
    padding:5px;
    border-radius:50%;
    background:linear-gradient(135deg,#2d8cff,#28d7ff);
    box-shadow:0 0 22px rgba(40,215,255,.3),0 0 50px rgba(45,140,255,.12);
}

.contact-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #07111e;
}

.contact-profile > .eyebrow{
    display:block;
    font-size:9px;
    letter-spacing:2px;
    margin:0 0 2px;
}

.contact-profile h2{
    margin:3px 0 2px;
    font-size:23px;
    line-height:1.2;
    color:#fff;
}

.contact-profile .position{
    color:var(--cyan);
    font-size:11px;
    font-weight:800;
    letter-spacing:1.2px;
    margin:2px 0;
}

.contact-profile > p{
    margin:2px 0 0;
    color:var(--muted);
    font-size:12px;
}

/* =========================================================
   SOCIAL MEDIA
========================================================= */

.social-title{
    margin-top:15px;
    margin-bottom:9px;
    color:#fff;
    font-size:10px;
    font-weight:700;
    letter-spacing:1px;
}

.social-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
}

.social-buttons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:100px;
    padding:8px 11px;
    border-radius:9px;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.03);
    color:#dce8f3;
    font-size:11px;
    font-weight:700;
    transition:.25s;
}

.social-buttons a i{
    font-size:14px;
}

.social-buttons a:hover{
    transform:translateY(-2px);
    color:#fff;
    border-color:var(--cyan);
    background:rgba(40,215,255,.1);
    box-shadow:0 6px 18px rgba(40,215,255,.12);
}

/* =========================================================
   CONTACT CARD
========================================================= */

.contact-grid{
    max-width:1050px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.contact-card{
    text-align:center;
    padding:22px 18px;
}

.contact-card .icon{
    width:48px;
    height:48px;
    margin:0 auto 10px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:rgba(40,215,255,.08);
    color:var(--cyan);
    font-size:19px;
}

.contact-card h3{
    margin:5px 0;
    font-size:16px;
    color:#fff;
}

.contact-card p{
    margin:0;
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}

/* =========================================================
   ARTIKEL DETAIL
========================================================= */

.article-detail{
    max-width:850px;
    margin:auto;
    padding:80px 6%;
}

.article-detail h1{
    font-size:50px;
    line-height:1.1;
}

.lead{
    font-size:18px;
    color:var(--muted);
}

.content{
    font-size:16px;
    color:#c8d5e2;
    margin:35px 0;
    white-space:normal;
}

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

footer{
    border-top:1px solid var(--line);
    padding:35px max(6%,calc((100% - var(--max))/2 + 6%));
    display:flex;
    justify-content:space-between;
    gap:25px;
    color:var(--muted);
    font-size:12px;
    background:rgba(2,7,13,.35);
}

footer div{
    display:flex;
    flex-direction:column;
    gap:3px;
}

footer b{
    color:#fff;
    letter-spacing:1px;
}

footer span{
    color:var(--muted);
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:1000px){

    .hero{
        grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);
        gap:25px;
        padding-left:5%;
        padding-right:5%;
    }

    .hero h1{
        font-size:clamp(42px,5vw,60px);
    }

    .profile-card{
        left:0;
    }

    .code-card{
        right:0;
    }

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

    .grid.three{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
        max-width:850px;
    }

    .about{
        grid-template-columns:300px 1fr;
        gap:40px;
    }
}

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

@media(max-width:760px){

    .nav{
        display:none;
    }

    .nav.show{
        display:flex;
        position:absolute;
        top:76px;
        left:0;
        right:0;
        background:rgba(7,16,27,.98);
        padding:20px 6%;
        flex-direction:column;
        gap:16px;
        border-bottom:1px solid var(--line);
        box-shadow:0 18px 35px rgba(0,0,0,.25);
    }

    .nav.show a{
        padding:3px 0;
    }

    .menu-btn{
        display:block;
    }

    .hero{
        grid-template-columns:1fr;
        min-height:auto;
        padding:55px 6% 40px;
        gap:15px;
    }

    .hero-copy{
        max-width:100%;
        text-align:center;
    }

    .hero-copy p{
        margin-left:auto;
        margin-right:auto;
    }

    .actions{
        justify-content:center;
        flex-wrap:wrap;
    }

    .stats{
        justify-content:center;
        gap:25px;
    }

    .hero-visual{
        min-height:370px;
        margin-top:5px;
    }

    .grid.four,
    .grid.three{
        grid-template-columns:1fr;
    }

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

    .dark-panel{
        padding-left:6%;
        padding-right:6%;
    }

    .about{
        grid-template-columns:1fr;
        gap:35px;
    }

    .about-photo{
        min-height:300px;
    }

    .section{
        padding:60px 6%;
    }

    .section-head{
        flex-direction:column;
        align-items:flex-start;
    }

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

    .page-hero{
        padding:60px 6% 25px;
    }

    .filters{
        padding-left:6%;
        padding-right:6%;
        max-width:none;
    }

    .page-hero.contact-hero{
        padding-top:40px !important;
        padding-bottom:8px !important;
    }

    .contact-section{
        padding-top:8px !important;
    }
}

/* =========================================================
   HP
========================================================= */

@media(max-width:560px){

    .navbar{
        height:70px;
        padding:0 5%;
    }

    .nav.show{
        top:70px;
    }

    .brand{
        font-size:12px;
    }

    .brand-mark{
        width:35px;
        height:35px;
    }

    .hero{
        padding:42px 6% 55px;
    }

    .hero h1{
        font-size:42px;
        line-height:1.02;
        letter-spacing:-1.2px;
    }

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

    .hero-visual{
        min-height:335px;
    }

    .profile-card{
        top:18px;
        left:0;
        max-width:285px;
        padding:11px 13px;
    }

    .avatar{
        width:55px;
        height:55px;
    }

    .profile-card strong{
        font-size:14px;
    }

    .code-card{
        bottom:8px;
        right:0;
        padding:16px;
        font-size:12px;
        line-height:1.7;
    }

    .o1{
        width:280px;
        height:280px;
    }

    .o2{
        width:320px;
        height:145px;
    }

    .stats{
        gap:18px;
    }

    .stats b{
        font-size:20px;
    }

    .section{
        padding:55px 6%;
    }

    .subject,
    .card,
    .article,
    .contact-card{
        padding:20px;
    }

    .filters{
        gap:7px;
    }

    .filters a{
        flex:1;
        min-width:0;
        padding:8px;
        text-align:center;
        font-size:10px;
    }

    .page-hero.contact-hero{
        padding-top:32px !important;
        padding-bottom:5px !important;
    }

    .page-hero.contact-hero h1{
        font-size:34px !important;
        margin:2px 0 6px !important;
    }

    .page-hero.contact-hero p{
        font-size:12px;
        line-height:1.45;
    }

    .contact-profile{
        padding:20px 15px 22px;
        margin-bottom:22px;
    }

    .contact-photo{
        width:125px;
        height:125px;
        margin-bottom:10px;
    }

    .contact-profile h2{
        font-size:21px;
    }

    .social-buttons{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:6px;
    }

    .social-buttons a{
        width:100%;
        min-width:0;
        padding:8px 5px;
        font-size:10px;
    }

    footer{
        flex-direction:column;
        gap:15px;
        padding:30px 6%;
    }
}

/* =========================================================
   HP SANGAT KECIL
========================================================= */

@media(max-width:400px){

    .hero h1{
        font-size:38px;
    }

    .material-card h3,
    .dark-panel .card h3{
        font-size:15px;
    }

    .dark-panel .card p{
        font-size:11px;
    }

    .dark-panel .card a{
        font-size:10px;
        min-height:37px;
    }

    .filters a{
        padding:8px 7px;
        font-size:10px;
    }
}