/* Fonts */
:root {
  --default-font: "Plus Jakarta Sans", 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";
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* White Background color for the entire website, including individual sections */
  --esnapped-yellow: #FDC70C; /* Yellow shade of E-Snapped */
  --esnapped-black: #2B2B29; /* Black shade of E-Snapped */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--esnapped-black);
  background-color: var(--esnapped-black);
  font-family: var(--default-font);
  overflow-x: hidden;
}

a {
  color: var(--background-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--background-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--esnapped-black);
  font-family: var(--default-font);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 30px;
  margin-left: 10%;
}

.section-label h1 {
  color: var(--esnapped-black);
  font-weight: 700;
  font-size: 2.5rem;
  width: auto;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 10px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--esnapped-black);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--esnapped-black) transparent var(--esnapped-black) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--esnapped-black);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  margin: 0 20px 20px;
}

.scroll-top i {
  font-size: 32px;
  color: var(--background-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--esnapped-black), transparent 20%);
  color: var(--background-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid
    color-mix(in srgb, var(--background-color), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 44px;
  width: auto;
  margin-right: 8px;
}

.header .btn-contact-us,
.header .btn-contact-us:focus {
  color: var(--esnapped-yellow);
  background: var(--esnapped-black);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  margin-left: 10px;
  border: 2px solid var(--esnapped-black);
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.header .btn-contact-us:hover {
  background: var(--background-color);
  color: var(--esnapped-yellow);
  border-color: var(--esnapped-black);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-contact-us {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }

  .btn-container {
    text-align: center;
  }

  .header .btn-contact-us,
  .header .btn-contact-us:focus {
    display: inline-block;
    color: var(--esnapped-yellow);
    background: var(--esnapped-black);
    font-size: 18px;
    padding: 10px 20px;
    border: 2px solid var(--esnapped-black);
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 20px auto;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--esnapped-black);
    padding: 18px 15px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus,
  .btn-contact-us {
    color: var(--esnapped-black);
  }

  .navmenu li:hover > a {
    color: var(--esnapped-black);
  }

  .mobile-logo {
    display: none;
  }

  .logo-img {
    display: block;
  }

  .mobile-nav-active .navmenu {
    position: static;
  }

  .mobile-nav-active .navmenu ul {
    display: flex;
  }

  .mobile-nav-toggle {
    display: none;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .container-fluid.container-xl {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .logo-img {
    display: block;
    margin: 0 auto;
  }

  .mobile-nav-toggle {
    color: var(--esnapped-black);
    font-size: 25px;
    line-height: 0;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s ease;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 0;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--esnapped-black);
    padding: 20px 20px 20px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--esnapped-black), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--esnapped-black);
    color: var(--background-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--esnapped-black);
    color: var(--esnapped-black);
    transform: rotate(180deg);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--esnapped-black);
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
    transform: rotate(180deg);
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  .mobile-nav-active .mobile-nav-toggle {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
  }

  .mobile-nav-toggle {
    transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
  }

  .mobile-logo {
    display: block;
    margin: 25px auto;
    padding-bottom: 50px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Global Nav Link
--------------------------------------------------------------*/

.nav-link {
  text-decoration: none;
  color: var(--esnapped-black);
}

.nav-link:hover {
  text-decoration: none;
  color: var(--esnapped-black);
  font-weight: 800;
}

.nav-link.active {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  color: var(--esnapped-black);
  font-weight: 800;
  justify-content: center;
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--esnapped-black);
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# home Section
--------------------------------------------------------------*/
/*Desktop view - Top Contents*/
.home {
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    background-color: var(--background-color);
}

.home-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.home .center-image {
    width: 100%;
    height: auto;
    margin: auto;
}

.home-desc {
  margin-left: 50px;
}

.home h1 {
    font-size: 44px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

.highlight {
    color: var(--esnapped-yellow);
    background: var(--esnapped-black);
    border-radius: 5px;
    padding: 5px 10px 10px 10px;
    font-weight: 500;
}

.home p {
    font-size: 18px;
    color: var(--esnapped-black);
    margin-bottom: 20px;
}

.btn-top {
  margin-top: 80px;
}

.btn-get-started {
    color: var(--esnapped-yellow);
    background: var(--esnapped-black);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s;
    padding: 15px 80px 15px 80px;
}

.btn-get-started:hover {
   background: color-mix(in srgb, var(--esnapped-black), transparent 15%);
}

/*Mobile view - Top Contents*/
@media (max-width: 991px) {
.home-desc {
  margin: 0;
  }

.home h1 {
   font-size: 36px;
 }

.mobile-line-break {
   display: block; 
   margin-top: 20px;
  }

.home p {
  font-size: 16px;
}

.btn-get-started {
  padding: 15px 40px 15px 40px;
  }
}

@media (max-width: 767px) {
.home .center-image {
  max-width: 70%;
  height: auto;
  }

.home-desc {
   margin: 0 20px 0 20px;
  }

.home h1 {
    font-size: 34px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
  }

.mobile-line-break {
    display: block; 
    margin-top: 20px;
  }

.home p {
  margin-right: 40px;
}

.btn-get-started {
  padding: 15px 40px 15px 40px;
  }
}

/*Desktop View - Bottom Contents*/
.home-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
    margin: 20% 0 10%;
}

.home-feature-box {
    text-align: center;
    padding: 15px;
    max-width: 220px;
}

.home-feature-icon {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.home-feature-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--esnapped-black);
    margin-top: 10px;
}

/*Mobile view - Bottom Contents*/
@media (max-width: 1399px) {
.home-features {
    flex-direction: column; 
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    justify-content: center;
    align-items: center;
  }

  .home-feature-box {
    width: 100%;
    margin-left: 30%;
  }
}

@media (max-width: 768px) {
 .home-features {
  gap: 0;
  align-items: normal;
 }

 .home-feature-box {
  margin: 0 0 50px;
  padding: 0;
 }

 .home-feature-box h4 {
    font-size: 14px;               
  }

  .home-feature-icon {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
  }

}

/*--------------------------------------------------------------
# Feature Section
--------------------------------------------------------------*/
/*Desktop View*/
.features {
  background-color: #ffc800;
  padding: 50px 20px;
  text-align: center;
}

.features h2 {
  font-size: 36px;
  margin-bottom: 60px;
  font-weight: 700;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  position: relative;
  margin: 0 auto;
  width: 50%;
}

.feature-box {
  text-align: center;
  position: relative;
  background-color: var(--esnapped-black);
  color: white;
  padding: 20px 0 60px;
  border-radius: 20px;
  z-index: 1;
}

.feature-box img {
  width: 80px;
  height: auto;
  margin: 20px 0 20px;
}

.feature-box p {
  margin: 10px 20px 0 20px;
  font-size: 14px;
  color: var(--background-color);
  letter-spacing: 2px;
  line-height: 20px;
}


/*.feature-box::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 2px solid black;
  border-radius: 30px;
  z-index: -1;
}*/

/*Mobile View*/

@media (max-width: 1669px) {
.features-container {
  width: 70%;
  }
}

@media (max-width: 1150px) {
.features-container {
   display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 40px;
    position: relative;
    margin: 0 auto;
    width: 60%;
  }
}

@media (max-width: 768px) {
  .features-container {
    width: 100%;
  }
}

@media (max-width: 414px) {
  .features-container {
   gap: 40px 20px;
  }

  .feature-box p {
    margin: 10px 10px 0 10px;
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Why e-Snapped Section
--------------------------------------------------------------*/
.joint {
    background: url("../img/esnapped-bg-2.svg") no-repeat center center;
    background-size: cover; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

.about {
    flex: 1 0 auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.container {
    position: relative; 
}

.about .row {
    display: flex;
    align-items: center;
}

.about-desc h1 {
    font-size: 44px;
    font-weight: 600;
    color: var(--esnapped-yellow);
    margin-bottom: 40px;
}

.about-desc ul li {
    color: var(--background-color);
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

li::marker {
    color: var(--esnapped-yellow);
    font-size: 24px;
}

.about .center-image {
    width: 80%;
    margin-bottom: 80px;
}

.about-footer {
    background-color: var(--background-color);
    border-top-right-radius: 44px;
    border-bottom-right-radius: 44px;
    padding: 15px 20px;
    flex: 0 0 auto; 
    width: 55%;
    margin-bottom: 5%;
}

.about-footer p {
    color: var(--esnapped-black);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
    letter-spacing: 1px;
}

.about-footer strong {
    color: var(--esnapped-black);
}

/* Mobile View */
@media (max-width: 991px) {
    .about .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; 
    }

    .about .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-desc {
        width: 80%;
    }

    .about-desc h1 {
        font-size: 24px;
    }

    .about-desc ul li {
        line-height: 30px;
    }

    .about .center-image {
        width: 350px;
        margin-top: 20px; 
    }

    /* About-footer */
    .about-footer {
        width: 90%;
    }

    .about-footer p {
        font-size: 12px;
        text-align: left;
        width: 90%;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--esnapped-black);
  background-color: var(--esnapped-yellow);
  border-top: 1px solid color-mix(in srgb, var(--esnapped-black), transparent 80%);
  font-size: 14px;
  padding: 40px 20px;
  position: relative;
}

.footer .footer-top {
  padding: 20px 0;
}

.footer .footer-about {
  text-align: center;
}

.footer .footer-about img {
  max-height: 50px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.footer .footer-links,
.footer .footer-contact {
  padding-left: 20px;
  padding-right: 20px;
}

.footer .footer-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.footer h4 {
  text-align: left;
  margin-left: 0;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: var(--esnapped-black);
}

.footer .footer-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.footer .footer-links ul li {
  padding: 5px 0;
}

.footer .footer-links ul a {
  color: var(--esnapped-black);
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: var(--background-color);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 20px;
  color: var(--esnapped-black);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-media {
  width: 30px;
  height: auto;
}

.footer .copyright {
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer .copyright p {
  margin-bottom: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer .footer-links,
  .footer .footer-contact {
    text-align: center;
  }

  .footer .footer-links h4,
  .footer .footer-contact h4 {
    text-align: center;
  }

  .footer .footer-links ul,
  .footer .footer-contact ul {
    text-align: center;
  }
}
