@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
}

:root {
  --main-color: #2947A9;
  --box-bg-color: #3559C7;
  --section-bg-color: #F6F8F7;
  --text-color-1: #14171F;
  --text-color-2: #292E3D;
  --hover-color: #F9995D;
  --border-color: #E0E3EB;
  --paragraph-color: #667299;
  --projects-btn-color: #C2C7D6;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  object-fit: cover;
  display: block;
}

button {
  cursor: pointer;
}

/* header starts here  */

.navbar {
  background-color: rgba(0, 26, 255, 0.2);
}

.logo {
  color: var(--main-color);
  font-size: 24px;
}

.nav-link {
  font-size: 18px;
  color: var(--text-color-1);
  transition: color .2s ease-in-out;
}

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

/* hero section starts here  */

.hero {
  background: url(../images/heroSection/hero.jpg) no-repeat center/cover;

}

.hero-contain h1 {
  padding: 90px 0;
  font-size: 31px;
  color: var(--text-color-2);
}

.hero-card {
  background-color: var(--box-bg-color);
  width: 100%;
}

.hero-card-btn button {
  background-color: var(--text-color-2);
}


@media (min-width:375px) {
  .hero-contain h1 {
    font-size: 41px;
  }
}

@media (min-width:768px) {
  .hero-contain h1 {
    font-size: 60px;
  }

  .hero-card {
    width: 350px;
    margin: 0 auto;
  }

  .hero-card p {
    width: 22rem;
  }
}

@media (min-width:1024px) {
  .hero-contain h1 {
    padding: 180px 0;
    font-size: 68px;
    width: 32rem;
  }

  .hero-card {
    position: absolute;
  }
}

@media (min-width:1190px) {
  .hero-contain h1 {
    padding: 200px 0;
  }

  .hero-card {
    width: 416px;
  }
}

/* reputation section starts here  */

.reputation {
  padding: 40px 0;
}

.reputation-heading {
  font-size: 28px;
  color: var(--text-color-2);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 1);
}

.reputation-card {
  border-color: var(--border-color);
}

.reputation-card h3 {
  color: var(--text-color-1);
}

.reputation-card p {
  color: var(--text-color-2);
}

@media (min-width:768px) {
  .reputation {
    padding: 50px 0;
  }

  .reputation-heading {
    font-size: 36px;
  }

  .reputation-content {
    gap: 40px;
  }

  .reputation-card-para {
    width: 16rem;
  }
}

/* about section starts here  */

.about {
  padding: 30px 0;
}

.about-card {
  background-color: var(--main-color);
  width: 100%;
}

.about-card h3 {
  font-size: 26px;
}

.about-btn {
  border: 2px solid var(--main-color);
  color: var(--main-color);
}


@media (min-width:768px) {
  .about-card {
    padding: 40px 50px 50px 30px;
    max-width: 100%;
  }

  .about-card h3 {
    font-size: 30px;
  }

  .about-card p {
    width: 34rem;
  }

  .about-btn {
    padding: 12px 20px !important;
    font-size: 17px;
  }

}

@media (min-width:1024px) {
  .about-content img {
    width: 700px;
  }

  .about-card {
    position: absolute;
    padding: 20px;
    width: 320px;
    top: 10%;
  }

  .about-card p {
    width: 17rem;
  }
}

@media (min-width:1190px) {
  .about-content img {
    width: 870px;
  }

  .about-card {
    padding: 40px 60px 60px 40px;
    width: 488px;
    top: 15%;
  }

  .about-card p {
    width: 24rem;
  }
}

/* service section starts here  */

.service {
  padding: 40px 0;
  background-color: var(--section-bg-color);
}

.service-heading {
  font-size: 28px;
  color: var(--text-color-2);
}

.service-card {
  box-shadow: 0px 0px 37px -2px rgba(17, 24, 39, 0.051);
  padding: 20px;
}

.service-card:nth-child(odd) {
  color: var(--main-color);
}

.service-card:nth-child(even) {
  background-color: var(--main-color);
}

.service-card h3 {
  position: relative;
}

