* {
  margin: 0;
  padding: 0;
  /* background-color: #f9991c; */
  box-sizing: border-box; /* Adds consistent box-sizing behavior */
}

.header {
  display: flex;
  position: relative;
  height: auto;
  width: 100%;
  background-image: /*linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), */ url(../../images/ps3.jpg);
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling of the image */

  min-height: 100vh;
  width: 100%;
}

.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(50, 50, 50, 1);
  padding: 20px 80px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  top: 0%;
  position: fixed;
  left: 0%;
  right: 0%;
  height: 110px;
  border-bottom: 2px solid #f9991c;
  border-top: 6px solid #f9991c;
}

nav .nav-logo a img {
  background-color: transparent;
  max-width: 85px;
  height: auto;
}

.nav-links {
  flex: 1;
  text-align: right;
  padding-right: 40px;
}

.nav-links ul {
  margin: 0; /* Removes default list margin */
  padding: 0; /* Removes default list padding */
}

.nav-links ul li {
  list-style: none; /* Removes default bullet points */
  display: inline-block; /* Aligns items horizontally */
  padding: 8px 12px; /* Adds spacing between menu items */
  position: relative;
}

.nav-links ul li a {
  text-decoration: none; /* Removes underline */
  color: #d5d6d6; /* Sets text color */
  font-size: 25px; /* Adjusts font size */
  font-weight: 500; /* Adds weight for better visibility*/
  transition: color 0.3s; /* Smooth hover effect */
}

.nav-links ul li ::after {
  content: "";
  width: 0%;
  height: 2px;
  display: block;
  margin: auto;
  transition: 0.5s;
  background: #f9991c;
}

.nav-links ul li :hover::after {
  width: 100%;
}
.text {
  color: #ccc;
  position: absolute;

  align-items: center;
  justify-content: center;
}

/* .text-box {
  background-color: #323232;
  position: absolute;
  top: 67.5%;
  left: 50%;
  height: 200px;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  border-top: 15px solid #f9991c;
  border-bottom: 15px solid #f9991c;
  justify-content: center;
     padding: 25px auto; 
}

.text-box p {
  display: block;
  margin: 21.25px auto;
  font-size: 75px;
  color: #f9991c;
  line-height: 0.5;
} */
.text-box {
  display: flex;
  background-color: #323232;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 67.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*width: 90%;  Make it responsive */
  width: 100%;
  margin: 0 auto;
  height: 200px; /* Adjust dynamically */
  padding: 20px;
  border-top: 5px solid #f9991c;
  border-bottom: 5px solid #f9991c;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  min-height: 150px; /* Change from height: 150px */
  padding: 10px 5px; /* Ensures spacing */
}
.text-box p {
  font-size: 5vw;
  line-height: 0.8; /* Ensures spacing */
  margin: 10px 0;
  white-space: normal;
  color: #f9991c;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.hero-btn:hover {
  color: #323232;
  border: 1px solid #f9991c;
  background-color: #f9991c;
  transition: 1s;
}
nav .fa-solid {
  display: none;
}
@media (max-width: 804px) {
  .text-box {
    height: 135px;
  }
}
@media (max-width: 470px) {
  .text-box {
    height: 85px;
  }
}
@media (max-width: 300px) {
  .text-box p {
    font-size: 25px;
  }
}
@media (max-width: 240px) {
  .text-box p {
    font-size: 20px;
  }
}
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }
  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed; /* Ensure the menu is fixed to the viewport */
    top: 0;
    right: -200px; /* Initially off-screen */
    background-color: #f44336;
    height: 100vh;
    width: 200px;
    transition: right 0.5s ease; /* Smooth transition when sliding in/out */
    text-align: left;
    z-index: 2;
  }
  nav .fa-solid {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul {
    padding: 0px;
  }
}
/*--------------page1--------------*/

