:root {
    --dark-color : #1b3a48;
    --mid-color : #5689c0;
    --light-color : #75e2ff;
    --fade : #8a9ba5;
    --grad  : linear-gradient(to right, #5689c0 , #75e2ff);
    --label : #627179;
    --secondary : #c4ccd0;
}
@font-face {
    font-family: 'IRANSansWeb';
    src: url(../fonts/IRANSansWeb.eot) format('eot'),
        url(../fonts/IRANSansWeb.ttf) format('ttf'),
        url(../fonts/IRANSansWeb.woff) format('woff');

        font-family: 'Byekan';
        src: url(../fonts/Yekan.ttf) format('ttf'),
}

body{
    font-family: IRANSansWeb;
}

* {
    font-weight: bold !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 !important;
    padding: 0 !important;
}

.first-header {
    height: 57px;
    background-color: black;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 120px 0 0;
}

.ques-text {
    font-size: 12px;
    color: #ababab;
}

.header-text {
    font-size: 12px;
    color: #ffffff;
}

.header-icon {
    filter: 
        brightness(0.7) 
        contrast(1.3) 
        sepia(0.1) 
        saturate(0.5);
}

.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;
}

.content {
    position: relative;
    z-index: 3;
}

.icon-box {
    width: 245px;
    height: 52px;
}

.main-icon {
    filter: invert(100%) brightness(200%) contrast(100%);
}


.dropdown-toggle {
    color: #ffffff !important;
    font-size: 18px;
    border-radius: 0 !important;
    margin: 0 7px !important;
}

.dropdown-toggle:hover {
    color: #00bfff !important;
    border-width: 0 0 1px 0 !important;
    border-style: solid;
    border-color : #00bfff !important;
}

.login-btn {
    width: 137px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px;
    color: #5b5b5b;
}

.sign-btn {
    width: 137px;
    height: 40px;
    background-color: rgba(126, 204, 206, 0.59) !important;
    font-size: 18px;
    color: #ffffff !important;
}

h1{
    font-size: 36px !important;
    color: #ffffff !important;
}

.right-box{
    padding: 150px 40px 0 40px !important;
}

.orange{
    color: #f48c06;
    font-size: 36px !important;

}

.first-par {
    color: rgba(255, 255, 255, 0.87);;
    font-size: 16px;
}

.start-btn {
    width: 160px;
    height: 40px;
    background-color: rgba(126, 204, 206, 0.59) !important;
    font-size: 18px !important;
    color: white !important;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.25),
        inset 0 0px 1px rgba(0, 0, 0, 0.2);
}

.free-btn {
    width: 160px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px !important;
    color: #5b5b5b !important;
      box-shadow: 
        50px 50px 50px rgba(126, 204, 206, 0.25),
        inset 0 10px 10px rgba(126, 204, 206, 0.05);
}

.co-box {
    width: 158px;
    height: 54px;
    background-color: #ffffff;
    opacity: 75%;
}

.co-icon {
    background-color: #23bdee;
}

.num-sp {
    font-size: 14px !important;
    color: #5b5b5b !important;
    font-family: Byekan !important;
}

.text-sp {
    font-size: 10px !important;
    color: #5b5b5b !important;
    font-family: Byekan !important;
}

.num-sp2 {
    font-size: 16px !important;
    color: #5b5b5b !important;
    font-family: Byekan !important;
}

.text-sp2 {
    font-size: 14px !important;
    color: #5b5b5b !important;
    font-family: Byekan !important;
}

.smart-icon {
    background-color: #d8587e;
}

.stu-box {
    width: 200px;
    height: 103px;
    background-color: #ffffff;
    opacity: 65%;
}

.left-box {
    width: 410px !important;
    margin: 120px 110px 0 0 !important;
}

.stu-row {
    position: relative;
}

.icon1 {
    position: absolute;
    right: 10px;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 5px;
}
.icon2 {
    position: absolute;
    right: 35px;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 5px;
}
.icon3 {
    position: absolute;
    right: 55px;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 5px;
}
.icon4 {
    position: absolute;
    right: 80px;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 5px;
}
.icon5 {
    position: absolute;
    right: 105px;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 5px;
}
.icon6 {
    position: absolute;
    right: 130px;
    width: 40px;
    height: 40px;
    margin: 0 5px 0 5px;
}

.sec-div {
    padding: 80px 70px 60px;
}

