/* Root Variables */

/* Body Styling */
body {
    background-color: var(--primary-color);
    color: black;
    word-wrap: break-word !important;

}

.content-wrapper {
    flex: 1;
}

.logo-website {
    max-height: 110px !important;
    min-height: 50px !important;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(185, 185, 185);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgb(165, 165, 165);
    border-radius: 10px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.flex-grow-1 {
    flex: 1;
}

h1,
h2,
h3 {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.hero-section .btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-size: 1.2rem;
    padding: 10px 20px;
}

.hero-section .btn-success:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-size: 1.2rem;
    padding: 10px 20px;
}

.menu-link {
    font-size: 0.9rem !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;

}

.menu-link:hover {
    background-color: black;
    color: white !important;
    opacity: 1;
    transition: all 0.3s ease;

}

.nav-link.active {
    color: #fff;
    background-color: black;
}

/* Text Section */
.text-section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.text-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.text-section-description {
    color: black;
    line-height: 1.6;
    font-size: 1rem;
}

/* Sidebar Container */
.side-nav-container {
    background-color: var(--secondary-color);
    padding-top: 10px;
    height: 100%;
}

/* Sidebar List */
/* Side Navigation Styles */
.side-nav {
    padding: 0;
    list-style: none;
    width: 100%;
}

.side-nav-link {
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
    position: relative;
}

.side-nav-link.active,
.side-nav-link:hover {
    color: white;
    text-decoration: none;
}

.side-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: transparent;
    transition: background-color 0.3s;
}

.side-nav-link.active::before,
.side-nav-link:hover::before {
    background-color: var(--primary-color, #999999);
}

.divider-hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav-container {
    height: 100%;
    overflow-y: auto;
    background-color: var(--secondary-color);
}

/* Content Styles */
.content-container {
    overflow-y: auto;
}

.tab-content {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.tab-pane h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tab-pane p {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .side-nav-container {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .side-nav-container {
        background-color: #343a40;
    }

    .tab-content {
        padding: 1rem;
    }
}


/* Right Content Styling */
/* Ensure the row uses full height */
.row.d-flex.align-items-stretch {
    height: 100%;
}

/* Side Navigation Container */
.side-nav-container {
    background-color: #343a40;
    /* Example background color */
    padding: 20px;
    overflow-y: auto;
    /* Allows scrolling if content exceeds height */
}

/* Content Container */
.content-container {
    background-color: #f8f9fa;
    /* Example background color */

}

/* Optional: Style for active nav-link */
.side-nav-link.active {
    background-color: #495057;
    /* Example active background color */
}


.tab-pane h3 {
    color: rgb(112, 112, 112);
    font-weight: bold;
    font-size: 1.5rem;
}

.tab-pane p {
    color: black;
    font-size: 13px;
}



/* Columns Section */
.columns-section h5 {
    font-weight: bold;
    font-size: 1.1rem;
    color: rgb(126, 126, 126);
    margin-bottom: 5px;
}

.columns-section p {
    color: black;
    overflow-wrap: break-word;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.columns-section i {
    font-size: 24px;
}

.vertical-divider {
    position: absolute;
    right: -15px;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: var(--secondary-color);
}


/* Image Text Section */
.image-text-section {
    margin-bottom: 2rem;
}

.image-text-title {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.image-text-description {
    margin-bottom: 1.5rem;
    color: #333;
}



/* Image Gallery Section */

.container {
    max-width: 1200px;
}

.text-muted {
    color: var(--third-color);
}

.container-fluid .row.g-0 .col-6 {
    padding: 0;
}

.image-container {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

/* Show overlay on hover */
.image-container:hover .overlay {
    opacity: 1;
}

.zoom-image {
    transition: transform 0.4s ease;
}

.image-container:hover .zoom-image {
    transform: scale(1.1);
}


/* Icons Section */
.icon-container {
    background-color: #f9f9f9;
    padding: 20px;
    transition: transform 0.3s;
}


.icon-title {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Icon Container Styling */
.icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow: hidden;
    position: relative;
    transition: color 0.3s ease;
    width: 100%;
    max-width: 200px;
    height: 160px;
    margin: 0 auto;
    cursor: pointer;
    box-sizing: border-box;
}



.icon-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #e4e4e4;
    transition: height 0.4s ease;
    z-index: 1;
}

/* Hover effect */
.icon-container:hover::before {
    height: 100%;
}

.icon {
    font-size: 2.5rem;
    color: #333;
    z-index: 2;
    transition: color 0.3s ease;
}

.icon-title {
    margin-top: 10px;
    color: #333;
    z-index: 2;
    transition: color 0.3s ease;
}

@media (max-width: 991.98px) {

    /* Bootstrap breakpoint for small screens */
    #navbarMenu {
        background-color: black;
    }

    .nav-link {
        color: white !important;
        text-align: center;
        width: 100%;
        /* Make links take full width */
    }

    .nav-link:hover {
        color: #ccc !important;
        /* Lighter color on hover */
    }
}

@media (min-width: 992px) {
    .d-block {
        display: none !important;
    }
}

.fixed-size {
    width: 70px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
}


@media (max-width: 767.98px) {
    .image-text-section {
        flex-direction: column;
    }

    .logo-website {
        max-height: 90px !important;
        min-height: 40px !important;
    }

}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .icon-container {
        max-width: 150px;
        height: 140px;
    }

    .logo-website {
        max-height: 60px !important;
        min-height: 40px !important;
    }

    .icon {
        font-size: 2rem;
    }

    .icon-title {
        font-size: 1rem;
    }
}

.row-logo {
    margin-top: 50px;
}

@media (max-width: 768px) {

    .content-container {
        max-height: none !important;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .vertical-divider {
        display: none;
    }

    .side-nav-link.active::after,
    .side-nav-link:hover::after {
        display: none;
    }

}

@media (max-width : 991px) {
    .row-logo {
        margin-top: 0px;
    }

    #navbar {
        display: none;
    }
}

.with-underline {
    display: inline-block;
    position: relative;
}

.with-underline::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 5px;
}