/*
    Author: Nabil Irfan
    Instagram: @nabbilz
*/

.navbar {
    height: 80px;
    padding: 0.5rem;
    width: 100%; /* Ensure the navbar spans the full width */
    z-index: 1030; /* Keeps it above other elements when scrolling */
    position: relative; /* Makes sure it’s not fixed or absolute */
}


.navbar-brand img {
    width: 60px;
}

.search-button {
    background-color: #999999;
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.2s;
}

.search-button:hover {
    background-color: #00b383;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link, .nav-link.active {

    color: #292929;
    font-weight: 500;
    position: relative;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
}

.dropdown-menu {
    background-color: #000000;
}

.dropdown-item {
    color: #fff;
    font-weight: 500;
    position: relative;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
}

.nav-link:hover {
    color: #d6d6d6;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

head.sticky {
    background: var(--bg-color);
    padding: 14px 14%;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 105);
}

section {
    padding: 100px 0;
}

.home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin-top: -120px;
}

.home .content h1 {
    margin-bottom: 20px;
    font-family: "Old Standard TT", serif;
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    margin: 0 0 0.5em;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
}

.home .content h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.center-text {
    text-align: center;
}

.center-text h2 {
    font-family: "Arapey", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
}

.line {
    width: 2%; /* Adjust the width as needed */
    margin: 10px auto; /* Center the line and add some margin */
    border-bottom: 1px solid #000; /* 1px solid black line */
    margin-top: 50px;
    margin-bottom: -10px;
}

.new-content {
    display: grid;
    width: 90%; /* Adjusts the width of the grid container */
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    gap: 2.5rem;
    align-items: center;
    text-align: center;
    padding: 60px 0;
    margin: 0 auto; /* Centers the container horizontally */
}

.box {
    position: relative;
    transition: all .40s ease;
    background-color: #ececec;
}

.box img {
    width: 70%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

.box h4, .box h5, .box h6 {
    font-family: "Arapey", serif;
    font-weight: 400;
    font-style: normal;
}

.box h5 {
    font-weight: 600;
    font-size: 25px;
}

.box:hover {
    transform: scale(0.9) translateY(-5px);
    cursor: pointer;
}

.box a {
    text-decoration: none;
}

.new-content-2 {
    display: grid;
    width: 65%;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    gap: 2.5rem;
    align-items: center;
    text-align: center;
    justify-content: center; /* Center the grid items */
    margin: 0 auto; /* Center the grid container itself */
    max-width: 100%; /* Ensure it doesn't overflow the viewport width */
    margin-top: -20px;
}

.footer-container {
    width: 100%;
    padding: 70px 30px 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
}

.social-icons a i {
    color: black;
}

.social-icons a:hover i {
    color: #c4c4c4;
    transition: 0.3s;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin-left: -30px;
    font-family: "Arapey", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

.footer-nav ul li a {
    margin: 20px;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.7s;
}

.footer-nav ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #000000;
    font-family: "Arapey", serif;
}

.footer-bottom a {
    text-decoration: none;
}