:root {

    --white : #fefefe;
    --secondary : #5b5b5b;
    --fade : #8e8ea2;
    --dark-color : #252641;
    --mid-color : #49bbbd;
    --light-color : #9ad8de;
    --label : #7c7c94;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url(../fonts/IRANSansWeb.eot) format('eot'),
        url(../fonts/IRANSansWeb.ttf) format('ttf'),
        url(../fonts/IRANSansWeb.woff) format('woff');
}

body{
    font-family: IRANSansWeb;
}

* {
    font-weight: bold !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 !important;
    padding: 0 !important;
}

/* header */

.header-div {
    height: 60px;
    background-color: black;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 30px 120px!important;
}

.header-div h6{
    font-size: 14px !important;
    color: #f5f5f5 !important;
}

.first-box {
    position: relative;
    padding-left: 30px;
}

.first-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0%; 
    height: 25px; 
    width: 1px; 
    background: #ffffff;

}

.horizontal-lines {
    display: flex;
    flex-direction: column;
    gap: 3px; /* فاصله بین دو خط */
}

.line {
    height: 2px; /* ضخامت خط */
    background-color: #333; /* رنگ خط */
}

.line-1 {
    width: 70px; 
}

.line-2 {
    width: 40px;
}

.header-icon {
    width: 23px;
    height: 23px;
    margin-right: 17px;
    filter: invert(100%) brightness(1.5) contrast(0.9);
}

/* navbar */

.navbar {
    padding: 0 70px 0 120px!important;
}

.icon-box {
    width: 290px;
    height: 100px;
}

.dropdown-toggle {
    color: var(--secondary) !important;
    font-size: 21px !important;
    border-radius: 0 !important;
    margin: 0 7px !important;
}

.dropdown-toggle:hover {
    color: var(--mid-color) !important;
    border-width: 0 0 1px 0 !important;
    border-style: solid;
    border-color : var(--mid-color) !important;
}

.nav-icons {
    width: 23px;
    height: 25px;
    color: var(--secondary);
}

.nav-icon{
    margin: 0px 0  0 10px !important;
    padding: 0px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.log-in {
    width: 120px;
    height: 35px;
    background-color: var(--mid-color) !important;
    opacity: 77%;
    color: #fefefe !important;
    font-size: 18px;
    box-shadow: 
        0 0 10px 5px rgba(0, 0, 0, 0.1), /* شفافیت 10% */
}

/* main div */

.back-img {
    position: relative; 
    width: 100%;
    height: 750px;
}
  
.back-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/businessman-using-laptop-computer-office.jpg);
    background-repeat: no-repeat;
    background-clip: border-box;
    background-size: cover;
    z-index: 1;
}
  
.back-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* مشکی با 35% opacity */
    z-index: 2;
}

.about {
    margin-top: 100px;
    min-height: 710px;
    background-color: #f5f7f7;
    border-radius: 30px;
    align-items: center;
    box-shadow:
        0 0 10px 5px rgba(0, 0, 0, 0.1), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
}

.title h1 {
    font-size: 30px !important;
    color: var(--secondary);
}

.title {
    border-bottom: 4px solid #9ebedc;
    width: 180px;
}

.right-box p{
    font-size: 18px;
    line-height: 32px;
    color: var(--fade);
}

/* Institute info card */

.institute-name {
    font-size: 23px;
    line-height: 1.9;
    color: var(--dark-color);
    padding-right: 18px;
    border-right: 4px solid var(--mid-color);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 560px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #e9f1f1;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 4px 14px rgba(37, 38, 65, 0.06);
}

.info-list li:hover {
    transform: translateY(-4px);
    border-color: var(--light-color);
    box-shadow: 0 12px 26px rgba(73, 187, 189, 0.2);
}

.info-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    color: #ffffff;
    background-image: linear-gradient(135deg, var(--mid-color), var(--light-color));
    box-shadow: 0 4px 12px rgba(73, 187, 189, 0.4);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px !important;
    color: var(--label);
}

.info-value {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.9;
}

.info-address .info-value {
    font-size: 15px;
}

.right-box .btn{
    width: 275px;
    height: 68px;
    border-radius: 20px;
    opacity: 59%;
    box-shadow: 
        0 0 10px 2px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
    background-color: #7eccce;
    font-size: 25px;
    color: #ffffff;
}

.woman {
    width: 209px;
    height: 329px;
    border-radius:30px;
}

.teacher {
    width: 209px;
    height: 212px;
    border-radius:30px;
}

.young {
    width: 209px;
    height: 567px;   
    border-radius:30px;
}

