@font-face {
    font-family: 'Switzer-Variable';
    src: url('../fonts/Switzer-Variable.woff2') format('woff2'),
         url('../fonts/Switzer-Variable.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Switzer-VariableItalic';
    src: url('../fonts/Switzer-VariableItalic.woff2') format('woff2'),
         url('../fonts/Switzer-VariableItalic.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
    font-style: italic;
  } 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
} 

/* Typography */

body {
    font-family: 'Switzer-Variable', sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 5.6rem;
    line-height: 1.2;
    font-weight: 700;
}

.gradient-font {
    display: inline-block; /* required for background-clip */
     background: linear-gradient(to bottom, #111827 55%, #979797) 45%;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     color: transparent;
}

h2 {
    font-size: 4.8rem;
    line-height: 1;
    letter-spacing: -0.1rem;;
    font-weight: 600;
    color: #0D0D0D;
}

h3 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    color: #0D0D0D;
}

h4 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #0D0D0D;
}

h5 {
    font-size: 1.4rem;
    letter-spacing: 0.12rem;
    color: #303030;
}

p {
    font-size: 1.6rem;
    font-weight: 400;
    color: #667185;
    line-height: 1.45;
}

.big-paragraph {
    font-size: 3.2rem;
    font-weight: 500;
}

a {
    font-size: 1.4rem;
    font-weight: 600;
    color: #667185;
    text-decoration: none;
    display: inline-block;
}

a:hover {
    color: #040405;
}

.sub-title {
    letter-spacing: 0.12rem;
    color: #303030;
    font-weight: 600;
}

@media screen and (max-width: 425px) {
    h1 {
        font-size: 3.2rem;
        text-align: start;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 2.4rem;
    }

    h4 {
        font-size: 2rem;
    }

    h5 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1.4rem;
    }

    .main-paragraph {
        font-size: 1.6rem;
        text-align: start;
    }

    a {
        font-weight: 500;
    }
}

/* Animation */

/* Animation CSS class */

