@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}

html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 10%;
  height: 6.5rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}

header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0E2431;
}

header .logo i {
  font-size: 2.2rem;
}

header .logo:hover {
  color: #fc8c05;
}

header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .navbar li {
  margin-left: 2.5rem;
}

header .navbar ul li a {
  font-size: 1.57rem;
  color: #0E2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #011aff;
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}

/* navbar ends */

/* hamburger icon starts */
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}

@media (max-width: 768px) {
  #menu {
    display: block;
  }

  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: #0e0f31;
  }

  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }

  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }

  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }

  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }

  .fa-times {
    transform: rotate(180deg);
  }

  header .navbar.nav-toggle {
    right: 0;
  }
}

/* hamburger icon ends */

/* services section starts */
.services {
  background: #ffffff;
  margin-top: 6.5rem;
  padding: 5rem 9% 3rem;
  min-height: 100vh;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.heading {
  font-size: 4.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.heading span {
  color: rgb(115, 3, 167);
}

.services-subtitle {
  font-size: 1.8rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
  padding: 0;
}

/* service card modern minimalist styling */
.service-card {
  background: #ffffff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.12);
}

.service-card-header {
  width: 100%;
  padding: 3rem 2.5rem 2.5rem;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.service-card-icon {
  font-size: 4.5rem;
  color: #011aff;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.service-card-title {
  font-size: 2.2rem;
  color: #0E2431;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-align: left;
}

.service-card-category {
  font-size: 1.3rem;
  color: #999;
  font-weight: 500;
  text-align: left;
}

.service-card-content {
  padding: 0 2.5rem 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-description {
  color: #555;
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.service-highlights {
  margin-bottom: 0;
}

.highlights-label {
  font-size: 1.5rem;
  color: #0E2431;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlights-list li {
  font-size: 1.4rem;
  color: #555;
  padding-left: 2.2rem;
  position: relative;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.highlights-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #011aff;
  font-weight: bold;
  font-size: 1.5rem;
}

/* back to home button */
.back-btn {
  display: flex;
  justify-content: center;
  margin: 5rem 0 3rem;
}

.back-btn .btn {
  position: relative;
  line-height: 0;
  padding: 1.8rem 3.5rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  border: 2px solid #011aff;
  background: #011aff;
  box-shadow: 0px 2px 4px rgba(48, 68, 247, 0.3);
  text-align: center;
}

.back-btn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  font-family: 'Nunito', sans-serif;
}

.back-btn .btn i {
  margin-right: 0.6rem;
  font-size: 1.6rem;
  transition: 0.3s;
}

.back-btn .btn:hover {
  background: #0d1b8e;
  border-color: #0d1b8e;
}

.back-btn .btn:hover i {
  transform: translateX(-8px);
}

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ff6b35;
  color: #fff;
  border-radius: 5rem;
  transition: 1s linear;
  z-index: 1000;
}

#scroll-top.active {
  top: calc(100% - 12rem);
}

/* scroll top ends */

/* Responsive Design */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 5%;
  }

  .services {
    padding: 3rem 5% 2rem;
  }

  .heading {
    font-size: 3.2rem;
  }

  .services-subtitle {
    font-size: 1.5rem;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card-header {
    padding: 2.5rem 2rem 2rem;
  }

  .service-card-icon {
    font-size: 3.8rem;
    margin-bottom: 1.2rem;
  }

  .service-card-title {
    font-size: 1.9rem;
  }

  .service-card-category {
    font-size: 1.2rem;
  }

  .service-card-content {
    padding: 0 2rem 2.5rem;
  }

  .service-card-description {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .highlights-label {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .highlights-list li {
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    padding-left: 2rem;
  }

  .highlights-list li::before {
    font-size: 1.4rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  body {
    padding-right: 0;
  }

  header {
    padding: 1rem 5%;
    height: 5.5rem;
  }

  header .navbar li {
    margin-left: 1.5rem;
  }

  .services {
    padding: 2.5rem 5%;
    margin-top: 5.5rem;
  }

  .heading {
    font-size: 2.4rem;
  }

  .services-subtitle {
    font-size: 1.2rem;
  }

  .services-container {
    gap: 1.5rem;
  }

  .service-card-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .service-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .service-card-title {
    font-size: 1.6rem;
  }

  .service-card-category {
    font-size: 1rem;
  }

  .service-card-content {
    padding: 0 1.5rem 2rem;
  }

  .service-card-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .highlights-label {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .highlights-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .back-btn .btn {
    padding: 1.4rem 2.5rem;
  }

  .back-btn .btn span {
    font-size: 1.4rem;
  }

  .back-btn .btn i {
    font-size: 1.3rem;
  }
}
