@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto:wght@400;700&display=swap');

/* resets */

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

:root {
  --primary-text-color: #183b56;
  --secondary-text-color: #577592;
  --accent-color: #2294ed;
  --accent-color-dark: #1d69a3;
  --padding-inline-section: 20px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--primary-text-color);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  color: var(--secondary-text-color);
  line-height: 1.8rem;
}

a {
  text-decoration: none;
  display: inline-block;
}

ul {
  list-style: none;
}

/* utility classes */

.small-bold-text {
  font-size: 1rem;
  font-weight: 700;
}

.container {
  max-width: 1170px;
  margin-inline: auto;
  padding-inline: var(--padding-inline-section);
}

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

.hover-link {
  color: var(--primary-text-color);
  transition: 0.3s ease-out;
}

.hover-link:hover {
  color: var(--accent-color);
}

.primary-button {
  background-color: var(--accent-color);
  border-radius: 6px;
  font-weight: 700;
  color: white !important;
  padding: 12px 24px;
  box-shadow: 0 0 2px var(--secondary-text-color);
  transition: 0.3s ease-out;
}

.primary-button:hover {
  background-color: var(--accent-color-dark);
}

.secondary-button {
  border: 0.5px solid var(--secondary-text-color);
  border-radius: 6px;
  font-weight: 700;
  color: var(--primary-text-color) !important;
  padding: 12px 24px;
  transition: 0.2s ease-out;
}

.secondary-button:hover {
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
}

/* 
=========================
    top-banner
=========================
 */
.top-banner {
  background-image: url('./assets/asset\ 30.png');
  background-color: #4fb3d4;
  background-size: 300px;
}

.banner-text {
  color: white;
  padding: 15px 30px;
  text-align: center;
}

/* 
=========================
    Navbar
=========================
 */
.main-nav {
  margin-top: 20px;
  justify-content: space-between;
}

.company-logo img {
  width: 200px;
}

.nav-links {
  flex-basis: 730px;
}
.nav-links ul {
  justify-content: end;
  gap: 40px;
}

/* 
=========================
    sidebar
=========================
 */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  transform: translateX(-100%);
  z-index: 1;
  backdrop-filter: blur('10px');
  background: white;
}

.show-sidebar {
  transform: translateX(0);
}

.sidebar-links {
  margin-top: 6rem;
  font-size: 1.25rem;
  padding: 2rem 0;
}

.nav-close {
  font-size: 2rem;
  position: absolute;
  right: 3rem;
  top: 3rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background: transparent;
  border: transparent;
}

.nav-close:hover {
  transform: scale(1.2);
}

.sidebar-link {
  padding: 1rem 0;
  text-align: center;
  padding-left: 1.25rem;
  transition: all 0.3s ease-in-out;
}

.sidebar-link:hover {
  background: #a6e6fc;
  padding-left: 2rem;
}
.sidebar-links .secondary-button {
  display: inline-block;
  margin-bottom: 1rem;
}

.sidebar-btn {
  text-align: center;
}
/* 
=========================
    header section
=========================
 */
header {
  padding: 50px var(--padding-inline-section) 0;
}

.header-section {
  justify-content: center;
  gap: 50px;
}

.header-left {
  max-width: 40vw;
}

.header-left h1 {
  margin-top: 20px;
}

.get-started-button {
  margin: 20px;
}

.header-right img {
  display: block;
  width: 600px;
}

/* 
=========================
    companies section
=========================
 */
.companies-header {
  text-align: center;
  margin-block: 30px;
  color: var(--primary-text-color);
}

.logos {
  margin-top: 50px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo {
  height: 46px;
}

/* 
=========================
    features section
=========================
 */
.features-section {
  padding: 80px var(--padding-inline-section) 0;
  background-image: url('./assets/asset\ 32.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.features-header,
.examples-header {
  text-align: center;
}

.features-heading-text {
  margin-bottom: 40px;
}

.features-area {
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  margin-top: 80px;
}

.features-card {
  flex-direction: column;
  gap: 20px;
  text-align: center;
  flex-basis: 300px;
}

.features-card img {
  width: 60px;
}
/* 
=========================
   big features section
=========================
 */
.big-feature-section {
  padding: 30px var(--padding-inline-section);
}

.big-feature-container {
  gap: 80px;
}

.feature-img img {
  width: 100%;
}
.feature-desc {
  flex-direction: column;
  align-items: flex-start;
}

/* 
=========================
   examples section
=========================
 */
.examples-header {
  text-align: center;
  flex-direction: column;
  gap: 20px;
}

.examples-area {
  margin-block: 30px;
  gap: 1rem;
  flex-wrap: wrap;
}

.examples-card {
  width: 23%;
  position: relative;
  min-height: 300px;
  background: black;
  transition: 0.3s ease-in-out;
}

.examples-card:hover {
  box-shadow: 0 0 10px #888;
  scale: 1.05;
}

.examples-card:nth-child(1) {
  background: linear-gradient(rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0.8)),
    url(./assets/asset\ 34.jpeg);
  background-size: cover;
}

.examples-card:nth-child(2) {
  background: linear-gradient(rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0.8)),
    url(./assets/asset\ 35.jpeg);
  background-size: cover;
}

.examples-card:nth-child(3) {
  background: linear-gradient(rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0.8)),
    url(./assets/asset\ 36.jpeg);
  background-size: cover;
}

.examples-card:nth-child(4) {
  background: linear-gradient(rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0.8)),
    url(./assets/asset\ 37.jpeg);
  background-size: cover;
}

.card-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
}

/* 
=========================
   cta section
=========================
 */
.cta-section-container {
  flex-direction: column;
  gap: 30px;
  color: white;
}

.cta-section {
  padding: 120px var(--padding-inline-section) 80px;
  background-color: #183b54;
}

.cta-section-container p {
  color: white;
  margin-top: 20px;
  text-align: center;
}

/* 
=========================
   footer section
=========================
 */
footer {
  padding-block: 80px;
  background-color: #ebf2fa;
}

.footer-logo {
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.link-column {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-container {
  justify-content: space-evenly;
  align-items: flex-start;
}

/* 
=========================
   subfooter section
=========================
 */

.subfooter {
  background-color: #b9cde4;
  padding: var(--padding-inline-section);
}

.subfooter-container {
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-btn {
  display: none;
}

/* 
=========================
   RESPONSIVE
=========================
 */
@media screen and (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .nav-btn {
    display: block;
    font-size: 1.75rem;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: transparent;
    background: transparent;
  }

  .nav-btn:hover {
    color: var(--accent-color-dark);
  }

  .header-section {
    display: flex;
    flex-direction: column-reverse;
  }

  .header-left {
    width: 90vw;
    max-width: 600px;
    text-align: center;
  }

  .header-left h1 {
    font-size: 2rem;
  }

  .header-right img {
    display: block;
    width: 100%;
    object-fit: cover;
  }

  .logos {
    gap: 2rem;
    justify-content: center;
  }

  .features-area {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .features-card {
    flex-basis: 250px;
    margin: 0 auto;
  }

  .big-feature-section img {
    display: block;
  }

  .examples-area {
    flex-wrap: wrap;
  }

  .examples-card {
    flex: 1 1 300px;
    justify-content: space-around;
    gap: 1rem;
  }

  .footer-container {
    gap: 3rem;
    flex-wrap: wrap;
    padding-left: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .big-feature-container {
    flex-direction: column;
  }

  .big-feature-container .feature-desc {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 576px) {
  .footer-container {
    justify-content: flex-start;
  }
}
