/* ============================
   Global Styles
============================ */

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #ffffff;
  background-image: url('iStock-1246619056.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.6;
}

a {
  color: #cce6ff;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  margin-top: 0;
}

p {
  color: #ffffff;
}

/* ============================
   Header & Navigation
============================ */

header {
  background: transparent !important;
  padding: 40px 20px 20px;
  color: #ffffff;
}

/* Three-column table: logo | title | flag */
.header-table {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 10px auto;
}

.header-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* equal columns */
}

.header-cell {
  width: 33.33%;
  text-align: center;
  vertical-align: middle;
  padding: 5px 0;
}

/* Logo and Flag */
.logo {
  height: 60px;
  max-height: 10vh;
  filter: brightness(0) invert(1); /* makes dark FPSO1.png white */
}

.flag-icon-right {
  height: 32px;
  max-height: 6vh;
  border-radius: 2px;
}

/* Title */
.header-table h1 {
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: 1px;
}

.header-table p {
  margin: 4px 0 0 0;
  font-size: 1rem;
  color: #e5f1ff;
}

/* Navigation */
nav {
  text-align: center;
  margin-top: 10px;
}

nav a {
  display: inline-block;
  margin: 0 12px;
  font-weight: 500;
}

/* ============================
   Main Content
============================ */

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 40px;
  background: transparent !important;
}

h2 {
  border-bottom: 2px solid #cce6ff;
  padding-bottom: 4px;
  margin-bottom: 16px;
  display: inline-block;
}

/* ============================
   Slideshow
============================ */

.slideshow-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  margin: 25px auto 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slide {
  width: 100%;
  text-align: center;
  display: none;
}

.slide img {
  width: 60%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
}

.slide:first-child {
  display: block;
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* ============================
   Contact Form
============================ */

form {
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
}

label {
  display: block;
  margin: 12px 0 6px;
  color: #ffffff;
}

input, textarea {
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid #557a9c;
  border-radius: 6px;
  color: #ffffff;
}

button {
  margin-top: 15px;
  padding: 12px 20px;
  background: #0055a5;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
}

button:hover {
  background: #0077cc;
}

/* ============================
   Footer
============================ */

footer {
  text-align: center;
  padding: 18px 10px 22px;
  color: #ffffff;
  background: transparent !important;
}

footer a {
  color: #cce6ff;
}

/* ============================
   Responsive Design
============================ */

@media (max-width: 900px) {
  .header-table h1 { font-size: 1.8rem; }
  .slide img { width: 80%; }
}

@media (max-width: 768px) {

  .header-table table,
  .header-table tr,
  .header-table td {
    display: block;
    width: 100%;
  }

  .header-cell {
    padding: 10px 0;
  }

  .logo {
    height: 55px;
  }

  .flag-icon-right {
    height: 28px;
  }

  .header-table h1 {
    font-size: 1.6rem;
  }

  .header-table p {
    font-size: 0.9rem;
  }

  .slide img {
    width: 90%;
  }
}
.summary-logos {
  display: flex;
  gap: 0px;
  margin: 15px 0 25px 0;
  align-items: center;
  flex-wrap: wrap;
}

.summary-logos img {
  height: 80px;          /* Adjust size */
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.summary-logos img:hover {
  transform: scale(1.15);
  opacity: 1;
}