* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 #111;

}

/* Main container */
.main {
    width: 100%;
    min-height: 100vh;
}

.box1-height>nav:first-child {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.holder {
    position: absolute;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.holder-shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    transition: all 0.6s ease-in-out;
}

a {
    color: #ffc107;
    text-decoration: none;
}

/* Navigation Bar */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 9999;
    color: #000;
    justify-content: space-around;
}

.nav-bar a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
}

.nav-bar img {

    width: 3rem;
    height: 3rem;

}

.nav-logo {
    color: #fff;
}

/* Desktop Nav */
.site-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s;
}

.site-nav a:hover {
    color: #ffc107;
}


/* Box 2 - Big Screen Official Site (Start) */
.box2-full-height {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.box2-full-height::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: black;
    opacity: 0.4;
    z-index: -1;
}

.box2-full-height .fs {

    font-size: 4.5rem !important;
}

.box2-full-height .fs-1 {
    font-size: 3.5rem !important;
}

.intro {
    height: 90vh;
    flex-wrap: wrap;
}

.intro .start {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro .start p {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 300;
    line-height: 1.6;
    margin: 1rem 0 0;
    color: #eee;
    padding: 0 1rem;
    max-width: 90ch;
    text-align: center;
}

.intro .start h1 {
    font-size: clamp(40px, 6vw, 50px);
}

/* Box 2 - Big Screen Official Site (End) */

/* About Company - (Start) */

.about-box {

    padding: 1rem 0 0 0;
}

.about-company .about-banner::before {
    content: "";
    background-color: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.77;
}

.about-company .about-banner {
    background: url('../images/about-company.png') center/cover no-repeat;
    min-height: 250px;
}


.about-company .about-banner>:first-child {

    position: absolute;
}

.about-company .about-banner h2 {
    font-size: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/*Custom for another Pages*/
.about-company .custom-banner::before {
    content: "";
    background-color: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.77;
}

.about-company .custom-banner {
    background: url('../images/premise.png') center/cover no-repeat;
    min-height: 250px;
}

.content-box>nav:first-of-type {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.fade-container {
    opacity: 1;
    transition: opacity 0.5s ease;
    /* smooth fade */
}

.fade-out {
    opacity: 0;
}

.content-customized-light {
    background-color: #fff !important;
    color: #333 !important;
    text-align: justify;
}

.content-customized-dark {
    background-color: #29313a !important;
    text-align: justify;
}

.content-customized-bg-dark {

    background-color: #212529 !important;
    border-bottom: 1px solid #fff;
}


.pagination .page-item.active .page-link {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.pagination .page-item .page-link {
    color: #212529 !important;
}

.pagination .page-item .page-link:focus {
    box-shadow: none !important;
}

.content-box .nav-content {
    color: #fff;
}

.about-company .custom-banner>:first-child {

    position: absolute;
}

.about-company .custom-banner h2 {
    font-size: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.toggle-switch {
    display: inline-block;
    position: relative;
}

.switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 3.75rem;
    /* 60px */
    height: 1.875rem;
    /* 30px */
    background: #ffc10799;
    color: #000;
    border-radius: 3.125rem;
    /* 50px */
    padding: 0.375rem;
    /* 6px */
    cursor: pointer;
    position: relative;
}

.switch .sun,
.switch .moon {
    font-size: 1rem;
    /* same as before */
    z-index: 2;
    color: #fff;
}

.toggle-switch input {
    position: absolute;
    opacity: 0;
    /* better than display:none for accessibility */
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0.25rem;
    /* 4px */
    left: 0.25rem;
    /* 4px */
    width: 1.375rem;
    /* 22px */
    height: 1.375rem;
    /* 22px */
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

input:checked+.switch {
    background: #212529cf;

}

input:checked+.moon {
    color: #212529cf;
}

input:checked+.switch .slider {
    transform: translateX(1.875rem);
    /* 30px */
}

.blog {
    box-shadow: 0px 4px 16px #0000001A;
    border-radius: 2px;
}

.blog-header {}

.blog-nav {
    color: #847e7e;
}

.blog-para {
 color: #212529BF !important;
}

.blog-para .text-muted {
    text-align: justify;
    color: #212529BF;
}
.blog-para ul{
    text-align: justify;
    color: #212529BF;
}
.blog .line {
    height: 1px;
}

.line-blog{
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

/*Light color*/
.blog-customized {
    color: #fff !important;
}

/*Light color*/
.author-profile {

    border-radius: 2px;
}

.author-profile>:first-of-type {
    box-shadow: 0px 4px 16px #0000001A;
}

.author-profile .text-muted {
    text-align: justify;
}

.bio {
    color: #212529BF;
    text-align: justify;
}

.bio-date {
    color: #212529BF;
    text-align: justify;
}

.publish-date {
    color: #212529BF;
}

#main-img {

    min-height: 200px;
    height: 70vh;
    overflow: hidden;
}

#main-img img:first-child {
    height: 100%;
    object-fit: cover;
}

/*Custom for another Pages*/

.line {
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.about-company .about-company p {
    font-size: 1rem;
    line-height: 1.7;
}

.about-company .container .text-muted {

    color: #847e7e !important;
    text-align: justify;
}

.about-company .container .text-muted-right {

    color: #847e7e !important;
}

/* About Company - (End) */



/* Box 3 - Profile (Start) */

.box3-height {
    justify-content: center;
    background-color: #fff;
}

.about-me {
    background-color: #333;
}

.about-me .text-muted {
    color: #fff !important;
    text-align: justify;
}

.about-me img {
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* Box 3 - Profile (End) */

/* Box 4 - Video (Start) */
.box-4>:first-child {
    box-shadow: 0px 0px 5px -3px #333;

}

.box-4 .text-muted {
    color: #847e7e !important;
    text-align: justify;
}

video {
    object-fit: cover;
}


.card.shadow-lg {
    border-radius: 1rem;
    box-shadow: none !important;
    border: none;
}

.card.shadow-sm {
    border-radius: 0.75rem;
    transition: transform 0.2s ease-in-out;
}

/* Box 4 - Video (End) */

/* Box 5 - Device (Start) */
/* Card titles */

.box5-height .card-text,
.box5-height .card ul li {
    font-size: 0.95rem;
    color: #4f4d4d;
}

.box5-height .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.box5-height .about-device .btn-primary {
    border: none;
    border-radius: 0.5rem;
}

.box5-height .about-device .btn-primary:hover {
    background-color: #fff;
    color: #fff;
    transition: all 0.5s ease-in-out;

}

/* Box 5 - Device (End) */

/* Box 6 - Cards (Start) */
.box6-height .text-muted {

    color: #bbbbbb !important;
}


.box6-height .cards-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    height: 30%;

}

.header-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
}

.header-text span {
    font-size: 0.9rem;
    color: #aaa;
}

.header-text h2 {
    margin: 0.2rem 0;
    font-size: 2rem;
}

.header-text p {
    font-size: 0.95rem;
    color: #ccc;
    margin: 0;
}


.box6-height {
    height: auto;
    min-height: 100%;
}

.main-container .card {
    background-color: #29313a;
    color: #fff;
}

.card .card-body .read-more {
    text-decoration: none;
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    bottom: 0vh;
}

.main-container .img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.main-container .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box6-height .card-text {
    text-align: justify;
    color: #bbb;
}

/* Box 6 - Cards (End) */

/* Box 7 - Cards (Start) */
.map-box7 {
    width: 100%;
    height: 250px;
}

.box7 .text-muted {
    color: #847e7e !important;
    text-align: justify;
}

.box7 .connect,
.contact {

    box-shadow: 0px 0px 5px -3px #333;
    border: none !important;
}

.map-box7 iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Box 7 - Cards (End) */

footer a:hover {
    color: #ffc107 !important;
    transition: all .2s ease-in-out;

}

footer .text-muted {

    color: #eeeeee9c !important;
    text-align: justify;
}

.footer-bg {
    background-color: #000;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}


/*Scroll*/
.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s ease-in-out;
}

/* When in view: fully visible */
.scroll-fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #333;
}

::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 6px;
    border: 3px solid #333;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffc107;
}



/*Media Query*/
/* Desktop shows menu */
@media (min-width: 1200px) {
    .mobile-toggle {
        display: none;
    }

    .site-nav ul {
        display: flex;
        flex-direction: row;
        gap: 20px;
        position: static;
        height: auto;
        background: none;
    }

}

@media (max-width: 1199px) {

    .site-nav ul {
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        padding: 60px 20px;
        background: #222;
        transition: right 0.3s ease;
        z-index: 10000;
    }

    body.mobile-nav-active .site-nav ul {
        right: 0;
    }

    .site-nav ul li a {
        color: white;
        font-size: 1.2rem;
        padding: 15px 0;
    }

    .mobile-toggle {
        cursor: pointer;
        display: block;
        font-size: 2rem;
        position: fixed;
        top: 20px;
        right: 20px;
        transition: transform 0.3s ease;
        z-index: 11000;
    }

    body.mobile-nav-active .site-nav ul {
        right: 0;
    }

    .site-nav ul li a {
        color: white;
        font-size: 1.2rem;
        padding: 15px 0;
    }

    .nav-bar {
        justify-content: space-between;
    }
}

/* Mobile hides menu by default */
@media (min-width: 769px) and (max-width: 1199px) {}

/* Medium devices (tablets) */
@media (min-width: 577px) and (max-width: 768px) {


    /* Stack Box 3 cards if screen is narrow */
    .box3-height>div {
        flex: 1 1 48%;
    }

    .author-profile {
        margin: 5px 0 0 0;
    }

}

/* Small devices (phones) */
@media (max-width: 576px) {

    /* Box 3 - two cards stack full width */
    .box3-height>div {
        flex: 1 1 100%;
        min-width: 0;
        /* prevents overflow */
    }

    /* Box 6 - three cards stack vertically */


    /* Reduce padding for narrow screens */
    .box2-full-height,
    .box3-height,
    .box4-height,
    .box5-height,
    .box6-height,
    .box7-height,
    .box8-height {
        padding: 1rem;
    }



    /* Adjust height for very small screens */


    .box3-height {
        min-height: 50vh;
    }

    .author-profile {
        margin: 1rem 0 0 0;
    }
}

.about-company .status-code {
    background: url('../images/premise.png') center/cover no-repeat;
    height: 100vh !important;
    min-height: 300px;
}

.about-company .status-code::before {
    content: "";
    background-color: black;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.77;
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    padding: 12px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, bottom 0.5s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    bottom: 50px;
    pointer-events: auto;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.toast.warning {
    background-color: #ffc107;
    color: black;
}

.toast.info {
    background-color: #17a2b8;
}

.loader-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.d-none {
  display: none !important;
}