.team-div {
    width : 270px;
    border-radius: 30px;
    background-image: linear-gradient(to left, #5689c0, #75e2ff);
    box-shadow: 
        0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
}

.team-div h2 {
    font-size: 40px;
    color: #ffffff;
}

.img-row {
    position: relative;
}

.stu-row {
    position: relative;
    margin: 0 0 80px 0;
}

.icon1 {
    position: absolute;
    width: 49px;
    height: 49px;
    right: 10px;
    margin: 15px 5px 0 5px;
}

.icon2 {
    width: 49px;
    height: 49px;
    position: absolute;
    right: 40px;
    margin: 15px 5px 0 5px;
}

.icon3 {
    width: 49px;
    height: 49px;
    position: absolute;
    right: 80px;
    margin: 15px 5px 0 5px;
}

.icon4 {
    width: 49px;
    height: 49px;
    position: absolute;
    right: 120px;
    margin: 15px 5px 0 5px;
}

.icon5 {
    width: 49px;
    height: 49px;
    position: absolute;
    right: 160px;
    margin: 15px 5px 0 5px;
}

.f-child .btn{
    width: 184px;
    background-color: #89d0d2;
    opacity: 90%;
    border-radius: 15px;
    box-shadow: 
        0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
    color: #ffffff;
    font-size: 16px;
}

.f-child {
    width: 222px;
    height: 154px;
    background-color: #f5f7f7;
    opacity: 90%;
    border-radius: 15px;
    box-shadow: 
        0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
}

.box {
    width : 270px;
    border-radius: 25px;
    background-color: #ffffff;
    box-shadow: 
        0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
}

.box span {
    font-size: 16px;
    color: var(--secondary);
}

.box img {
    width: 104px;
    height: 101px;
}

.child-box{ 
    height: 139px;
    border-radius: 20px;
    box-shadow: 
        0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
        /* Inner Shadow (سایه داخلی) */
        inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
    background-color: #7eccce;
}

.child-box p{ 
   font-size: 13px;
   color: #ffffff;
}


/* footer */

footer {
    background-color: var(--dark-color);
    color: var(--fade) !important;
}

.last-div {
    padding: 50px 120px;
}

footer p {
    font-size: 13px !important;
}

.main-icon2 {
    filter: brightness(0) invert(1);
}

.icon-box2 {
    width: 240px;
    height: 100px;
}

.ldiv{
    font-size: 19px !important;
}

.ldiv hr{
    width: 80px;
    height:3px;
    border-width: 3px;
    background-color:var(--label);
    color: var(--label);
}

.footer-icon img {
    width: 35px;
    height: 35px;
    margin-left: 10px;
    filter: brightness(0) invert(1) opacity(0.8);
}

.div1{
    width: 250px;
}

.lbox {
    width: 200px !important;
}

.lbox span{
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

.lbox, .contact-us {
    margin-top: 40px !important;
}

.ldiv span{
    font-size: 19px !important;
}

.contact-us img {
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1) opacity(0.8);

}

.contact-us p{
    font-size: 13px !important;
}

form input {
    background-color: var(--dark-color) !important;
    border-color: var(--fade) !important;
    height: 32px;
    width: 240px !important;
    font-size: 12px !important;
}

form input::placeholder{
    color: var(--fade) !important;
}

form .btn {
    background-color: var(--mid-color) !important;
    width: 113px;
    height: 32px;
    font-size: 13px;
    color: #ffffff;
}


/* Responsive Styles */
@media (max-width: 768px) {

    /* header */
    
    .header-div {
        padding: 10px 15px !important;
    }

    .header-div h6{
        font-size: 12px !important;
    }

    .header-icon {
        width: 18px;
        height: 18px;
        filter: invert(100%) brightness(1.5) contrast(0.9);
    }

    .header-text {
        font-size: 10px;
    }

    .first-box {
        position: static !important;
        padding-left: 0px !important;
    }
    
    .first-box::before {
        content: "";
        position: static;
        left: 0;
        top: 0%; 
    }

    .first-div {
        border-left: 1px #ffffff solid;
    }

    /* navbar */

    .icon-box {
        width: 230px;
        height: 70px;
    }

    .navbar {
        padding: 10px 20px 2px 20px!important;
    }

    .navbar-toggler {
        position: relative;
        z-index: 1100;
        overflow: hidden;
        padding: 0px 0px !important;
    }
    
    .navbar-toggler::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 30% !important;
        width: 70% !important;
        height: 120%;
    }

    .log-icon {
        width: 40px;
        height: 40px;
        padding: 0px !important;
        background-color: #7eccce !important;
        opacity: 59%;
    }

    .back-color h1 {
        font-size: 19px !important;
    }

    /* main */


      
    
    .about {
        margin-top: 30px;
        background-color: #ffffff;
        box-shadow: 
            0 0 10px 5px rgba(255, 255, 255), /* شفافیت 10% */
            /* Inner Shadow (سایه داخلی) */
            inset 0 0 10px rgba(255, 255, 255); /* شفافیت 5% */
    }
    
    .title h1 {
        font-size: 25px !important;
    }
    
    .title {
        border-bottom: 4px solid #9ebedc;
        width: 150px;
    }
    
    .right-box p{
        line-height: 38px;
    }

    .institute-name {
        font-size: 19px;
        padding-right: 14px;
    }

    .info-list li {
        padding: 12px 14px;
        gap: 12px;
        margin-bottom: 10px;
    }

    .info-icon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .info-value {
        font-size: 14px;
    }

    .info-address .info-value {
        font-size: 13px;
        line-height: 1.8;
    }

    .woman {
        width: 150px;
        height: 260px;
        border-radius:30px;
    }
    
    .teacher {
        width: 150px;
        height: 170px;
        border-radius:30px;
    }
    
    .young {
        width: 150px;
        height: 450px;   
        border-radius:30px;
    }
    

    .right-box .btn{
        width: 275px;
        height: 68px;
        border-radius: 20px;
        opacity: 59%;
        box-shadow: 
            0 0 10px 2px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
            /* Inner Shadow (سایه داخلی) */
            inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
        background-color: #7eccce;
        font-size: 25px;
        color: #ffffff;
    }
    
    .team-div {
        width : 100%;
    }
    
    .team-div h2 {
        font-size: 36px;
    }
    
    .img-row {
        position:fixed;
    }
    
    .stu-row {
        position: relative;
        margin: 0 0 80px 0;
    }
    
    .icon1 {
        position: absolute;
        width: 49px;
        height: 49px;
        right: 10px;
        margin: 15px 5px 0 5px;
    }
    
    .icon2 {
        width: 49px;
        height: 49px;
        position: absolute;
        right: 40px;
        margin: 15px 5px 0 5px;
    }
    
    .icon3 {
        width: 49px;
        height: 49px;
        position: absolute;
        right: 80px;
        margin: 15px 5px 0 5px;
    }
    
    .icon4 {
        width: 49px;
        height: 49px;
        position: absolute;
        right: 120px;
        margin: 15px 5px 0 5px;
    }
    
    .icon5 {
        width: 49px;
        height: 49px;
        position: absolute;
        right: 160px;
        margin: 15px 5px 0 5px;
    }
    
    .f-child .btn{
        width: 184px;
        background-color: #89d0d2;
        opacity: 90%;
        border-radius: 15px;
        box-shadow: 
            0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
            /* Inner Shadow (سایه داخلی) */
            inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
        color: #ffffff;
        font-size: 16px;
    }
    
    .f-child {
        width: 222px;
        height: 154px;
        background-color: #f5f7f7;
        opacity: 90%;
        border-radius: 15px;
        box-shadow: 
            0 0 10px 1px rgba(0, 0, 0, 0.33), /* شفافیت 10% */
            /* Inner Shadow (سایه داخلی) */
            inset 0 0 10px rgba(0, 0, 0, 0.05); /* شفافیت 5% */
    }
    
    .box {
        width : 100%;
        margin-top: 50px;
    }
    
    .box span {
        font-size: 16px;
    }
    
    .box img {
        width: 104px;
        height: 101px;
    }
    
    .child-box{ 
        height: 139px;
        border-radius: 20px;
    }
    
    .child-box p{ 
       font-size: 13px;
    }
    


    /* footer */

    .last-div {
        padding: 30px 50px 40px  !important;
    }

    .last-box {
        width: 40px;
        height: 40px;
        margin: 5px 10px;
        background-color: rgba(255, 255, 255, 0.16);
    }

    .last-box img{
        filter: brightness(0) invert(1) opacity(0.8) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 11px;
    }

    .last-p {
        font-size: 11px !important;
        color: var(--fade);
    }

    .aca-span{
        color: #ffffff;
        font-size: 14px;
    }

    .f-box{
        width: 450px;
        height: 100px !important;
    }

    .main-icon2{
        width: 100px !important;
        height: 100px !important;
    }

    .div1{
        width: 100% !important;
    }

    .ldiv span{
        font-size: 14px !important;
    }

    .lbox span {
        font-size: 9px;
    }
    
    .contact-us img {
        width: 14px;
        height: 14px;    
    }
    
    .c-span{
        font-size: 9px !important;
    }

    .contact-us p{
        font-size: 10px !important;
    } 

    
    form input {
        height: 26px;
        width: 173px !important;
        font-size: 9px !important;
    }

    form .btn {
        background-color: var(--mid-color) !important;
        width: 70px;
        height: 25px;
        font-size: 11px;
    }

    .term-box {
        border-width: 0 1px;
        border-color: #777893;
        border-style: solid;
        padding: 0 10px;
    }

}