.page1 {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 10px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

p {
  color: #777;
  font-size: 20px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  position: relative;
  height: auto;
  display: flex; /* Enables Flexbox */
  justify-content: space-between; /* Space between the columns */
  margin-top: 5%;
}

.row1,
.row2 {
  width: 48%; /* Adjusts the width of each column */
  background-color: #f4f4f4; /* Sets background color */
  padding: 20px; /* Adds padding around content */
  border-radius: 8px; /* Rounds the corners of the box */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
}

.row1 h3,
.row2 h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.row1 p,
.row2 p {
  font-size: 20px;
  color: #777;
  font-weight: 300;
  line-height: 22px;
}

.row1:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}
.row2:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}
@media (max-width: 700px) {
  .row {
    display: flex;
    flex-direction: column; /* Stack the columns vertically */
    align-items: center; /* Center the content horizontally */
    gap: 20px; /* Add some space between the columns */
  }

  .row1,
  .row2 {
    width: 80%; /* Make each column take up 80% of the screen width */
    margin-bottom: 20px; /* Add space between the stacked sections */
  }
}

.page2 {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 51px 51px 0px 51px;
}

.page2-col img {
  width: 100%; /* Shrinks the image to 50% of its container's width*/
  max-width: 450px; /* Limits the maximum size for larger screens */
  height: auto; /*Maintains the aspect ratio */
  display: block; /* Centers the image*/
  border: 2.5px solid black;
  border-radius: 20px;
  margin: 0 auto; /* Adds automatic left and right margins for centering*/
}
.page3 {
  width: 100%;
  margin: 0px;

  text-align: center;
  padding: 0px;
}
.rowPage3 {
  position: relative;
  height: auto;
  display: flex; /* Enables Flexbox */
  justify-content: center; /* Space between the columns */
  margin-top: 5px;
}
/* -------cta-------- */
.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.cta h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}
@media (max-width: 700px) {
  .cta h1 {
    font: size 24px;
  }
}
/* ----footer------ */

.footer {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  margin-top: auto;
}
.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}
.sized {
  background-color: #323232;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(50, 50, 50, 1);
  margin-top: 20px;
  padding: 20px 80px 20px 80px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);

  bottom: 0%;
  left: 0%;
  right: 0%;
  height: 62.5px;
  /* border-bottom: 2px solid #f9991c;
  border-top: 6px solid #f9991c; */
  color: #d5d6d6;
}
nav .icons a {
  color: #d5d6d6;
}
nav .icons a:hover {
  color: #f9991c;
}
.fa-brands {
  padding: 5px;
}

