.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 40px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.logo {.header-container {
  display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
  }
  
  .logo {
  display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
  }
  
  .logo-img {
  width: 64px;
    height: auto;
  }
  
  .logo h1 {
  color: #ffa500;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
  }
  
  .toolbar-frame {
  width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    background-color: transparent;
  }
  
  .toolbar-frame ul {
  list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .toolbar-frame a {
  color: #333;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
  }
  
  .toolbar-frame a:hover,
  .toolbar-frame a.active {
  color: #ffa500;
    background-color: #fffaf0;
  }
  
  .toolbar-frame a::after {
  content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #ffa500;
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: width 0.3s;
  }
  
  .toolbar-frame a:hover::after,
  .toolbar-frame a.active::after {
  width: 100%;
  }
  
  .search-bar-header {
  display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 10px;
  }
  
  .search-bar-header input {
  padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 300px;
  }
  
  .search-bar-header button {
  padding: 8px 12px;
    background: #ffa500;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .hamburger {
  display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  
  .hamburger span {
  width: 24px;
    height: 3px;
    background: #333;
    transition: 0.3s;
  }
  
  .toolbar-frame.open {
  display: flex;
  }
  
  .toolbar-frame ul {
  flex-direction: column;
      width: 100%;
      align-items: center;
  }
  
  .hamburger {
  display: flex;
      margin-left: auto;
  }
  
  .search-bar-header {
  display: none;
  }
  
  /* Home section style*/
  
  .section-title {
  font-size: 1.3em;
    font-weight: bold;
    color: #192a56;
  }
  
  .consultancy-list {
  list-style-type: none;
    padding-left: 0;
  }
  
  .consultancy-list li {
  margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1em;
    color: #444;
  }
  
  .full-width-hero {
  width: 100%;
    background-color: #fff;
    padding: 40px 20px;
    margin-top: 20px;
    perspective: 1000px; /* Enables 3D effect */
    
   
  }
  
  .hero-content {
  display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin-top:130px ;
    padding: 40px;
    border: 2px solid #ffa500;
    border-radius: 12px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1),
                -5px -5px 20px rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
  }
  
  .hero-content:hover {
  transform:ease .5;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.2),
                -8px -8px 25px rgba(255, 255, 255, 0.6);
  }
  
  .text-content {
  flex: 1;
  }
  
  .logo-content {
  flex: 0 0 auto;
    margin-left: 40px;
  }
  
  .logo-content img {
  width: 300px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .hero-content:hover .logo-content img {
  transform: scale(1.05);
  }
  
  .mission-statements {
  list-style-type: disc;
    padding-left: 20px;
    margin-top: 20px;
  }
  
  .mission-statements li {
  font-style: italic;
    margin-bottom: 10px;
    color: #444;
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  /* Responsive */
  
  
    .logo-content img {
  width: 200px;
  }
  
  /* Mobile Adjustments */
  
  
  
  
  .mission-statements {
  list-style-type: disc;
    padding-left: 20px;
    color: #444;
    font-size: 1.1em;
    line-height: 1.6;
    margin-top: 20px;
  }
  
  .mission-statements li {
  margin-bottom: 10px;
    font-style: italic;
  }
  
  .search-bar-header {
  display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 20px;
  }
  
  .search-bar-header input[type="text"] {
  padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
  }
  
  .search-bar-header button {
  background-color: #ffa500;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .search-bar-header button:hover {
  background-color: #e69300;
  }
  
  /* Responsive: Hide search bar in mobile */
  
  
  
  .container {
  display: flex;
      flex-direction: column; /* Stack vertically on mobile */
      align-items: center;
      justify-content: center;
      padding: 60px;
      max-width: 1250px;
      margin: 10px auto 0; /* Top margin 10px to distance from header */
  }
  
 

  
  .text-content {
  width: 100%; /* Full width on mobile */
      margin: 20px; /* Consistent spacing around the text */
  }
  
  @media (min-width: 768px) {
  .text-content {
          max-width: 50%; /* Half width on larger screens */
  }
  
  }
  
  .text-content h1 {
  font-size: 3em;
      line-height: 1.2;
      color: #192a56;
  }
  
  .text-content h1 span {
  color: #ffa500;
  }
  
  .text-content p {
  font-size: 1.2em;
      color: #666;
      margin: 20px 0;
  }
  
  .image-content img {
  max-width: 100%;
      height: auto;
  }
  
  @media (min-width: 768px) {
  .image-content {
          max-width: 50%; /* Half width on larger screens */
  }
  
  }
  
  /* About section styles */
  .about-section {
  max-width: 1250px;
      margin: 40px auto;
      padding: 40px 20px;
      background-color: #fff;
      border: 2px solid #ffa500;
      border-radius: 10px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
      box-sizing: border-box;
      text-align: center;
  }
  
  .image-about-us {
  display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
      flex-wrap: wrap;
  }
  
  .image-about-us img {
  width: 45%;
      height: 300px;
      object-fit: cover;
      border-radius: 10px;
      border: 2px solid #ffa500;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .about-us {
  text-align: left;
      max-width: 1000px;
      margin: 0 auto;
  }
  
  .about-us h2 {
  font-size: 2.5em;
      color: #192a56;
      text-align: center;
      margin-bottom: 10px;
  }
  
  .about-us h2 span {
  color: #ffa500;
  }
  
  .about-us .tagline {
  font-style: italic;
      color: #555;
      text-align: center;
      margin-bottom: 30px;
  }
  
  .about-us h4 {
  color: #ffa500;
      margin-top: 30px;
      margin-bottom: 10px;
      font-size: 1.4em;
  }
  
  .about-us p {
  font-size: 1.1em;
      color: #444;
      line-height: 1.7;
      margin-bottom: 15px;
      text-align: justify;
  }
  
  .about-us .highlight {
  background-color: #fff3e0;
      padding: 10px 15px;
      border-left: 5px solid #ffa500;
      border-radius: 4px;
      margin-bottom: 15px;
  }
  
  .custom-list {
  list-style: disc;
      padding-left: 20px;
      color: #444;
      line-height: 1.6;
  }
  
  .btn {
  display: inline-block;
      margin-top: 25px;
      padding: 12px 30px;
      background-color: #ffa500;
      color: #fff;
      font-size: 1em;
      text-decoration: none;
      border-radius: 6px;
      transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .btn:hover {
  background-color: #e69300;
      transform: translateY(-3px);
  }
  
  /* Responsive styles for about section */
  
  
      .image-about-us {
  margin-bottom: 20px;
  }
  
  /* Training Section Style */
  .training {
  display: flex;
      justify-content: center;
      align-items: center;
      height: auto; /* Change from fixed height to auto */
      max-width: 1240px;
      margin: 20px auto;
      padding: 20px;
      background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
      background-image: url('../images/trainbg.jpg'); /* URL to the background image */
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      overflow: hidden;
  }
  
  .training-list {
  list-style-type: disc;
    padding-left: 30px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .training-container h3 {
  color: #ffa500;
    margin-top: 30px;
    font-size: 1.3em;
  }
  
  .training-container {
  text-align: center;
      width: 100%;
      padding: 20px;
      background-color: rgba(255, 255, 255, 0.9); /* Enhances text readability */
      box-sizing: border-box; /* Includes padding in width calculation */
      margin-top: 150px;
  }
  
  .training-container h1 {
  margin-bottom: 20px;
      text-align: center;
      color: #ffa500;
      font-size: xx-large;
      font-family: Verdana, Geneva, Tahoma, sans-serif;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better visibility */
  }
  
  .training-container p {
  text-align: justify;
  }
  
  .train {
  display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
  }
  
  .Train-item {
  border: 2px solid #ffa500;
      border-radius: 5px;
      padding: 15px 25px;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s, transform 0.3s; /* Added transform to transitions */
      margin: 10px;
  }
  
  .Train-item:hover,
  .Train-item.active {
  background-color: #ffa500;
      color: white;
      transform: scale(1.05); /* Scale effect on hover */
  }
  
  /* Responsive design adjustments */
  
  
      .training-container {
  padding: 10px; /* Less padding on smaller screens */
  }
  
  @media (min-width: 700px) and (max-width: 1500px) {
  .Train-item {
          flex: 1 1 45%; /* Adjusting to two columns on mid-sized devices */
  }
  
  }
  
  @media (min-width: 1201px) {
  .Train-item {
          flex: 1 1 30%; /* Spacious three-column layout on large screens */
  }
  
  }
  
  
  /* Services section styles */
  .services-section {
  text-align: center;
      padding: 20px;
      background-color: #fff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin: 20px auto;
      border-radius: 10px;
      max-width: 1240px; /* Adjust the max-width as needed */
      border: 1px solid #e0e0e0; /* Matching border */
  }
  
  .services-section h1 {
  font-size: 2.5em;
      margin: 20px 0;
      color: #ffa500;
  }
  
  .services-section p {
  font-size: 1.2em;
      color: #666;
      margin: 0 20px;
      text-align: justify;
  }
  
  .grid-container {
  display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      padding: 20px;
  }
  
  .card {
  background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      text-align: center;
      border: 1px solid #e0e0e0; /* Matching border */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
  transform: translateY(-10px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .card img {
  width: 100%;
      height: 160px;
      transition: transform 0.3s ease;
  }
  
  .card:hover img {
  transform: scale(1.05);
  }
  
  .card h3 {
  margin: 15px 0;
      font-size: 1.2em;
  }
  
  .card p {
  padding: 0 15px;
      color: #666;
      font-size: 0.9em;
  }
  
  .card .btn {
  display: inline-block;
      margin: 15px 0;
      padding: 10px 20px;
      background: #ffa500;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .card .btn:hover {
  background: #cc8400;
      transform: translateY(-3px);
  }
  
  /* Contact section styles */
  
  .training-single {
  max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-left: 6px solid #ffa500;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .training-single h3 {
  text-align: center;
    color: #d9534f;
    margin-bottom: 30px;
    font-size: 1.8em;
  }
  
  .special-request-form .form-row {
  display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .special-request-form .form-row label {
  flex: 0 0 200px;
    font-weight: bold;
    margin-right: 10px;
  }
  
  .special-request-form .form-row input,
  .special-request-form .form-row select,
  .special-request-form .form-row textarea {
  flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
  }
  
  .special-request-form .form-row textarea {
  resize: vertical;
    min-height: 100px;
  }
  
  .special-request-form .form-row button {
  padding: 12px 20px;
    background: #ffa500;
    color: white;
    border: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
  }
  
  .special-request-form .form-row button:hover {
  background: #e69500;
    transform: translateY(-2px);
  }
  
  .contact-section {
  width: 100%;
      padding: 20px;
      background: linear-gradient(to bottom right, #ffffff 50%, rgb(18, 53, 248) 50%, rgb(18, 53, 248) 75%, #ffffff 75%);
      text-align: center;
  }
  
  .contact-form {
  background: rgba(255, 255, 255, 0.8);
      padding: 20px;
      margin: auto;
      display: inline-block;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
  }
  
  .contact-form .form-group {
  margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
  padding: 10px;
      margin: 5px;
      border: 1px solid #ccc;
      border-radius: 4px;
      width: 100%;
      box-sizing: border-box;
  }
  
  .contact-form .form-group input {
  width: 48%;
  }
  
  .contact-form button {
  background-color: rgb(18, 53, 248);
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
  }
  
  .contact-form button:hover {
  background-color: #78a1ff;
  }
  
  h2 {
  color: #333;
  }
  
  /* Footer styles */
  footer {
  background: #ddd9d9;
      padding: 20px 0;
      font-size: 16px;
      line-height: 1.5;
  }
  
  .footer-container {
  display: flex;
      justify-content: space-evenly;
      align-items: start;
      padding: 20px;
  }
  
  .footer-column {
  display: flex;
      flex-direction: column;
      align-items: center;
  }
  
  .footer-column h3 {
  margin-bottom: 10px;
  }
  
  .footer-column a {
  color: #141313;
      text-decoration: none;
      margin: 5px 0;
  }
  
  .footer-column p {
  text-align: center;
      margin: 5px 0;
  }
  
  .footer-bottom {
  text-align: center;
      border-top: 1px solid #444;
      padding: 10px;
  }
  
  /* Font Awesome Icons */
  .fab {
  font-size: 20px;
      margin: 0 10px;
  }
  
  /* Adjustments for responsiveness */
  
  /* CSS About Us Page */
  .objectives-section {
  max-width: 1250px;
      margin: 20px auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .objectives-section h2 {
  text-align: center;
      color: #333;
      margin-bottom: 20px;
      color: #ffa500;
  }
  
  .objective {
  display: flex;
      align-items: center;
      margin-bottom: 20px;
      padding: 10px;
      transition: background-color 0.3s, transform 0.3s;
      border-radius: 8px;
  }
  
  .objective:hover {
  background-color: #f0f0f0;
      transform: scale(1.02);
  }
  
  .icon {
  flex: 0 0 50px;
      font-size: 2em;
      color: #ffa500;
      margin-right: 20px;
      text-align: center;
  }
  
  .content {
  flex: 1;
  }
  
  .content h3 {
  margin: 0;
      font-size: 1.2em;
      color: #333;
  }
  
  .content p {
  margin: 5px 0 0 0;
      color: #666;
  }
  
  /* CSS for Research Page */
  .research-section {
  font-family: 'Arial', sans-serif;
      background: #fff;
      color: #333;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      width: 80%;
      margin: auto;
      margin-bottom: 30px;
      text-align: center;
  }
  
  .research-section .research-header h1 {
  font-size: 2.5em;
      margin-bottom: 20px;
  }
  
  .research-section .research-header p {
  font-size: 1.2em;
      margin-bottom: 40px;
      opacity: 0.9;
  }
  
  .research-section .research-content ul {
  list-style: none;
      padding: 0;
  }
  
  .research-section .research-content li {
  background: rgba(255, 255, 255, 0.1);
      margin-bottom: 20px;
      padding: 20px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: start;
      transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
      position: relative; /* Necessary for pseudo-elements positioning */
  }
  
  .research-section .research-content li:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      background: rgba(255, 255, 255, 0.2);
  }
  
  .research-section .research-content li:hover::before {
  content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      border-radius: 8px;
  }
  
  .research-section .icon {
  font-size: 2rem;
      margin-right: 15px;
      display: inline-block;
      width: 60px;
  }
  
  .research-section .icon:hover {
  transform: scale(1.1);
      transition: transform 0.2s;
  }
  
  .ad-banner {
  display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px;
      background-color: #f4f4f4; /* Light grey background; adjust as needed */
      border-top: 1px solid #ccc; /* Optional border */
  }
  
  .ad-banner a {
  margin: 0 10px; /* Spacing between images */
      display: block;
  }
  
  .ad-banner img {
  width: auto;
      height: 100px; /* Example height, adjust as needed */
      max-width: 100%; /* Ensures image is responsive */
      display: block; /* Removes bottom space/gap */
  }
  
  /*technology transfer section*/
  .technology-transfer-wrapper {
  display: flex;
      justify-content: center;
      padding: 40px 20px;
      background-color: #fefbf3;
  }
  
  .technology-transfer-card {
  max-width: 1250px;
      padding: 30px;
      background-color: #ffffff;
      border-left: 6px solid #ffa500;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      font-family: 'Segoe UI', sans-serif;
  }
  
  .technology-transfer-card:hover {
  transform: translateY(-5px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  }
  
  .technology-transfer-card h2 {
  font-size: 2em;
      margin-bottom: 15px;
      color: #192a56;
      display: flex;
      align-items: left;
      gap: 10px;
  }
  
  .tech-description {
  text-align: left;
      font-size: 1.1em;
      color: #555;
      margin-bottom: 25px;
  }
  
  .tech-transfer-steps {
  list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 15px;
  }
  
  .tech-transfer-steps li {
  font-size: 1.05em;
      color: #333;
      display: flex;
      align-items: left;
      background-color: #f8f9fa;
      padding: 12px 16px;
      border-radius: 8px;
      transition: background-color 0.2s ease;
      min-width: 50%;
  }
  
  .tech-transfer-steps li:hover {
  background-color: #ffa500;
  }
  
  .tech-transfer-steps i {
  color: #ffa500;
      margin-right: 12px;
      font-size: 1.2em;
  }
  
  /*Project Section CSS Code */
   .projects-container {
  max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      background-color: #fff; /* White background */
      color: #333; /* Dark grey text for readability */
      font-family: 'Arial', sans-serif;
  }
  
  .projects-container h1 {
  text-align: center;
      color: #0056b3; /* Bright blue for headers */
      margin-bottom: 30px;
      font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  .project-list {
  display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      padding: 10px;
  }
  
  .project {
  background: #f9f9f9; /* Light grey background for each project */
      border: 1px solid #ddd; /* Subtle border */
      padding: 20px;
      border-radius: 8px; /* Rounded corners for aesthetic */
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effects */
  }
  
  .project:hover {
  transform: translateY(-5px); /* Moves card up slightly on hover */
      box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Enhanced shadow for lifted effect */
  }
  
  .project h2 {
  color: #0056b3; /* Dark blue for project titles */
      margin-bottom: 10px;
  }
  
  .project p {
  line-height: 1.6; /* Improved readability for descriptions */
      text-align: justify;
  }
  
  /*Blog page css code*/
  
  
  
  .blog-container {
  display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      padding: 20px;
  }
  
  .blog-post {
  background: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      border-radius: 10px;
      overflow: hidden;
      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .blog-post:hover {
  transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  
  .blog-post img {
  width: 100%;
      height: auto;
      object-fit: cover;
      transition: transform 0.3s ease-in-out;
  }
  
  .blog-post img:hover {
  transform: scale(1.05);
  }
  
  .post-info {
  padding: 15px;
  }
  
  .post-info h3 {
  margin-top: 0;
      transition: color 0.3s;
  }
  
  .post-info h3:hover {
  color: #0077cc; /* Change color on hover */
  }
  
  .author {
  display: flex;
      align-items: center;
      margin-top: 10px;
  }
  
  .author img {
  width: 50px;
      height: 50px;
      border-radius: 50%;
      margin-right: 10px;
  }
  
  .author p {
  margin: 0;
  }
  
  .social-stats {
  display: flex;
      justify-content: space-between;
      padding: 10px 0;
  }
  
  .social-stats span {
  display: flex;
      align-items: center;
      transition: background-color 0.2s, transform 0.2s;
  }
  
  .social-stats span:hover {
  background-color: #e8e8e8;
      transform: translateY(-3px);
  }
  
  .social-stats i {
  margin-right: 5px;
  }
  
  .fade-in-section {
  opacity: 0;
      transition: opacity 1s ease-in-out;
  }
  
  .fade-in-section.visible {
  opacity: 1;
  }
  
  .ad-banner-wrapper {
  width: 100%;
      overflow-x: hidden;
      overflow-y: hidden;
      padding: 10px 0;
      background-color: #fff;
  }
  
  .ad-banner-track {
  display: flex;
      flex-wrap: nowrap;
      gap: 10px;
      width: max-content;
  }
  
  .ad-banner-track a {
  flex: 0 0 auto;
  }
  
  .ad-banner-track img {
  height: 120px;
      width: auto;
      border-radius: 10px;
      object-fit: cover;
      display: block;
  }
  
  .section-heading {
  text-align: center;
      margin: 60px auto 30px;
      font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  }
  
  .section-heading h1 {
  font-size: 2.2em;
      color: #d9534f;
      letter-spacing: 1px;
      font-weight: 600;
  }
  
  .section-heading i {
  margin-right: 10px;
      color: #ffa500;
  }
  
  /* Smooth continuous scrolling */
  @keyframes scrollBanner {
  0% {
      transform: translateX(0%);
  }
  
  100% {
  transform: translateX(-50%);
  }
  
  }
  
  .training-container h3 {
  color: #ffa500;
    margin-top: 30px;
    font-size: 1.5em;
    text-align: left;
  }
  
  .training-list {
  list-style-type: disc;
    padding-left: 30px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
  }
  
  /* Keep existing styles and overrides below as needed */
  body {
  font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #fefbf3;
      overflow-x: hidden;
  }
  
  /* ... existing unchanged CSS remains below ... */
  .card-summary {
  font-size: 0.95em;
    color: #555;
    margin: 10px 0;
    text-align: justify;
    padding: 0 10px;
  }
  
  .large-icon-btn {
  display: inline-block;
    font-size: 1.2em;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #ffa500;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .large-icon-btn:hover {
  transform: scale(1.05);
    background-color: #e69300;
  }
  
  .btn.apply-icon-btn {
  background-color: #28a745;
    margin-left: 10px;
    margin-top: 10px;
    font-size: 1em;
    padding: 8px 16px;
    display: inline-block;
  }
  
  .btn.apply-icon-btn:hover {
  background-color: #218838;
    transform: scale(1.05);
  }
  
  /* Left-align training section headings and enlarge icons */
  .training-container h3 {
  margin-top: 30px;
    font-size: 1.5em;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .training-container h3::before {
  content: attr(data-icon);
    font-size: 1.8em;
    margin-right: 10px;
    color: #ffa500;
    display: inline-block;
    transform: translateY(2px);
  }
  
  /* Full-width card layout for vertical training sections */
  .training-single {
  max-width: 1250px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .training-single:hover {
  transform: scale(1.015);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15), 0 0 0 2px rgba(255,165,0,0.2);
  }
  
  .training-single img {
  width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .training-single h3 {
  font-size: 1.6em;
    color: #192a56;
    margin-bottom: 10px;
  }
  
  .training-single p {
  font-size: 1em;
    line-height: 1.6;
    color: #444;
    text-align: justify;
  }
  
  .training-single .btn {
  display: inline-block;
    margin-top: 15px;
    font-size: 1.1em;
    padding: 10px 20px;
    background-color: #ffa500;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .training-single .btn:hover {
  background-color: #e69300;
    transform: scale(1.05);
  }
  
  /* ... existing unchanged CSS remains below ... */
  
  /* background-image: url("IMAGE/images-35.jpg"); */
  
  
  
  /* Technology Transfer Section */
  .technology-transfer-section {
  max-width: 1000px;
      margin: 60px auto;
      padding: 20px;
      text-align: center;
  }
  
  .technology-transfer-section h2 {
  font-size: 2em;
      margin-bottom: 10px;
      color: #d9534f;
  }
  
  .tech-transfer-steps {
  list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      font-size: 1.1em;
  }
  
  .tech-transfer-steps li {
  display: flex;
      align-items: center;
      gap: 10px;
  }
  
  .tech-transfer-steps i {
  color: #d9534f;
  }
  
  /* Banner Section */
  .ad-banner {
  display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      padding: 20px;
      flex-wrap: wrap;
  }
  
  .ad-banner img {
  max-height: 150px;
      border-radius: 10px;
      transition: transform 0.3s ease;
  }
  
  .ad-banner img:hover {
  transform: scale(1.05);
  }
  
  /* Footer Section */
  footer {
  background-color: #333;
      color: white;
      padding: 40px 0 20px;
  }
  
  .footer-container {
  display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
  }
  
  .footer-column {
  flex: 1 1 200px;
      margin: 20px;
  }
  
  .footer-column h3 {
  margin-bottom: 10px;
      color: #ffa500;
  }
  
  .footer-column a {
  color: white;
      text-decoration: none;
      display: block;
      margin: 5px 0;
  }
  
  .footer-column a:hover {
  text-decoration: underline;
  }
  
  .footer-bottom {
  text-align: center;
      margin-top: 20px;
      font-size: 0.9em;
      border-top: 1px solid #555;
      padding-top: 10px;
  }
  
  .training-single:first-of-type {
  margin-top: 80px;
  }
  
  .news-slider-frame {
  width: 100%;
    overflow: hidden;
    background-color: #fffef0;
    border-bottom: 2px solid #d49900;
    padding: 12px 0;
    position: relative;
    z-index: 999;
  }
  
  .news-slider {
  display: inline-block;
    white-space: nowrap;
    animation: slide-news 25s linear infinite;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }
  
  .news-slider a {
  color: #0077cc;
    text-decoration: none;
    margin-right: 60px;
  }
  
  .news-slider a:hover {
  text-decoration: underline;
  }
  
  @keyframes slide-news {
  0%   { transform: translateX(100%);
  }
  
  100% {
  transform: translateX(-100%);
  }
  
  }
  
  /* Toolbar Frame */
  .toolbar-frame {
  background: #fffdf5;
    padding: 20px 20px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .toolbar-frame ul {
  display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }
  
  .toolbar-frame .nav-link {
  text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .toolbar-frame .nav-link:hover {
  background-color: #ffe6b3;
  }
  
  .toolbar-frame .nav-link.active {
  background-color: #ffa500;
    color: white;
    box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.3);
  }
  
  /* Toolbar frame with boxed tabs */
  .toolbar-frame {
  background-color: #fffdf5;
    padding: 10px 15px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }
  
  .toolbar-frame ul {
  list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
  }
  
  .toolbar-frame .nav-link {
  padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
  }
  
  .toolbar-frame .nav-link:hover {
  background-color: #ffe6b3;
    color: #000;
  }
  
  .toolbar-frame .nav-link.active {
  background-color: #ffa500;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
  }
  
  /* News ticker area */
  .news-ticker {
  background-color: #003366;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: 8px 20px;
    border-left: 6px solid #ffa500;
    color: white;
    font-size: 0.95em;
    top: 150px;       /* عيّن هنا ارتفاع الهيدر بالبيكسل */
    width: 100%;
    z-index: 1001;   /* أعلى من الهيدر */
    position: fixed;
  }
  
  .ticker-track {
  display:block;
    animation: scrollTicker 60s linear infinite;
  }
  
  .news-ticker:hover .ticker-track {
  animation-play-state: paused;
  }
  
  .ticker-track a {
  color: #fff;
    text-decoration: none;
    margin-right: 60px;
    font-weight: 500;
  }
  
  .ticker-track a:hover {
  text-decoration: underline;
  }
  
  /* Slower ticker animation */
  @keyframes scrollTicker {
  from {
      transform: translateX(100%);
  }
  
  to {
  transform: translateX(-100%);
  }
  
  }
  .square-bullets {
  list-style-type: square;
    margin-left: 20px;
    padding-left: 10px;
  }
  
  .square-bullets li {
  margin-bottom: 10px;
  }
  
  .training-single {
  display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    flex-wrap: wrap;
  }
  
  .training-single img {
  width: 300px;
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    order: 2; /* ensures image stays on the right */
  }
  
  .training-single-content {
  flex: 1;
    min-width: 250px;
  }
  
  .training-single-content h3 {
  font-size: 1.3em;
    color: #003366;
    margin-bottom: 10px;
  }
  
  .training-single-content p {
  font-size: 1em;
    line-height: 1.6;
  }
  
  .training-single-content .btn {
  margin: 8px 10px 0 0;
    display: inline-block;
    font-size: 0.95em;
    padding: 8px 14px;
    border-radius: 5px;
  }
  
  /* ===== Merged Responsive Media Queries ===== */
  
  @media (max-width: 768px) {
  .header-container {
      flex-direction: column;
      align-items: flex-start;
      padding: 15px;
  }
  
  .toolbar-frame {
  width: 100%;
      display: none;
      flex-direction: column;
      background: #fff;
      padding: 10px 0;
      margin-top: 10px;
  }
  
  .header-container {
  flex-direction: column;
      align-items: flex-start;
      padding: 15px;
  }
  
  .toolbar-frame {
  width: 100%;
      display: none;
      flex-direction: column;
      background: #fff;
      padding: 10px 0;
  }
  
  .hero-content {
  flex-direction: column;
      text-align: center;
      padding: 30px;
  }
  
  .logo-content {
  margin-left: 0;
      margin-top: 20px;
  }
  
  .hero-content {
  flex-direction: column;
          align-items: center;
          text-align: center;
  }
  
  .logo-content {
  margin-top: 20px;
          padding-left: 0;
  }
  
  .image-about-us img {
  width: 90%;
          height: 200px;
  }
  
  .about-us {
  padding: 0 10px;
  }
  
  .about-section {
  flex-direction: column;
  }
  
  .about-us {
  padding: 20px;
  }
  
  .footer-container {
  flex-direction: column;
          align-items: center;
  }
  
  .objective {
  flex-direction: column;
          align-items: flex-start;
  }
  
  .icon {
  margin-bottom: 10px;
  }
  
  .project-list {
  grid-template-columns: 1fr; /* Full width on smaller screens */
  }
  
  }
  
  @media (max-width: 600px) {
  .train {
          flex-direction: column;
  }
  
  .Train-item {
  width: 80%; /* Full width on small screens */
          margin: 5px 0; /* Reduced margin for compact layout */
  }
  
  }
  
  
  /* ============================= */
  /* 💻 Responsive Fix for Desktop */
  /* ============================= */
  @media (min-width: 769px) {
  .toolbar-frame {
      display: flex !important;
      flex-direction: row !important;
      justify-content: center;
      align-items: center;
      width: 100%;
      background: transparent;
      margin-top: 0;
  }
  
  .toolbar-frame ul {
  flex-direction: row !important;
      justify-content: center;
      align-items: center;
      gap: 20px;
  }
  
  .search-bar-header {
  display: flex !important;
  }
  
  .hamburger {
  display: none !important;
  }
  
  }
  
  
  
  /* تأكيد بقاء التيكر أسفل الهيدر دائمًا */
  .news-ticker {
  position: fixed;
    top: auto;
    bottom: auto;
    width: 100%;
    z-index: 998;
    margin-top: 70px; /* يظهر بعد الهيدر */
  }
  
  /* تعديل عند فتح القائمة في الجوال */
  @media (max-width: 768px) {
  .toolbar-frame.open + .news-ticker {
      margin-top: 10px !important;
      position: relative !important;
  }
  
  .toolbar-frame.open {
  margin-bottom: 0;
  }
  
  }
  
  /* ============================= */
  /* 🖼️ تنسيق أقسام الصفحة الرئيسية */
  /* ============================= */
  
  .section {
  max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ffa500;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
  }
  
  .section img {
  width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  @media (max-width: 768px) {
  .section {
      margin: 20px 10px;
      padding: 15px;
  }
  
  }
  
  /* === Homepage Section Fixes === */
  
  
  .news-ticker {
  position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #003366;
    padding: 8px 20px;
  }
  
  /* عند فتح القائمة على الجوال */
  @media (max-width: 768px) {
  .toolbar-frame.open ~ .news-ticker {
      position: relative !important;
      top: auto !important;
      margin-top: 10px;
  }
  
  }
  
  /* ========================================= */
  /* ✅ تنسيق ثابت لكل الأقسام في الصفحة الرئيسية */
  /* ========================================= */
  .section, .about-section, .objectives-section, .technology-transfer-wrapper {
  max-width: 1250px;
    margin: 40px auto;
    padding: 30px 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 12px;
  }
  
  /* توحيد الصور داخل الأقسام */
  .image-about-us img {
  width: 100%;
    max-width: 550px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .image-about-us {
  justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 30px;
  }
  
  /* ترتيب المسافات بين الأقسام */
  .about-section + .objectives-section,
  .objectives-section + .technology-transfer-wrapper {
  margin-top: 40px;
  }
  
  @media (max-width: 768px) {
  .about-section,
    .objectives-section,
    .technology-transfer-wrapper,
    .footer-container {
      margin-left: 50px;
      padding-left: 10px;
      padding-right: 10px;
      width: 400px;
  }
  
  }
  
    .image-about-us img {
  width: 90%;
      height: auto;
  }
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  width: 64px;
  height: auto;
}

.logo h1 {
  color: #ffa500;
  font-size: 1.8rem;
  margin: 0;
  font-weight: 800;
}

.toolbar-frame {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 80px;
  background-color: transparent;
}

.toolbar-frame ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.toolbar-frame a {
  color: #333;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.toolbar-frame a:hover,
.toolbar-frame a.active {
  color: #ffa500;
  background-color: #fffaf0;
}

.toolbar-frame a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #ffa500;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: width 0.3s;
}

.toolbar-frame a:hover::after,
.toolbar-frame a.active::after {
  width: 100%;
}

.search-bar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 10px;
}

.search-bar-header input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 300px;
}

.search-bar-header button {
  padding: 8px 12px;
  background: #ffa500;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}



  .toolbar-frame.open {
    display: flex;
  }

  .toolbar-frame ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .search-bar-header {
    display: none;
  }


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}



  .toolbar-frame.open {
    display: flex;
  }

  .toolbar-frame ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .search-bar-header {
    display: none;
  }

/* Home section style*/

.section-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #192a56;
}

.consultancy-list {
  list-style-type: none;
  padding-left: 0;
}

.consultancy-list li {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.1em;
  color: #444;
}

.full-width-hero {
  width: 100%;
  background-color: #fff;
  padding: 40px 20px;
  margin-top: 20px;
  perspective: 1000px; /* Enables 3D effect */
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-top:130px ;
  padding: 40px;
  border: 2px solid #ffa500;
  border-radius: 12px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1),
              -5px -5px 20px rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.hero-content:hover {
  transform:ease .5;
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.2),
              -8px -8px 25px rgba(255, 255, 255, 0.6);

}

.text-content {
  flex: 1;
}

.logo-content {
  flex: 0 0 auto;
  margin-left: 40px;
}

.logo-content img {
  width: 300px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hero-content:hover .logo-content img {
  transform: scale(1.05);
}

.mission-statements {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
}

.mission-statements li {
  font-style: italic;
  margin-bottom: 10px;
  color: #444;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Responsive */


  .logo-content img {
    width: 200px;
  }



/* Mobile Adjustments */




.mission-statements {
  list-style-type: disc;
  padding-left: 20px;
  color: #444;
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 20px;
}

.mission-statements li {
  margin-bottom: 10px;
  font-style: italic;
}


.search-bar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 20px;
}

.search-bar-header input[type="text"] {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
}

.search-bar-header button {
  background-color: #ffa500;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-bar-header button:hover {
  background-color: #e69300;
}

/* Responsive: Hide search bar in mobile */






.text-content {
    width: 100%; /* Full width on mobile */
    margin: 20px; /* Consistent spacing around the text */
}

@media (min-width: 768px) {
    .text-content {
        max-width: 50%; /* Half width on larger screens */
    }
}

.text-content h1 {
    font-size: 3em;
    line-height: 1.2;
    color: #192a56;
}

.text-content h1 span {
    color: #ffa500;
}

.text-content p {
    font-size: 1.2em;
    color: #666;
    margin: 20px 0;
}

.image-content img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .image-content {
        max-width: 50%; /* Half width on larger screens */
    }
}

/* About section styles */
.about-section {
    max-width: 1250px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #fff;
    border: 2px solid #ffa500;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    text-align: center;
}

.image-about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.image-about-us img {
    width: 45%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ffa500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-us {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.about-us h2 {
    font-size: 2.5em;
    color: #192a56;
    text-align: center;
    margin-bottom: 10px;
}

.about-us h2 span {
    color: #ffa500;
}

.about-us .tagline {
    font-style: italic;
    color: #555;
    text-align: center;
    margin-bottom: 30px;
}

.about-us h4 {
    color: #ffa500;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.about-us p {
    font-size: 1.1em;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.about-us .highlight {
    background-color: #fff3e0;
    padding: 10px 15px;
    border-left: 5px solid #ffa500;
    border-radius: 4px;
    margin-bottom: 15px;
}

.custom-list {
    list-style: disc;
    padding-left: 20px;
    color: #444;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background-color: #ffa500;
    color: #fff;
    font-size: 1em;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #e69300;
    transform: translateY(-3px);
}





/* Responsive styles for about section */


    .image-about-us {
        margin-bottom: 20px;
    }

/* Training Section Style */
.training {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Change from fixed height to auto */
    max-width: 1240px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    background-image: url('../images/trainbg.jpg'); /* URL to the background image */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden; 
}
.training-list {
  list-style-type: disc;
  padding-left: 30px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.training-container h3 {
  color: #ffa500;
  margin-top: 30px;
  font-size: 1.3em;
}

.training-container {
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Enhances text readability */
    box-sizing: border-box; /* Includes padding in width calculation */
    margin-top: 150px;
}

.training-container h1 {
    margin-bottom: 20px;
    text-align: center;
    color: #ffa500;
    font-size: xx-large;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for better visibility */
}
.training-container p{
    text-align: justify;
}

.train {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.Train-item {
    border: 2px solid #ffa500;
    border-radius: 5px;
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s; /* Added transform to transitions */
    margin: 10px;
}

.Train-item:hover,
.Train-item.active {
    background-color: #ffa500;
    color: white;
    transform: scale(1.05); /* Scale effect on hover */
}

/* Responsive design adjustments */


    .training-container {
        padding: 10px; /* Less padding on smaller screens */
    }


@media (min-width: 601px) and (max-width: 1200px) {
    .Train-item {
        flex: 1 1 45%; /* Adjusting to two columns on mid-sized devices */
    }
}

@media (min-width: 1201px) {
    .Train-item {
        flex: 1 1 30%; /* Spacious three-column layout on large screens */
    }
}


/* Services section styles */
.services-section {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    border-radius: 10px;
    max-width: 1240px; /* Adjust the max-width as needed */
    border: 1px solid #e0e0e0; /* Matching border */
}

.services-section h1 {
    font-size: 2.5em;
    margin: 20px 0;
    color: #ffa500;
}

.services-section p {
    font-size: 1.2em;
    color: #666;
    margin: 0 20px;
    text-align: justify;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    border: 1px solid #e0e0e0; /* Matching border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 160px;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    margin: 15px 0;
    font-size: 1.2em;
}

.card p {
    padding: 0 15px;
    color: #666;
    font-size: 0.9em;
}

.card .btn {
    display: inline-block;
    margin: 15px 0;
    padding: 10px 20px;
    background: #ffa500;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card .btn:hover {
    background: #cc8400;
    transform: translateY(-3px);
}

/* Contact section styles */

.training-single {
  min-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  border-left: 6px solid #ffa500;
  font-family: 'Segoe UI', sans-serif;
}

.training-single h3 {
  text-align: center;
  color: #d9534f;
  margin-bottom: 30px;
  font-size: 1.8em;
}

.special-request-form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.special-request-form .form-row label {
  flex: 0 0 200px;
  font-weight: bold;
  margin-right: 10px;
}

.special-request-form .form-row input,
.special-request-form .form-row select,
.special-request-form .form-row textarea {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.special-request-form .form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.special-request-form .form-row button {
  padding: 12px 20px;
  background: #ffa500;
  color: white;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.special-request-form .form-row button:hover {
  background: #e69500;
  transform: translateY(-2px);
}
.contact-section {
    width: 100%;
    padding: 20px;
    background: linear-gradient(to bottom right, #ffffff 50%, rgb(18, 53, 248) 50%, rgb(18, 53, 248) 75%, #ffffff 75%);
    text-align: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin: auto;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-form .form-group {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form .form-group input {
    width: 48%;
}

.contact-form button {
    background-color: rgb(18, 53, 248);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #78a1ff;
}

h2 {
    color: #333;
}

/* Footer styles */
footer {
    background: #ddd9d9;
    padding: 20px 0;
    font-size: 16px;
    line-height: 1.5;
}

.footer-container {
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    padding: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column h3 {
    margin-bottom: 10px;
}

.footer-column a {
    color: #141313;
    text-decoration: none;
    margin: 5px 0;
}

.footer-column p {
    text-align: center;
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding: 10px;
}

/* Font Awesome Icons */
.fab {
    font-size: 20px;
    margin: 0 10px;
}

/* Adjustments for responsiveness */

/* CSS About Us Page */
.objectives-section {
    max-width: 1250px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.objectives-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    color: #ffa500;

}

.objective {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 8px;
}

.objective:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
}

.icon {
    flex: 0 0 50px;
    font-size: 2em;
    color: #ffa500;
    margin-right: 20px;
    text-align: center;
}

.content {
    flex: 1;
}

.content h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.content p {
    margin: 5px 0 0 0;
    color: #666;
}




/* CSS for Research Page */
.research-section {
    font-family: 'Arial', sans-serif;
    background: #fff;
    color: #333;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 80%;
    margin: auto;
    margin-bottom: 30px;
    text-align: center;
}

.research-section .research-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.research-section .research-header p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.research-section .research-content ul {
    list-style: none;
    padding: 0;
}

.research-section .research-content li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: start;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative; /* Necessary for pseudo-elements positioning */
}

.research-section .research-content li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.research-section .research-content li:hover::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.research-section .icon {
    font-size: 2rem;
    margin-right: 15px;
    display: inline-block;
    width: 60px;
}

.research-section .icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}
.ad-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #f4f4f4; /* Light grey background; adjust as needed */
    border-top: 1px solid #ccc; /* Optional border */
}

.ad-banner a {
    margin: 0 10px; /* Spacing between images */
    display: block;
}

.ad-banner img {
    width: auto;
    height: 100px; /* Example height, adjust as needed */
    max-width: 100%; /* Ensures image is responsive */
    display: block; /* Removes bottom space/gap */
}
/*technology transfer section*/
.technology-transfer-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #fefbf3;
}

.technology-transfer-card {
    max-width: 1250px;
    padding: 30px;
    background-color: #ffffff;
    border-left: 6px solid #ffa500;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.technology-transfer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.technology-transfer-card h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #192a56;
    display: flex;
    align-items: left;
    gap: 10px;
}

.tech-description {
    text-align: left;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
}

.tech-transfer-steps {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-transfer-steps li {
    font-size: 1.05em;
    color: #333;
    display: flex;
    align-items: left;
    background-color: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    min-width: 50%;
}

.tech-transfer-steps li:hover {
    background-color: #ffa500;
}

.tech-transfer-steps i {
    color: #ffa500;
    margin-right: 12px;
    font-size: 1.2em;
}



/*Project Section CSS Code */
 .projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff; /* White background */
    color: #333; /* Dark grey text for readability */
    font-family: 'Arial', sans-serif;
}

.projects-container h1 {
    text-align: center;
    color: #0056b3; /* Bright blue for headers */
    margin-bottom: 30px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.project {
    background: #f9f9f9; /* Light grey background for each project */
    border: 1px solid #ddd; /* Subtle border */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for aesthetic */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effects */
}

.project:hover {
    transform: translateY(-5px); /* Moves card up slightly on hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Enhanced shadow for lifted effect */
}

.project h2 {
    color: #0056b3; /* Dark blue for project titles */
    margin-bottom: 10px;
}

.project p {
    line-height: 1.6; /* Improved readability for descriptions */
    text-align: justify;
}

 
/*Blog page css code*/



.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.blog-post {
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.blog-post img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.blog-post img:hover {
    transform: scale(1.05);
}

.post-info {
    padding: 15px;
}

.post-info h3 {
    margin-top: 0;
    transition: color 0.3s;
}

.post-info h3:hover {
    color: #0077cc; /* Change color on hover */
}

.author {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.author p {
    margin: 0;
}

.social-stats {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.social-stats span {
    display: flex;
    align-items: center;
    transition: background-color 0.2s, transform 0.2s;
}

.social-stats span:hover {
    background-color: #e8e8e8;
    transform: translateY(-3px);
}

.social-stats i {
    margin-right: 5px;
}
.fade-in-section {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .fade-in-section.visible {
    opacity: 1;
  }
  .ad-banner-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    background-color: #fff;
  }
  
  .ad-banner-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: max-content;
  }
  
  .ad-banner-track a {
    flex: 0 0 auto;
  }
  
  .ad-banner-track img {
    height: 120px;
    width: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
  }
  
.section-heading {
    text-align: center;
    margin: 60px auto 30px;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.section-heading h1 {
    font-size: 2.2em;
    color: #d9534f;
    letter-spacing: 1px;
    font-weight: 600;
}

.section-heading i {
    margin-right: 10px;
    color: #ffa500;
}


/* Smooth continuous scrolling */
@keyframes scrollBanner {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.training-container h3 {
  color: #ffa500;
  margin-top: 30px;
  font-size: 1.5em;
  text-align: left;
}

.training-list {
  list-style-type: disc;
  padding-left: 30px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

/* Keep existing styles and overrides below as needed */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefbf3;
    overflow-x: hidden;
}

/* ... existing unchanged CSS remains below ... */
.card-summary {
  font-size: 0.95em;
  color: #555;
  margin: 10px 0;
  text-align: justify;
  padding: 0 10px;
}

.large-icon-btn {
  display: inline-block;
  font-size: 1.2em;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #ffa500;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.large-icon-btn:hover {
  transform: scale(1.05);
  background-color: #e69300;
}
.btn.apply-icon-btn {
  background-color: #28a745;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 1em;
  padding: 8px 16px;
  display: inline-block;
}

.btn.apply-icon-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}


/* Left-align training section headings and enlarge icons */
.training-container h3 {
  margin-top: 30px;
  font-size: 1.5em;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.training-container h3::before {
  content: attr(data-icon);
  font-size: 1.8em;
  margin-right: 10px;
  color: #ffa500;
  display: inline-block;
  transform: translateY(2px);
}

.training-list {
  list-style-type: disc;
  padding-left: 30px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

/* Full-width card layout for vertical training sections */
.training-single {
  max-width: 1250px;
  margin: 30px auto;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-single:hover {
  transform: scale(1.015);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15), 0 0 0 2px rgba(255,165,0,0.2);
}

.training-single img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.training-single h3 {
  font-size: 1.6em;
  color: #192a56;
  margin-bottom: 10px;
}

.training-single p {
  font-size: 1em;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.training-single .btn {
  display: inline-block;
  margin-top: 15px;
  font-size: 1.1em;
  padding: 10px 20px;
  background-color: #ffa500;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.training-single .btn:hover {
  background-color: #e69300;
  transform: scale(1.05);
}

.btn.apply-icon-btn {
  background-color: #28a745;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 1em;
  padding: 8px 16px;
  display: inline-block;
}

.btn.apply-icon-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

/* Keep existing styles and overrides below as needed */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefbf3;
    overflow-x: hidden;
}

/* ... existing unchanged CSS remains below ... */

/* background-image: url("IMAGE/images-35.jpg"); */



/* Technology Transfer Section */
.technology-transfer-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.technology-transfer-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #d9534f;
}

.tech-transfer-steps {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
}

.tech-transfer-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-transfer-steps i {
    color: #d9534f;
}

/* Banner Section */
.ad-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
}

.ad-banner img {
    max-height: 150px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.ad-banner img:hover {
    transform: scale(1.05);
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1 1 200px;
    margin: 20px;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #ffa500;
}

.footer-column a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    border-top: 1px solid #555;
    padding-top: 10px;
}


.training-single:first-of-type {
  margin-top: 80px;
}

.news-slider-frame {
  width: 100%;
  overflow: hidden;
  background-color: #fffef0;
  border-bottom: 2px solid #d49900;
  padding: 12px 0;
  position: relative;
  z-index: 999;
}
.news-slider {
  display: inline-block;
  white-space: nowrap;
  animation: slide-news 25s linear infinite;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.news-slider a {
  color: #0077cc;
  text-decoration: none;
  margin-right: 60px;
}
.news-slider a:hover {
  text-decoration: underline;
}
@keyframes slide-news {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Toolbar Frame */
.toolbar-frame {
  background: #fffdf5;
  padding: 20px 20px;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.toolbar-frame ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.toolbar-frame .nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.toolbar-frame .nav-link:hover {
  background-color: #ffe6b3;
}

.toolbar-frame .nav-link.active {
  background-color: #ffa500;
  color: white;
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.3);
}

/* Toolbar frame with boxed tabs */
.toolbar-frame {
  background-color: #fffdf5;
  padding: 10px 15px;
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.toolbar-frame ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.toolbar-frame .nav-link {
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
}

.toolbar-frame .nav-link:hover {
  background-color: #ffe6b3;
  color: #000;
}

.toolbar-frame .nav-link.active {
  background-color: #ffa500;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
}

/* News ticker area */
.news-ticker {
  background-color: #003366;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: 8px 20px;
  border-left: 6px solid #ffa500;
  color: white;
  font-size: 0.95em;
  top: 150px;       /* عيّن هنا ارتفاع الهيدر بالبيكسل */
  width: 100%;
  z-index: 1001;   /* أعلى من الهيدر */
  position: fixed;

}

.ticker-track {
  display:block;
  animation: scrollTicker 60s linear infinite;
}

.news-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track a {
  color: #fff;
  text-decoration: none;
  margin-right: 60px;
  font-weight: 500;
}

.ticker-track a:hover {
  text-decoration: underline;
}

/* Slower ticker animation */
@keyframes scrollTicker {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.square-bullets {
  list-style-type: square;
  margin-left: 20px;
  padding-left: 10px;
}

.square-bullets li {
  margin-bottom: 10px;
}
.training-single {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  flex-wrap: wrap;
}

.training-single img {
  width: 300px;
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  order: 2; /* ensures image stays on the right */
}

.training-single-content {
  flex: 1;
  min-width: 250px;
}

.training-single-content h3 {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
}

.training-single-content p {
  font-size: 1em;
  line-height: 1.6;
}

.training-single-content .btn {
  margin: 8px 10px 0 0;
  display: inline-block;
  font-size: 0.95em;
  padding: 8px 14px;
  border-radius: 5px;
}

/* ===== Merged Responsive Media Queries ===== */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .toolbar-frame {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 10px 0;
    margin-top: 10px;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .toolbar-frame {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 10px 0;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .logo-content {
    margin-left: 0;
    margin-top: 20px;
  }
  .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
  .logo-content {
        margin-top: 20px;
        padding-left: 0;
    }
  .search-bar-header {
    display: none;
  }
  .image-about-us img {
        width: 90%;
        height: 200px;
    }
  .about-us {
        padding: 0 10px;
    }
  .about-section {
        flex-direction: column;
    }
  .about-us {
        padding: 20px;
    }
  .footer-container {
        flex-direction: column;
        align-items: center;
    }
  .objective {
        flex-direction: column;
        align-items: flex-start;
    }
  .icon {
        margin-bottom: 10px;
    }
  .project-list {
        grid-template-columns: 1fr; /* Full width on smaller screens */
    }
}

@media (max-width: 600px) {
  .train {
        flex-direction: column;
    }
  .Train-item {
        width: 80%; /* Full width on small screens */
        margin: 5px 0; /* Reduced margin for compact layout */
    }
}


/* ============================= */
/* 💻 Responsive Fix for Desktop */
/* ============================= */
@media (min-width: 769px) {
  .toolbar-frame {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent;
    margin-top: 0;
  }

  .toolbar-frame ul {
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .search-bar-header {
    display: flex !important;
  }

  .hamburger {
    display: none !important;
  }
}



/* تأكيد بقاء التيكر أسفل الهيدر دائمًا */
.news-ticker {
  position: fixed;
  top: auto;
  bottom: auto;
  width: 100%;
  z-index: 998;
  margin-top: 70px; /* يظهر بعد الهيدر */
}

/* تعديل عند فتح القائمة في الجوال */
@media (max-width: 768px) {
  .toolbar-frame.open + .news-ticker {
    margin-top: 10px !important;
    position: relative !important;
  }

  .toolbar-frame.open {
    margin-bottom: 0;
  }
}

/* ============================= */
/* 🖼️ تنسيق أقسام الصفحة الرئيسية */
/* ============================= */

.section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff;
  border: 2px solid #ffa500;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .section {
    margin: 20px 10px;
    padding: 15px;
  }
}

/* === Homepage Section Fixes === */


.news-ticker {
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #003366;
  padding: 8px 20px;
}

/* عند فتح القائمة على الجوال */
@media (max-width: 768px) {
  .toolbar-frame.open ~ .news-ticker {
    position: relative !important;
    top: auto !important;
    margin-top: 10px;
  }
}

/* ========================================= */
/* ✅ تنسيق ثابت لكل الأقسام في الصفحة الرئيسية */
/* ========================================= */
.section, .about-section, .objectives-section, .technology-transfer-wrapper {
  max-width: 1250px;
  margin: 40px auto;
  padding: 30px 20px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 12px;
}

/* توحيد الصور داخل الأقسام */
.image-about-us img {
  width: 100%;
  max-width: 550px;
  object-fit: cover;
  border-radius: 10px;
}

.image-about-us {
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  display: flex;
  margin-bottom: 30px;
}

/* ترتيب المسافات بين الأقسام */
.about-section + .objectives-section,
.objectives-section + .technology-transfer-wrapper {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .about-section,
  .objectives-section,
  .technology-transfer-wrapper
  {
    margin-left: 50px;
    padding-left: 10px;
    padding-right: 10px;
    width: 400px;
    
  }
}

@media (max-width: 768px) {
  .footer-container {
    margin-left: 50px;
    padding-left: 10px;
    padding-right: 10px;
    width: 600px;
    
  }
}
  .image-about-us img {
    width: 90%;
    height: auto;
  }


/* ==========================================
   Responsive Overrides – generated 2025-05-05
   These rules override fixed widths, margins,
   and paddings that restrict full‑width
   display on small screens (≤768 px).
   Adjust breakpoints or selectors as needed.
=========================================== */
@media (max-width: 768px) {

  /* Ensure main wrappers fill the viewport */
  .container,
  .wrapper,
  .content,
  .toolbar-frame,
  .section,
  .about-section,
  .objectives-section,
  .technology-transfer-wrapper,
  .full-width-hero,
  header,
  footer {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
  }

  /* Reduce horizontal padding to prevent overflow */
  body,
  .section,
  header,
  footer {
      padding-left: max(2vw,10px) !important;
      padding-right: max(2vw,10px) !important;
  }

  /* Media should scale fluidly */
  img,
  video,
  iframe {
      height: auto !important;
      max-width: 100% !important;
  }

  /* Override inline or fixed widths */
  *[style*="width:"],
  *[style*="max-width:"] {
      width: auto !important;
      max-width: 100% !important;
  }
}