.service-card h3::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 60px;
  background-color: var(--border-color);
  left: 50%;
  transform: translate(-50%);
  top: -8px;
}

@media(min-width:768px) {
  .service-card {
    width: 320px !important;
  }
}

@media(min-width:1024px) {
  .service {
    padding: 50px 0;
  }
}

/* stat section start here  */

.stats-section {
  padding: 50px 0;
}

.stat {
  box-shadow: 0 12px 16px -4px rgba(0, 0, 0, 0.1);
}

.stat-img-1,
.stat-img-2,
.stat-img-3,
.stat-img-4 {
  width: 55px;
  top: -20px;
  left: 0;
}

.stat h2 {
  color: var(--text-color-2);
}

.stat p {
  color: var(--paragraph-color);
  margin-left: 30px;
}

.stat p::before {
  content: "";
  position: absolute;
  height: 28px;
  width: 7px;
  left: -25px;
  top: -2px;
  background-color: var(--hover-color);
}

.experience h2 {
  font-size: 36px;
  color: var(--main-color);
}

.experience p {
  color: var(--paragraph-color);
}

.stat-btn {
  background: var(--main-color);
}

@media (min-width: 768px) {

  .stat-img-1,
  .stat-img-2,
  .stat-img-3,
  .stat-img-4 {
    width: 60px;
  }

  .experience h2 {
    font-size: 42px;
  }

  .stat-btn a {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .stats-section {
    padding: 150px 0 100px 0;
  }

  .stat {
    width: 233px;
  }

  .stat-box-2 {
    top: -66px;
    right: 40px;
  }


  .stat-box-3 {
    bottom: -40px;
    left: 30px;
  }

  .stat-box-4 {
    top: -50px;
    right: 60px;
  }

  .stat-img-1 {
    width: 70px;
    left: -10px;
  }

  .stat-img-2 {
    width: 80px;
    left: auto;
    right: -22px;
  }

  .stat-img-3 {
    width: 70px;
    left: auto;
    top: auto;
    top: -20px;
    right: -22px;
  }

  .stat-img-4 {
    width: 70px;
    left: auto;
    top: auto;
    bottom: -20px;
    right: -22px;
  }

  .stat h2 {
    font-size: 60px;
  }

  .experience h2 {
    font-size: 50px;
  }

}

@media (min-width: 1190px) {
  .stat {
    width: 280px;
  }

  .stat-box-2 {
    top: -66px;
    right: 90px;
  }


  .stat-box-3 {
    bottom: -40px;
    left: 30px;
  }

  .stat-box-4 {
    top: -50px;
    right: 120px;
  }

  .experience h2 {
    font-size: 68px;
  }

  .experience p {
    max-width: 24rem;
  }
}

/* ads section starts here  */

.ads {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), url(./images/ads/adsbg.jpg) no-repeat center/cover;
  padding: 70px 0;
}

.ads-btn {
  border: 2px solid white;

}

@media(min-width:768px) {
  .ads-text h2 {
    font-size: 30px;
  }
}

@media(min-width:1190px) {
  .ads-text h2 {
    font-size: 36px;
  }

  .ads-btn {
    padding: 16px 24px;
    transition: background .2s ease-in-out;
  }

  .ads-btn:hover {
    background-color: white;
  }

  .ads-btn a {
    color: #fff;
  }

  .ads-btn:hover a {
    color: black;
  }
}

/* projects section starts here  */

.projects {
  padding: 20px 0;
}

.projects-heading h2 {
  font-size: 28px;
  color: var(--text-color-2);
}

.projects-heading-btns a {
  font-size: 15px;
  color: var(--projects-btn-color);
}

.projects-heading-btns a:first-child {
  color: var(--main-color);
}

.projects-heading-btns a:first-child::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 21px;
  background-color: var(--main-color);
  left: 50%;
  transform: translate(-50%);
  bottom: -5px;
}

.project-card {
  width: 100%;
}

.project-card img {
  height: 247px;
  width: 100% !important;
}

.project-card-text {
  background-color: var(--main-color);
}

.project-card-text h6 {
  font-size: 16px;
}

.project-card-text p {
  font-size: 14px;
}