.sec-icons{
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1;
}

.blue-cir {
    background-image: linear-gradient(to right, #42b1bc, #1974b6);
    width: 50px;
    height: 50px;
    margin: 22px 35px 0 0;
    position: absolute;
    top: 0;
    right: 0;
}

.num-box {
    font-size: 30px;
    font-family: Byekan !important;
    background: linear-gradient(to right, #42b1bc, #1974b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;      
    -webkit-text-fill-color: transparent;
}

.text-box {
    font-size: 20px;
    color: #333333;

}


.aca-head {
    font-size: 36px;
    color: #2f327d;
    
}

.pish-head {
    font-size: 36px;
    color: #00cbb8;
}

.aca-par {
    color: #7c7c93 ;
    font-size: 18px;
    font-family: Byekan !important;
    padding-top: 30px;
}

.card-div {
    padding: 40px 120px 70px;
}

.cards {
    background-color: #fcfcfc;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.13), 0px 0px 100px 10px rgba(0, 0, 0, 0.13);
    padding: 35px 15px 70px 15px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    max-width: 600px;
    width: 100%;
}

.top-div {
    background-color: #29b9e7;
    opacity: 85%;
    position: absolute;
    top: -50px; /* نیمی از ارتفاع تصویر به بالا می‌رود */
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px; 
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-div2 {
    background-color: #00cbb8;
    opacity: 85%;
    position: absolute;
    top: -50px; /* نیمی از ارتفاع تصویر به بالا می‌رود */
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px; 
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-div3 {
    background-color: #2f327d;
    opacity: 85%;
    position: absolute;
    top: -50px; /* نیمی از ارتفاع تصویر به بالا می‌رود */
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px; 
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.8);
}

.card-title {
    font-size: 25px !important;
    color: #2f327d !important;
    font-weight: 700 !important;
}

.card-par {
    font-size: 16px;
    color: #7c7c93 !important;
    margin-top: 30px;
}

.div-img {
    position: relative; 
    width: 458px;
    height: 263px;
}

.div-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/teacher-holds-pen-points-math-formula-generated-by-ai.jpg);
    background-repeat: no-repeat;
    background-clip: border-box;
    background-size: contain;
    z-index: 1;
    border-radius: 20px !important;

}
  
.div-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* مشکی با 35% opacity */
    z-index: 2;
    border-radius: 20px !important;

}

.div-img button, .div-img2 button{
    width: 206px;
    height: 32px;
    background-color: #27b1dc;
    opacity: 70%;
}

.div-img2 {
    position: relative; 
    width: 458px;
    height: 263px;
}
  
.div-img2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/young-man-studying-library-using-laptop.jpg);
    background-repeat: no-repeat;
    background-clip: border-box;
    background-position-y: center;
    background-size: cover;
    z-index: 1;
    border-radius: 20px !important;
}
  
.div-img2::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* مشکی با 35% opacity */
    z-index: 2;
    border-radius: 20px !important;
}

.container {
    position: relative;
    z-index: 3;
}

.container .btn{
    color: #ffffff;
}

.container h4 {
    font-size: 36px !important;
    color: white;
}

.div-img .btn {
    color: #ffffff;
}

.design-div h3{
    font-size: 30px !important;
    color: #2f327d;
}

.class-div{
    padding: 130px 90px 0;
}

.design-div span {
    font-size: 30px !important;
    color: #70f4bc;
}

.design-div p {
    font-size: 18px;
    color: #7c7c93;
    font-family: Byekan !important;
    margin-top: 10px;
}

