/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    /* --black-color: ; */
    --black-color-light: crimson;
    --black-color-lighten: hsl(0, 0%, 0%);
    /* --white-color: #dbde2d;   */
    --body-color: hsl(0, 0%, 100%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Poppins";
    /* --normal-font-size: 0.938rem; */

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
    :root {
        /* --normal-font-size: 1.5rem; */
    }
}

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

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
}

ul {
    list-style: none;
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

a {
    text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container1 {
    width: 100%;
    margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    background-color: var(--black-color);
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-around;
    padding: 10px 5px;
}
.sticky1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(0, 0, 0);
    color: #ffffff !important;
    padding: 10px 5px;
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
}
/* tingkatkan spesifisitas agar mengalahkan util tailwind */
.header.sticky1,
.header.sticky1 .nav__list,
.header.sticky1 .nav__link,
.header.sticky1 .dropdown__menu,
.header.sticky1 .dropdown__submenu,
.header.sticky1 a {
    color: #fff !important;
}

.header.sticky1 .nav-link:hover,
.header.sticky1 .dropdown-link:hover,
.header.sticky1 .dropdown-sublink:hover {
    color: #ffffff;
}
/*=============== NAV ===============*/
.nav {
    width: 100%;
    height: var(--header-height); /* Tambahkan ini */
    display: flex; /* Tambahkan ini */
    justify-content: space-between; /* Tambahkan ini */
    align-items: center; /* Tambahkan ini */
}

.nav__logo,
.nav__burger,
.nav__close {
    color: var(--white-color);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
    font-weight: var(--font-semi-bold);
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
    font-weight: initial;
    font-size: 2rem;
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
    display: block;
    z-index: 1000;
    padding: 20px 0;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
}

.nav__close {
    opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1024px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 1rem;
        margin-top: 20px;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }
    .nav__menu::-webkit-scrollbar {
        width: 0;
    }

    /* .nav__toggle {
        display: block; 
    } */
    .nav__list {
        background-color: var(--black-color-light);
        padding-top: 1rem;
    }
}

.nav__link {
    color: var(--white-color);
    background-color: var(--black-color);
    font-weight: var(--font-semi-bold);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.nav__link:hover {
    background-color: var(--black-color-lighten);
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}
.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
    cursor: pointer;
}

.dropdown__arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform 0.4s;
}

.dropdown__link,
.dropdown__sublink {
    padding: 1rem;
    color: var(--white-color);
    background-color: var(--black-color-light);
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-weight: var(--font-semi-bold);
    transition: background-color 0.3s;
}

.dropdown__link i {
    font-size: 1rem;
    font-weight: initial;
}
.dropdown__sublink {
    font-size: 0.8rem;
    font-weight: 600;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
    background-color: var(--black-color-lighten);
}

.dropdown__menu,
.dropdown__submenu {
    max-height: 0;
    font-size: 15px;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    /* margin-top: 20px; */
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
    margin-left: auto;
}

.dropdown__sublink {
    background-color: var(--black-color-light);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .container {
        margin-inline: auto;
    }
    .logo_undip {
        display: flex;
        width: max-content;
        gap: 5px;
        align-items: center;
        /* margin-left: 10px; */
    }
    .nav {
        height: calc(var(--header-height));
        display: flex;
        justify-content: space-between;
        width: 90%;
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 2.4rem;
    }
    .nav__link {
        height: 100%;
        padding: 1.25rem 0;
        justify-content: initial;
        column-gap: 0.25rem;
    }
    .nav__link:hover {
        background-color: transparent;
    }

    .dropdown__item,
    .dropdown__subitem {
        position: relative;
    }

    .dropdown__menu,
    .dropdown__submenu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 3.5rem;
        margin-top: 20px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s, top 0.3s;
        -webkit-transition: opacity 0.3s, top 0.3s;
        -moz-transition: opacity 0.3s, top 0.3s;
        -ms-transition: opacity 0.3s, top 0.3s;
        -o-transition: opacity 0.3s, top 0.3s;
    }

    .dropdown__link,
    .dropdown__sublink {
        padding-inline: 1rem 1.5rem;
    }

    .dropdown__subitem .dropdown__link {
        padding-inline: 1rem;
    }

    .dropdown__submenu {
        position: absolute;
        left: 100%;
        top: 0.5rem;
    }

    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
        opacity: 1;
        /*top: 5.5rem;
        */
        pointer-events: initial;
        transition: top 0.3s;
        top: 3.1rem;
        -webkit-transition: top 0.3s;
        -moz-transition: top 0.3s;
        -ms-transition: top 0.3s;
        -o-transition: top 0.3s;
    }

    /* Show dropdown submenu */
    .dropdown__subitem:hover > .dropdown__submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top 0.3s;
    }
    .header {
        width: 100%;
        padding: 10px 10px;
    }
    .sticky1 {
        padding: 10px 10px;
    }
}

