:root {
  --primary: linear-gradient(to right,#0D47A1,#1565C0,#1976D2 ,#1E88E5,#2196F3,#42A5F5 );
  --primary-dark: linear-gradient(to right,#0a3980,#104f97,#1462af ,#1971be,#1a78c5,#3a8cd0 );
  --text-dark: #1f2937;
  --bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  /* background: #eef3ff; */
}

.app {
  width: 360px;
  max-width: 100%;
  /*padding: 10px;*/
  background-color: #eef1f8;
  animation: appFade 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media screen and (max-width: 768px) {
  .app {
    width: 100% !important;
    max-width: 100% !important;
  }
}


@keyframes appFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  animation: headerDrop 0.5s ease forwards;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
  font-weight: 600;
}

.header h4 {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.header-right {
  width: 24px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 8px 12px;
  margin: 12px 16px;
  border-radius: 16px;
  gap: 6px;
  box-shadow: 2px 2px 4px gray;
  margin-top: 25px;
  animation: searchPop 0.55s ease forwards;
  opacity: 0;
  animation-delay: 0.15s;
  
}

@keyframes searchPop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text-dark);
  
}

.search-bar button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  color: var(--primary);
  font-size: 16px;
}

.search-bar button i {
  font-size: 16px;
  color: #000;
}

.section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 16px 8px 16px;
  animation: sectionSlide 0.5s ease forwards;
  opacity: 0;
  animation-delay: 0.25s;
  padding: 10px;
}

@keyframes sectionSlide {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.section span {
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
}

.home-banner{
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-banner-1{
  width: 90%;
  height: 10vh;
  background: linear-gradient(to right,#0D47A1,#1565C0,#1976D2 ,#1E88E5,#2196F3,#42A5F5 );
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.home-banner-text h2{
  font-size: 15px;
  padding: 5px;
}

.home-banner-text p{
  font-size: 10px;
  padding: 5px;
}

.home-banner-img i{
  font-size: 30px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 16px 16px 16px;
  margin-top: 0px;
  padding: 4px;
  
  border-radius: 14px;
  background-color: #eef1f8;
}

.service {
  background: var(--bg);
  border-radius: 14px;
  padding: 10px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  animation: serviceRise 0.45s ease forwards;
  opacity: 0;
}

.service:nth-child(1) { animation-delay: 0.1s; }
.service:nth-child(2) { animation-delay: 0.16s; }
.service:nth-child(3) { animation-delay: 0.22s; }
.service:nth-child(4) { animation-delay: 0.28s; }
.service:nth-child(5) { animation-delay: 0.34s; }
.service:nth-child(6) { animation-delay: 0.40s; }
.service:nth-child(7) { animation-delay: 0.46s; }
.service:nth-child(8) { animation-delay: 0.52s; }

@keyframes serviceRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service:hover {
  transform: translateY(-3px);
  border-color: #1e66f5;
  box-shadow: 0 2px 8px rgba(30, 102, 245, 0.2);
  cursor: pointer;
}

.service img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 6px;
}

.service p {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
}

.continue-btn {
  display: block;
  width: calc(100% - 32px);
  max-width: 400px;
  margin: 20px auto 40px auto;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
  margin-top: 80px;
}

.continue-btn:hover {
  background: var(--primary-dark);
}

.continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.service {
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.service.active {
  border-color: #1e66f5;
  background: #eef3ff;
  transform: translateY(-2px);
}
