﻿* {
  margin: 0;
  padding: 0;
}

.navbar-style {
  text-transform: uppercase;
}

.logo {
  height: 80px;
  padding: 12px 10px;
}

.icon-bar {
  background: #4682b4;
  margin-top: 20px;
}

li a {
  color: #000000;
  margin: 10px 5px;
  font-family: "Exo 2", sans-serif;
  margin-top: 25px;
}

li a:hover {
  background: #4682b4;
  border: none;
  color: #04070a;
  transition: 0.5s;
}

/* FIRST SECTION BACKGROUND */

.background {
  background-image: url("assets/homepage/fly.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding-left: 8vw;
  margin: 0;
  border-bottom-right-radius: 25px;
  z-index: 5;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .background {
    height: 80vh;
    padding-left: 7vw;
  }
}

@media (max-width: 992px) {
  .background {
    height: 70vh;
    padding-left: 7vw;
  }
}

@media (max-width: 768px) {
  .background {
    height: 60vh;
    border-bottom-right-radius: 15px;
    padding-left: 6vw;
  }
}

@media (max-width: 576px) {
  .background {
    height: 50vh;
    padding-left: 6vw;
    box-sizing: border-box;
  }
}

.row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px;
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  overflow: hidden;
  margin-left: 8vw;
}

.row h1 {
  color: rgb(46, 45, 45);
  font-size: 3.5vw;
  font-family: "Exo 2", sans-serif;
  line-height: 1.2;
  margin-bottom: 10px;
  margin-top: 0;
  overflow: hidden;
}

.row p {
  color: rgb(46, 45, 45);
  font-size: 1.2vw;
  font-family: "Exo 2", sans-serif;
  margin-bottom: 10px;
  margin-top: 0;
  overflow: hidden;
}

.button-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  overflow: hidden;
  margin-top: 5px;
}

a.btn {
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  text-align: center;
  min-width: 120px;
  box-sizing: border-box;
  font-size: 1vw;
  overflow: hidden;
}

a.btn-first {
  background: transparent;
  border: 0.1em solid #4682b4;
  color: rgb(15, 15, 15);
}

a.btn:hover {
  background: #4682b4;
  border: none;
  color: #fff;
  transition: 0.5s;
}

@media (max-width: 992px) {
  .row {
    width: 95%;
    margin-left: 9vw;
  }

  .row h1 {
    font-size: 4.5vw;
  }

  .row p {
    font-size: 1.5vw;
  }
}

@media (max-width: 768px) {
  .row {
    width: 95%;
    margin-left: 10vw;
  }

  .row h1 {
    font-size: 5vw;
  }

  .row p {
    font-size: 1.8vw;
  }
}

@media (max-width: 576px) {
  .row {
    width: 100%;
    margin-left: 12vw;
  }

  .row h1 {
    font-size: 6vw;
  }

  .row p {
    font-size: 2.5vw;
  }

  .button-container {
    flex-direction: column;
    gap: 10px;
  }

  a.btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
    text-align: center;
  }
}

/* JAMCO HISTORY - ANIMATED TEXT */

