/* Importing Google fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* Header Section */
header {
    background-color: #002244; /* Dark blue background */
    color: #ffffff;
    padding: 10px 0;
    position: relative;
     z-index:40;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

header .logo img {
    width: 100px;
    height: auto;
}

/* Navigation Menu */
.menu-toggle{
   z-index: 40;
  align-items: right;
  position: relative;
  left: 175px;
  color: #009fff;
}
nav{
   z-index:0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #6EDFF7;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f0c040;
}

/* Menu Toggle (Initial State) */
.menu-toggle {
    font-size: 28px;
    cursor: pointer;
      color: #6EDFF7; /* Change to your preferred color */
    display: none; /* Hidden on larger screens */
}

/* Small screen adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none; /* Hide menu by default */
        flex-direction: column;
        background-color: #002244; /* Match header background */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
    }
    
    nav ul.active {
        display: flex; /* Show menu when toggled */
        position: absolute;
       left: 380px;
      width: 20%;
        z-index:40;
    }
    
    nav ul li {
        text-align: center;
        margin: 10px 0;
    }
}

/* end of navigation */
.slider-container {
 position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slider-wrapper .slider-item {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000; /* Fallback background */
  z-index: -1;
}

.slider-wrapper .slider-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(20%);
  background-image: url("images/tobafaxnews1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.slider-wrapper .slider-item:nth-child(2)::before {
  background-image: url("images/tobafaximage12.png");
}

.slider-wrapper .slider-item:nth-child(3)::before {
  background-image: url("images/stuff1.png");
  max-width: 100%;
}

.slider-wrapper .slider-item .slide-content {
  position: relative;
  z-index: 10;
  color: #fff;
  width: 100%;
  opacity: 0;
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 20px 10px;
}

.slider-item.swiper-slide-active .slide-content {
  animation: animate_opacity 0.8s 0.6s linear forwards;
}

@keyframes animate_opacity {
  100% {
    opacity: 1;
  }
}

.slider-wrapper .slider-item .slide-content > * {
  max-width: 35%;
}

.slider-item .slide-content .slide-title {
  font-size: 4rem;
  font-weight: 700;
  margin-top: 200px;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(60%);
}

.slider-item .slide-content .slide-subtitle {
  font-size: 1.9rem;
  font-weight: normal;
  opacity: 0;
  transform: translateY(60%);
}

.slider-item.swiper-slide-active :where(.slide-title, .slide-subtitle) {
  animation: animate_text 0.6s 0.6s linear forwards;
}

@keyframes animate_text {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-item .slide-content .slide-description {
  margin-top: 120px;
  line-height: 25px;
  opacity: 0;
  font-size: 3.9rem;
  transform: translateY(60%);
}

.slider-item.swiper-slide-active .slide-description {
  animation: animate_text 0.6s 1s linear forwards;
}

.slider-container .slider-controls {
  position: absolute;
  bottom: 45px;
  z-index: 30;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.slider-controls .slider-pagination {
  display: flex;
  list-style: none;
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 20px;
  position: relative;
  justify-content: space-between;
}

.slider-pagination .slider-indicator {
  position: absolute;
  bottom: 0;
  border-bottom: 2px solid #fff;
  transition: 0.4s ease-in-out;
}

.slider-pagination .slider-tab {
  color: #DBDADA;
  padding: 20px 30px;
  cursor: pointer;
  text-align: center;
  font-size: 2.85rem;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-controls .slider-tab.current {
  color: #fff;
}

.slider-navigations button {
  position: absolute;
  top: 50%;
  color: #fff;
  z-index: 20;
  border: none;
  height: 40px;
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #202022;
  transform: translateY(-50%);
  transition: 0.4s ease;
}

.slider-navigations button:hover {
  background: #323235;
}

.slider-navigations button.swiper-button-disabled {
  display: none;
}

.slider-navigations button#slide-prev {
  left: 20px;
}

.slider-navigations button#slide-next {
  right: 20px;
}

/* Media Queries for Smaller Screens */
@media (max-width: 576px) {
  .slider-wrapper .slider-item::before {
    background-size: contain;
  }
}

@media (max-width: 425px) {
  .slider-container {
    height: 500px;
  }
  .slider-wrapper .slider-item {
    height: 480px;
  }
  .slider-wrapper .slider-item::before {
    background-size: 100% 100%;
  }
}

@media (max-width: 375px) {
  .slider-container {
    height: 400px;
  }
  .slider-wrapper .slider-item {
    height: 430px;
  }
  .slider-wrapper .slider-item::before {
    background-size: 100% 100%;
  }
 .slide-title {
        font-size: 2.5rem;
    }

    .slide-description {
        font-size: 1.5rem;
        margin-bottom: 200rem;
    }

}

@media (max-width: 325px) {
  .slider-container {
    height: 400px;
  }
  .slider-wrapper .slider-item {
    height: 380px;
  }
  .slider-wrapper .slider-item::before {
    background-size:  100% 100%;
  }
}
.section-2 {
  width: 100%;
  height: 60%;
  background-color: #222020;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 10rem 0;
}

.section-heading {
  font-size: 8rem;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  color: #ddd;
  margin-right: 4rem;
}

.section-heading-line {
  width: 15rem;
  height: 0.2rem;
  background-color: #ddd;
  top: -4rem;
}

.section-2-paragraph {
  width: 100rem;
  position: absolute;
  bottom: 4rem;
  left: 15rem;
  right: 15rem;
  font-size: 2.5rem;
  line-height: 1.5;
  color: #ddd;
  border-top: 0.3rem double #aaa;
  border-bottom: 0.3rem double #aaa;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: justify;
  text-shadow: 1rem 1rem 2rem rgba(0, 0, 0, 0.7);
}

.fa-quote-left {
  align-self: flex-start;
  font-size: 4rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.fa-quote-right {
  align-self: flex-end;
  font-size: 5rem;
  color: #bbb;
}
/* End of section-2 */
/* Section 3 */
.section-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:#f9f9f9;
}

.section-3-heading {
  font-size: 5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 3rem;
 margin-top: 5rem;
}

.services {
  display: flex;
}

.service {
  width: 45rem;
  text-align: center;
  margin: 0 5rem;
 align-item: center;
 margin-bottom: 3rem;
}

.service i {
  font-size: 6rem;
  color: #229fe7;
  margin: 2rem 0;
}

.service-heading {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #333;
}

.service-paragraph {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: #333;
}

.service-btn {
  width: 20rem;
  padding: 1.5rem;
  background-color: transparent;
  border-radius: 3rem;
  border: 0.1rem solid #036bb1;
  color: #036bb1;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* end of section-3*/
/* Section 5 */
.section-5 {
  width: 100%;
  height: 100vh;
  background-color: #171718;
  display: flex;
  align-items: center;
  padding: 0 10rem;
}

.contact-wrapper {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-details {
  display: flex;
  margin-bottom: 8rem;
}

.contact-details div {
  width: 25rem;
  text-align: center;
  margin: 4rem;
}

.contact-details i {
  font-size: 5rem;
  color: #002245;
}

.contact-details h3 {
  font-family: "MADE Soulmaze", serif;
  font-size: 2.5rem;
  margin: 2rem 0;
  color: #ccc;
}

.contact-details p {
  font-size: 1.6rem;
  color: #aaa;
}

.contact-wrapper h1 {
  font-size: 4rem;
  color: #ccc;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.contact-form {
  width: 70rem;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 1.5rem;
  background-color: #444;
  color: #eee;
  border: none;
  margin-bottom: 2rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
}

.contact-form textarea {
  max-width: 100%;
  max-height: 15rem;
  min-height: 5.5rem;
}

.contact-form input[type="submit"] {
  background-color: #002245;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form input[type="submit"]:hover {
  background-color:  #f0c040;
}
/* End of Section 4 */
/* Footer */
.footer {
  width: 100%;
  height: 12rem;
  background-color: #202122;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10rem;
}

.footer-nav a {
  font-family: "MADE Soulmaze", serif;
  font-size: 2rem;
  color: #ccc;
  margin-right: 3rem;
  letter-spacing: 0.1rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color:  #f0c040;
}

.copyright {
  font-size: 2rem;
  color: #ddd;
}
/* End of Footer */
/* start responsive */

@media (max-width: 1536px) {
  .slider-wrapper .slider-item .slide-content,
  .slider-controls .slider-pagination {
    width: 85%;
  }
  .section-2 {
    height: 80vh;
  }
}

@media (max-width: 1400px) {
  html {
    font-size: 65%;
  }

  .banner-heading span {
    font-size: 10rem;
  }

  .banner-paragraph {
    width: 45rem;
    font-size: 3rem;
  }

  .section-2,
  .section-5 {
    flex-direction: column;
  }
.slide img {
   height: 800px;
   weight: 100%;
}
  .section-2 {
    height: 70vh;
  }

  .section-2-paragraph {
    left: 50%;
    transform: translateX(-50%);
    width: 80rem;
  }

section-heading {
    left: 50%;
    transform: translateX(-50%);
    width: 80rem;
    margin-bottom: 42rem;
  }

  .services {
    width: 50%;
  }

 .section-5{
    height: auto;
    padding: 5rem 0;
  }

}

@media (min-width: 900px) {
  html {
    font-size: 40%;
    width: 100%;
  }

  .banner {
    top: 25%;
  }

  .banner-heading {
    height: 15rem;
  }

  .banner-heading span {
    font-size: 8rem;
  }

.section-3-heading {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 700px) {
  html {
    font-size: 35%;
    width: 100%;
  }

  .section-2 {
    height: 50vh;
  }

  .slider {
    width: 90rem;
  }
 .section-3 {
    padding: 10rem 0;
  }
.section-2-heading {
    width: 75%;
    text-align: center;
    line-height: 1.2;
   margin-right: 10rem;
  }

  .section-3-heading {
    width: 75%;
    text-align: center;
    line-height: 1.2;
  }

 .services {
    width: 90%;
  }

  .service {
    width: 30rem;
    margin: 0 2rem;
  }

  .service i {
    font-size: 4rem;
  }

  .service-btn {
    width: 15rem;
    padding: 1rem;
  }
.contact-details div {
    margin: 3rem 2rem;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
  }

  .footer-nav {
    margin-bottom: 2rem;
  }

}

@media only screen and (min-width: 768px) {
 html {
    font-size: 50%;
    width: 100%;
  }

  .slider-wrapper .slider-item .slide-content * {
    max-width: 100%;
  }
.services {
    flex-direction: column;
    align-items: center;
  }
.section-2-heading {
    margin-left: 25rem;
  }

  .service {
    width: 65%;
    margin-bottom: 4rem;
  }
.fa-quote-left {
  align-self: flex-start;
  font-size: 3rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.fa-quote-right {
  align-self: flex-end;
  font-size: 3.5rem;
  color: #bbb;
 }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 33%;
    width: 100%;
  }

  .banner-heading span {
    font-size: 4.5rem;
    letter-spacing: 2rem;
  }

  .video-wrapper {
    width: 60rem;
  }

  .section-2-paragraph {
    width: 60rem;
  }
 .services {
    flex-direction: column;
    align-items: center;
  }

  .service {
    width: 60%;
    margin-bottom: 4rem;
  }
}
@media (max-width: 500px) {
 html {
    font-size: 40%;
  }

 .contact-details div {
    width: 18rem;
    margin: 3rem 1rem;
  }

  .contact-form {
    width: 50rem;
  }
}

@media only screen and (max-width: 425px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 425px;
  }
  
  .menu-toggle {
    z-index: 1;
    align-items: right;
    position: relative;
    left: 130px;
  }

  nav ul.active {
    display: flex; /* Show menu when toggled */
    position: absolute;
    left: 290px;
    width: 25%;
  }
}

@media only screen and (max-width: 390px) {
  html {
    font-size: 35%;
    width: 100%;
    max-width: 390px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 390px;
  }

  header .logo img {
    width: 75px;
    height: auto;
  }

  .categories-container h1 {
    font-size: 3.3rem;
    margin-bottom: 40px;
    color: #444;
    text-align: center;
    position: relative;
    width: 100%;
  }

  .menu-toggle {
    z-index: 1;
    align-items: right;
    position: relative;
    left: 120px;
  }

  nav ul.active {
    display: flex; /* Show menu when toggled */
    position: absolute;
    left: 290px;
    width: 25%;
  }
.section-2-heading {
    margin-bottom: 
    margin-right: 12rem;
  }

  .section-2-paragraph {
    width: 100%;
    height: 57%;
  
  }

.fa-quote-left {
  align-self: flex-start;
  font-size: 4rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.fa-quote-right {
  align-self: flex-end;
  font-size: 4rem;
  color: #bbb;
}

  #slider {
    width: 100%; /* Full width for images */
    max-width: 390px; /* Maximum width to fit the screen */
  }
}

@media only screen and (max-width: 375px) {
  html {
    font-size: 35%;
    width: 100%;
    max-width: 375px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 375px;
  }

  header .logo img {
    width: 70px;
    height: auto;
  }

  .menu-toggle {
    z-index: 1;
    align-items: right;
    position: relative;
    left: 115px;
  }

  nav ul.active {
    display: flex; /* Show menu when toggled */
    position: absolute;
    left: 250px;
    width: 30%;
  }
section-2{
    width: 100%;
    max-width: 370px;
  }
.section-2-heading {
    margin-left: 5rem;
  }

.about{
    width: 70%;
    max-width: 370px;
    flex-direction: column;
    justify-content: center;
  }

  #slider {
    width: 100%; /* Full width for images */
    max-width: 374px; /* Maximum width to fit the screen */
  }
}

@media only screen and (max-width: 320px) {
  html {
    font-size: 30%;
    width: 100%;
    max-width: 320px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 320px;
  }

  header .logo img {
    width: 60px;
    height: auto;
  }

  .menu-toggle {
    z-index: 1;
    align-items: right;
    position: relative;
    left: 100px;
  }

  nav ul.active {
    display: flex; /* Show menu when toggled */
    position: absolute;
    left: 220px;
    width: 30%;
  }

  #slider {
    width: 100%; /* Full width for images */
    max-width: 320px; /* Maximum width to fit the screen */
  }
}