/* code nepal */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #ff0000;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
/* section {
    padding: 100px 0;
} */
.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
    overflow: hidden;
}
.about,
.services,
.skills,
.contact,
footer {
    font-family: "poppins";
}
.about .about-content,
.services .serv-content,
.skills .skills-content {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
}
.title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 50px;
    padding-bottom: 30px;
    font-family: "Poppins";
}
.title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    /* background: #111; */
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

/* navbar styling */
/* .navbar {
    position: sticky;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: "Poppins";
    transition: all 0.3s ease;
} */

.nav_data.max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__data .logo a {
    color: var(--white-color);
    font-size: 2rem;
    font-weight: 600;
}
.nav__data .logo a span {
    color: crimson;
    transition: all 0.3s ease;
}
.nav_data.sticky1 .logo a span {
    color: #fff !important;
}
.navbar .menu li {
    list-style: none;
    display: inline-block;
}
.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover {
    color: crimson;
}
.navbar.sticky1 .menu li a:hover {
    color: #fff !important;
}

/* menu btn styling */
.menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover {
    filter: brightness(90%);
}

/* home section styling */
.home {
    display: flex;
    background: url("images/banner2.jpg") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: "Poppins";
}
.home .max-width {
    width: 100%;
    display: flex;
}
.home .max-width .row {
    margin-right: 0;
}
.home .home-content .text-1 {
    font-size: 27px;
}
.home .home-content .text-2 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3 {
    font-size: 30px;
    margin: 5px 0;
}
.home .home-content .text-4 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-5 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
    color: crimson;
}
.home .home-content .text-3 span {
    color: crimson;
    font-weight: 500;
}

.home .home-content a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.home .home-content a:hover {
    color: crimson;
    background: none;
}