@media (max-width: 576px) {
    .first-header {
        flex-direction: column;
        text-align: center;
    }

    .navbar-nav {
        text-align: center;
    }

    .dropdown-menu {
        text-align: center;
    }

}

/* Additional responsive utilities */
@media (min-width: 768px) and (max-width: 991px) {
    .right-box {
        padding: 100px 40px 0 !important;
    }

    .left-box {
        margin: 80px 40px 0 0 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .right-box {
        padding: 120px 60px 0 !important;
    }

    .left-box {
        margin: 100px 60px 0 0 !important;
    }
}

.navbar-toggler {
    border: none;
    padding: 10px;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    position: relative;
    background-color: #7eccce !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 
                inset 0 2px 5px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1100;
    overflow: hidden;
}

.navbar-toggler::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.navbar-toggler:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
    background: linear-gradient(135deg, #36D1DC, #5B86E5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(91, 134, 229, 0.5);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.navbar-toggler[aria-expanded="true"] {
    background: linear-gradient(135deg, #6441A5, #2a0845);
}

/* Completely Redesigned Mobile Navigation */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }
    
    /* Toggler Button Styling */
    .navbar-toggler {
        border: none;
        padding: 10px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        position: relative;
        /* background: linear-gradient(135deg, rgba(86, 137, 192, 0.8), rgba(117, 226, 255, 0.8)); */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1100;
    }
    
    .navbar-toggler:hover {
        transform: rotate(90deg);
        background: linear-gradient(135deg, rgba(117, 226, 255, 0.9), rgba(86, 137, 192, 0.9));
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(117, 226, 255, 0.5);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        transition: all 0.3s ease;
    }
    
    /* Mobile Menu Container */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-color) 0%, rgba(27, 58, 72, 0.98) 100%);
        z-index: 1050;
        padding: 80px 20px 30px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    /* Remove the overlay when menu is open */
    /* body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 1040;
    } */
    
    /* Navigation Item Styling */
    .navbar-nav {
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 12px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }
    
    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Create staggered animation effect for menu items */
    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 0.35s; }
    
    /* Main Menu Button Styling */
    .dropdown-toggle {
        width: 100%;
        text-align: right;
        padding: 12px 20px;
        border-radius: 10px !important;
        background-color: rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
        position: relative;
        border-right: 3px solid transparent;
        font-size: 16px !important;
    }
    
    .dropdown-toggle:hover, .dropdown-toggle:focus {
        background-color: rgba(117, 226, 255, 0.15);
        border-right: 3px solid var(--light-color);
        transform: translateX(-5px);
    }
    
    /* Add icons to menu items for visual interest */
    .dropdown-toggle::before {
        content: '';
        width: 8px;
        height: 8px;
        background: var(--mid-color);
        border-radius: 50%;
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }
    
    .dropdown-toggle:hover::before {
        background: var(--light-color);
        box-shadow: 0 0 10px var(--light-color);
    }
    
    /* Dropdown Menu Styling */
    .dropdown-menu {
        width: 95%;
        margin: 5px auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        padding: 8px;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .dropdown-menu.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    .dropdown-item {
        padding: 10px 15px;
        border-radius: 8px;
        transition: all 0.2s ease;
        text-align: center;
        margin-bottom: 5px;
        font-size: 14px;
        border-right: 2px solid transparent;
    }
    
    .dropdown-item:hover {
        background-color: rgba(86, 137, 192, 0.15);
        border-right: 2px solid var(--mid-color);
        transform: translateX(-5px);
    }
    
    /* Login/Signup Buttons */
    .navbar-collapse .d-flex {
        margin-top: 30px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease 0.4s;
    }
    
    .navbar-collapse.show .d-flex {
        opacity: 1;
        transform: translateY(0);
    }
    
    .login-btn, .sign-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px !important;
        transition: all 0.3s ease;
    }
    
    .login-btn {
        background: rgba(255, 255, 255, 0.9) !important;
        color: var(--dark-color) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
    }
    
    .sign-btn {
        background: linear-gradient(135deg, var(--mid-color), var(--light-color)) !important;
        box-shadow: 0 4px 15px rgba(117, 226, 255, 0.3);
    }
    
    .sign-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 25px rgba(117, 226, 255, 0.5);
    }
    
    /* Brand Logo Animation */
    .icon-box {
        transition: all 0.3s ease;
    }
    
    body.menu-open .icon-box {
        transform: scale(0.9);
    }
}

/* Add JavaScript for toggling body class */
@media (min-width: 992px) {
    /* Reset any fixed positioning for desktop */
    .navbar-collapse {
        position: static;
        width: auto;
        height: auto;
        background: none;
        transform: none;
        padding: 0;
        box-shadow: none;
        transition: none;
        overflow-y: visible;
    }
    
    .navbar-nav .nav-item {
        opacity: 1;
        transform: none;
    }
    
    .dropdown-toggle::before {
        display: none;
    }
}