.corner-div {
    background-color: #33efa0;
    opacity: 70%;
    position: absolute;
    top: -20px; 
    left: 96%;
    transform: translateX(-90%);
    width: 62px;
    height: 59px; 
    border-radius: 50%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.left-div {
    width: 207px;
    height: 92px;
    background-color: #23bdee;
    border-radius: 7px;
    position: absolute;
    top: -20px; 
    left: -1%;
    z-index: 1;
}

.woman-img {
    width: 539px;
    height: 359px;
    position: relative;
    z-index: 2;
    border-radius: 7px;
}

.right-div {
    width: 207px;
    height: 92px;
    background-color: #33efa0;
    border-radius: 7px;
    position: absolute;
    top: 74%; 
    left: 59%;
    z-index: 1;
}

.limg-div {
    width: 585px; 
    height: 580px;
}

.last-img {
    object-fit: cover;
}

.teach-div h3 {
    font-size: 30px;
    color: #2f327d;
}

.teach-div span {
    font-size: 30px;
    color: #70f4bc;
}

.teach-div p {
    font-size: 20px;
    color: #7c7c93;
    font-family: Byekan;
}

/* footer */

.last-div {
    background-color: #252641;
    padding-bottom: 20px;
}


.icon-box2 {
    width: 300px;
    height: 120px; 
    padding-top: 40px;
}


.last-div2 {
    width: 400px;
}

.last-h {
    position: relative;
    padding-left: 1px;
}

.last-h::before {
    content: "";
    position: absolute;
    left: 0;
    top: -20%; 
    height: 90%; 
    width: 1px; 
    background: #7c7c93;
}

.last-h h6{
    color: white;
    font-size: 14px;
    margin-top: 37px !important;
}

.last-p {
    font-size: 14px;
    color: #777893;
}

.lp-box {
    border-width: 0 1px;
    border-color: #777893;
    border-style: solid;
    padding: 0 15px;
}

.last-box {
    width: 60px;
    height: 60px;
    margin: 10px 17px;
    background-color: rgba(255, 255, 255, 0.16);
}

.last-icon {
    filter: brightness(0) invert(1) opacity(0.8);
}

.last-icon2 {
    width: 55px !important;
    height: 55px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {

    .first-header {
        text-align: center;
        padding: 10px 20px;
        height: 59px;
    }


    .first-btn {
        width: 40px;
        height: 40px;
        background-color: rgb(255, 255, 255, 0.15) !important;
    }

    .ques-text {
        font-size: 14px !important;
    }

    .header-icon {
        width: 40px !important;
        height: 30px !important;
    }

    .icon-box {
        width: 250px !important;
        height: 70px;
    }

    .navbar-nav {
        text-align: center;
    }

    .dropdown-menu {
        text-align: center;
    }

    .nav-icon {
        width: 40px !important;
        height: 40px !important;
        background-color: rgba(126, 204, 206, 0.59) !important;
    }

    .nav-icon img {
        width: 30px;
        height: 30px;
        filter: 
            brightness(1.4) 
            contrast(0.7) 
            grayscale(1) 
            invert(0.1)
            hue-rotate(10deg); /* تغییر جزئی رنگ */
    }

    .back-img {
        height: auto;
        min-height: 600px;
    }

    .right-box h1, span{
        font-size: 45px !important;
    }

    .right-box p{
        font-size: 16px !important;
        padding: 20px 70px;
    }

    .right-box {
        padding: 80px 10px 0 !important;
    }

    .start-btn, .free-btn {
        width: 200px;
        height: 50px;
        font-size: 17px !important;
    }

    .left-box {
        width: 100% !important;
        margin: 40px 0 !important;
    }

    .co-box {
        width: 100%;
        max-width: 200px;
        height: 70px;
    }

    .num-sp {
        font-size: 16px !important;
    } 
    
    .text-sp {
        font-size: 13px !important;
    }

    .co-icon {
        width: 45px;
        height: 40px;
        border-radius: 5px;
    }

    .co-icon img, .smart-icon img{
        width: 30px;
        height: 25px;
    }

    .stu-box {
       width: 250px !important; 
       height: 103px;
       margin-bottom: 100px;
    }

    .text-sp2, .num-sp2 {
        font-size: 18px !important;
    }

    .icon1, .icon2, .icon3, .icon4, .icon5, .icon6 {
        width: 45px;
        height: 45px;
        margin-right: 20px !important;
    }

    .icon1 {
        right: 10px;
    }
    .icon2 {
        right: 40px;
    }
    .icon3 {
        right: 70px;
    }
    .icon4 {
        right: 100px;
    }
    .icon5 {
        right: 130px;
    }
    .icon6 {
        right: 160px;
    }

    .sec-div {
        padding: 40px 10px;
    }

    .blue-cir {
        width: 50px;
        height: 50px;
        margin: 15px 20px 0 0;
    }

    .boxes {
        padding: 10px 40px 10px 30px;
    }

    .box1 .num-box{
        margin-left: 50px !important;
    }
    .box2 .num-box{
        margin-left: 10px !important;
    }
    .box3 .num-box{
        margin-left: 50px !important;
    }
    .box4 .num-box{
        margin-left: 50px !important;
    }

   
    .sec-icons {
        width: 55px;
        height: 55px;
    }

    .num-box {
        font-size: 24px !important;
    }

    .text-box {
        font-size: 24px !important;
    }

    .card-div {
        padding: 20px;
    }

    .cards {
        padding: 25px 15px 50px;
    }

    .aca-head, .pish-head {
        font-size: 30px !important;
    }

    .aca-par {
        font-size: 15px !important;
        padding: 25px 30px;
    }

    .top-div, .top-div2, .top-div3 {
        width: 75px;
        height: 75px;
        top: -45px;
    }

    .top-img {
        width: 75px;
        height: 75px;
    }

    .cards {
        padding-bottom: 30px !important;
    }

    .card-div {
        padding: 0px 20px !important;
    }

    .card-title {
        font-size: 25px !important;
        padding-top: 30px !important;
    }

    .card-par {
        font-size: 15px;
        margin-top: 10px !important;
        margin-bottom: 0px !important;
    }

    .div-img, .div-img2 {
        width: 100%;
        height: 200px;
    }

    .div-img::before {
        background-size: cover !important;
    }

    .class-div {
        padding: 40px 20px 0;
    }

    .container h4 {
        font-size: 25px !important;
    }

    .div-img .btn {
        font-size: 15px !important;
    }

    .design-div h3, .design-div span {
        font-size: 20px !important;
    }

    .design-div p {
        font-size: 13px;
    }

    .corner-div {
        left: 97% !important;
        width: 50px;
        height: 50px;
    }

    .left-div {
        top: -14px; 
        left: 1%;
    }
    
    .right-div {
        top: 80%; 
        left: 64%;
    }

    .left-div, .right-div {
        width: 115px;
        height: 52px;
    }

    .woman-img {
        width: 100%;
        height: auto;
    }

    .teach-div h3, span {
        font-size: 20px !important;
    }

    .teach-div p {
        font-size: 14px;
        line-height: 20px !important;
      }

    .last-h {
        padding-left: 0px !important;
        border-left: 2px solid #7c7c93;
    }

    .last-h h6 {
       margin-top: 0px !important;
       font-size: 12px !important;
    }
    
    .last-h::before {
        height: 90% !important; 
        width: 0px; 
    }

    .limg-div {
        width: 100%;
        height: auto;
    }

    .icon-box2 {
        width: 200px;
        height: 52px; 
        padding-top: 0px;
    }

    .last-div2 {
        width: 100%;
    }
 
    .last-box {
        width: 50px;
        height: 50px;
        margin: 5px 10px;
    }

    .last-icon2 {
        width: 45px !important;
        height: 45px !important;
    }
    

}

@media (max-width: 576px) {

    .first-header {
        text-align: center;
        padding: 10px 20px;
        height: 59px;
    }

    .first-btn {
        width: 40px;
        height: 40px;
        background-color: rgb(255, 255, 255, 0.15) !important;
    }

    .ques-text {
        font-size: 14px !important;
    }

    .header-icon {
        width: 40px !important;
        height: 30px !important;
    }

    .icon-box {
        width: 280px;
        height: 70px;
    }

    .navbar-nav {
        text-align: center;
    }

    .dropdown-menu {
        text-align: center;
    }

    .nav-icon {
        width: 40px !important;
        height: 40px !important;
        background-color: rgba(126, 204, 206, 0.59) !important;
    }

    .right-box {
        padding: 80px 20px 0 !important;
    }


    .login-btn, .sign-btn {
        width: 120px;
        height: 35px;
        font-size: 16px;
    }

    h1 {
        font-size: 28px !important;
    }

    .first-par {
        font-size: 14px;
    }

    .aca-head, .pish-head {
        font-size: 28px;
    }

    .aca-par {
        font-size: 16px;
    }

    .last-h h6 {
        font-size: 12px;
    }

    .last-p {
        font-size: 10px;
    }

    .last-hr {
        color: var(--fade) !important;
    }

   
}

/* 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;
    }

    .nav-icon img {
        display: none;
    }

    .card-div {
        padding: 0px 20px !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;
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    position: relative;
    background: linear-gradient(135deg, #3494E6, #EC6EAD);
    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%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    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(../images/menu-button.png) !important;
    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: 40px !important;
        height: 40px !important;
        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 {
        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;
    }
}