/* about section styling */
.about .title::after {
    content: "Together As Family";
    margin-top: 100px;
    text-wrap: nowrap;
}
.about .about-content .left {
    width: 40%;
}
.about .about-content .left img {
    height: 540px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right {
    width: 60%;
}
.about .about-content .right .text {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 5px;
    text-align: center;
}
.about .about-content .right .text span {
    color: crimson;
}
.about .about-content .right p {
    text-align: justify;
}
.about .about-content .right a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover {
    color: crimson;
    background: none;
}

/* services section styling */
.services {
    color: #fff;
    background: #111;
}
.services .title::before {
    background: #fff;
}
.services .title::after {
    background: #111;
    content: "#UGTC#USTC";
}
.services .serv-content .card {
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.services .serv-content .card:hover {
    background: crimson;
}
.services .serv-content .card .box {
    transition: all 0.3s ease;
}
.services .serv-content .card:hover .box {
    transform: scale(1.05);
}
.services .serv-content .card i {
    font-size: 50px;
    color: crimson;
    transition: color 0.3s ease;
}
.services .serv-content .card:hover i {
    color: #fff;
}
.services .serv-content .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

/* skills section styling */

.skills .title::after {
    content: "Knowladge";
}
.skills .skills-content .column {
    width: calc(50% - 30px);
}
.skills .skills-content .left .text {
    margin-bottom: 10px;
}
.skills .skills-content .left p {
    text-align: justify;
}
.skills .skills-content .left a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.skills .skills-content .left a:hover {
    color: crimson;
    background: none;
}
.skills .skills-content .right .bars {
    margin-bottom: 15px;
}
.skills .skills-content .right .info {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .right span {
    font-weight: 500;
    font-size: 18px;
}
.skills .skills-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.skills .skills-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}
.skills-content .right .html::before {
    width: 10%;
}
.skills-content .right .css::before {
    width: 10%;
}
.skills-content .right .js::before {
    width: 10%;
}
.skills-content .right .php::before {
    width: 10%;
}
.skills-content .right .mysql::before {
    width: 20%;
}

/* contact section styling */
.contact .title::after {
    content: "get in touch";
}
.contact .contact-content .column {
    width: calc(45% - 25px);
}
.contact .contact-content .text {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p {
    text-align: justify;
}
.contact .contact-content .left .icons {
    margin: 30px 0;
}
.contact .contact-content .row {
    display: flex;
    height: 100px;
    align-items: center;
}
.contact .contact-content .row .info {
    margin-left: 35px;
}
.contact .contact-content .row i {
    font-size: 25px;
    color: crimson;
}
.contact .contact-content .info .head {
    font-weight: 500;
}
.contact .contact-content .info .sub-title {
    color: #333;
}
.contact .right form .fields {
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea {
    height: 300px;
    width: 100%;
}
.contact .right form .name {
    margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 6px;
    outline: none;
    padding: 0 0px;
    font-size: 25px;
    font-family: "poppins";
    transition: all 0.3s ease;
}

.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
    border-color: #ffffff;
}
.contact .right form .textarea textarea {
    padding-top: 10px;
    resize: none;
}
.contact .right form .button-area {
    display: flex;
    align-items: center;
}
.right form .button-area button {
    color: #fff;
    display: block;
    width: 160px !important;
    height: 45px;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    flex-wrap: nowrap;
    background: crimson;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.right form .button-area button:hover {
    color: crimson;
    background: none;
}
/* footer section styling */
footer {
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}
footer span a {
    color: crimson;
    text-decoration: none;
}
footer span a:hover {
    text-decoration: underline;
}

/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}
@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before {
        content: "\f00d";
    }
    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active {
        left: 0;
    }
    .navbar .menu li {
        display: block;
    }
    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2 {
        font-size: 70px;
    }
    .home .home-content .text-3 {
        font-size: 35px;
    }
    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width {
        max-width: 930px;
    }
    .about .about-content .column {
        width: 100%;
    }
    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right {
        flex: 100%;
    }
    .services .serv-content .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }
    .home .home-content .text-2 {
        font-size: 60px;
    }
    .home .home-content .text-3 {
        font-size: 32px;
    }
    .home .home-content a {
        font-size: 20px;
    }
    .services .serv-content .card {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 35px;
    }
    .home .home-content .text-3 {
        font-size: 27px;
    }
    .home .home-content .text-4 {
        font-size: 30px;
    }
    .home .home-content .text-5 {
        font-size: 30px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text {
        font-size: 19px;
    }
    .contact .right form .fields {
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }
    .right form .error-box {
        width: 150px;
    }
    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
    .nav__data .logo a {
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 600;
    }
    .nav__data .logo a span {
        color: crimson;
        transition: all 0.3s ease;
    }
    .about .title::after {
        content: "Together As Family";
        font-size: 17px;
    }
}
.Read-more-Container {
    padding: 2rem;
    border-radius: 2px;
    line-height: 1.4rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 5px;
    margin-left: 10px;
    text-align: center;
    text-align: justify;
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border-width: 2px;
    border-style: solid;
    border-color: crimson;
    transition: all 0.3s ease;
    color: rgb(0, 0, 0);
    width: 100%;
}

.Read-more-btn {
    width: max-content;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 10px;
    text-align: center;
    text-align: justify;
    display: inline-block;
    background-color: crimson;
    color: #fff;
    font-weight: 200;
    padding: 10px 15px;
    margin-top: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid crimson;
}
.Read-more-btn:hover {
    border: 2px solid crimson;
    color: crimson;
    background: none;
    padding: 10px 15px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.read-more-text {
    display: none;
}

.read-more-text-show {
    display: inline;
}
.textbold {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}
.logo_undip {
    display: flex;
    width: max-content;
    gap: 5px;
    align-items: center;
    margin-left: 10px;
}
.nav_img {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
}

@media (min-width: 1186px) {
    .logo_undip {
        display: flex;
        width: max-content;
        gap: 5px;
        align-items: center;
    }
    .nav_img {
        width: 70px;
        height: 70px;
        position: relative;
        display: flex;
    }
}

/* {border: 1px solid red} */
