@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

:root {
    --primary-text-color: #183656;
    --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.3rem;
    color: var(--secondary-text-color);
    line-height: 1.8rem;
}

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

/* Utility classes */
.small-bold-text {
    font-size: 1rem;
    font-weight: 700;
}

.container {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: var(--padding-inline-section);
    /* background-color: pink; */
}

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

ul {
    list-style: none;
}

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

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


/* Nav-bar */
.logo {
    max-width: 250px;
}

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

.nav-links {
    flex-basis: 730px;
    /* background-color: pink; */
}

.nav-links ul li {
    margin-right: 25px;
}

.hover-links {
    color: var(--primary-text-color);
    transition: 0.2 ease-in-out;
}

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

.primary-button {
    background-color: var(--accent-color);
    border-radius: 6px;
    color: white !important;
    padding: 12px 24px;
    transition: 0.2s ease-out;
    font-weight: 700;

}

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

.secondary-button {
    border: 1px solid var(--secondary-text-color);
    border-radius: 6px;

    padding: 12px 24px;
    transition: 0.2s ease-out;
    font-weight: 700;

}

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



/* header-section */
header {
    padding: 50px var(--padding-inline-section) 0px;
}

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

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

.header-left p {
    margin-bottom: 20px;
}


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

/* companies */
.company-header {
    text-align: center;
    margin-top: 50px;
    font-weight: 100px;
    color: var(--primary-text-color) !important;

}

.logo {
    height: 46px;

}

.logos {
    height: 46px;
    justify-content: space-between;
    margin: 30px 0px;
    flex-wrap: wrap;
}

/* Features */
.features-section {
    background-image: url(assets/asset\ 34.svg);
    margin: 80px var(--padding-inline-section) 50px;
    background-repeat: no-repeat;
    background-position: center;

}

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

.features-header h2,
.example-header h2 {
    margin-bottom: 30px;
    margin-top: 30px;
}

.features-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    max-width: 26%;
}

.features-area {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px 0px;
    margin-top: 25px;
}

.big-f-image img {
    width: 100%;

}

.description {
    flex-direction: column;
    align-items: flex-start;
}

.big-feature-container {
    gap: 20px 70px;
}

.example-card {
    width: 23%;
    height: 333px;
    
    position: relative;
      /* background-image: url(./assets/asset\ 36.jpeg); */
      background: linear-gradient(rgb(0,0,0,0.1),rgb(0,0,0,0.8)),url(./assets/asset\ 36.jpeg); 
      background-size: cover;
      margin-block: 30px;
    /*If the parent (.example-card) has no positioning context,
 the child (.example-card-text) skips it and anchors itself to the nearest ancestor
  that does have positioning. If none exists, it anchors to the <body> / viewport.*/
}
.example-card:nth-child(2){
     background: linear-gradient(rgb(0,0,0,0.1),rgb(0,0,0,0.8)),url(./assets/asset\ 37.jpeg); 
background-size: cover;
}
.example-card:nth-child(3){
     background: linear-gradient(rgb(0,0,0,0.1),rgb(0,0,0,0.8)),url(./assets/asset\ 38.jpeg); 
background-size: cover;
}
.example-card:nth-child(4){
     background: linear-gradient(rgb(0,0,0,0.1),rgb(0,0,0,0.8)),url(./assets/asset\ 39.jpeg); 
     background-size: cover;

}

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

}
.example-area{
    justify-content: space-between;
}