/* Gray color = #696E71 */
/* orange color = #EF721E */
/* blue color = #008BA6 */
/* green color = #B0D432 */

:root {
    --orange-color: #ef721e72;
    --orange-color1: rgb(239, 114, 30);
    --blur-color: #008BA6;
    --gray-color: #696E71;
    --green-color: #B0D432;
    --white-color: #fff;
    --text-white: #ffffff;
    --overlay-dark: rgba(71, 68, 68, 0.65);
    --gradient-blue-orange: linear-gradient(225deg, hsla(24, 87%, 53%, 1) 0%, hsla(190, 100%, 33%, 1) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #f8f7f8;
    font-family: 'Nunito Sans', sans-serif;
    overflow-x: hidden;
}


.heading-text {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 678;
    font-style: normal;
    font-variation-settings:
        "wdth" 100,
        "YTLC" 540;
}


.navbar-container {
    background-color: #f8f7f8;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo-text-heading {
    font-weight: 600;
    font-size: 25px;
    color: var(--gray-color);
}

.logo-icon {
    position: relative;
}

.logo-icon .overlay-icon {
    position: absolute;
    top: 4px;
    left: 4px;
}

.nav-link {
    color: #2d2f35;
    margin-right: 1.5rem;
    font-weight: 500;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: #2d2f35;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.icon-group i {
    font-size: 1.2rem;
    color: var(--gray-color);
    cursor: pointer;
}


/* Dropdown */
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    background: #fff;
    border: none;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
    position: absolute;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1050;
}

.sidebar.show {
    right: 0;
}

.sidebar-header {
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-body {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.sidebar-link {
    padding: 0.75rem 0;
    font-weight: 500;
    color: #2d2f35;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
}

.sidebar-dropdown .sidebar-submenu,
.sidebar-subdropdown .sidebar-submenu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sidebar-dropdown:hover .sidebar-submenu,
.sidebar-subdropdown:hover .sidebar-submenu {
    display: flex;
}

.sidebar-submenu a {
    padding: 0.3rem 0;
    color: #444;
}

/* Responsive Fix */
@media (max-width: 991.98px) {
    .nav-links {
        display: none !important;
    }
}


.nested-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1060;
}

.nested-sidebar.show {
    right: 0;
}

.dropdown-container {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 130%;
    /* attach directly below the parent */
    left: 0;
    min-width: 240px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    transform: translateY(10px);
}

/* KEY FIX: stay open when hovering link OR dropdown */
.dropdown-container:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-item-custom {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    color: #2d2f35;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Highlight on hover with smooth transition */
.dropdown-item-custom:hover {
    background-color: var(--orange-color);
    /* light orange */
}



/* Sidebar styling */
.right-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

/* Show sidebar */
.right-sidebar.active {
    right: 0;
}

/* Close button inside the sidebar */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 2001;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.bar-icon-btn {
    border: 0px;
    font-size: 25px;
    background-color: transparent;
}

/* Hide bar icon on small screens */
@media (max-width: 991px) {
    .bar-icon-btn {
        display: none;
    }
}

/*========================= Navbar end======================= */

/* ==============================breadcrumb start============================= */

.breadcrumb-section {
    background:
        linear-gradient(to right, rgba(1, 33, 45, 0.864), rgba(1, 33, 45, 0.4)),
        url('../Photos/Services/s7') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 100px 20px;
    color: #fff;
}


.breadcrumb-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-content p {
    font-weight: lighter;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.custom-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    flex-wrap: wrap;
}

.custom-breadcrumb i {
    color: var(--text-color);
    /* red arrow */
}


@media (max-width: 767.98px) {
    .breadcrumb-content {
        text-align: center;
    }
}

/* ==============================breadcrumb end  =============================*/

/* =============================Service start===================================  */

/* DESKTOP TIMELINE */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #f4a261;
    z-index: 0;
}

.timeline-entry {
    position: relative;
    width: 100%;
    margin: 80px 0;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.content {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #f4a261;
    width: 40%;
}

.content h3 {
    font-family: "Noto Sans",sans-serif;
    margin-top: 0;
    color: #222;
}

.content p {
    font-family: "Nunito Sans",sans-serif;

    color: var(--gray-color);
    line-height: 1.6;
}

.image {
    width: 40%;
    margin: auto;
}

.image img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.timeline-box.left .image {
    order: 2;
    margin: 0px 10px;
}

.timeline-box.right .image {
    order: -1;
    margin: 0px 10px;
}

/* MOBILE VERSION HIDDEN BY DEFAULT */

.mobile {
    display: none;
}

.mobile-timeline-wrapper {
    padding: 40px 20px;
    max-width: 600px;
    margin: auto;
    position: relative;
}

.mobile-year-badge {
    width: 80px;
    height: 80px;
    background-color: #222;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto -40px auto;
    /* overlaps the box */
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
}

.mobile-content-box {
    background-color: #f4f4f4;
    padding: 40px 20px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    border-bottom: 4px solid #f4a261;
}

.mobile-content-box h2 {
    margin: 20px 0 10px;
    font-size: 22px;
    color: #222;
}

.mobile-content-box p {
    margin: 0;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.mobile-image {
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Optional: For even smaller screens */
@media (max-width: 768px) {
    .timeline {
        display: none;
    }

    .mobile {
        display: block;
    }

    .mobile-content-box {
        padding: 30px 15px 25px;
    }

    .mobile-content-box h2 {
        font-size: 20px;
    }

    .mobile-content-box p {
        font-size: 15px;
    }

    .mobile-year-badge {
        width: 70px;
        height: 70px;
        font-size: 16px;
    }
}

/* =============================Service end===================================  */

/*==================================== Footer start=============================  */

.footer-marblex {
    background-image: linear-gradient(rgba(0, 0, 0, 0.797), rgba(0, 0, 0, 0.808)), url(../Photos/Services/s7);
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.footer-marblex a.footer-link {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.footer-marblex a.footer-link:hover {
    color: var(--blur-color);
}

/* Responsive background image for mobile */
@media (max-width: 768px) {
    .footer-marblex {
        background-image: linear-gradient(rgba(0, 0, 0, 0.797), rgba(0, 0, 0, 0.808)), url(../Photos/Services/s7);
    }
}

/*==================================== Footer end=============================  */