/* BASIC */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background: #e8f0fa;
  font-family:sans-serif;
}

/* GLOBAL CONTAINER (for services, company, contact) */
.container {
  max-width: 1200px;
  max-width: 1200px;
  margin: 0px auto;
  background: #fff;
  padding: 10px 40px;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* HEADER */
header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* NAV WRAPPER (1280px total width) */
#nav-wrapper {
  max-width: 1280px;
  margin: auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.logo img {
  height: 55px;
  width: auto;
}

/* NAVIGATION */
#navList {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: 12px;
}

#navList a {
  text-decoration: none;
  color: #005bac;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
}

#navList a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #005bac;
  transition: width 0.25s ease;
}

#navList a:hover::after {
  width: 100%;
}

/* SLIDER WRAPPER (1280px total width) */
#slider-wrapper {
  max-width: 1280px;
  margin: auto;
}

/* SLIDER */
.slider {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 6px;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 0.8s;
}

.slide {
  position: absolute;
}

/* Text box inside slide */
.slide-text {
  position: absolute;
  right: 50px;       
  top: 25%;
  transform: translateY(-50%);
  color: #fff;
  text-align: center;
  max-width: 40%;
  font-size: 1.5rem;
  line-height: .8;
  font-weight: 600;
  z-index: 10;
  padding: 12px 16px;
  opacity: 0;
  transition: all 0.8s ease;
}

/* When slide becomes active → animate text */
.slide.active .slide-text {
  opacity: 1;
  transform: translateX(0);
}

.slide.active {
    opacity: 1;
}

.slider-arrows span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  padding: 0 5px;
  user-select: none;
}

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

.dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.5;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.dots .active {
  opacity: 1;
}

/* SECTION BOXES (1200px + 40px padding = 1280px total) */
.section {
  padding: 40px 0;
}

.section .container {
  max-width: 1200px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-left: 4px solid #005bac;
  padding-left: 8px;
}

/* NEWS SECTION (already correct 1280px total width) */
#container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.left {
  flex: 2;
}

.main-copy h1 {
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.main-copy p {
  font-size: 17px;
  line-height: 1.7;
}

.topics {
  margin-top: 30px;
  border: 2px solid #c7d7f5;
  padding-top: 20px;
  padding: 8px 16px;
  background: #e6f0ff;   /* pale blue */
  padding: 20px;
  border-radius: 10px;
  counter-reset: topic-counter;
 
}

/* Topic item as a link */
.topic-item {
  display: block;
  position: relative;
  padding: 8px 12px 8px 32px; /* space for number */
  margin-bottom: 16px;
  counter-increment: topic-counter;
  text-decoration: none;
  color: #dc2121;
  font-size: 15px;
}

/* Number before each item */
.topic-item::before {
  content: counter(topic-counter) ".";
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: bold;
  color: #005bac;
}

/* Notebook-style underline */
.topic-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #ccc;
}

.topic-item:hover { 
  color: #005bac; 
}

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

.topics h2 {
  font-size: 18px;
  margin-bottom: 10px;
  margin-top: 0; 
  color: #005bac;
  background: #a09297;   /* choose your color */    
  padding: 8px 12px;     /* spacing */
  border-radius: 6px;    /* optional rounded corners */
  margin: 0 0 12px 0;  
}

/* Auto‑Scrolling News Bar */
/* Auto‑Scrolling News Bar */
.news-content {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #1e3a8a;
  padding: 8px 0;
  border-radius: 6px;
}

.news-content a {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 20s linear infinite;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card,
.sdgs {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.img-normal,
.img-hover {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}

.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.card:hover .img-normal,
.sdgs:hover .img-normal {
  opacity: 0;
}

.card:hover .img-hover,
.sdgs:hover .img-hover {
  opacity: 1;
}

/* Blog Preview */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.blog-preview-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding-bottom: 20px;
}

.blog-preview-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-preview-card h3 {
    margin: 15px;
    color: #003f7d;
}

.blog-text {
    margin: 10px 15px 20px;
    font-size: 15px;
    line-height: 1.6;
}

.blog-btn {
    margin-left: 15px;
    padding: 8px 14px;
    background: #005bac;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.blog-btn:hover {
    background: #003f7d;
}

/* Lightbox*/
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}
.lightbox-btn {
    position: absolute;
    background: rgba(255,255,255,0.85);
    border: none;
    padding: 12px 18px;
    font-size: 26px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    z-index: 10000;
}

