@import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&family=Workbench&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Teachers';
    color: #fff;
    scroll-behavior: smooth;
}

body {
    background-color: #272727;
    scroll-behavior: smooth;
}

.workbench {
    font-family: 'Workbench';
    color: #F47E14;
}

.primary-button {
    padding: 0.85rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.15rem;
    background-color: #F47E14;
    color: white;
    width: fit-content;
    font-weight: 600;
    text-align: center;
}

.secondary-button {
    padding: 0.85rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.15rem;
    border: 2px solid #F47E14;
    width: fit-content;
    font-weight: 600;
    text-align: center;
}

.ticker-wrapper {
  background-color: #F47E14;
  overflow: hidden;
  width: 100%;
  height: 2.5rem;
  display: flex;
  align-items: center;
  position: fixed;
  top: 4.5rem;
  z-index: 100;
}

.ticker {
  width: 100%;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.ticker-content {
  display: inline-block;
  /* padding-left: 100%; */
  animation: ticker-scroll 17s linear infinite;
}

.ticker-content span {
  display: inline-block;
  margin: 0 5rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero Section */

.mobile-nav {
    height: 4.5rem;
    background-color: #151515;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-logo img {
    filter: grayscale(100%) contrast(110%) brightness(150%);
}

.nav-logo img:hover {
    filter: none;
}

.mobile-navigation {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transition: 0.5s;
    padding-top: 5rem;
}

.mobile-navigation ul li {
    color: #fff;
    text-align: right;
    text-transform: uppercase;
    list-style-type: none;
    font-size: 2.5rem;
    padding: 10px 30px;
    margin-right: 0;
    place-self: end;
}

nav a:hover {
    color: #F47E14;
    border-bottom: 2px solid #F47E14;
}

.hamburger, .bar {
    position: fixed;
}

.hamburger {
    display: block;
    top: 35px;
    right: 5%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border: 0;
    background: 0 0;
}

.bar {
    top: 3px;
    background: #FFF;
    width: 100%;
    height: 4px;
    transition: all .3s ease-in;
}

.hamburger:hover .bar {
    background: #F47E14;
}

.two {
    top: 11px;
}

.three {
    top: 19px;
}

.mobile-navigation.active {
    right: 0;
}

.hamburger.open .bar.one {
    background-color: #F47E14;
    transform: rotate(45deg) translate(6px, 5px);
}

.hamburger.open .bar.two {
    background-color: transparent;
}

.hamburger.open .bar.three {
    background-color: #F47E14;
    transform: rotate(-45deg) translate(6px, -5px);
}

#hero .contact-btn {
    /* animation-duration: 1.5s;
    animation-name: shake;
    animation-timing-function: ease;
    animation-delay: 1s;
    animation-iteration-count: 5; */ 
    animation: 1.5s shake ease 1s 3;
}

#hero .primary-button, 
#hero .secondary-button {
    width: 185px;
}

.primary-button:hover {
    background-color: #DD6B17;
    border-color: #DD6B17;
}

.secondary-button:hover {
    border-color: #DD6B17;
}

.coming-soon {
    color: #383838!important;
    position: relative;
}

.coming-soon:hover a {
    color: #383838!important;
    border: none!important;
}

.coming-soon::after {
    color: #383838;
    content: '(Coming Soon)';
    font-size: 1rem;
    position: absolute;
    bottom: -17px;
    right: 40px;
}

/* End Hero Section */

/* Services Section */

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    width: 100%;
    max-width: 90%;
    margin: auto;
    padding: 60px 0;
}

.service-card {
    --dark-color: #2e2e2e;
    --dark-alt-color: #c3c3c3;
    --white-color: #ffffff;
    --button-color: #333333;
    --transition: 0.5s ease-in-out;

    font-family: inherit;
    height: 350px;
    width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-color);
    transition: var(--transition);
    border: 2px solid var(--clr)
}

.service-card::before,
.service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    transition: var(--transition);
}

.service-card::before {
    inset: -10px 50px;
    border-top: 4px solid var(--clr);
    transform: skewY(15deg);
    border-bottom: 4px solid var(--clr);
}

.service-card:hover::before {
    inset: -10px 40px;
    transform: skewY(0deg);
}

.service-card::after {
    inset: 60px -10px;
    border-left: 4px solid var(--clr);
    transform: skew(15deg);
    border-right: 4px solid var(--clr);
}

.service-card:hover::after {
    inset: 40px -10px;
    transform: skew(0deg);
}

.service-card .service-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 0 20px;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.services-title {
    font-weight: 600;
}

