﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body, html {
    height: 100%;
}

a{
    text-decoration:none;
}
:root {
    --primary: #00448B;
}

/* Navigation Bar */
.navbar {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: transparent;
    backdrop-filter: blur(5px);
}

.navbar .logo img {
    height: 50px;
    margin-left: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 12px;
}

.nav-links li a {
    color: #165E96;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.home-btn {
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-right: 20px;
}

#risLoginBtn {
    padding: 3px;
    background-color: white;
    border-radius: 30px;
    color: var(--primary);
    width: 140px;
    height: 41px;
    font-weight: bold;
    font-size: 17px;
    margin-right: 20px;
}

#risLoginBtn div {
    text-align: center;
}

#risLoginBtn i {
    padding: 10px;
    background-color: var(--primary);
    border-radius: 30px;
    color: white;
    float: right;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #165E96;
    float: right;
}

/*================= Login Box =================*/
.login-box {
    width: 400px;
    backdrop-filter: blur(5px);
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    margin-top: 50px;
    backdrop-filter: blur(10px);
    margin-top: 80px;
}

.login-box h2 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 28px;
}

.login-box label {
    font-size: 14px;
    color: white;
    margin-top: 15px;
    display: block;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #aaa;
    border-radius: 6px;
    background: transparent;
    border: 1px solid white;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 13px;
    right: 10px;
    color: white;
    cursor: pointer;
    font-size: 13px;
}

.forgot {
    display: block;
    margin-top: 10px;
    text-align: right;
    font-size: 13px;
    color: white;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 12px;
    border: none;
    margin-top: 20px;
    font-weight: bold;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 1px 7px;
    background-color: var(--primary);
    color: white;
    border-radius: 0px 6px;
    transition: 0.20s;
}

.close-btn:hover {
    position: absolute;
    right: 10px;
    top: 10px;
    border: 1px solid var(--primary);
    background-color: white;
    color: var(--primary);
    border-radius: 0px 6px;
}

#risBackground header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

#workListGrid {
    background-image: url('../images/bg/bg_02.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    #nav-menu-id {
        background: white;
        backdrop-filter: blur(5px);
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
        padding: 10px 20px;
    }

	#header_container {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.profile-dropdown {
		display: none !important;
	}

    .mobile-menu-toggle {
        display: block;
        float: right;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none !important;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        margin-top: 10px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
    }

    .nav-links li {
        padding: 10px 20px;
    }

    .nav-links .show {
        display: flex;
    }

    .risLoginBtn, .home-btn {
        margin-top: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .Title {
        font-size: 40px !important;
    }

    .homeSection1 {
        height: 230vh !important;
        margin-top: -60px !important;
        background-position: center;
        background-repeat: no-repeat;
    }

    .homeSection1-div1, .homeSection1-div2 {
        margin-top: 80px;
    }

    .homeSection1-div2 .progressCard {
        float: none !important;
        margin-bottom: 0px !important;
        margin-left: 60px !important;
    }

    .homeSection2 h1, h2 {
        font-size: 30px !important;
    }

    .experienceCard {
        margin-left: 45px !important;
        margin-top: 10px !important;
        margin-left: 40px !important;
    }

    .homeSection1-div2 .home_banner {
        width: 380px !important;
        height: 340px !important;
        float: none !important;
    }

    .homeSection3 h1 {
        margin-top: 40px !important;
        font-size: 45px;
    }

    .homeSection3div1 .div1 {
        height: 55vh !important;
    }
    .homeSection4 {
        border-radius: 30px;
        background: #00448B;
        margin-left: 20px;
        margin-right: 20px;
    }
    .homeSection4 {
        margin-left: 5px;
        margin-right: 5px;
    }

    .homeSection5 {
        margin-left: 10px;
        margin-right: 10px;
    }

    .homeSection4 .div1 {
        background-image: url('images/uploads/home/bg-05.png');
        background-size: cover;
        height: 70vh;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: white;
    }

    .commonModal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        overflow: auto;
    }

    .modal-FrmContainer {
        background: linear-gradient(to right, #F2F7FA 0%,#D0E4F4 100% );
        margin: 20% auto;
        padding: 20px;
        width: 460px;
        max-width: 1650px;
        border-radius: 6px;
        box-shadow: 1px 1px 50px gray;
    }
}



