
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; 
  }


/*Header*/

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Fjalla One';
  }

  .navbar img {
    height: 80px;
    width: 100px;
  }

  .menu {
    display: flex;
    gap: 20px;
    padding-right: 50px ;
    font-family: 'Fjalla One';
  }

  .menu a {
    text-decoration: none;
    color: #002e6d;
    padding: 10px 15px;
    position: relative;
    
  }

  .menu a::after {
    text-decoration: underline #002e6d;
    
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    transition: width 0.3s ease;
  }

  .menu a:hover {
    text-decoration: underline #c7ccd3;
    border: 5px;
  }

  .dropdown {
    position: relative;
    font-family: 'Fjalla One';
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1001;
  }

  .dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color:#002e6d;
    white-space: nowrap;
  }

  .dropdown-content a:hover {
    background-color: white;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .content {
    padding-top: 10px;
  }

   /* ==== Slideshow ==== */
   .slideshow-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .mySlides {
    display: none;
    height: 100vh;
  }

  .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Arrows */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -22px;
    color: #002e6d;
    font-weight: bold;
    font-size: 24px;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    z-index: 1000;
  }

  .next { right: 20px; }
  .prev { left: 20px; }

  .prev:hover, .next:hover {
    background-color: rgba(15, 15, 15, 0.7);
  }

  /*  image-row  */
  .logo-bar {
    background-color: #002e6d; 
    padding: 40px 20px;
  }

  .logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
  }

  .logo-row img {
    height: 110px; 
    object-fit: contain;
    filter: brightness(100%) contrast(100%);
  }

  /*  End image row */

  .section {
    display: flex;
    flex-direction: row-reverse; 
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 150px 40px;
    flex-wrap: wrap;
    background-color: #222; 
    border-bottom: 1px solid #444;
    
  }
  
  .img_M {
    flex: 1;
    max-width: 70%;
  }
  
  .img_M img {
    width: 60%;
    height: 100%;
    border-radius: 10px;
  }
  
  .text {
    flex: 1;
    max-width: 50%;
    text-align: left;
    direction: ltr;
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    padding-left: 150px;
  }
  

/*END IMG*/

/*     timeline     */

.timeline {
    position: relative;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 60px 40px;
    box-sizing: 50px border-box;
  }

  .timeline-line {
    position: absolute;
    top: 100px;
    left: 0;
    width: calc(300px * 16 + 60px * 15);
    height: 10px;
    background-color: #002e6d;
    z-index: 0;
  }

  .timeline-item {
    display: inline-block;
    vertical-align: top;
    width: 300px;
    margin-right: 60px;
    position: relative;
    opacity: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    transform: translateY(30px);
  transition: all 0.6s ease;
    
  }

  .timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-year {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(15, 13, 13);
    align-items: center;
  }

  .timeline-box {
    background-color: #ffffff;
    color: #000;
    padding:  50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    position: relative;
    z-index: 1;
    
    overflow-wrap: break-word;   
    word-wrap: break-word;       
    white-space: normal;         
    overflow: hidden;            
    
  }


  .timeline-box p {
    font-size: 15px;
    line-height: 1.6;
  }
 
/* === Responsive Adjustments for Mobile Devices === */
@media (max-width: 768px) {

  body {
    font-size: 16px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .navbar img {
    height: 60px;
    width: auto;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
    width: 100%;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }

  .slideshow-container,
  .mySlides {
    height: 60vh;
  }

  .mySlides img {
    object-fit: cover;
  }

  .prev,
  .next {
    font-size: 18px;
    padding: 12px;
  }

  .logo-bar {
    padding: 20px 10px;
  }

  .logo-row {
    gap: 30px;
  }

  .logo-row img {
    height: 60px;
  }

  .section {
    flex-direction: column;
    gap: 40px;
    padding: 80px 20px;
    text-align: center;
  }

  .img_M {
    max-width: 100%;
    text-align: center;
  }

  .img_M img {
    width: 90%;
  }

  .text {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .timeline {
    padding: 30px 20px;
  }

  .timeline-line {
    top: 80px;
    height: 5px;
    width: 200%;
  }

  .timeline-item {
    width: 250px;
    margin-right: 20px;
  }

  .timeline-box {
    padding: 30px;
  }

  .timeline-year {
    font-size: 20px;
  }

  .timeline-box p {
    font-size: 14px;
  }
}
