* {
    padding: 0%;
    margin: 0px;
    font-family: sans-serif;
    box-sizing: border-box;
}
body {
    width: 100%;
    /* min-height: 2000px; */
}

/* ========== SCROLL ANIMATIONS ========== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-fade-in {
    animation: slideUp 0.8s ease-out forwards !important;
}

.scroll-slide-left {
    animation: slideInLeft 0.8s ease-out forwards !important;
}

.scroll-slide-right {
    animation: slideInRight 0.8s ease-out forwards !important;
}

/* Navbar */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgb(41, 13, 221, 0.8);
    border-bottom: 2px solid hsl(0, 0%, 0%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.navbar h3 {
    font-size: 1.8rem;
    color: white;
    font-family: "Neuton", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}
.navbar h3 span {
    color: hsl(146, 100%, 53%);
    font-family: "Neuton", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}
.navbar .navbar-nav a {
    color: aliceblue;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin: 0 1rem;
}
.navbar .navbar-nav a:hover {
    color: aquamarine;
    animation: 200ms;
}
.navbar .navbar-nav a::after {
    content: '';
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid #fff;
    transform: scaleX(0);
    transition: 200ms linear;
}
.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}
.navbar .navbar-extra {
    display: flex;
}
.navbar .navbar-extra a {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0.5rem;
}
.navbar .navbar-extra a:hover {
    color: rgb(65, 253, 190);
}
#menu {
    display: none;
}
.navbar .logo img {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    padding: 0.2rem;
    
}
@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.navbar .logo::after , .navbar .logo::before {
    content: '';
    width: 3rem;
    height: 3rem;
    background-image: conic-gradient(from var(--angle), transparent 10%, rgb(79, 196, 124));
    position: absolute;
    translate: calc(-100%);
    z-index: -1;
    border-radius: 50%;
    align-items: center;
    padding: 0.2rem;
    animation: 4s spin linear infinite;
    
}
.navbar .logo::before {
    filter: blur(2rem);
    opacity: 0.5;
    translate: calc(0%);
}
@keyframes spin{
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
}

/* Hero Section */
.hero {
    min-height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.15),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);
}
.hero::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #d4b81acc 3%, rgba(134, 131, 172, 0.8) ;
}
.hero .content {
    display: block;
    justify-content: center;
    align-items: center;
}
.hero .content .logo img {
    margin-top: 2rem;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
}
.hero .content .logo h3 {
    display: flex;
    justify-content: center;
    font-size: 2.3rem;
    color: #fff;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    font-style: normal;
}
.hero .content h3 span {
    color: rgb(255, 255, 255);
    margin-left: 2%;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    font-style: normal;
}
/* Section Profile */
.profile {
    padding: 8rem 7% 1.4rem;
}
.profile h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: cyan;
}
.profile h2 span {
    background-color: rgb(42, 192, 192);
    padding: 0.2rem;
    padding-left: 0.5rem;
    border-radius: 1rem;
    margin-right: 0.5rem;
}

.profile .row {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.profile .row .left {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.15),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);
    width: 50%;
    min-height: 2.3rem;
    padding: 2%;
    overflow-x: auto;
    border-radius: 2rem;
    transition: 500ms;
}
.profile .row .left p span {
    background: linear-gradient(90deg, #ffffff, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.profile .row .left:hover {
    transform: scale(1.1);
    box-shadow: 0.5rem -0.5rem 0.6rem 0rem rgb(186, 201, 202);
}
.profile .row .right {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.15),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);
    width: 50%;
    min-height: 2.3rem;
    padding: 2%;
    overflow-x: auto;
    border-radius: 2rem;
    transition: 500ms;
}
.profile .row .right:hover {
    transform: scale(1.1);
    box-shadow: 0.5rem -0.5rem 0.6rem 0rem rgb(186, 201, 202);
}
.profile .row .left h3 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.profile .row .left h3 span {
    padding: 0.2rem 1.5rem;
    border-radius: 2rem;
    border-bottom: 0.2rem solid white;
    box-shadow: 0 0.2rem 0.5rem white;
    
}
.profile .row .left p {
    line-height: 2rem;
    font-size: 1.2rem;
    color: #e0f2fe;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    font-weight: 100;
    text-align: start;
}
.profile .row .right h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.profile .row .right h3 span {
    padding: 0.2rem 1.5rem;
    border-radius: 2rem;
    border-bottom: 0.2rem solid white;
    box-shadow: 0 0.2rem 0.5rem white;
}
.profile .row .right p {
    line-height: 1.5rem;
    font-size: 1rem;
    color: #e0f2fe;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    font-weight: 100;
    text-align: justify;
}
/* Mid Sejarah */
.profile .mid {
    margin-top: 4rem;
    margin: 4rem auto 0;
    max-width: 800px;
    padding: 2rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.15),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);
    border-radius: 2rem;
    overflow-x: auto;
    padding: 2rem;
    transition: 500ms;
}
.profile .mid:hover {
    transform: scale(1.1);
    box-shadow: 0.5rem -0.5rem 0.6rem 0rem rgb(186, 201, 202);
}
.profile .mid h3 {
    text-align: center;
    font-size: 1.3rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 2rem 0;
}
.profile .mid p {
    padding: 0 3rem;
    text-align: center;
    line-height: 2rem;
    font-size: 1.1rem;
    color: #e0f2fe;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Berita Section */
.berita {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.15),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);
        padding: 5rem 0;
        margin-top: 3rem;
}
.berita .container-berita {
    display: flex;
    justify-content: space-between;
    padding: 5rem 5rem;
    flex-wrap: wrap;
}
.berita h2 {
    text-align: center;
    padding: 2rem 0;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.berita .container-berita .berita-cards {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.15),
        0 0 10px rgba(255,255,255,0.5);
    min-height: 3rem;
    width: 30%;
    padding: 0.5rem 0.2rem ;
    border-radius: 1rem;
    transition: 0.3s;
    margin-bottom: 3rem;
}
.berita .container-berita .berita-cards img {
    height: 500px;
    object-fit: cover;
    width: 100%;
    align-items: center;
    box-sizing: border-box;
}
.berita .container-berita .berita-cards p {
    color: #334155;
}
.berita .container-berita .berita-cards h3 {
    text-align: center;
    font-size: 1.2rem;
    color: #0f172a;
}
.berita .container-berita .berita-cards:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 20px rgba(255,255,255,0.6);
}
/* Register */
.register {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}
.card {
   background: linear-gradient(135deg, #ffffff, #f0f9ff);
    padding: 2rem;
    width: 400px;
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.2),
        0 0 20px rgba(255,255,255,0.5);
}
.card p {
    text-align: center;
}

