:root {
    --primary-color: #2c3e50;
    --accent-color: #e67e22;
    --bg-color: #f4f4f4;
    --card-bg: #ffffff;
    --text-color: #333333;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --brand-dark: #121212;
    --brand-gold: #c5a059;

    --text-light: #ffffff;
    --subheader-bg: #e9ecef;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #f8f8f8;
    color: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

    
.wrapper{
    min-height: 90vh;
}
.dasbaord-logo img{  
    width: 100px;
    height: 100px;
}
.main-header {
    background-color: var(--primary-color);
    width: 100vw;
    color: var(--text-light);
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000; 
    display: flex;
    align-items: center;
    justify-content: space-between;

}

    
.header-left .icon-btn {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.header-left .icon-btn:hover {
    background: var(--brand-gold);
    color: #000;
}

    
.header-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    flex-grow: 1;
    color: var(--text-light);
}

    

.header-user {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flip-card {
    background-color: transparent;
    width: 220px;
    height: 50px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

    
.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 8px;
}

    
.flip-card-front {
    background-color: transparent;
    
    color: var(--text-light);
}

    
.flip-card-back {
    background-color: #fff;
    
    color: #333;
    transform: rotateX(180deg);
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-back a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s;
}

.flip-card-back a:hover {
    color: var(--accent-color);
}

    
.user-details {
    display: flex;
    flex-direction: column;
    text-align: right;
    margin-right: 12px;
    line-height: 1.2;
}

.user-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: inherit;
    
}

.user-role {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--brand-gold);
    object-fit: cover;
}

    
.sub-header {
    background-color: var(--subheader-bg);
    padding: 12px 25px;
    border-bottom: 1px solid #dcdcdc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.sub-header span {
    font-weight: 600;
    color: #333;
}

    

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.carousel-item img {
    height: 90vh;
    width: 100%;
    object-fit: cover;
    filter: blur(.5px);
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.167);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 20px 25px;
    border-radius: 30px;
}

.portfolio-card-img {
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .process-timeline {
        position: relative;
    }

    .process-timeline::before {
        content: '';
        position: absolute;
        top: 2rem;
        bottom: 2rem;
        left: 50%;
        width: 2px;
        background-color: #e0e0e0;
        transform: translateX(-50%);
    }

    .process-step {
        position: relative;
    }
}

    

.main-body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.login-header p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.login-btn:hover {
    background-color: #1a252f;
}

.links {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

.links a {
    color: var(--primary-color);
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}


    

    
.page-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 70px);
    
}

    
#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #fff;
    transition: all 0.3s;
    border-right: 1px solid #dee2e6;
    height: 100%;
    
}

    
#sidebar .nav-link {
    color: #333;
    padding: 15px 20px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s;
}

#sidebar .nav-link:hover,
#sidebar .nav-link.active {
    background-color: var(--primary-color);
    
    color: #fff !important;
}

    
.nav-link[aria-expanded="true"] .transition-icon {
    transform: rotate(180deg);
}

.transition-icon {
    transition: transform 0.3s ease;
}

    
.main-content {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    overflow-y: auto;
}

    
@media (max-width: 768px) {

    
    #sidebar {
        margin-left: -250px;
        position: fixed;
        z-index: 999;
        height: 100vh;
        top: 70px;
        
    }

    
    #sidebar.active {
        margin-left: 0;
    }

    
    .overlay {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        top: 0;
        left: 0;
    }

    .overlay.active {
        display: block;
    }
}