@media (max-width: 542px) {
  .footer nav {
    font-size: smaller;
  }
  /* .fa-brands {
    font-size: smaller;
  } */
}
@media (max-width: 483px) {
  .footer nav {
    font-size: x-small;
  }
  /* .fa-brands {
    font-size: x-small;
  } */
}
@media (max-width: 410px) {
  .footer nav {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 330px) {
  .footer nav {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 207px) {
  .footer nav {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* ------------about us page---------- */

.sub-header {
  position: relative;
  display: flex;
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(../../images/about.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}
.sub-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(50, 50, 50, 1);
  padding: 20px 80px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  top: 0%;
  position: fixed;
  left: 0%;
  right: 0%;
  height: 110px;
  border-bottom: 2px solid #f9991c;
  border-top: 6px solid #f9991c;
}
.sub-header .navLogo {
  margin-top: 0px;
  margin-left: 0px;
}
.sub-header .navLogo a img {
  background-color: transparent;
  max-width: 85px;
  height: auto;
}
.sub-header h1 {
  margin-top: 150px;
  margin-left: 40%;
  font-size: 2.5rem;
  /* position: absolute; */
}
.about-us {
  width: 80%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}
.about-us .row {
  align-items: center;
}
.about-col {
  /* flex-basis: 48px; */
  flex: 1;
  padding: 30px 2px;
}
.about-col img {
  max-width: 400px;
  height: auto;
}
@media (max-width: 700px) {
  .about-us .row {
    flex-direction: column; /* Stack image and text vertically */
    text-align: center; /* Center-align text */
  }

  .about-col img {
    max-width: 80%; /* Make the image larger */
    margin-bottom: 20px; /* Add space between image and text */
  }
}
.about-col h1 {
  font-size: 2rem;
  padding-top: 0;
}
.about-col p {
  padding: 15px 0 25px;
  font-size: 1rem;
}
.red-btn {
  border: 1px solid #f9991c;
  color: #f9991c;
  background: transparent;
}
.red-btn:hover {
  color: #323232;
  border: 1px solid #323232;
}

@media (max-width: 1024px) {
  .sub-header nav {
    padding: 20px 40px; /* Reduced padding for smaller screens */
  }
  .header nav {
    padding: 20px 40px; /* Reduced padding for smaller screens */
  }

  .sub-header h1 {
    margin-top: 150px; /* Adjusted for smaller screens */
    /*font-size: 2rem;  Adjusted for smaller screens */
    margin-left: 40%;
  }

  .about-us {
    width: 90%; /* Adjusted for smaller screens */
  }
}

@media (max-width: 768px) {
  .sub-header nav {
    padding: 20px 20px; /* Further reduced padding */
    height: 80px; /* Reduced height for smaller screens */
  }
  .header nav {
    padding: 20px 20px; /* Further reduced padding */
    height: 80px; /* Reduced height for smaller screens */
  }

  .sub-header .nav-logo a img {
    max-width: 60px; /* Smaller logo for smaller screens */
  }
  .header .nav-logo a img {
    max-width: 60px; /* Smaller logo for smaller screens */
  }

  .sub-header h1 {
    margin-top: 150px;
    margin-left: 35%; /* Adjusted for smaller screens */
    /*font-size: 1.8rem; /* Adjusted for smaller screens */
  }

  .about-col h1 {
    font-size: 1.5rem; /* Adjusted for smaller screens */
  }

  .about-col p {
    font-size: 0.9rem; /* Adjusted for smaller screens */
  }
}

@media (max-width: 480px) {
  .sub-header nav {
    padding: 10px; /* Minimal padding for very small screens */
    height: 60px; /* Further reduced height */
    border-top: 4px solid #f9991c;
  }
  .header nav {
    padding: 10px; /* Minimal padding for very small screens */
    height: 60px; /* Further reduced height */
    border-top: 4px solid #f9991c;
  }

  .sub-header .nav-logo a img {
    max-width: 45px; /* Even smaller logo */
  }
  .header .nav-logo a img {
    max-width: 45px; /* Even smaller logo */
  }

  .sub-header h1 {
    margin-top: 150px; /* Adjusted for very small screens */
    /* font-size: 1.5rem; /* Adjusted for very small screens */
  }

  .about-us {
    width: 95%; /* Adjusted for very small screens */
  }

  .about-col h1 {
    font-size: 1.2rem; /* Adjusted for very small screens */
  }

  .about-col p {
    font-size: 0.8rem; /* Adjusted for very small screens */
  }
}
@media (max-width: 400px) {
  .sub-header h1 {
    margin-left: 25%;
  }
}
@media (max-width: 263px) {
  .sub-header h1 {
    margin-left: 15%;
  }
}
/* ---------contact us page-------- */

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}
.bg {
  background-color: rgba(238, 238, 238, 1);
}
.location iframe {
  width: 100%;
}
.contact-us {
  margin: 0 auto; /* Center the section */
  width: 80%; /* Set the width of the section relative to the viewport */
  padding: 20px; /* Add some padding inside the section */
  box-sizing: border-box; /* Include padding in the width */
}
.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}
.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa-solid {
  font-size: 28px;
  color: #f9991c;
  margin: 10px;
  margin-right: 30px;
}

.contact-col div p {
  padding: 0;
}

.contact-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
}