.card h2 {
    text-align: center;
    margin-bottom: 1rem;
}

input, button {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 0.7rem;
    font-size: 1rem;
}

/* input */
input {
    border: 1px solid #ccc;
    outline: none;
}

input:focus {
    border-color: #06b6d4;
}

/* tombol */
button {
    border: none;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* error */
.error {
    color: red;
    font-size: 0.9rem;
    text-align: center;
}

/* link */
.card a {
    color: #3b82f6;
    font-weight: bold;
    text-decoration: none;
}
/* Login */
.login {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}
/* Card */
.login-container {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    padding: 2rem;
    width: 400px;
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.2),
        0 0 20px rgba(255,255,255,0.5);
}

/* Judul */
.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Input */
.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    font-size: 0.9rem;
    color: #334155;
}

.input-group input {
    width: 100%;
    padding: 0.7rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    margin-top: 0.3rem;
}

/* Password eye */
.password-wrapper {
    position: relative;
}

.password-wrapper span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Button */
button {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 0.7rem;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* Error */
.error {
    color: red;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Validasi */
input:invalid {
    border-color: red;
}
input:valid {
    border-color: green;
}

/* Dashboard OrangTua */
.container-dashboard-orangtua {
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #06b6d4, #3b82f6);
    color: white;
    padding: 1.5rem;
    position: fixed;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: 0.3s;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.2);
}

/* SUBMENU */
.submenu {
    display: none;
    padding-left: 15px;
}

.submenu.show {
    display: block;
}

/* CONTENT */
.content-isi {
    margin-left: 250px;
    padding: 2rem;
    width: 100%;
    background: #f0f9ff;
    min-height: 100vh;
    max-width: 100%;
    padding: 1rem;
}
.content-isi h2 {
    text-align: center;
    font-size: 4rem;
}
.content-isi h3 {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.8rem;
    font-weight: 600;

    background: linear-gradient(90deg, #06b6d4, #3b82f6, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 2px 10px rgba(0,0,0,0.2);

    letter-spacing: 1px;
    transition: 0.3s;
}

.content-isi h3:hover {
    transform: scale(1.03);
    text-shadow: 0 4px 15px rgba(59,130,246,0.5);
}
.content-isi h2 span {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;

    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    font-weight: bold;
    width: 100%;

    box-shadow: 
        0 4px 10px rgba(0,0,0,0.15),
        0 0 10px rgba(6,182,212,0.6);

    transition: 0.3s;
     animation: fadeIn 1s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.content-isi p {
    margin-top: 10rem;
    line-height: 1.8rem;
    font-size: 1.1rem;
    color: #334155;
    text-align: justify;

    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #3b82f6;
    min-height: 50vh;
    animation: fadeIn 1s ease;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 1rem;
    margin-top: 1rem;
    
}


/* MediaQueries */

/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 90%;
    }
}

/* Tablet */

@media (max-width: 800px) {
    html {
        font-size: 75%;
    }
    #menu {
        display: inline-block;
    }
    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #94ebeb;
        width: 30rem;
        height: 100vh;
        transition: 200ms;
    }
    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }
    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }
    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }
    .berita .container-berita .berita-cards {
        display: flex;
        width: 100%;
        min-height: 3rem;
        flex-wrap: wrap;
        margin: 3rem 0;
    }
    .berita .container-berita .berita-cards h3 {
        text-align: center;
        width: 100%;
        padding: 1rem 1rem;
    }
    .berita .container-berita .berita-cards p {
        padding: 1rem 1rem;
        text-align: center;
        width: 100%;
    }
    .login-container {
        width: 300px;
    }
    .content-isi {
        padding: 0.8rem;
    }

    .content-isi h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .content-isi h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .content-isi p {
        font-size: 0.95rem;
        line-height: 1.5rem;
        padding: 1rem;
    }
}
.hamburger {
    display: none;
    position: fixed;
    top: 8px;
    left: 15px;
    font-size: 1.5rem;
    background: #06b6d4;
    color: white;
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    z-index: 10000;
    cursor: pointer;
}

