*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{

    font-family: "roboto",sans-serif;
}
a{
    text-decoration: none;
}
.wrapper{
    max-width: 1230px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.nav-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: white;
    border-bottom: 2px solid #e7e7e7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.my-nav{
    width: 100%;
    /* padding: 10px 5px; */
    background-color: white;
}
.left-ul li a img{
    max-width: 22%;
}
.left-ul li a{
    display: inline-flex;
    align-items: center;
}
.my-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.right-ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.right-ul li input {
  padding: 16px 60px 16px 14px;
  border: 1px solid #dedede;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 320px;
  font-size: 16px;
}

.right-ul li button {
  background-color: #f97316;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  top: 4px;
  right: 4px;
  position: absolute;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* User Profile Dropdown Styles for ExcelPtp Header */
.right-ul li.user-profile-li {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  margin-left: 1rem;
}

/* Login Button Styles for ExcelPtp Header */
.login-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f97316, #dc2626);
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.login-button:hover {
  background: linear-gradient(135deg, #ea580c, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.login-button:active {
  transform: translateY(0);
}

.login-button svg {
  flex-shrink: 0;
}

.user-profile-dropdown {
  position: relative;
}

.user-profile-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  transition: background-color 0.3s;
  font-size: 0.875rem;
  color: #374151;
}

.user-profile-trigger:hover {
  background-color: #f3f4f6;
}

.user-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  background-color: #f3f4f6;
  display: block;
  flex-shrink: 0;
  /* Prevent layout shift during image load */
  aspect-ratio: 1 / 1;
}

.user-name {
  font-weight: 500;
  color: #374151;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  color: #6b7280;
  transition: transform 0.3s;
}

.user-profile-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.user-profile-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1000;
}

.user-profile-dropdown.active .user-profile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f3f4f6;
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.profile-menu-item:hover {
  background-color: #f9fafb;
  color: #ea580c;
}

.profile-menu-item svg {
  color: #6b7280;
  flex-shrink: 0;
}

.profile-menu-item:hover svg {
  color: #ea580c;
}

@media (max-width: 767px) {
  .user-name {
    display: none;
  }
  
  .user-profile-trigger {
    padding: 0.5rem;
  }
  
  .login-button {
    padding: 0.5rem 0.75rem;
  }
  
  .login-button span {
    display: none;
  }
}


/* -------------------- technology section */

.tech-navbar {
    position: fixed;
    top: 96px;
    left: 0;
    width: 100%;
    background-color: #2d2f31;
    overflow-x: auto;
    z-index: 998;

}


.tech-navbar ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
    /* overflow-x: auto; */
}

.tech-navbar ul li a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    font-weight: 500;
    padding: 14px 8px;
    transition: background-color 0.2s ease-in-out;
}

.tech-navbar ul li a:hover {
    background-color: #fe8a49;
    color: white;
    text-decoration: none;
}

.tech-navbar ul li a.active {
    background-color: #f97316;
    color: white;
}
.main-content{
      margin-top: 144px;
      width: 100%;
      box-sizing: border-box;
}
.layout-flex {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 24px;
  width: 100%;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 144px;
  height: 100%;
  min-height: calc(100vh - 144px);
  max-height: calc(100vh - 144px);
  overflow-y: auto;
  background: #E7E9EB;
  padding: 10px 0 10px 0;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}
.sidebar h3{
  padding: 15px 0;
}

.sidebar ul {
  list-style: none;
   overflow-y: auto;
  flex-grow: 1;


}

.sidebar ul li ul li{
    margin-left: -15px !important;
    padding: 0 !important;
      /* background-color: #53A700; */
}

.sidebar ul li h2{
    font-weight: 400;
    font-size: 18px !important;
      /* background-color: #53A700; */
      padding: 5px 0 5px 5px !important;      
}

.sidebar ul li ul li a{

  padding: 5px 0 5px 10px !important;      /* background-color: #53A700; */
      font-weight: 300;
      margin-right:16px;
}

.sidebar li {
  padding-top: 10px;

  cursor: pointer;
}


.sidebar li strong{
  font-size: 20px;
}

.sidebar li:hover {
  /* background-color: #ddd; */
}

.content-area {
  padding: 20px;
  background: #fff;
  min-width: 0;
  word-wrap: break-word;
  box-sizing: border-box;
}

.ads {
  position: sticky;
  /* top: 0; */
  width: 200px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #ebebeb;
  padding: 10px;
  overflow-y: auto;
  flex-shrink: 0;
  border-right: 1px solid #ebebeb;
  text-align: center;
}

.example-box-div {
  background: #f4f4f4;
  padding: 15px;
  margin-top: 20px;
}
.example-box-div h3 {
  background: #f4f4f4;
  padding: 15px 0;
}

.example-box {
  background: #f1f1f1;
  padding: 20px;
  border-radius: 6px;
  margin: 20px 0;
  font-family: monospace;
}

.code-box {
  background: white;
  padding: 20px;
  border-left: 4px solid #53A700;
  font-family: monospace;
  font-size: 15px;
  overflow-x: auto;
  margin-bottom: 10px;
  border-radius: 8px;
  box-sizing: border-box;
}

.tag {
  color: #e87700;
}
.btn-self{                              
     background-color: #f97316;
     border: none;
     outline: none;
     padding: 14px 18px;
     border-radius: 12px;
}

