/* =========================
   GLOBAL STYLES
========================= */

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: #fff;
  color: #000;
}

/* =========================
   TOP BAR
========================= */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  position: sticky;
  background-color: #fff;
  top: 0;
  z-index: 100;
}

/* LEFT */

.left-icon i {
  font-size: 25px;
  color: #000094;
  cursor: pointer;
}

.center-logo img {
  height: 40px;
  object-fit: contain;
}

.right-icons i {
  font-size: 25px;
  color: #000094;
  cursor: pointer;
}


/* =========================
   SWIPER
========================= */
.mySwiper {
  padding: 10px 12px;
}

.swiper-slide {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
}

.swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
}

/* dots */
.swiper-pagination-bullet {
  background: #2563eb;
}

/* =========================
   SERVICE GRID
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 14px;
}

/* FIXED TILE SIZE */
.tile {
  height: 35px;              /* 👈 makes all equal */
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;

  border: 1px solid #cccccc;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.2s ease;
  overflow: hidden;
}

/* ICON */
.icon-img,
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* TEXT BLOCK FIX */
.tile div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* TITLE */
.tile h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;

  white-space: nowrap;   /* 👈 prevents height change */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SUBTEXT */
.tile p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   CARDS (COMMON)
========================= */

.card {
  background-color: #f1faff;
  border: 1px solid #0078ad;
  margin: 12px;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* row inside cards */
.row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}

/* TOP ROW */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 600;
}

.top-row .left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
}

.top-row i {
  font-size: 25px;
  color: #0078ad;
}

/* MAIN LAYOUT */
.main {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

/* LEFT DATA */
.data h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
}

.data .label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.data span {
  font-size: 12px;
  color: #6b7280;
}

/* RIGHT PLAN BOX */
.plan-box {
  text-align: right;
}

.plan-box h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.plan-box .label {
  font-size: 12px;
  color: #6b7280;
}

.plan-box span {
  font-size: 12px;
  color: #6b7280;
}

.paid {
  margin-top: 6px;
  font-size: 12px;
  color: #16a34a;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

/* ACTION BAR */
.actions {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.actions div {
  text-align: center;
  flex: 1;
  cursor: pointer;
}

.actions i {
  display: block;
  font-size: 25px;
  color: #0078ad;
}

.actions span {
  font-size: 11px;
  color: #374151;
}

.divider {
  width: 1px;
  background: #e5e7eb;
  margin: 0 15px;
}


/* =========================
   QUICK LINKS
========================= */
.quick-links {
  padding: 12px;
}

.quick-links h3 {
  font-size: 25px;
  font-weight: 900;
  margin-top: 0px;
  margin-bottom: 22px;
}

.grids {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 15px;
  border: 1px solid #cccccc;
  border-radius: 15px;
}

.item {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.item i {
  font-size: 20px;
  color: #000094;              /* icon color */

  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #e6f2ff;  /* light blue background */
  border-radius: 50%;         /* makes it a circle */

  margin: 0 auto 8px;         /* center + spacing */
}

.item span {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

/* =========================
   RESPONSIVE (OPTIONAL)
========================= */

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card {
    max-width: 700px;
    margin: 16px auto;
  }
}


/* ===== Footer Base ===== */
.footer {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #111;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: #000094;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #000050;
}

.app-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
  font-size: 14px;
  color: #555;
  flex-direction: column;
  align-items: center;
}








/* ===== Responsive Media Queries ===== */

/* Small devices (phones <600px) */
@media (max-width: 599px) {
  .footer {
    padding: 20px 10px;
  }

  .footer h3 {
    font-size: 16px;
  }

  .social-icons a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .app-links img {
    height: 40px;
  }

  .footer-bottom {
    font-size: 12px;
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets 600px–1024px) */
@media (min-width: 600px) and (max-width: 1024px) {
  .footer {
    padding: 30px 40px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .app-links img {
    height: 45px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* Large devices (desktop >1024px) */
@media (min-width: 1025px) {
  .footer {
    padding: 40px 60px;
  }

  .footer h3 {
    font-size: 20px;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .app-links img {
    height: 55px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}

.footer-links a {
  color: #000094;
  cursor: pointer;
}


/* =========================
   NAV BTN
========================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 999;
}

/* NAV ITEM */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #6b7280;
  cursor: pointer;
  transition: 0.2s;
}

.nav-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

/* ACTIVE STATE */
.nav-item.active {
  color: #000094;
}

.nav-item.active i {
  color: #000094;
  transform: scale(1.1);
}

/* CLICK EFFECT */
.nav-item:active {
  transform: scale(0.95);
}