.service-card .service-content .services-icon {
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    background-color: var(--dark-color);
    transition: var(--transition);
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.service-card .service-content .services-icon {
    color: var(--clr);
    box-shadow: 0 0 0 4px var(--dark-color), 0 0 0 6px var(--clr);
}

.service-card:hover .service-content .services-icon {
    color: var(--dark-color);
    background-color: var(--clr);
    box-shadow: 0 0 0 4px var(--dark-color), 0 0 0 300px var(--clr);
}

.service-card:hover .services-icon img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.service-card .service-content h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white-color);
    transition: var(--transition);
}

.service-card:hover .service-content h4 {
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card .service-content p,
.service-card .service-content ul li {
    font-size: 0.9rem;
    color: var(--dark-alt-color);
    transition: var(--transition);
}

.service-card:hover .service-content p,
.service-card:hover .service-content ul li {
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card .service-content a {
    position: relative;
    display: inline-flex;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    border: 2px solid var(--clr);
    color: var(--dark-color);
    background-color: var(--clr);
    transition: var(--transition);
    margin-top: 1rem;
}

.service-card:hover .service-content a {
    color: var(--clr);
    background-color: var(--dark-color);
}

.service-card:hover .service-content a:hover {
    border-color: var(--dark-color);
    color: var(--dark-color);
    background-color: var(--clr);
}

.hyphen-list {
  list-style: none;
  padding-left: 1em;
}

.hyphen-list li::marker {
  content: "- ";
}

/* End Services Section */

/* Footer Section */

.footer-links:hover {
    color: #F47E14;
}


.social-icons img {
    filter: grayscale(100%) contrast(110%) brightness(150%);
}

.social-icons:hover img {
  transform: scale(1.1);
  filter: none;
}

/* End Footer Section */

/* Contact Page */

#contact-section {
    padding-top: 7rem;
}

input, textarea {
    background-color: transparent;
    border: 2px solid #878787;
    border-radius: 0.5rem;
}

input:hover, textarea:hover, input:focus, textarea:focus {
    border-color: #F47E14;
}

textarea {
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: lightgray transparent; /* For Firefox */
}

textarea::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent; /* No background track */
}

textarea::-webkit-scrollbar-track {
  background: transparent; /* Also removes any track background */
}

textarea::-webkit-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 999px; /* Makes it pill-shaped */
  border: 2px solid transparent; /* Optional: spacing around thumb */
  background-clip: content-box;  /* Keeps spacing clean */
}

#submitBtn:disabled {
    background-color: #878787;
}

/* End Contact Page */

/* Media Queries */

@media (min-width: 768px) {
    .mobile-nav {
        height: 5.5rem;
    }
    .hamburger {
        top: 45px;
    }
    .ticker-wrapper {
        top: 5.5rem;
    }
    .service-card {
        height: 400px;
    }
    .service-card .service-content {
        justify-content: start;
        padding: 50px 25px 0;
        gap: 15px;
    }
    .service-card .service-content a {
        margin-top: 2rem;
    }
    #contact-section {
        padding-top: 8rem;
    }
}

@media (min-width: 992px) {
    .hamburger {
        top: 45px;
        right: 2.5rem;
    }
    .mobile-navigation {
        width: 25%;
        padding-top: 6.5rem;
    }
    .service-card {
        height: 400px;
        margin: 0 auto;
    }
    .card-container {
        gap: 75px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
        justify-content: center;
        max-width: 85%;
    }
    .service-card .service-content a {
        margin-top: 3rem;
    }
    .service-card .service-content .services-icon {
        padding: 1rem;
    }
    .coming-soon::after {
        bottom: -20px;
    }
}

@media (min-width: 1200px) {
    .mobile-navigation ul li {
        font-size: 3rem;
    }
}

@media (min-width: 1400px) {
    #hero {
        padding-top: 10rem;
    }
    .card-container {
        max-width: 75%;
    }
}

@media (min-width: 1600px) {
    .card-container {
        max-width: 1600px;
    }
}

@media (min-width: 1440px) and (min-height: 800px) and (max-height: 1000px) {
    #hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1400px) and (max-height: 700px) {
    #hero {
        padding-top: 6rem;
    }
    .card-container {
        gap: 60px;
        max-width: 85%;
    }
}

@media (min-height: 1200px) {
    #hero {
        padding-top: 12rem;
        padding-bottom: 9rem;
    }
}

/* ASPECT RATIO 16:10 */

@media screen and (min-width: 1150px) and (max-height: 1000px){
    #hero {
        padding-top: 128px;
    }
}

@media screen and (min-width: 1920px) and (max-height: 1250px) {
  #hero {
        padding-top: 128px;
    }
}

/* End Media Queries */

/* Keyframes */

@keyframes shake {
    0% {
        transform: rotate(4deg);
    }
    10% {
        transform: rotate(-4deg);
    }
    20% {
        transform: rotate(2deg);
    }
    30% {
        transform: rotate(-2deg);
    }
    40% {
        transform: rotate(1deg);
    }
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* End Keyframes */