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

:root {
  --primary-color: #fb9700;
  --light-color: #f4f4f6;
  --dark-color: #26241f;
  --dark-blue: #274357;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

/* flex */

.navbar .container, .navbar .main-menu ul, .divider, .services-home-grid, .card {
  display: flex;
}

/* Navbar */
.navbar {
  padding: 20px;
}

.logo img{
  max-width: 400vw;
}

#logo, #logo-dark{
  position: relative;
  left: 0px;
}

.navbar .container {
  justify-content: space-between;
  align-items: center;
}

.navbar ul li a {
  padding: 10px 20px;
  display: block;
  font-weight: 600;
  transition: 0.5s;
}

.navbar ul li a:hover {
  color: var(--primary-color);
}

.navbar ul li a i {
  margin-right: 10px;
}

.navbar ul li:last-child a {
  margin-left: 10px;
}

.logo {
  padding-right: 50px;
}

.main-menu a.active {
  color: var(--primary-color);
}

/* Hero */
.hero {
  margin-bottom: 20px;
  height: 600px;
}

.hero .container {
  background-size: contain;
  background-position: right bottom;
  height: 350px;
  display: flex;
  justify-content: center;
}

.hero .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  width: 70%;
}

.hero-buttons {
  margin-top: 5%;
}

/* Divider */
.divider {
  position: relative;
  margin-top: -70px;
  width: 100%;
  height: 0;
  justify-content: flex-start;
  align-items: center;
}

.button-header {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 25px;
  border-width: 10px;
  position: absolute;
  top: -25px; 
  z-index: 1;
}

/* Serice-Home section */
.services-home {
  padding: 100px 0;
}

.services-home .services-home-header {
  margin-bottom: 100px;
  font-weight: 500;
  font-size: 2.75rem;
}

