/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* === Top Bar === */
.top-bar {
  background-color: #012B44;
  color: white;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  font-size: 0.9rem;
  overflow: hidden;
  position: relative;
}

.top-bar .logo {
  z-index: 2;
  margin-right: 20px;
}

.top-bar .logo img {
  height: 140px;
}

.top-bar a {
  color: #F2A900;
}

.top-bar a:hover {
  text-decoration: underline;
}

.marquee-container {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
  white-space: nowrap;
  font-weight: bold;
  color: #F2A900;
  font-size: 1.3rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
  }

  .top-bar .logo {
    margin-bottom: 0.5rem;
  }

  .marquee-text {
    font-size: 1rem;
  }
}

/* === Header & Navigation === */
header {
  background-color: #012B44;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 10;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
  background-color: #013b5a;
  padding: 0.5rem 1rem;
  border-radius: 12px;
}

.nav-links li a {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

.nav-links li a.active {
  background-color: #026aa7;
}

.nav-links li a:hover {
  background-color: #d98c00;
  color: white;
}

.contact-button {
  background-color: #F2A900;
  color: #012B44;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

.contact-button:hover {
  background-color: #d98c00;
  color: white;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #012B44;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-radius: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    padding: 1rem;
    border-radius: 0;
  }

  .contact-button {
    display: inline-block;
    margin-top: 0.5rem;
  }
}

/* === Banner === */
.banner-image {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(1, 43, 68, 0.6);
  padding: 2rem;
  border-radius: 10px;
}

.banner-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.banner-text .btn {
  background-color: #026aa7;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.banner-text .btn:hover {
  background-color: #d98c00;
}

/* === Card === */
.card {
  background: white;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-left: 6px solid #F2A900;
  max-width: 800px;
}

.card h2 {
  color: #012B44;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* === Tiles === */
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem;
  justify-content: center;
}

.tile {
  flex: 0 0 calc(33.333% - 1rem);
  background: white;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.tile h3 {
  color: #012B44;
  margin-bottom: 0.5rem;
}

.tile p {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .tile {
    flex: 1 1 100%;
  }
}

/* === Document Buttons === */
.doc-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* === Button === */
.button {
  display: inline-block;
  background-color: #012B44;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #014f7a;
}

/* === Slideshow === */
.slideshow-container {
  position: relative;
  margin: 2rem auto;
  max-width: 1000px;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.caption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  background: rgba(1, 43, 68, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  max-width: 90%;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 10px;
}

.prev { left: 0; }
.next { right: 0; }

/* === Footer === */
footer {
  background-color: #012B44;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
  text-align: left;
  padding: 0 1rem;
}

.footer-columns div {
  flex: 1 1 22%;
  min-width: 220px;
}

.footer-columns h4 {
  color: #F2A900;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-columns p {
  line-height: 1.5;
  font-size: 0.95rem;
}

footer a {
  color: #F2A900;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

footer .copyright {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #ddd;
  max-width: 800px;
  margin: auto;
  line-height: 1.4;
}

footer .footer-columns div p a {
  color: white;
  transition: color 0.3s;
}

footer .footer-columns div p a:hover {
  color: #F2A900;
}

@media (max-width: 992px) {
  .footer-columns div {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-columns div {
    flex: 1 1 100%;
  }
}

/* === Contact Form === */
form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #012B44;
}

form input, form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

form input:focus, form textarea:focus {
  border-color: #026aa7;
  box-shadow: 0 0 5px rgba(2,106,167,0.4);
  outline: none;
}

form .btn {
  background-color: #026aa7;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  align-self: flex-start;
  transition: background-color 0.3s, transform 0.2s;
}

form .btn:hover {
  background-color: #d98c00;
  transform: translateY(-2px);
}

form .btn:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  form {
    padding: 0 1rem;
  }

  form .btn {
    width: 100%;
    text-align: center;
  }
}

.content-pair {
  display: flex;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  flex-wrap: wrap;
}

.content-pair .card,
.content-pair .tile {
  flex: 1;
  min-width: 300px;
}

.card, .tile {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* === Projects Page Styling === */
.projects-section {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
  text-align: center;
  border-left: 6px solid #F2A900;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #012B44;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: white;
  background: #026aa7;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.project-card a:hover {
  background-color: #d98c00;
}

/* === Swiper Slideshow === */
.swiper {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
}

.swiper-slide img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #012B44;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #F2A900;
}

/* Pagination bullets */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #026aa7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .swiper {
    max-width: 100%;
    margin: 1.5rem auto;
  }
}

/* === Shared Swiper Section Styling for Chutes, Liners, Shaft === */
.chutes-showcase,
.liners-showcase,
.shaft-showcase {
  padding: 0;
  margin: 0;
  text-align: center;
  background-color: #ffffff;
}

.chutes-showcase h2,
.liners-showcase h2,
.shaft-showcase h2 {
  font-size: 2.5rem;
  margin-top: 2rem;
  color: #012B44;
  font-weight: bold;
}

.chutes-showcase p,
.liners-showcase p,
.shaft-showcase p {
  font-size: 1.2rem;
  color: #555;
  margin: 0.5rem auto 2rem;
  max-width: 800px;
  padding: 0 1rem;
}

.chutes-showcase .swiper,
.liners-showcase .swiper,
.shaft-showcase .swiper {
  width: 100vw;
  height: 90vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.chutes-showcase .swiper-slide,
.liners-showcase .swiper-slide,
.shaft-showcase .swiper-slide {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chutes-showcase .swiper-slide img,
.liners-showcase .swiper-slide img,
.shaft-showcase .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Swiper navigation */
.chutes-showcase .swiper-button-next,
.chutes-showcase .swiper-button-prev,
.liners-showcase .swiper-button-next,
.liners-showcase .swiper-button-prev,
.shaft-showcase .swiper-button-next,
.shaft-showcase .swiper-button-prev {
  color: #fff;
}

.chutes-showcase .swiper-button-next:hover,
.chutes-showcase .swiper-button-prev:hover,
.liners-showcase .swiper-button-next:hover,
.liners-showcase .swiper-button-prev:hover,
.shaft-showcase .swiper-button-next:hover,
.shaft-showcase .swiper-button-prev:hover {
  color: #F2A900;
}

/* Swiper pagination */
.chutes-showcase .swiper-pagination-bullet,
.liners-showcase .swiper-pagination-bullet,
.shaft-showcase .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.chutes-showcase .swiper-pagination-bullet-active,
.liners-showcase .swiper-pagination-bullet-active,
.shaft-showcase .swiper-pagination-bullet-active {
  background: #026aa7;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .chutes-showcase h2,
  .liners-showcase h2,
  .shaft-showcase h2 {
    font-size: 2rem;
  }

  .chutes-showcase p,
  .liners-showcase p,
  .shaft-showcase p {
    font-size: 1rem;
  }

  .chutes-showcase .swiper,
  .liners-showcase .swiper,
  .shaft-showcase .swiper {
    height: 70vh;
  }
}

/* === Admin Login Form Styling === */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 1rem;
    background-color: #f9f9f9;
}

.admin-login-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border-left: 6px solid #F2A900;
}

.admin-login-form h2 {
    color: #012B44;
    margin-bottom: 1rem;
}

.admin-login-form input[type="text"],
.admin-login-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.admin-login-form input[type="text"]:focus,
.admin-login-form input[type="password"]:focus {
    border-color: #026aa7;
    box-shadow: 0 0 5px rgba(2,106,167,0.4);
    outline: none;
}

.admin-login-form button {
    background-color: #026aa7;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.admin-login-form button:hover {
    background-color: #d98c00;
    transform: translateY(-2px);
}

.admin-login-form button:active {
    transform: translateY(0);
}

.admin-login-form p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* === Admin Dashboard === */
.admin-dashboard-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
}

.admin-dashboard-container h2 {
  color: #012B44;
  margin-bottom: 1rem;
  text-align: center;
}

.admin-dashboard-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  background: white;
  font-size: 0.95rem;
}

.admin-dashboard-table th,
.admin-dashboard-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.admin-dashboard-table th {
  background-color: #012B44;
  color: white;
}

.admin-dashboard-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.delete-button {
  color: red;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.delete-button:hover {
  text-decoration: underline;
  color: darkred;
}

@media (max-width: 768px) {
  .admin-dashboard-table {
    font-size: 0.9rem;
    overflow-x: auto;
    display: block;
  }
}

        .logout-container {
            max-width: 400px;
            margin: 100px auto;
            background: #fff;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            border-left: 6px solid #F2A900;
        }

        .logout-container h2 {
            color: #012B44;
            margin-bottom: 1rem;
        }

        .logout-container p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        .logout-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .logout-buttons a {
            background-color: #026aa7;
            color: #fff;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: background 0.3s;
        }

        .logout-buttons a:hover {
            background-color: #d98c00;
        }