    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background-color: #d8dcdb;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 0px;
      border: none;
    }

    /* Frame outer container */
    .page-frame {
      background-color: #e3e3e3;
      padding: 20px;
      border: 0px solid #c8c8c8;
      max-width: 900px;
      width: 100%;
    }

    .portfolio-container {
      background-color: #1470af;
      color: #ffffff;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
      position: relative;
      width: 100%;
      overflow: hidden;
    }

.name-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* hamburger menu */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background-color: #ffffff;
}

.hamburger span {
  width: 16px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background-color: #4572c2;
}

/* Morph into an X when open */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
    /* --- GLOBAL HEADER SECTION --- */
    .top-section {
      padding: 30px 40px 20px 40px;
    }

    /* Row 1: Name (Left) & Social Icons (Right) */
    .header-main-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }

    .brand-name {
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

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

    .social-icon {
      color: #ffffff;
      font-size: 1rem;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      background-color: #ffffff;
      color: #4572c2;
      transform: translateY(-2px);
    }

    /* Row 2: Navigation Bar */
    .nav-bar {
      display: flex;
      gap: 12px;
      margin-bottom: 30px;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
      flex-wrap: wrap;
    }

    .nav-btn {
      color: #ffffff;
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      padding: 6px 16px;
      border-radius: 20px;
      background-color: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      white-space: nowrap;
      display: inline-flex;
      gap: 10px;
      align-items: center;
    }

    .nav-btn:hover,
    .nav-btn.active {
      background-color: #ffffff;
      color: #4572c2;
      transform: translateY(-2px);
    }

     /* Main Content */
.About_Instructor {
  display: flex;
  margin-bottom: 20px;
}

.About_Course {
  display: flex;
  margin-bottom: 10px;
  margin-top: 10px;
  min-height: 360px; 
  padding: 5px 0px;
  color: #ffffff;
}

.left-panel {
  margin-left: 60px;  
  float: left;
  width: 30%;
}
.Right-panel {
  float: right;
  width: 70%;
}
.Right-panel h1 {
    font-size: 36px;
    color: azure;
    font-family:cursive;
}

.Right-panel p {
    font-size: 24px;
    color: azure;
    font-family:sans-serif;
}
.Left-Column {
  margin-left: 50px;  
  float: left;
  width: 70%;
  padding: 0px;
}

.Left-Column h1 {
  font-size: 36px;
  font-family:cursive;  
}

.Left-Column p {
  font-size: 24px;
  font-family:sans-serif;
}

.Left-Column ul {
  list-style-type: square;
  padding: 0;
  font-size: 24px;
}

.Right-Column {
  float: right;
  width: 30%;
  padding: 0px;
}
.Right-panel ul {
  list-style-type: square;
  padding: 0;
  font-size: 24px;
  color:azure;
}

.Instructor_Img {
  width: 230px;
  height: 230px;
  margin-top: 10px;
  border: 2px solid azure;
}
.Statistic_Img {
  width: 280px;
  height: 280px;
  margin-top: 30px;
  margin-left: 50px;
}

.Activities {
  padding-top: 0px;
  padding-left: 30px;
  padding-right: 30px;
  color: azure;
  border-top: none;
  margin-top: 0px;
}

.Activities h1 {
  font-size: 36px;
  color: azure;
  font-family:cursive;
  text-align: center;  
  margin-top: 0px; 
  margin-bottom: 10px;
}

.Activities p {
  font-size: 20px;
  color: azure;
  font-family:sans-serif;
  text-align: center;  
  margin-top: 0px; 
  margin-bottom: 10px;
}

.F {
  display: flex;
  Background-color: rgba(6, 43, 30, 0.3);
  border-top: 1px solid rgba(250, 204, 21, 0.54);
  border-bottom: 1px solid rgba(250, 204, 21, 0.36);
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
  
}

.left-Activity { 
  margin-left: 0px;  
  float: left;
  width: 20%;
  padding: 0px;
}

.left-Activity h1 {
  font-size: 36px;
  color: azure;
  font-family: sans-serif;
  text-align: center;  
  margin-top: 50%; 
}
 
.Right-Activity {
  float: right;
  width: 80%;
  padding: 0px;
}

.Right-Activity p {
  font-size: 16px;
  color: azure;
  text-align: left;
  font-family: segoe ui;
}
.L1 {
    list-style-type: none;
    padding: 2.5px;
    font-size: 16px;
    color: azure;
} 
.L2 {
    list-style-type: square;
    padding: 0;
    font-size: 16px;
    color: azure;
    margin-left: 35px;
}
.se strong {
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 6px;
}
.se {
  gap: 12px;
  display: flex;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.submit {
  font-size: 1rem;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  text-decoration: none;
  color: #ffffff;
  white-space: nowrap;
}

.submit:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px)
}

    .footer {
      background-color: #2C3E50;
      color: #ffffff;
      text-decoration: none;
      border-top: 2px solid #ffffff;
      padding-top: 10px;
    }
    .footer-content {
      display: flex;
      text-decoration: none;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .c {
      display: flex;
      flex-direction: column;
      width: 25%;
      padding: 0% 2%;
      gap: 5px;
    }

    .touch {
      display: flex;
      gap: 10px;
    }

    .footer-icon {
      color: #ffffff;
      font-size: 1rem;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .footer-icon:hover {
      background-color: #ffffff;
      color: #2C3E50;
      transform: translateY(-2px);
    }

    .hide {
      display: none;
    }

    .footer-logo {
      color: rgba(255, 255, 255, 0.75);
      text-decoration: none;
      margin-left: 10px;
    }

    .footer-logo:hover {
      color: rgba(255, 255, 255, 1);
      text-decoration: underline;
    }

    .last-row {
      display: flex;
      justify-content: space-between;
      padding: 0px 40px 25px 40px;
      font-size: 1rem;
    }


   /* Mobile Responsiveness Styles */
@media screen and (max-width: 768px) {
  /* Reset outer wrappers */
  body {
    padding: 0;
  }

  .page-frame {
    padding: 10px;
    border: none;
  }

  
  .Activities,
  .footer {
    padding: 20px 15px;
  }

  .footer-content {
    display: block;
    column-count: 2;
    margin-left: 15px;
    font-size: 0.6rem;
  }

  .c {
    width: 100%;
    break-inside: avoid;
    margin-bottom: 20px;
    padding: 0;
  }

  .last-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  /* Header and Navigation adjustments */
  .header-main-bar {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

 .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
 }
 
  .nav-bar {
    justify-content: center;
  }

  /* Structural conversions: Clear floats and make columns full width */
  .About_Instructor,
  .F {
    flex-direction: column;
    display: flex;
  }

  .About_Course {
    flex-direction: column-reverse;
    display: flex;
  }

  .left-panel,
  .Right-panel,
  .Left-Column,
  .Right-Column,
  .left-Activity,
  .Right-Activity {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 10px 15px !important;
  }

  /* Image scaling for smaller viewports */
  .Instructor_Img,
  .Statistic_Img {
    width: 100%;
    max-width: 230px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
  }

  /* Typography scale adjustments for readability */
  .Right-panel h1,
  .Left-Column h1,
  .left-Activity h1 {
    font-size: 24px;
    margin-top: 0px;
  }

  .Right-panel p,
  .Left-Column p,
  .Right-panel ul,
  .Left-Column ul {
    font-size: 16px;
  }

  /* Clean up legacy break line spacing on mobile */
  .left-Activity br,
  .Right-Activity br {
    display: none;
  }

  .Left-Column br {
    display: none;
  }

  .left-Activity h1 {
    padding: 10px 0;
  }

  /* Alignment fixes */
  .footer p {
    text-align: center !important;
  }

  
  .hamburger {
    display: flex;
  }

  .nav-bar {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    gap: 8px;
    padding-top: 0;
    border-top: none;
    margin-bottom: 0;
    transition: max-height 0.35s ease, padding-top 0.35s ease, margin-bottom 0.35s ease;
  }

  .nav-bar.active {
    max-height: 400px;
    padding-top: 15px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-btn {
    text-align: center;
    justify-content: center;
  }
}
  