
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}
ul {
    list-style: none;
    padding-left: 0;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Sidebar should take full height, no scrolling */
.sidebar {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 10px;
    color: black;
    min-width: 350px;
}

/* Right side scrolls */
.main-content {
    height: 100vh;
    overflow-y: auto;
    background-color: white;
}

/* Logo at top */
.sidebar .logo {
    text-align: center;
    margin-bottom: 20px;
}
.sidebar .logo img {
    width: 100%;
    max-width: 180px;
}

/* Navigation links start after logo */
.sidebar nav {
    flex-grow: 1;
}
.sidebar .nav-links {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar .nav-links li {
    transition: background-color 0.3s ease;
    cursor: pointer;
    color: black;
    font-size: 14px;
    font-weight: 500;
}
.sidebar .nav-links li a {
    color: inherit;
    display: block;
}

/* Footer always at bottom */
.sidebar .footer {
    text-align: center;
    font-size: 12px;
    margin-top: auto;
    color: black;
}
.sidebar .social-icons {
    margin-bottom: 10px;
}
.sidebar .social-icons a {
    color: black;
    margin: 0 5px;
    font-size: 14px;
    transition: color 0.3s ease;
}
.sidebar .social-icons a:hover {
    color: black;
}

/* Desktop: Fullscreen height with no scroll */
#tusharCarousel {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#tusharCarousel .carousel-inner,
#tusharCarousel .carousel-item {
    height: 100%;
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
}

#tusharCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Fit without cropping */
    display: block;
    margin: auto;
}
.gallery-img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeZoomIn 0.6s ease-in-out forwards;
}
@keyframes fadeZoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.category-nav a {
    font-weight: 500;
    text-decoration: none;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}

.category-nav a:hover {
    color: #555;
}

.category-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* thickness of underline */
    background-color: #333; /* underline color */
    border-radius: 2px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    position: relative;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

/* Nav anchor styles */
.nav-links li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

/* Add arrow only to active nav item */
.nav-links li.active a::after {
    content: "\f105"; /* Unicode for Font Awesome 'angle-right' */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    font-size: 14px;
}

.bio-text {
    line-height: 2.5;
    text-align: justify;
    padding-right: 15px;
}

@media (max-width: 767.98px) {
   
    .sidebar .logo {
        margin-bottom: 0 !important;
    }

    .sidebar .nav-links li {
        padding: 0 !important;
    }
    .sidebar-container,
    .main-content-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sidebar {
        height: auto !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .main-content {
        height: auto !important;
        overflow: visible !important;
    }

    html, body {
        overflow-x: hidden !important;
    }

    .container-fluid {
        padding: 0;
    }

    .sidebar .footer {
        display: none;
    }

    .mobile-footer {
        display: block;
    }

    #desktopNav {
        display: none !important;
    }

    #tusharCarousel {
        height: auto;
    }
    
    #tusharCarousel .carousel-inner,
    #tusharCarousel .carousel-item {
        height: 100%;
    }

    #tusharCarousel .carousel-item img {
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }
    
    #contactDiv {
        padding: 10px;
    }
}

@media (min-width: 768px) {
    .main-content {
        height: 100vh;
        overflow-y: auto;
    }

    .main-content .carousel-inner img {
        height: 100vh;
        object-fit: cover;
        width: 100%;
    }

    #mobileNavToggle,
    #mobileNav,
    #mobileNavOverlay {
        display: none !important;
    }

    #desktopNav {
        display: block !important;
    }
}


.design { line-height: 2}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background-color: #f8f9fa;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    z-index: 1040;
    transition: left 0.3s ease;
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1039;
    display: none;
}

.mobile-nav-overlay.show {
    display: block;
}
.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    object-fit: contain;
}

.image-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1051;
}

.d-none {
    display: none !important;
}