.services-home-grid {
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.card {
  background: #fff;
  color: var(--dark-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  width: 300px;
  height: 500px;
}

.card img {
  height: 150px;
  align-self: center;
  margin-bottom: 40px;
  
}

.card h2 {
  align-self: center;
  margin: 0;
}

.card p {
  flex-grow: 1;
  margin: 10px 0;
  font-size: 1em;
  line-height: 1.5;
}

.card a {
  align-self: center;
  width: 100%;
  margin-top: 15px;
}

.card i {
  padding-left: 5px;
}

/* Footer */
.footer {
  padding: 40px 0;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer ul li {
  display: block;
  line-height: 2.5;
  
}

.footer a:hover {
  color: var(--primary-color);
}

.footer i {
  font-size: 1.5rem;
  margin-right: 10px;
  padding-left: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  justify-content: center;
}


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

.footer-designer {
  display: flex;
}

.footer-grid img {
  height: 25vh;
}

/* About us */
.aboutus-wrapper {
  display: block;
}

.aboutus {
  text-align: left;
  height: 70vh;
}

.row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-around;
  align-items: center;
}

.column-1 {
  display: block;
  padding: 10px;
  margin-right: 50px;
  max-width: 50%;
  
}

.column-2 {
  display: flex;
}

.about-p {
  padding-top: 40px;
  max-width: 600px;
  width: 100%;
  margin-right: auto;
}

.aboutimg-wrapper {
  width: 100%;
  height: auto;
  flex-wrap: nowrap;
  margin: 0 auto;
  /* padding-right: 12rem; */
  display: flex;
  align-self: center;
  max-width: 500px;
}

.aboutimg-wrapper img {
  height: 500px;
  border-radius: 5px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}



.team-wrapper {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-top: 10%;
}

.meet-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-container {
  background-color: var(--light-color);
  display: flex;
  justify-content: center;
  margin-top: 5%;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5%;
  margin-bottom: 5%;
}

.team-cardcol-1 {
  width: 50%;
}

.team-cardcol-2 {
  width: 50%;
  display: flex;
  justify-content: center;
  margin-left: 5%;
}

.team-cardcol-2 .danielabout {
  height: 275px;
  border-radius: 5px;
}

.team-cardcol-2 .gregabout{
  height: 80%;
  border-radius: 5px;
}

.card-pretitle {
  color: #5b637d;
}

.team-card {
  height: 100%;
  width: 75%;
  display: flex;
  flex-direction: row;
}


/* Services Page */

.services-pretitle {
  margin: 3%;
}

/* Web Design Page */
.wd-container {
  max-width: 100%;
  width: 100%;
  background-color: #fff;
  padding: 40px;
  justify-content: center;
  display: flex;
}

.wd-header, .introduction, .details, .faqs, .call-to-action {
  margin-bottom: 40px;
  text-align: center;
}

.wd-header {
  align-self: center;
  max-width: 50%;
}


.wd-header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.wd-header p {
  font-size: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.introduction p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-button {
  padding: 15px 30px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  background-color: var(--primary-color);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: var(--dark-blue);
}

.details h2, .faqs h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

/* Features */
.wd-features-header {
  margin-left: 5%;
}

.wd-features-header h1{
  font-size: 1.5rem;
  padding: 2%;
}

.wd-features-grid {
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  column-gap: 3%;
}

.features-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  background-color: var(--light-color);
  border-radius: 10px;
  margin-bottom: 2%;
}

.features-card img {
  width: 65%;
}

.features-card p {
  padding: 5px;
  padding-bottom: 15px;
}

/* FAQ */
.faq {
  padding: 40px 0;
}

.faq h3 {
  font-size: 2rem;
}

.faq .faq-group {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
  padding: 20px 0;
  margin-bottom: 15px;
  position: relative;
}

.faq .faq-group .faq-group-header h4 {
  font-weight: 600;
  width: 95%;
}

.faq .faq-group .faq-group-header i {
  position: absolute;
  right: 0;
  top: 35px;
  font-size: 1.3rem;
  cursor: pointer;
}

.faq .faq-group .faq-group-body {
  display: none;
}

.faq .faq-group .faq-group-body.open {
  display: block;
}

.call-to-action {
  text-align: center;
}

.call-to-action p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* Contact Us Page */

.contact-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}


.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-footer {
  margin-bottom: 26%;
}

.contact-text {
  margin-top: 4%;
  max-width: 60%;
}

.contact-grid {
  display: flex;
  justify-content: space-around;
  margin-top: 5%;
  margin-bottom: 5%;
  text-align: center;
}

.contact-col {
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 2.4rem;
}

.contact-col img {
  height: 50%;
}

.contact-col-h3 {
  font-size: 1.6rem;
  font-weight: normal;
}






/* Utility Classes */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.row-center {
  display: flex;
  justify-content: center;
}

.col-center {
  display: flex;
  align-items: center;
}

.row-gap {
  row-gap: 20px;
  
}

.col-gap {
  column-gap: 70px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 20px;
  background-color: var(--light-color);
  color: #333;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
}

.btn:hover {
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  background: white;
  color: var(--primary-color);
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-dark {
  background: var(--dark-color);
  color: #fff;
}

.btn-dark-blue {
  background-color: var(--dark-blue);
  color: #fff;
}


.btn-block {
  display: block;
  width: 100%;
}

/* Text Classes */
.text-xxl {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: normal;
}

.text-xl {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 40px 0 20px;
}

.text-lg {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 30px 0 20px;
}


.text-md {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
}

.text-sm {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 5px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-primary {
  color: var(--primary-color);
}

.text-dark {
  color: var(--dark-color);
}

.text-blue {
  color: var(--dark-blue);
}

.text-light {
  color: #ccc;
}

.text-header {
  font-size: 1.4rem;
  line-height: 2.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.text-header-blue {
  font-size: 1.4rem;
  line-height: 2.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--dark-blue);
  margin-bottom: 5px;
}

/* Background */
.bg-primary {
  background: var(--primary-color);
  color: #fff;
}

.bg-light {
  background: var(--light-color);
  color: #333;
}

.bg-dark {
  background: var(--dark-color);
  color: #fff;
}

.bg-dark-blue {
  background: var(--dark-blue);
  color: #fff;
}

.bg-black {
  background: #000;
  color: #fff;
}


.change .hamburger-line1 {
  transform: translateY(9px) rotate(-45deg);
}

.change .hamburger-line2 {opacity: 0;}

.change .hamburger-line3 {
  transform: translateY(-9px) rotate(45deg);
}
/* Hamburger Button */

.hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  padding: 10px;
  z-index: 1000;
}


.hamburger-line1, .hamburger-line2, .hamburger-line3 {
  width: 35px;
  height: 3px;
  background: #333;
  margin: 6px 0;
  transition: 0.4s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

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

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  font-size: 20px;
  transition: 0.3s;
}

.phone-text {
  padding-bottom: 3%;
}

.phone-text:nth-child(1) {
  padding-top: 5%;
}




/* Media Queries */
@media (max-width: 960px) {
  .text-xxl {
    font-size: 2rem;
  }
  
  
}

@media (max-width: 710px) {
  .navbar .main-menu {
    display: none;
  }

  .navbar .hamburger-button {
    display: block;
    padding: 5px;
  }

  .logo-link img {
    width: 65vw;
  }

  .logo-link {
    margin: 0;
  }

  .aboutus-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .aboutus {
    height: auto;
  }

  .row {
    flex-direction: column;
    max-width: 100%;
  }

  .column-1 {
    max-width: 100%;
  }

  .column-2 {
    display: none;
  }

  .team-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  .team-card {
    display: flex;
    flex-basis: 100%;
    width: 100%;
  }

  .services-home .services-home-grid,
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer .card {
    margin-right: 0;
  }

  .footer .footer-grid > div {
    text-align: center;
  }

  .footer-bottom {
    margin-top: 3%;
  }

  .text-xxl {
    font-size: 2rem;
  }

  .wd-container {
    max-width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
  }

  .wd-header {
    max-width: 100%;
  }

  .wd-feature-grid {
    flex-direction: column;
  }

  .features-card {
    margin: 4%;
    width: 100%;
  }

}

@media (min-width:272px) and (max-width: 820px) {

  .navbar .main-menu {
    display: none;
  }

  .navbar .hamburger-button {
    display: block;
    padding: 5px;
  }

  .navbar {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .logo-link img {
    width: 45vw;
  }

  .logo-link {
    margin: 0;
  }
  .hero {
    display: flex;
    align-items: center;
  }


  .hero .container {
    height: 770px;
  }

  .hero-content .hero-heading {
    padding-bottom: 10%;
    margin-bottom: 50px;
  }

  .hero .hero-content,
  .hero .hero-text {
    width: 100%;
    text-align: center;
  }

  .hero .hero-buttons .btn {
    margin-bottom: 10px;
    display: block;
    width: 100%;
  }

  .card {
    max-width: 100%;
  }

  .meet-team {
    display: flex;
    max-width: 100%;
    margin: 0;
    padding: 5px;
  }

  .team-cardcol-1 {
    width: 100%;
  }

  .team-cardcol-2 {
    display: none;
  }
  .contact-container {
    overflow-x: hidden;
    flex-wrap: nowrap;
  }
  .contact-text p {
    padding-top: 10%;
    text-align: left;
  }

  .contact-grid {
    flex-direction: column;
    height: auto;
    flex-wrap: nowrap;
  }

  .contact-col1 {
    padding-top: 5%;
    padding-bottom: 2%;
  }
  .contact-col2 {
    padding-bottom: 5%;
  }
  .contact-col3 {
    padding-bottom: 2%;
  }

  .contact-phone img:nth-child(1) {
    height: 40%;
  }

  .services-home .services-home-grid, .team-grid,
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer .card {
    margin-right: 0;
  }

  .footer .footer-grid > div {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-designer {
    padding-top: 5%;
  }

  .footer img {
    height: 170px;
  }

  /* Text */
  .text-xl {
    font-size: 1.9rem;
  }

  .text-lg {
    font-size: 1.5rem;
  }

  .text-md {
    font-size: 1.1rem;
  }
}



@media (max-width: 450px) {
  .text-xxl {
    font-size: 2rem;
  }
}

/* @media (prefers-color-scheme: dark) {
    body {
      background: #26241f;
    }

    a {
      color: white;
    }

    .dropbtn, .dropbtn:hover, .dropdown:focus .dropbtn, .dropdown-content a:hover, .mobile-menu, .btn:hover, .services-home, .footer, .wd-container, .wd-feature-container {
      background-color: var(--dark-color);
    }

    .card a {
      color: var(--dark-color);
    }

    .hamburger-button .hamburger-line, .card a {
      background: var(--light-color);
    }

    .hero-heading, .hero-text, .faq-group-header, .faq-group-body, .call-to-action, .contact-header p, .contact-footer, .about-h2, .about-p, .meetteamtitle, .wd-header h1, .wd-header p {
      color: var(--light-color);
    }
    
    .services-home, .cards-container {
      background-color: var(--dark-blue);
    }

    .card {
      background-color: #fff;
      color: #000;
    }

    .services-header p, .wd-features-header h1, .faq h3, .faq-group-header i, .contact-header h1 {
      color: var(--primary-color);
    }

    .only-on-dark {
      display: block;
    }

    .only-on-light {
      display: none;
    }
}

@media (prefers-color-scheme: light) {
  .only-on-dark {
    display: none;
  }

  .only-on-light {
    display: block;
  }
} */