/* General Menu Styling */
.menu {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  background-color: #0a0d0f;
  padding: 20px;
  direction: rtl; /* Set Right-to-Left layout */
  overflow-x: auto; /* Enables horizontal scrolling if needed */
  white-space: nowrap; /* Prevents wrapping */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for Webkit browsers */
.menu::-webkit-scrollbar {
  display: none;
}

/* Menu Links */
.menu a {
  text-decoration: none;
  color: white;
  padding: 2px 25px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  
  direction: ltr; /* Ensures text remains left-to-right */
  white-space: nowrap; /* Keeps items in one line */
}

/* Hover Effect */
.menu a:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

/* Ensure No Wrapping on Small Screens */
@media (max-width: 768px) {
  .menu {
      flex-wrap: nowrap; /* Prevents items from wrapping */
  }
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #0056b3;
  color: white;
  padding: 10px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

header nav a:hover {
  text-decoration: underline;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px 30px;
    border-radius: 5px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.caption h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.caption p {
    font-size: 1.2em;
    margin: 0;
}


@keyframes fade {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
}

.dot.active {
  background-color: #0056b3;
}

/* Categories */
.categories {
  padding: 40px;
  text-align: center;
}

.category-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.category {
  background-color: #007BFF;
  color: white;
  padding: 20px;
  border-radius: 5px;
  cursor: pointer;
  max-width: 200px;
}

.category:hover {
  background-color: #0056b3;
}
/* Logo Container */
.logo-container {
  display: inline-block;
  vertical-align: middle;
}

.logo {
  height: 50px; /* Adjust the size of your logo */
  width: auto;  /* Maintain aspect ratio */
  margin-right: 20px; /* Space between logo and navigation */
}
.social-icons {
  background-color: #000000;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  
}

.social-icons a {
  text-decoration: none;
  font-size: 24px;
  color: #333;
  transition: 0.3s;
  color: #f1f1f1;
}

.social-icons a:hover {
  color: #ff4500;
}

/* Aligning Navigation Links with Logo */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px; /* Add padding for spacing */
  background-color: #000000;
  color: white;
}

header nav {
  display: flex;
  gap: 15px;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}
/* About Us Section */
.about {
  padding: 40px;
  text-align: center;
  background-color: #f1f1f1;
  color: #333;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.about p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.2em;
}
/* Tile Gallery Section */
.tiles {
  padding: 40px;
  text-align: center;
  background-color: #fff;
}

.tiles h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
}

.tile-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tile {
  position: relative;
  width: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.tile img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #000000;
}

.tile p {
  font-size: 1.1em;
  color: #333;
  padding: 10px 0;
  background-color: #f9f9f9;
  margin: 0;
  border-top: 2px solid #ddd;
}
/* Achievements Section */
.achievements {
  padding: 40px;
  text-align: center;
  background-color: #f9f9f9;
}

.achievements h2 {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
}

.achievement-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.achievement {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.achievement img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.achievement h3 {
  font-size: 1.5em;
  color: #333;
  margin: 10px 0;
}

.achievement p {
  font-size: 1em;
  color: #666;
  line-height: 1.4;
}
/* Contact Us Section */
.contact {
  padding: 50px 20px;
  text-align: center;
  background-color: #000000;
  color: white;
}

.contact h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item {
  background-color: white;
  color: #000000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.contact-item h3 {
  font-size: 1.5em;
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 1em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}

/* Tile Calculator Section */
.tile-calculator {
  padding: 50px 20px;
  text-align: center;
  background-color: #f1f1f1;
}

.tile-calculator h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.tile-calculator p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.tile-calculator form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.tile-calculator label {
  font-size: 1.1em;
  color: #333;
}

.tile-calculator input {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.tile-calculator button {
  background-color: #0056b3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
}

.tile-calculator button:hover {
  background-color: #003d80;
}

.result {
  margin-top: 20px;
  font-size: 1.5em;
  font-weight: bold;
  color: #0056b3;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.stats-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  padding: 50px 20px;
}

.stat {
  text-align: center;
  margin: 0 20px;
}

.stat h1 {
  font-size: 60px;
  margin: 0;
  color: white;
  transition: all 0.3s ease-in-out;
}

.stat p {
  font-size: 20px;
  margin: 5px 0 0;
  color: white;
}
/* Footer Logo Section */
.footer-logo {
  padding: 100px 40px;
  text-align: center;
  background-color: #000000; /* Match your theme color */
  color: white;
}

.footer-logo .big-logo {
  max-width: 600px; /* Adjust the size of the logo */
  height: auto;
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}
.big-logo {
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.social-media img {
  width: 30px;
  height: 30px;
  margin: 0 10px;
}
/* Media Queries for Responsiveness */

/* Small devices (max-width: 768px) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  header nav {
    flex-direction: column;
    gap: 10px;
  }

  .slider {
    height: 250px; /* Adjust slider height */
  }

  .slide img {
    height: 250px;
  }

  .caption {
    font-size: 1em;
    padding: 10px 15px;
  }

  .tile-gallery {
    flex-direction: column;
  }

  .tile {
    width: 100%; /* Full width for smaller screens */
    max-width: 300px; /* Optional to limit max width */
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }

  .stat h1 {
    font-size: 40px; /* Adjust font size for stats */
  }

  .stat p {
    font-size: 16px; /* Smaller text for stats */
  }

  .footer-logo {
    padding: 50px 20px;
  }
}

/* Extra Small devices (max-width: 480px) */
@media (max-width: 480px) {
  header nav a {
    font-size: 0.9em; /* Smaller text for nav links */
  }

  .caption h2 {
    font-size: 1.2em;
  }

  .caption p {
    font-size: 1em;
  }

  .contact-item {
    width: 90%; /* Reduce width for better spacing */
  }

  .social-media img {
    width: 25px;
    height: 25px;
  }
}
