
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #d8d8d8;
}

a:link {
    text-decoration: none;
}

/* 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 {
    font-size: 28px;
    cursor: pointer;
    color: #ffffff; /* Change to your preferred color */
    display: none; /* Hidden on larger screens */
     z-index: 40;

}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #009fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f0c040;
}

/* Small screen adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    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 */
    }

    nav ul li {
        text-align: center;
        margin: 10px 0;
    }
}

/* Slider Section */
#slider {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: url(images/tobafaximage10.png) center no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Categories Section */
.categories-container {
    padding: 40px 20px;
}

.categories-container h1 {
    font-size: 4.2rem;
    margin-bottom: 40px;
    color: #444;
    text-align: center;
}

/* Grid Layout */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Cards */
.category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1), -4px -4px 15px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 4px 20px 30px rgba(0, 0, 0, 0.2), -4px -4px 30px rgba(255, 255, 255, 0.8);
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    align-items: center;
}

/* Icon Container */
.icon-container {
    width: 160px;
    height: 60px
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.icon-container img {
    width: 70%;
    height: 70%;
}

/* Highlighted Card */
.category-card.highlight {
    background-color: #fff;
    color: #fff;
}

.category-card.highlight p {
    color: #555;
}
.table-header{
  font-size: 3.5rem;
  margin-top: 28px;
 align-item: center;
text-align: center;
}
.table-paragraph{
  font-size: 3rem;
  margin-bottom: 45px;
  text-align: center;
  align-item: center;
  margin-top: -29px;
}


.category-card.highlight:hover {
    background-color: #002245;
    color: #fff;
}

.category-card.highlight:hover p {
    color: #fff;
}

/* Card Content */
.card-content h2 {
    font-size: 0.9rem;
    margin: 0;
    margin-bottom: 5px;
    color: #333;
}

.card-content p {
    font-size: 0.75rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-container h1 {
        font-size: 1.8rem;
    }

    .category-card {
        width: 200px;
        height: 180px;
    }

    .card-content h2 {
        font-size: 0.8rem;
    }

    .card-content p {
        font-size: 2.3rem;
    }
}

/* 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: 60rem;
  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;
}


/* Responsive adjustments */
@media (max-width: 1400px) {
    html {
        font-size: 70%;
    }

    .category-card.highlight p {
        font-size: 2rem;
    }

   .section-5 {
    flex-direction: column;
  }

 .section-5{
    height: auto;
    padding: 5rem 0;
  }

     .section-heading {
        margin-bottom: 4.5rem;
        font-size: 5.2rem;
        color: white;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 45%;
    }

    .cards-container {
        flex-wrap: wrap;
    }

  }

@media (max-width: 700px) {
    html {
    font-size: 45%;
    width: 100%;
  }


    .contact-details div {
        margin: 3rem 2rem;
    }

    .slider {
        width: 90rem;
    }
.contact-details div {
    margin: 3rem 2rem;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
  }

  .footer-nav {
    margin-bottom: 2rem;
  }
}

@media (max-width: 500px) {
    html {
        font-size: 42%;
    }

    .banner-heading span {
        font-size: 4.5rem;
        letter-spacing: 2rem;
    }

    .video-wrapper {
        width: 60rem;
    }

    .section-2-paragraph {
        width: 60rem;
    }

    .contact-details div {
    width: 18rem;
    margin: 3rem 1rem;
  }

  .contact-form {
    width: 50rem;
  }

}

.gallery {
    margin: 9rem 0;
}
@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%;
    }

.category-card {
        width: 300px;
        height: 180px;
    }
}
/* Adjust navigation for very small screens */
@media (max-width: 400px) {
    nav ul 
{
@media only screen and (max-width: 375px) {
  html {
    font-size: 29%;
    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: 135px;
  }

  nav ul.active {
    display: flex; /* Show menu when toggled */
    position: absolute;
    left: 250px;
    width: 30%;
  }

}


@media only screen and (max-width: 320px) {

  .category-card {
        width: 280px;
        height: 180px;
    }

  #slider {
    width: 100%; /* Full width for images */
    max-width: 320px; /* Maximum width to fit the screen */
  }
}