* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

:root {
    --bg-color: #ffffff;
    --text-color: #22100d;
  
    --second-color: #f66962;
   
    --main-color:#31838f ;
    --big-font: clamp(2.5rem, 5vw, 3.8rem);
    --h2-font: clamp(2rem, 4vw, 2.6rem);
    --p-font: clamp(1rem, 2vw, 1.1rem);
    --header-height: 80px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;

}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--text-color);
    /* edited */
    line-height: 1.6;
    overflow-x: hidden;
}

.header-icon{
    display: flex;
    align-items: center;
}
header {
    box-shadow: 0 8px 16px rgb(0 0 0 / 6%);
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    padding: 1rem 5%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease-out;
}

.logo-p img {
    width: clamp(120px, 18vw, 170px);
    height: auto;
    transition: transform 0.3s ease;
}


.navbar {
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease-out;
}

.navbar a {
    color: var(--text-color);
    font-weight: 600;
    font-size: var(--p-font);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}
.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: width 0.3s ease;
}
.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: var(--main-color);
}

.header-icon {
    display: flex;
    align-items: center;
}


.header-icon i {
    margin-left: 10px;
    font-size: 24px;
    color: var(--text-color);
    transition: all .40s ease;
    margin-right: 15px;
   
}

.header-icon i:hover {
    transform: scale(1.2);
    color: var(--main-color);
}

#menu-icon {
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
    font-size: 1.8rem;
}
@media (max-width:768px) {
    #menu-icon {
        display: block;
    }
    .navbar {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: right 0.3s ease-out;
    }

    .navbar.active {
        right: 0;
    }
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 3fr));
    gap: 20px;
    padding: 2rem;
    margin-top: 8%;
  }

  .card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
  }

  .card:hover {
    transform: translateY(-5px);
  }

  .card h2 {
    margin-top: 0;
    color: #31838f;
  }

  .card button {
    margin-top: 10px;
    background-color: #31838f;
    color: white;
    border: none;
    padding: 10px 15px;
    font-family: "Montserrat", sans-serif;
    border-radius: 6px;
    cursor: pointer;
  }
  .card button:hover{
    background-color: #184349;
  }

  .company-logos img {
    max-width: 80px;
    margin: 10px;
    vertical-align: middle;
  }

  @media (max-width: 500px) {
    .card h2 {
      font-size: 1.2rem;
    }
  }
