* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #ffffff;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.logo img {
  width: 250px;
  height: 250px;
  margin-bottom: 0;
}
nav {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: #333348;
  padding: 20px;
  box-shadow: 0 5px 3px 0 rgba(0, 0, 0, 0.5);
}
nav a {
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}
nav a:hover {
  transform: scale(1.2);
}
.title {
  text-align: center;
}

.intro {
  text-align: center;
  margin-top: 30px;
}
.intro h2 {
  margin-top: 5rem;
  font-size: 3rem;
  padding: 70px;
  color: #e1e2e6;
  background-image: linear-gradient(rgba(9,0,0,0.8), rgba(0,0,0,0.8)),
  url("https://i.postimg.cc/zXX4ZwC4/premium-photo-1698084059560-9a53de7b816b-mark-https-images-unsplash-com-opengraph-logo-png-mark-w.jpg")
}

h1 {
  display: inline-block;
  font-size: 4rem;
  color: #121636;
  text-align: center;
  margin-top: 40px;
  margin-left: 10px;
}
section h3 {
  font-size: 1.3rem;
}
.s-head h2 {
  font-size: 2.5rem;
  color: #121636;
}
.s-head {
  margin-top: 10px;
  background-color: rgba(214, 233, 250, 0.918);
  text-align:center;
  padding: 20px;
}
.services {
  background-color: rgba(214, 233, 250, 0.918);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
  gap: 30px;
}
.services a {
  font-size: 2rem;
  color: #121636;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: bold;
}

.s1 {
  background-color:rgb(237, 248, 248);
  padding: 40px;
  padding-top: 30px;
  border-radius: 20px;
  max-width: 300px;
  width: 100%;
  transition: all 0.3s ease;
  color: #121636;
}
.s2 {
  background-color: rgb(237, 248, 248);
  padding: 30px;
  border-radius: 20px;
  max-width: 350px;
  width: 100%;
  transition: all 0.3s ease;
}
.services p 
{
  color: #1216369a;
}

.s1:hover {
  transform: scale(1.1);
  background-color: rgba(225, 231, 236, 0.918);
}
.s2:hover {
  transform: scale(1.1);
  background-color: rgba(225, 231, 236, 0.918);
}
.s3:hover {
  transform: scale(1.1);
  background-color: rgba(225, 231, 236, 0.918);
}
footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("https://i.postimg.cc/k4pBZr7P/scott-graham-OQMZw-Nd3-Th-U-unsplash.jpg");
  background-size: cover; /* or 'contain' or '100% 100%' */
  background-repeat: no-repeat;
  background-position: center;
    padding: 3rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .logo img {
    width: 150px;
    height: 150px;
  }

  nav {
    
    gap: 20px;
    padding: 1rem;
  }

  h1 {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  .intro h2 {
    font-size: 2rem;
    padding: 40px 20px;
    text-align: center;
  }

  .services {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .services h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .services p {
    font-size: 0.9rem;
    text-align: center;
  }

  .s1, .s2 {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .s-head h2 {
    font-size: 1.8rem;
  }

  footer {
    font-size: 0.85rem;
    padding: 2rem 1rem;
    background-position: center center;
  }
}