.animate-to-bottom {
    /* Animation to top */
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInTop 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-to-top {
    /* Animation to top */
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInTop 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-to-right {
    /* Animation to top */
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInTop 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-to-left {
    /* Animation to top */
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInTop 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInTop {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation JavaScript Class */

/* Base hidden styles */
.section {
  opacity: 0;
  animation-delay: 0.5s;
  transition: opacity 0.8s ease-out, transform 1s ease-out;
}

/* Directions */
.hidden-left {
  transform: translateX(-50px);
}

.hidden-right {
  transform: translateX(50px);
}

.hidden-top {
  transform: translateY(-50px);
}

.hidden-bottom {
  transform: translateY(50px);
}

/* Final state when element becomes visible */
.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Components */

.btn {
    display: inline-block;
    background-color: #141414;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 0.7rem;
    text-align: center;
}

.btn:hover {
    background-color: #505050;
}

.btn-label {
    color: white;
    font-weight: 600;
    text-decoration: none;  
}

.btn-label:hover {
    color: rgb(255, 255, 255);
}

.card-bg {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(196, 196, 196, 0.459);
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  
}

.card-scale {
    transition: transform 0.3s ease;
}

.card-scale:hover {
    transform: scale(103%);
    cursor: pointer;
}

/* Spacing Utilities */
/* Margin Bottom */

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 4rem; }
.mb-4 { margin-bottom: 6rem; }
.mb-5 { margin-bottom: 8rem;}
.mb-6 { margin-bottom: 12rem;}
.mb-7 { margin-bottom: 15rem; }

/* Margin Left */

.ml-1 { margin-left: 1rem; }

/* padding */

.pd-1 { padding: 1rem;}
.pd-2 { padding: 2rem;}
.pd-3 { padding: 3rem;}
.pd-4 { padding: 4rem;}

.center { text-align: center;}

/* Line Height */

.lh-1 { line-height: 1.45;}


/* Grid System */

.flex-container {
    display: flex;
    gap: 2rem;
    max-width: 121rem;
    margin: 0 auto;
}

.card {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(196, 196, 196, 0.459);
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 2rem;
}

.cta-box {
    width: 121rem;
    margin: 0 auto;
}

/* Header Navigation */

.sticky-header {
    position: sticky;
    top: 0px;
    z-index: 3;
    background: white;
}

.header-pc {
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: 0 auto;
    margin-bottom: 15rem;
    padding: 1rem 0;
}

header img {
    width: 14rem;
    height: 3.2rem;
}

header ul {
    display: flex;
    list-style: none;
    text-align: center;
    align-items: center;
}

header li {
    height: 3.4rem;
    padding: 0 2rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: #667185;
    align-content: center;
}

header li:hover {
    color: #040405;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.mega-menu-link:hover {
    cursor: pointer;
    color: #040405;
}

.mega-menu-link img {
    width: 2rem;
    height: 2rem;
    margin-left: -1.5rem;
}

.mega-menu {
    width: 80rem;
    height: auto;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(196, 196, 196, 0.459);
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.mega-menu-title {
    font-weight: 500;
    color: black;
    font-size: 2rem;
}

.mega-menu-product {
    display: none; 
    position: absolute;
    top: 4rem;
    right: 5rem;
  }
  
.mega-menu-services {
    display: none;
    position: absolute;
    top: 4rem;
    right: 5rem;
}

.chevron {
    transition: transform 0.3s ease;
  }
  
  .rotate-180 {
    transform: rotate(180deg);
  }
  

.mega-menu-lining {
    display: flex;
    justify-content: center;
}

.mega-menu-items {
    display: flex;
    padding: 1rem;
    width: 44rem;
}

.mega-menu-items:hover {
    background-color: rgb(231, 231, 231);
}

.mega-menu-items-lining {
    padding: 2rem 0;
}

.mega-menu-items img {
    width: 4rem;
    height: auto;
    margin: 1rem;
}

.mega-menu-article {
    border-left: 1px solid rgba(196, 196, 196, 0.459);;
    padding: 2rem;
}

.mega-menu-learn-more {
    text-align: end;
}

.mega-menu-article img {
    width: 32rem;
    height: auto;
}


.header-mobile {
    display: none;
}

.mobile-version {
    display: none;
}

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

    .header-pc {
        display: none;
    }

    .pc-version {
        display: none;
    }

    .mobile-version {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 3.6rem;
        height: 3.6rem;
        border-radius: 0.5rem;
        border: 1px solid rgba(196, 196, 196, 0.459);  
    }

    .mobile-menu-toggle img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .header-mobile {
        display: block;
        position: static;
        margin-bottom: 10rem;
    }

    .header-mobile-top {
        display: flex;
        justify-content: space-between;
        padding: 1rem;
    }

    .header-mobile-nav {
        display: none;
        width: 100%;
    }

    .header-mobile-nav li {
        display: inline-block;
        width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        text-align: start;
    }

    .header-mobile-nav a {
        font-weight: 600;
    }

    .mega-menu-mobile {
        padding-left: 1rem;
        
    }

    .mega-menu-mobile img {
        margin-right: 0.5rem;
        width: 2rem;
        height: auto;
        top: 0.4rem;
        position: relative;
    }

    .mega-menu-mobile a {
        font-weight: 450;
    }

    .mega-menu-mobile-dropdown {
        display: flex;
        padding-right: 2rem;
    }

    .mega-menu-mobile-dropdown img {
        width: 2rem;
        height: 2rem;
        position: relative;
        top: 1rem;
    }

    #mega-menu-dropdown {
        display: none;
    }

    #chevron-menu-mobile {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    #mega-menu-dropdown-service {
        display: none;
    }

    #chevron-menu-mobile-service {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
}

/* Hero Section Title */

.hero-section-title {
    text-align: center;
    margin: 0 auto;
    width: 60rem;
}

.title-description {
    font-size: 1.8rem;
}

/* Footer*/

footer {
    margin: 0 auto;
    width: 121rem;;
}

.footer-lining {
    display: flex;
    justify-content: space-between;
}

.footer-contact {
    width: 50rem;
}

.footer-contact-logo {
    width: 28rem;
}

.footer-contact h4 {
    font-size: 2rem;
    color: #344054;
    font-weight: 400;
}

.footer-contact p {
    font-size: 1.6rem;
    color: #667185;
}

.footer-icon-lining {
    display: flex;
    gap: 0.5rem;
}

footer nav ul {
    display: flex;
    height: auto;
    gap: 1.5rem;
}

footer nav li {
    list-style: none;
    align-content: center;
}

footer nav .we-are-hiring {
    color: #007084;
    background-color: #F5F8FF;
    border-radius: 1rem;
    margin-left: -1.2rem;
}

.footer-form {
    width: 44rem;
}

.footer-form h4 {
    font-size: 2rem;
    color: #344054;
    font-weight: 400;
}

.form-placeholder {
    height: 4rem;
    width: 32rem;
    border: 1px solid rgba(196, 196, 196, 0.459);
    border-radius: 1rem;
    padding: 1rem;
    margin-right: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    height: 10rem;
    border-top: 1px solid rgba(196, 196, 196, 0.459);
    padding-top: 2rem;
}

.social-media-footer {
    display: flex;
    gap: 1.5rem;
}

.copyright p {
    font-size: 1.4rem;
}

@media screen and (max-width: 425px) {
    footer {
        width: 90%;
    }

   .footer-lining {
    display: grid;
   }

   .footer-contact {
    width: 30rem;
   }

   .footer-contact-logo {
    width: 14rem;
   }

   .footer-contact h4 {
    font-size: 1.6rem;
   }

   .footer-contact p {
    font-size: 1.4rem;
   }

   footer nav ul {
    display: grid;
    gap: 1rem;
    position: relative;
    margin: 3rem 0;
   }

   footer nav .we-are-hiring {
    position: absolute;
    width: 10rem;
    top: 11rem;
    left: 7rem;
   }

   .footer-form {
    display: grid;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 4rem;
    margin-top: 2rem;
   }

   .footer-form h4 {
    font-size: 1.9rem;
   }

   .form-placeholder {
    width: 100%;
    margin: 0 auto;
   }

   .footer-bottom {
    display: grid;
    margin: 1rem;
   }

   .copyright p {
    width: 24rem;
   }

   .title-description {
    font-size: 1.5rem;
    text-align: start;
}
}