
 

/* Adjust main when sidebar is hidden */
.sidebar:not(.show) ~ .main{
  margin-left:0;
}

/* Card */
.card{
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
} 

.card-header{
  background:linear-gradient(90deg,var(--gold-dark),var(--gold-light));
  color:#fff;
  padding:22px;
  font-size:22px;
  font-weight:bold;
}

/* Tabs Layout */
.tabs-container{
  display:flex;
  gap:7%;
  padding:25px;
}

/* Tabs */
.tabs{
  width:260px;
}

.tab-btn{
    width: 100%;
    padding: 13px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.3px;
    font-weight: 600;
    color: #676767;
}

.tab-btn.active,
.tab-btn:hover{
  border-color:var(--gold-dark);
  color:var(--gold-dark);
}

/* Tab Content */
.tab-content{
  flex:1;
}

.tab-panel{
  display:none;
  animation:fade 0.3s ease-in;
}

.tab-panel.active{
  display:block;
}

.tab-panel h1 {
    color: var(--color-gold);
    font-size: 27px;
    margin-bottom: 11px;
    line-height: 31px;
}
.tab-panel h2 {
    color: var(--color-gold);
    font-size: 20px;
    margin-bottom: 11px;
    line-height: 31px;
    padding-bottom: 0;
    border: none;
    text-align: left;
}

.tab-panel p {
    line-height: 21px;
    margin-bottom: 10px;
    font-size: 15px;    
    color:var(--color-p);
    font-weight: 500;
}
.tab-panel .p-lh {
    line-height: 160% !important;
}

/* Buttons */
.action-btn{
    display: inline-block;
    margin-top: 10px;
    padding: 12px 22px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-decoration: none;
    color: var(--black);
}

.content-box {
  position: relative;
  min-height: 400px;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

/* Expanded state */
.content-box.expanded {
  max-height: 100%;
}

/* Gradient fade */
.fade-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff);
  pointer-events: none;
}

/* Hide gradient when expanded */
.content-box.expanded .fade-gradient {
  display: none;
}

.more-content {
  margin-top: 10px;
}
 
/** portal home start **/
   .container {
            width: 100%;
            max-width: 900px;
            background: white; 
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 3px 13px rgb(151 114 25 / 29%);
            margin: 0 auto;
            padding: 0;
        }

        .header {
            background: linear-gradient(90deg,var(--gold-dark),var(--gold-light));
            color: white;
            text-align: center;
            padding: 30px 10px;
            font-size: 24px;
            font-weight: bold;
        }

        .content {
            padding: 25px;
            text-align: center;
        }

        .sub-header {
                  font-weight: bold;
                  color: var(--color-gold);
                  font-size: 22px;
                  margin-bottom: 20px;
                  line-height: 31px;
        }

        .info-box {
            box-shadow: 0 1px 4px rgb(151 114 25 / 32%);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
            text-align: left;
        }

        .info-box h3 {
            color: var(--color-black);
            margin-top: 0;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .info-box p {
          font-size: 16px;
          color: var(--color-p);
          line-height: 24px;
          margin-bottom: 10px;
        }

        .phase-detail {
            margin-bottom: 15px;
        }

        .phase-title {
               font-weight: bold;
                text-transform: uppercase;
                font-size: 16px;
                color: #333;
                margin-bottom: 5px;
        }

        .important-dates {
            font-weight: bold;
            color: #333;
            margin-top: 20px;
        }

        .button-group {
            padding: 0 25px 30px 25px;
        }

        .btn {
         display: block;
          max-width: 75%;
          background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
          color: white;
          text-decoration: none;
          padding: 15px;
          border-radius: 8px;
          font-weight: 600;
          font-size: 16px;
          text-align: center;
          letter-spacing: 0.3px;
          width: 100%;
          margin: 0 auto 15px auto;
        }
/** portal home End **/


/* Animation */
@keyframes fade{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}

      .contact-footer {
         text-align: center;
          margin-top: 40px;
          font-size: 12px;
          line-height: 16px;
          color: #aaa;
          letter-spacing: 0.5px;
          padding: 20px 2px;
          background: #fff;
        }

/* Responsive */
@media(max-width:900px){
  .wrapper{
    flex-direction:column;
  }

  .sidebar{
    top:56px;
    height:100%;
  }

      .main {
        margin-left: 0;
        padding: 15px 0px 0px 0px;
        margin: 0;
    }

  .tabs-container{
    flex-direction:column;
  }

  .tabs{
    width:100%;
    display:flex;
    overflow-x:auto;
    gap:10px;
  }

  .tab-btn{
    white-space:nowrap;
    text-align:center;
  }
   
}
/* Responsive */
@media(max-width:600px){
 .hamburger {
    width: 35px; 
    padding-right: 10px; 
}
  .topbar { 
    padding: 9px 5px; 
  }
  .topbar .logo-img {
    width: 30px;
    margin: -5px 0px;
  }
  .topbar h1 {
    font-size: 12px;
    }
    .login-name {
    padding: 8px 4px;  
    font-size: 10px;
    }
    .card-header { 
    padding: 15px;
    font-size: 15px; 
    }
    .btn { 
        max-width: 100%; 
        padding: 13px 5px;
        border-radius: 8px; 
        font-size: 15px; 
    }
    .content {
         padding: 15px 10px;
          text-align: center;
      }
      .button-group {
          padding: 0 10px 30px 10px;
      }
    .info-box p {
        font-size: 14px; 
        line-height: 21px; 
    }
    .phase-title { 
        font-size: 14px; 
    }
    .sub-header { 
        font-size: 19px;
        margin-bottom: 12px;
        line-height: 31px;
    }
  .header {  
      padding: 21px 10px;
      font-size: 19px; 
  }
  .login-bt { 
      padding: 8px 12px; 
      font-size: 13px; 
      margin: 0 5px; 
  }
    .tab-panel h1 { 
        font-size: 19px;
        margin-bottom: 7px; 
    }
  .tab-panel h1 { 
      font-size: 18px;
      margin-bottom: 2px;
      line-height: 31px;
  }
  .tab-btn { 
      padding: 10px 12px;
      margin-bottom: 8px;
      border-radius: 8px; 
      font-size: 14px; 
  }
  .tab-panel p {
      line-height: 19px; 
      font-size: 14px; 
  }
 .contact-footer { 
          font-size: 10px; 
        }
        .card { 
            width: 96%;
        }
        .container {
              width: 96%;
          }

}