/*-----------------------------------------------------------------------------------
CSS INDEX
===================
01.COMMON CSS
RESPONSIVE

-----------------------------------------------------------------------------------*/
/*===========================
01.COMMON CSS 
===========================*/
* {
    padding: 0;
    margin: 0;
    font-family: 'Instrument Sans', sans-serif;
    box-sizing: border-box;
}

:root {
    --light-color: #ffffff;
    --dark-color: #000000;
    --grey-color: #5a5a5a;
    --grey-light-color: #5B616E;
    --primary-color: #D3E14B;
    --background-color: #E6E6DF;
    --active-color: #001b2e;
    --dark-color-2: #262626;
    --star-color: #f4a825 scroll-behavior: smooth;
}

.light {
    color: var(--light-color);
}

.dark {
    color: var(--dark-color);
}

.dark2 {
    color: var(--dark-color-2);
}

.grey {
    color: var(--grey-color);
}

.grey-light {
    color: var(--grey-light-color);
}

.primary_color {
    color: var(--primary-color);
}

.active_color {
    color: var(--active-color);
}

.star_color {
    color: var(--star-color);
}

body {
    background-color: var(--background-color) !important;
    overflow-x: hidden;
}

a {
    color: var(--dark-color);
    text-decoration: none;
}

.default-margin {
    width: 90%;
    margin: 1rem auto;
}

/*===========================
02.HOME CSS 
===========================*/

/* Default styles for all devices */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--grey-color);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Active link styles */
.navbar-nav .nav-link.active {
    color: var(--active-color);
    font-weight: 600;
}

/* Line and dot effect - for desktop and tablet only */
@media (min-width: 768px) {

    /* Tablet and up */
    .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 80%;
        height: 2px;
        background-color: var(--active-color);
        border-radius: 1px;
        margin-left: 5px;
    }

    .navbar-nav .nav-link.active::before {
        content: '';
        position: absolute;
        bottom: -2px;
        right: 0;
        width: 5px;
        height: 5px;
        background-color: var(--active-color);
        border-radius: 50%;
    }
}

/* Remove the effect for mobile */
@media (max-width: 767px) {

    .navbar-nav .nav-link.active::after,
    .navbar-nav .nav-link.active::before {
        content: none;
    }
}

.hero {
    position: relative;
    width: 90%;
    min-height: 60vh;
    background: url('../images/home_banner.png') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    padding: 450px 1rem;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    margin: 1rem auto;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.hero h1,
.hero p {
    color: var(--light-color);
}

.btn-custom {
    background-color: var(--primary-color);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero {
        width: 85%;
        min-height: 30vh;
        padding: 80px 1rem;
        border-radius: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-custom {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

.category-card {
    position: relative;
    flex: 1 1 32%;
    min-width: 300px;
    height: 540px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 1rem;
}

@media (max-width: 767px) {
    .position-absolute {
        top: 30% !important;
        left: 5% !important;
    }

    .primary_color {
        font-size: 1rem !important;
    }

    .display-5 {
        font-size: 1.5rem !important;
        font-weight: 400 !important;
    }
}

@media (max-width: 767px) {
    .d-md-block {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .d-none {
        display: none !important;
    }
}

.section-header {
    text-align: center;
    padding: 40px 20px 20px;
}

.badge-custom {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}

.quote {
    font-size: 3.5rem;
    color: var(--dark-color);
}

.stars {
    color: var(--star-color);
}

.footer {
    padding: 60px 20px;
    background-color: var(--dark-color);
}

.footer-logo {
    width: 70px;
    margin-bottom: 15px;
}

.footer a {
    color: var(--light-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .highlight {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 10px;
}

.scroll-top {
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-color);
    position: absolute;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .footer .col-md-4 {
        margin-bottom: 30px;
    }
}

/*===========================
03.CATEGORY CSS 
===========================*/
.category-hero {
    position: relative;
    width: 90%;
    max-height: 40vh;
    background: url('../images/categories_banner.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    padding: 100px 1rem;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    margin: 1rem auto;
}

.category-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    border-radius: 10px;
}

.category-hero h1,
.category-hero p {
    color: var(--light-color);
}

@media (max-width: 768px) {
    .category-hero {
        width: 85%;
        max-height: 35vh;
        padding: 80px 1rem;
        border-radius: 0;
    }

    .category-hero h1 {
        font-size: 1.2rem;
    }

    .category-hero p {
        font-size: 0.8rem;
    }
}

.category-section {
    padding: 60px 15px;
}

.category-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.category-image {
    width: 100%;
    max-width: 400px;
    min-width: 400px;
    height: 550px;
    object-fit: cover;
}

/* .category-text-box {
    position: absolute;
    left: 120px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    width: 250px;
    color: #1c1c3b;
    z-index: 1;
} */

.category-text-box {
    position: absolute;
    top: 50%;
    left: 30%;
    /*transform: translateY(-50%);*/
    background-color: transparent;
    width: 90%;
    max-width: 350px;
    color: #1c1c3b;
    z-index: 1;
}


/* .category-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.category-sub {
    font-size: 0.9rem;
    margin: 0;
} */

@media (max-width: 767px) {
    .category-container {
        flex-direction: column;
        align-items: flex-start;
    }

    /* .category-text-box {
        position: static;
        transform: none;
        padding: 15px 0;
        width: 100%;
    } */

    .category-text-box {
        position: absolute;
        top: 50%;
        /* bottom: 20px; */
        left: 0;
        transform: none;
        width: 90%;
    }

    .category-image {
        max-width: 400px;
        min-width: 300px;
        height: 100%;
    }
}

/*===========================
04.PROJECT CSS 
===========================*/
.project-hero {
    position: relative;
    width: 90%;
    min-height: 60vh;
    background: url('../images/project_banner.png') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    padding: 100px 1rem;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    margin: 1rem auto;
}

.project-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    border-radius: 10px;
}

.project-hero h1,
.project-hero p {
    color: var(--light-color);
}

@media (max-width: 768px) {
    .project-hero {
        width: 85%;
        min-height: 30vh;
        padding: 80px 1rem;
        border-radius: 0;
    }

    .project-hero h1 {
        font-size: 2rem;
    }

    .project-hero p {
        font-size: 1rem;
    }
}

/*===========================
05.ABOUT US CSS 
===========================*/
.about-hero {
    position: relative;
    width: 90%;
    max-height: 40vh;
    background: url('../images/about_us_new.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    padding: 100px 1rem;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    margin: 1rem auto;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    border-radius: 10px;
}

.about-hero h1,
.about-hero p {
    color: var(--light-color);
}

@media (max-width: 768px) {
    .about-hero {
        width: 85%;
        max-height: 30vh;
        padding: 80px 1rem;
        border-radius: 0;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }
}

/*===========================
06.CONTACT US CSS 
===========================*/
.contact-hero {
    position: relative;
    width: 90%;
    max-height: 40vh;
    background: url('../images/contact_us.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    padding: 60px 1rem;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    margin: 1rem auto;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    border-radius: 10px;
}

.contact-hero h1,
.contact-hero p {
    color: var(--light-color);
}

@media (max-width: 768px) {
    .contact-hero {
        width: 85%;
        min-height: 30vh;
        max-height: 30vh;
        padding: 80px 1rem;
        border-radius: 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }
}