@keyframes slide-up {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.title-background {
  background: #4682b4;
  z-index: 4;
  border-bottom-right-radius: 20px;
  position: relative;
  padding-bottom: 20px;
  overflow: hidden;
}

.title-container {
  text-align: center;
  padding: 20px;
}

.title {
  position: relative;
  text-align: center;
  padding: 20px;
}

.title h1 {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.title:before,
.title:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.title:before {
  left: -105%;
  transform: translateY(-50%);
}

.title:after {
  right: -105%;
  transform: translateY(-50%);
}

@media (max-width: 1200px) {
  .title h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .title h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 1.5rem;
  }

  .title:before,
  .title:after {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .title h1 {
    font-size: 1.2rem;
  }

  .title:before,
  .title:after {
    width: 70%;
  }
}

.animated-text-wrapper {
  overflow: hidden;
  width: 80%;
  max-width: 800px;
  height: 200px;
  background-color: #4682b4;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  margin-top: -20px;
}

.animated-text {
  position: absolute;
  width: 90%;
  animation: slide-up 60s linear infinite;
  animation-delay: 0s; /* Ensure animation starts immediately */
  animation-fill-mode: forwards; /* Ensure animation starts immediately */
}

.line {
  padding: 10px 0;
  color: #fafbfc;
  text-align: center;
}

.line:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .title {
    font-size: 1.5em;
    padding: 0 15px;
  }
  .animated-text-wrapper {
    width: 90%;
  }
  .line {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.2em;
    padding: 0 10px;
  }
  .animated-text-wrapper {
    width: 100%;
  }
}

/* HRING POSITIONS */

.magazine-hiring-section {
  padding: 50px 30px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 15px;
  font-family: "Georgia", serif;
}

.magazine-hiring-section h1 {
  color: #333;
  font-size: 42px;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.magazine-content {
  padding: 20px;
}

.magazine-header h2 {
  font-size: 20px;
  color: #070707;
  line-height: 1.6;
  margin-bottom: 40px;
  font-family: "Exo 2", sans-serif;
  text-align: center;
}

.magazine-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.magazine-image {
  flex: 1 1 calc(33.333% - 20px);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.magazine-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.magazine-image:hover img {
  transform: scale(1.1);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.664);
  color: rgb(0, 0, 0);
  padding: 10px;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.magazine-image:hover .image-caption {
  opacity: 1;
}

.magazine-cta {
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #333;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
  font-family: "Arial", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button i {
  margin-right: 10px;
}

.cta-button:hover {
  background-color: #808080;
  color: white;
  transform: translateY(-4px);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .magazine-hiring-section {
    padding: 40px 20px;
  }

  .magazine-hiring-section h1 {
    font-size: 36px;
  }

  .magazine-header h2 {
    font-size: 22px;
  }

  .magazine-grid {
    flex-direction: column;
    align-items: center;
  }

  .magazine-image {
    flex: 1 1 80%;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .magazine-hiring-section {
    padding: 30px 15px;
  }

  .magazine-hiring-section h1 {
    font-size: 32px;
  }

  .magazine-header h2 {
    font-size: 20px;
  }

  .magazine-grid {
    flex-direction: column;
    align-items: center;
  }

  .magazine-image {
    flex: 1 1 90%;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .magazine-hiring-section {
    padding: 20px 10px;
  }

  .magazine-hiring-section h1 {
    font-size: 28px;
  }

  .magazine-header h2 {
    font-size: 18px;
  }

  .cta-button {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* ACCOMPLISHMENTS */

.feature1 {
  margin-top: 50px;
  margin-left: 50px;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.feature1-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0px 0px 5px #080808;
  margin-left: -20px;
}

.feature1-text {
  text-align: left;
}

.feature1-text h5 {
  font-size: 30px;
  font-family: "PT Sans", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: black;
  margin-bottom: 1.5rem;
  margin-left: -20px;
}

.feature1-text p {
  font-size: 18px;
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  color: #090a0a;
  margin-bottom: 2.5rem;
  text-decoration: none;
  margin-left: -20px;
}

.btn-c {
  display: inline-block;
  padding: 10px 20px;
  background: #5389b6;
  color: #ffffff;
  font-size: 1.3vw;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #5389b6;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin-left: -20px;
}

.btn-c:hover {
  background: transparent;
  color: #5389b6;
  text-decoration: none;
}

@media (max-width: 768px) {
  .feature1 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature1-img {
    order: 2;
    margin-left: 0;
  }

  .feature1-text {
    order: 1;
  }

  .feature1-text h5 {
    font-size: 5vw;
  }

  .feature1-text h2 {
    font-size: 4vw;
    margin-bottom: 1.5rem;
  }

  .feature1-text p {
    font-size: 3vw;
    margin-bottom: 2rem;
  }

  .btn-c {
    font-size: 3vw;
    padding: 3vw 8vw;
  }
}

/* THIRD 3RD SECTION */

.title-background {
  background: #4682b4;
  position: relative;
  z-index: 2;
  border-bottom-right-radius: 20px;
  margin-top: -3%;
}

.title {
  display: inline-block;
  padding: 10px 20px;
  font-size: 2em;
  font-weight: bold;
  border: 2px solid #000;
  border-radius: 10px;
  background-color: #fff;
  margin: 5% 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .title {
    font-size: 1.5em;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.2em;
    padding: 6px 12px;
  }
}

.title:before,
.title:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.title:before {
  left: -105%;
  transform: translateY(-50%);
}

.title:after {
  right: -105%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .title {
    font-size: 1.5em;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.2em;
    padding: 0 10px;
  }

  .title:before,
  .title:after {
    width: 80%;
  }
}

/* FOURTH 4TH SECTION */

.heading {
  text-align: center;
  padding: 20px 0;
  border-bottom-right-radius: 25px;
  z-index: 2;
  width: 100%;
  background: url(assets/homepage/panel.png) no-repeat center center;
  background-size: cover;
  position: relative;
}

.container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
}

.product {
  flex: 1 1 calc(33.333% - 20px);
  margin: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box {
  background-color: #eceaea;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box:hover {
  transform: translateY(-10px);
}

.box-image {
  width: 90%;
  height: 0;
  padding-top: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 15px;
}

.box-1 {
  background-image: url("assets/homepage/pgalley1.png");
}

.box-2 {
  background-image: url("assets/homepage/galley1.JPG");
}

.box-3 {
  background-image: url("assets/homepage/pgalley2.JPG");
}

.product h4 {
  margin-bottom: 30px;
  font-weight: bold;
}

.product p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.product a {
  text-decoration: none;
  color: #fdfdfd;
  font-weight: bold;
  background: #3b6e97;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s;
}

.product a:hover {
  background-color: rgb(90, 166, 209);
  color: #000000;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .product {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .box {
    padding: 15px;
  }

  .box-image {
    padding-top: 80%;
  }

  .product p {
    margin-bottom: 20px;
  }

  .product a {
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .box {
    padding: 10px;
  }

  .box-image {
    padding-top: 100%;
  }

  .product p {
    margin-bottom: 15px;
  }

  .product a {
    padding: 6px 12px;
  }
}

/* FOURTH 5TH SECTION OF HOMEPAGE */

.table {
  padding: 20px;
  background: url(assets/homepage/galley.png);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: -20px;
  max-width: 970px;
  width: 95%;
  z-index: 1;
  position: relative;
  border-bottom-right-radius: 25px;
}

.table h1 {
  text-align: center;
  font-family: "Exo 2", sans-serif;
  color: #fcfbfb;
  margin-bottom: 20px;
  margin-top: 50px;
  font-size: 25px;
}

.flow {
  padding: 5px;
  margin: 0 auto;
}

header h1 {
  font-size: 18px;
  font-family: "Exo 2", sans-serif;
  color: #333;
  line-height: 22px;
  text-align: center;
  margin-bottom: 20px;
}

.columns {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.column {
  flex: 1;
  border: 1px solid #f1f5f8;
  margin: 10px;
  padding: 15px;
  background: #b7cdec;
  transition: 0.3s;
  min-width: 250px;
  box-sizing: border-box;
}

.column h2 {
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.column p {
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 20px;
}

.column:hover {
  background-color: #a5b8db;
}

@media screen and (max-width: 980px) {
  .columns .column {
    flex-basis: 100%;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 480px) {
  .columns .column {
    padding: 10px;
  }

  .column h2 {
    font-size: 14px;
  }

  .column p {
    font-size: 12px;
  }
}

/* FIFTH  6TH SECTION */

.profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px 30px 20px;
}

.profile i {
  font-size: 36px;
  margin-bottom: 15px;
}

.boxx1 {
  flex: 1 1 220px;
  max-width: 250px;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  background: #cedcf0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  transition: background-color 0.3s, transform 0.3s;
  height: auto;
}

.boxx1:hover {
  background-color: #a5b8db;
  color: white;
  transform: translateY(-5px);
  text-decoration: none;
}

.boxx1 h2 {
  padding: 10px 0;
  font-size: 16px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.boxx1 p {
  font-size: 14px;
  margin-top: -10px;
}

@media (max-width: 1024px) {
  .boxx1 {
    flex: 1 1 300px;
    max-width: 100%;
  }

  .boxx1 h2 {
    font-size: 15px;
  }

  .boxx1 p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .boxx1 {
    flex: 1 1 100%;
    padding: 20px;
  }

  .boxx1 h2 {
    font-size: 14px;
  }

  .boxx1 p {
    font-size: 12px;
  }

  .profile {
    padding: 30px 10px;
  }
}

@media (max-width: 480px) {
  .boxx1 {
    padding: 15px;
  }

  .boxx1 h2 {
    font-size: 14px;
  }

  .boxx1 p {
    font-size: 12px;
  }
}

/* FOOTER */

.footer {
  background-color: #4682b4;
  color: #fff;
  padding: 50px 0;
  z-index: 1;
  position: relative;
  text-align: left;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-section {
  flex: 1;
  padding: 0 20px;
}

.footer-section h2 {
  margin-bottom: 10px;
  text-align: left;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: none;
  color: #b9bdbe;
}

.contact-input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: black;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #335f84b4;
  color: #000000;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn:hover {
  background-color: #72b6eefd;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 10px;
  background-color: #2c5272;
  color: #ffffff;
  height: 50px;
  line-height: 50px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 20px;
  }
}

/* Full-screen overlay Loading Rotation */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

.rotating-rings {
  position: relative;
  width: 80px;
  height: 80px;
}

.ring {
  border: 8px solid #3498db;
  border-top: 8px solid transparent;
  border-radius: 50%;
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  .rotating-rings {
    width: 15vw;
    height: 15vw;
  }

  .ring {
    border-width: 4vw;
  }
}