.lightbox-btn:hover {
    background: rgba(255,255,255,1);
}

/* Close button */
.close-btn {
    top: 20px;
    right: 20px;
}


/* footer */
.footer {
  background: #003f7d;
  color: #fff;
  padding: 0px 0px 10px;
  margin-top: 0px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* only 2 columns now */
  gap: 10px;
  padding: 0 20px;
  justify-items: center; /* centers each column */
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 0px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a {
  color: #cfe2ff;
  text-decoration: none;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 10px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* LANGUAGE CHANGE */
.lang-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #005bac;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.lang-floating a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.lang-floating a:hover {
    text-decoration: underline;
}

 /* Fullscreen Viewer */
.viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.viewer img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-btn, .prev-btn, .next-btn {
  position: absolute;
  color: black;
  font-size: 30px;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  background: white;
 padding: 5px 10px 5px;
}

.close-btn {
  top: 20px;
  right: 30px;
}

.prev-btn {
  left: 40px;
}

.next-btn {
  right: 40px;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop:Image RESPONSIVE*/
@media (min-width: 769px) {
  .right {
    flex: 1;               /* smaller column */
    max-width: 300px;      /* adjust size here */
  }

  .right img {
    width: 100%;
    height: auto;
  }
  
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 6px 0;
    }

  body {
    padding-top: 70px; /* height of your header */
  }

  .logo img {
    height: 40px;
  }

  #navList {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #e8f0fa;
    padding: 8px 0;
    position: absolute;
    top: 55px;
    left: 0;
    border-bottom: 1px solid #ddd;
  }

  #navList.show {
    display: flex;
  }

  #navList a {
    padding: 12px 20px;
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: block;
    margin-right: 15px;
  }
  
 .menu-toggle::before {
   content: "☰"; 
   font-size: 28px; 
   color: #333; 
  }
 .business-grid {
    grid-template-columns: 1fr;
  }

 .slider {
    height: 250px;
  } 
  
  /* Stack the whole news section vertically */
  #container {
    flex-direction: column;
  }

  /* LEFT becomes a vertical stack */
  .left {
    display: flex;
    flex-direction: column;
    order: 1;
  }

  /* Move images directly under the text */
  .right {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }

  /* Topics appear last */
  .topics {
    order: 3;
    margin-top: 20px;
  }
  /* FOOTER RESPONSIVE */

  .footer-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }

  /* Show FULL image instead of cropped center */
  .slide {
    background-position: center left !important;
  }

  .slide-text {
    right: 35px;       
    color: #fff;
    font-size: .9rem;
    line-height: .9;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.35);
  }
}


  /* REMOVE LEFT & RIGHT SPACE ON SMARTPHONES */
@media (max-width: 600px) {
  body, html {
    overflow-x: hidden !important;
  }

  /* Remove container padding */
  .container,
  .section .container,
  .gallery-container,
  .gallery-container2,
  .product-container,
  .contact-form {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #container {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .left,
  .right {
    padding: 0 !important;
  }
  /* Reduce outer margins */
  .section,
  .section-block,
  .product-container,
  .gallery-container,
  .gallery-container2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Make images full width */
  img,
  .title-img,
  .product-photo,
  .gallery-grid img {
    border-radius: 0 !important;
    width: 100% !important;
  }

  /* Make grids touch the edges */
  .gallery-grid,
  .service-grid,
  .process-box,
  .benefit-grid,
  .blog-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  /* Fix contact form overflow */
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box;
  }

  .form-group {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    box-sizing: border-box;
  }

  .form-group input,
  .form-group textarea {
    width: 100% !important;
    box-sizing: border-box;
  }

  .footer {
    padding: 0 0 10px;
  }
  .slide-text {
    right: 35px;       
    font-size: .9rem;
  }

}



    

    




  