.projects-pagination-btn a {
  height: 10px;
  width: 10px;
  background-color: var(--section-bg-color);
}

.projects-pagination-btn a:first-child {
  background-color: var(--main-color);
}

.projects-btn button {
  background-color: var(--text-color-2);
}

@media(min-width:425px) {
  .projects-heading-btns a {
    font-size: 16px;
  }
  .project-card-text h6 {
    font-size: 18px;
  }

  .project-card-text p {
    font-size: 16px;
  }

}

@media(min-width:768px) {
  .projects {
    padding: 30px 0;
  }

  .projects-heading-btns a {
    font-size: 20px;
  }

  .projects-heading-btns a:first-child::before {
    width: 28px;
  }

  .project-card-text {
    padding: 12px 12px 16px 12px !important;
  }

}

@media(min-width:1024px) {
  .projects {
    padding: 40px 0;
  }

  .projects-heading-btns a:first-child::before {
    top: 12px;
    left: -25px;
    transform: rotate(90deg);
  }

  .projects-cards {
    margin-top: 70px;
  }
  .project-card-text p {
    width: 16rem;
  }
  .projects-heading-btns a {
    margin-left: 15px !important;
  }

}

@media(min-width:1290px) {
  .projects {
    padding: 50px 0;
  }

  .project-card-text p {
    width: 100%;
  }
}

/* contact section starts here  */

.contact {
  padding: 20px 0;
  background-color: var(--section-bg-color);
}

.contact h2 {
  font-size: 24px;
  color: var(--text-color-2);
}

.contact p {
  font-size: 14px;
  color: var(--paragraph-color);
}

.checkbox-text {
  color: var(--paragraph-color);
}

.submit-btn {
  width: 200px;
  background: var(--main-color);
  font-size: 18px;
}

@media(min-width:425px) {
  .contact h2 {
    font-size: 28px;
  }

  .contact p {
    font-size: 16px;
  }

  .submit-btn {
    width: 210px;
  }
}

@media(min-width:768px) {
  .contact {
    padding: 30px 0;
  }

  .contact p {
    font-size: 16px;
    width: 30rem;
  }

  .submit-btn {
    width: 230px;
  }
}

@media(min-width:1024px) {
  .contact {
    padding: 40px 0;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact p {
    font-size: 18px;
    width: 33rem;
  }

  .contact-form {
    width: 80%;
  }

  .submit-btn {
    width: 250px;
  }
}

@media(min-width:1190px) {
  .contact {
    padding: 50px 0;
  }

  .contact-form {
    width: 60%;
  }

  .submit-btn {
    width: 271px;
  }
}

/* footer section starts here  */

.footer {
  padding: 20px 0;
}

.footer-left p {
  font-size: 14px;
  color: #000;
}

.footer-left p span {
  color: var(--main-color);
}

.footer-left img {
  width: 38px;
}

.footer-left h3 {
  font-size: 30px;
  color: var(--main-color);
}

.newsletter p,
.social p {
  color: var(--main-color);
  font-size: 14px;
}

.newsletter input {
  border: 1px solid var(--border-color);
  font-size: 15px;
  outline: none;
}

.newsletter button {
  background-color: var(--hover-color);
}

.social-icons a {
  background: var(--text-color-2);
  width: 35px;
  height: 35px;
}

@media (min-width: 768px) {
  .footer {
    padding: 30px 0;
  }

  .footer-left p {
    font-size: 15px;
  }

  .footer-left p span {
    font-size: 18px;
  }

  .newsletter p,
  .social p {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 40px 0;
  }

  .footer-left p {
    font-size: 17px;
  }

  .newsletter p,
  .social p {
    font-size: 18px;
  }

  .newsletter input {
    width: 70%;
  }

}

@media (min-width: 1190px) {
  .footer {
    padding: 50px 0;
  }

  .footer-left p {
    font-size: 20px;
  }

  .footer-left p span {
    font-size: 20px;
  }

  .newsletter p,
  .social p {
    font-size: 20px;
  }
}

/* copyright section starts here  */

.copyright {
  background-color: var(--main-color);
}