/* Mobile Phone */

@media (max-width: 450px) {
    html {
        font-size: 65%;
    }
    .profile .row {
        flex-wrap: wrap;
    }
    .berita .container-berita .berita-cards {
        display: flex;
        width: 100%;
        min-height: 3rem;
        flex-wrap: wrap;
        margin: 3rem 0;
    }
    C h3 {
        text-align: center;
        width: 100%;
        padding: 1rem 1rem;
    }
    .berita .container-berita .berita-cards p {
        padding: 1rem 1rem;
        text-align: center;
        width: 100%;
    }
    .login-container {
        width: 90vw;
        max-width: 300px;
    }
    .content-isi {
        padding: 0.8rem;
    }

    .content-isi h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .content-isi h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .content-isi p {
        font-size: 0.95rem;
        line-height: 1.5rem;
        padding: 1rem;
    }
    .hamburger {
        display: block;
    }

    .sidebar {
        left: -100%;
        transition: 0.3s;
        z-index: 9999;
    }

    .sidebar.active {
        left: 0;
    }

    .content-isi {
        margin-left: 0; /* penting */
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        transition: 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .content-isi {
        margin-left: 0;
        width: 100%;
    }

    /* OPTIONAL biar ga ketutup */
    .content-isi.active {
        filter: brightness(0.7);
    }
}
/* Section Footer */
.footer-containers {
    width: 100%;
    min-height: 50vh;
    background-color: rgb(25, 91, 255);
    margin-top: 5rem;
}
.footer-containers .footer-cards {
    display: flex;
    justify-content: space-evenly;
    padding: 5rem 0;
}
.footer-containers .footer-cards .footer-yapping {
    /* background-color: #94ebeb; */
}
.footer-containers .footer-cards .footer-menu {
    /* background-color: #94ebeb; */
    border-left: 1px solid rgb(255, 255, 255);
}
.footer-containers .footer-cards .footer-sosial {
    /* background-color: #94ebeb; */
    border-left: 1px solid rgb(255, 255, 255);
}
.footer-containers .footer-cards .footer-yapping h2 {
    padding: 1rem ;
    text-align: center;
    font-size: 2rem;
}
.footer-containers .footer-cards .footer-menu h2 {
    padding: 1rem ;
    text-align: center;
    font-size: 2rem;
}
.footer-containers .footer-cards .footer-sosial h2 {
    padding: 1rem ;
    text-align: center;
    font-size: 2rem;
}
.footer-containers .footer-cards .footer-yapping h2 {
    padding: 1rem ;
    text-align: center;
    font-size: 2rem;
    color: rgb(255, 255, 255);
}
.footer-containers .footer-cards .footer-yapping p {
    padding: 0 1rem;
    font-size: 1.1rem;
    text-align: center;
    color: rgb(37, 36, 48);
}
.footer-containers .footer-cards .footer-menu a {
    padding: 0 1rem;
    font-size: 1.1rem;
    text-align: center;
    color: rgb(37, 36, 48);
}
.footer-containers .footer-cards .footer-menu h2 {
    color: rgb(255, 255, 255);
}
.footer-containers .footer-cards .footer-sosial ul li a {
    padding: 0 1rem;
    font-size: 1.1rem;
    text-align: center;
    color: rgb(37, 36, 48);
    text-decoration: none;
}
.footer-containers .footer-cards .footer-sosial ul {
    display: flex;
    justify-content: center;
    list-style: none;
}
.footer-containers .footer-cards .footer-sosial h2 {
    color: rgb(255, 255, 255);
}
.footer-containers .copyright p {
    text-align: center;
    font-size: 1.3rem;
    color: rgb(255, 255, 255);
    padding: 2rem 0;
}





// Responsive Footer
.footer-containers .footer-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 5rem;
    }
    .footer-containers .footer-cards .footer-menu,
    .footer-containers .footer-cards .footer-sosial {
        border: none;
    }