.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 130px); /* Adjusted to account for top and bottom margins */
  margin-top: 30px;
  margin-bottom: 100px;
}

.main > * {
  width: 100%;
}

:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --background-color: #000000; /* Gunmetal grey */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #e96c0c;
  --surface-color: #252525;
  --contrast-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.905);
  --nav-hover-color: #e96c0c;
  --nav-mobile-background-color: #000000;
  --nav-dropdown-background-color: #000000;
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #e96c0c;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.index-page .hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--background-color);
}

body.review-page .hero {
  min-height: auto;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

img {
  max-width: 100%;
  height: auto;
}

:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #000;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.section, section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 100%;
  text-align: center;
}

.hero h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  font-family: var(--nav-font);
  color: var(--heading-color);
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--default-color);
}

.hero .icon-box {
  padding: 10px;
  margin: 12px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

.hero .icon-box h3 a {
  color: var(--default-color);
  transition: ease-in-out 0.3s;
}

.hero .icon-box:hover {
  border-color: var(--accent-color);
}

.hero .icon-box:hover h3 a {
  color: var(--accent-color);
}

.fixed-logo {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 80px;
  height: auto;
  z-index: 100000;
}

@media (max-width: 768px) {
  .fixed-logo {
    width: 60px; /* Smaller logo for mobile */
    top: 10px;
    left: 10px;
  }
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 60px 0;
}

.category-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

.category-box:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.category-box i {
  font-size: 40px;
  margin-bottom: 8px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.category-box:hover i {
  color: #FFFFFF;
}

.category-box h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.category-box:hover h3 {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .category-box {
    width: 120px;
    height: 120px;
  }

  .category-box i {
    font-size: 32px;
  }

  .category-box h3 {
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  .section, section {
    scroll-margin-top: 58px;
  }
}

@media (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}