.sidebar a.active {
    background-color: #f97316; /* Yellow background */
    color: #000000 !important; /* Dark black text */
    font-weight: 200; /* Bold text */
    border-radius: 5px; /* Smooth corners */
    transition: background-color 0.3s ease;
    padding: 5px 0 5px 10px !important;
}

.sidebar a:hover {
    background-color: #fe8a49;
    color: #ffffff;
}



  .course-title_btn{
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 15px;
}
.course-title_btn p{
    font-size: 26px;
    font-weight: 600;
    color: #000000;
}
.next-pre-btn{
      display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;


}

.pre-btn{
    /* padding: 14px 14px; */
    border-radius: 10px;
    width: 130px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    background-color: #f97316;
    height: 50px;
    color: white;
}
.pre-btn span{
   display: inline-flex;
   padding: 0 4px;
}


.pre-btn:hover{
    text-decoration: none;
    color: white;
    background-color: #fe8a49;
}
.next-btn{
    /* padding: 14px 14px; */
    border-radius: 10px;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
 text-decoration: none;
    color: black;
    background-color: #f97316;
    /* margin-left: 12px; */
    height: 50px;
    color: white;
}


.next-btn:hover{
    text-decoration: none;
    color: white;
    background-color: #fe8a49;
}
.next-btn span{
   display: inline-flex;
   padding: 0 4px;
}
.next-pre-btn a span{
    width: 25px !important;
    position: relative !important;
    top: -1px !important;
}


.num-list{
    padding-top: 15px;
}
.num-bul-list{
    margin-top: 20px;
}
.num-list-title{
    font-size: 30px;
    color: black;
}

.num-bul-list ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0;
}

.num-bul-list li {
  margin-bottom: 2px;
  color: #333333;
  padding: 8px;
}

.num-bul-list ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 5px;
}
.learn-box{

    /* border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px; */
}
.learn-title{
    font-size: 24px;
    font-weight: 500;
    color: #1d1d1d;
}
.learn-sub-title{
    padding: 14px 0;
}
.learn-sub-title p{
    padding: 8px 0;
    font-size: 18px;
    color: #0f0f0f;
}
.start-learn{
    padding: 14px 14px;
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: black;
    background-color: #f97316;
}

.note-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffde7;
  padding: 20px;
  border-radius: 6px;
 
}

.note-label {
  font-weight: 600;
  white-space: nowrap;

}

.note-text p {
  margin: 0;
}


.note-box p strong {
  font-weight: 700 !important;
}

.course-img{
  width: 100%;
  margin-bottom: 40px;
}
.course-img img{
  max-width: 70%;
  border: 1px solid #f5f5f5;
  padding: 10px;
  border-radius: 14px;
}



.site-footer {
  background-color: #333333;
  color: #fff;
  padding: 40px 20px;
  background-image: url(img/Ellipse\ 6.png);
  background-position: top right;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  transition: 0.4s ease-in-out;
  background-size: 80px 100px;
}

/* .footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
} */

.four-col{
  display: flex;
  justify-content: space-between;
}
.footer-logo-div{
  display: inline-block;
  background-color: white;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 8px;
}

.footer-logo {
  max-width: 180px;
  /* margin-bottom: 10px; */
}

.footer-col h4 {
  position: relative;
  margin-bottom: 30px;
  font-size: 18px;
}

.col-one{
  width: 24%;
}
.col-one p{
  color: white;
  line-height: 18px;
  font-size: 14px;
  text-align: justify;
}
.col-two{
  width: 20%;
}
.col-three{
  width: 20%;
}
.col-four{
  width: 15%;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background-color: #f97316;
  margin-top: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  cursor: pointer;
}
.footer-col ul li a {
  text-decoration: none;
  color: white;
}

.social-icons {

  display: flex;
  gap: 15px;
  font-size: 20px;
  margin-top: 10px;
}



.social-icons i:hover {
  background-color: #fe8a49;
}
.soc-icon a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 4px;

}

  .course-title_btn1{

  }



  .next-pre-btn1{
        display: flex;
    justify-content: space-between;
    width: 100%;
     padding: 20px 12px;

  }


      .next-pre-btn1 a span{
    width: 25px !important;
    position: relative !important;
    top: -1px !important;
}

/* Right Aside Panel Styles */
.right-aside {
  position: relative;
  height: auto;
  background: #fff;
  border-left: 1px solid #e7e7e7;
  padding: 20px 15px;
  display: none;
  box-sizing: border-box;
}

.aside-section {
  margin-bottom: 30px;
}

.aside-section:last-child {
  margin-bottom: 0;
}

.aside-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f97316;
}

.aside-content {
  font-size: 14px;
}

.promo-box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e7e7e7;
}

.tools-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-link {
  display: block;
  padding: 10px 12px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.tool-link:hover {
  background: #fe8a49;
  color: #fff;
  text-decoration: none;
}

.social-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: #fe8a49;
  transform: scale(1.1);
}

.social-link svg {
  transition: fill 0.2s ease;
}

.social-link:hover svg path {
  fill: #fff;
}

/* Desktop: Show right aside */
@media (min-width: 1200px) {
  .right-aside {
    display: block;
  }
}

/* Mobile/Tablet: Hide right aside and adjust grid */
@media (max-width: 1199px) {
  .layout-flex {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

/* Mobile: Stack layout */
@media (max-width: 768px) {
  .layout-flex {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sidebar {
    position: relative;
    top: 0;
    max-height: none;
    min-height: auto;
    height: auto;
  }
}
