:root{
  /* Theme variables (aligned with desktop theme) */
  --primary: #4a90e2;           /* brand blue */
  --purple: #9013fe;            /* purple used in gradient */
  --accent: #ff6b3d;            /* accent / CTA */
  --muted: #f5f6fb;
  --card-bg: #ffffff;
  --text: #222;
  --theme-gradient: #0f357c;
  --rounded: 12px;
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.08);
}

/* -------------------- TAB SECTIONS -------------------- */
.tab-section {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.tab-section.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* -------------------- FOOTER NAV -------------------- */
.mobile-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--theme-gradient);
  padding: 8px 0;
  z-index: 999;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
}

.mobile-footer-nav ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0 10px;
  list-style: none;
  align-items: center;
}

.mobile-footer-nav li { flex: 1; text-align: center; }

.mobile-footer-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255,255,255,0.95);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.28s ease, transform 0.18s ease;
  padding: 6px 4px;
}

.mobile-footer-nav a i { font-size: 20px; margin-bottom: 4px; }

.mobile-footer-nav a.active,
.mobile-footer-nav a:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  text-shadow: 0 2px 8px rgba(0,0,0,0.06);
}


/* Tabs */
.portfolio-mobile-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding: 12px 6px;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: none;
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #f1f3f8;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
  color: var(--text);
}
.tab-btn:focus { outline: none; box-shadow: 0 6px 18px rgba(73,144,226,0.12); }
.tab-btn.active {
  background: var(--theme-gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(144,19,254,0.12);
}

/* Portfolio Cards */
.portfolio-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}
.portfolio-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--primary);
}
.portfolio-card h4 {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}
.portfolio-card .read-more {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
}

/* Highlight Cards */
.ishita-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  color: var(--text);
  margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,252,0.98));
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}
.ishita-service-card i { font-size: 26px; margin-bottom: 8px; color: var(--primary); }

/* Highlight search match */
mark { background: #ffeb3b; padding: 0 2px; border-radius: 3px; }

/* Responsive helpers */
@media (max-width: 576px) {
  .col-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

/* ===== Contact form ===== */
.contact-form .form-control {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(34,34,34,0.08);
  font-size: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-submit {
  padding: 10px 24px;
  border: none;
  border-radius: 24px;
  background: var(--theme-gradient);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.10); }

/* Contact Info Cards */
.contact-info-grid .info-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 14px;
  background: #fafafa;
  box-shadow: 0 8px 22px rgba(8,22,40,0.04);
  transition: transform 0.28s, box-shadow 0.28s, background 0.28s;
  text-decoration: none;
  color: inherit;
  height: 100%;
  cursor: pointer;
}

.contact-info-grid .info-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7,22,56,0.06);
}

.contact-info-grid .info-card i {
  font-size: 34px;
  padding: 12px;
  border-radius: 50%;
  margin-bottom: 12px;
  background: #fff;
}

/* Icon Colors (use theme colors) */
.info-card .fa-phone { color: var(--primary); animation: pulse 2s infinite ease-in-out; }
.info-card .fa-whatsapp { color: #25d366; animation: pulse 2s infinite ease-in-out; animation-delay: 1s; }
.info-card .fa-envelope { color: #e74c3c; }
.info-card .fa-facebook-f { color: #1877f2; }

/* Bold Text */
.contact-info-grid .info-card p {
  font-size: 15px;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

/* Ripple */
.info-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: rgba(0,0,0,0.12);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.info-card:active::after { animation: ripple 0.6s linear; }

@keyframes ripple {
  from { transform: scale(0); opacity: 0.45; }
  to { transform: scale(22); opacity: 0; }
}

/* Pulse */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
  50% { transform: scale(1.12); box-shadow: 0 0 12px currentColor; }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(0,0,0,0); }
}

/* JS Ripple element */
.ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}
@keyframes rippleEffect { to { transform: scale(22); opacity: 0; } }

/* Header */
.site-header {
  width: 100%;
  padding: 12px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(8,22,40,0.04);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.site-header .container { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.site-header .logo img { max-height:46px; width:auto; display:block; }
.site-header .btn-quote {
  padding: 8px 20px;
  border-radius: 24px;
  background: var(--theme-gradient);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: transform .22s ease;
}
.site-header .btn-quote:hover { transform: translateY(-2px); }

/* Responsive header tweaks */
@media (max-width: 768px) {
  .site-header .container { padding: 0 10px; }
  .site-header .btn-quote { padding: 8px 16px; font-size:13px; }
}

/* Search box */
.search-box { position: relative; max-width: 100%; }
.search-box input {
  width: 100%;
  padding: 12px 45px 12px 20px;
  border: 2px solid rgba(74,144,226,0.14); /* subtle border using primary */
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  transition: all 0.24s ease-in-out;
  background: #fff;
  box-shadow: 0 6px 18px rgba(8,22,40,0.04);
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(74,144,226,0.10);
}
.search-box::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 18px;
  pointer-events: none;
}

/* small service cards carousel */
.ishita-services-small-cards {
  margin-bottom: 0;
  margin-top: 0;
  padding: 18px 18px 18px 18px;
  background: var(--muted);
  overflow-x: auto;
}
.ishita-services-container {
  display:flex; flex-wrap:nowrap; gap:12px; justify-content:flex-start;
}
.ishita-service-card {
  flex: 0 0 86px; height:86px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  border-radius:12px; padding:8px;
  background: #fff; color:var(--text);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04); transition: all .24s ease;
}
.ishita-service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.06); }
.ishita-service-card i { font-size:18px; margin-bottom:6px; color: var(--primary); }
.ishita-service-card p { font-size:11px; margin:0; color:var(--text); font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Search wrapper inside ishita */
.ishita-search-section { background: var(--muted); padding: 18px 0; }
.ishita-search-wrapper {
  display:flex; width:100%; max-width:360px; margin:0 auto;
  background:#fff; border-radius:30px; box-shadow:0 6px 18px rgba(8,22,40,0.04); overflow:hidden;
}
.ishita-search-wrapper input { flex:1; padding:12px 15px; border:none; outline:none; font-size:14px; border-radius:30px 0 0 30px; color:var(--text); }
.ishita-search-wrapper button {
  background: linear-gradient(135deg, rgba(74,144,226,0.14), rgba(144,19,254,0.14));
  color:var(--text); border:none; padding:12px 16px; cursor:pointer; font-weight:700; border-radius:0 30px 30px 0;
}
.ishita-search-wrapper button:hover { background: linear-gradient(135deg, rgba(74,144,226,0.20), rgba(144,19,254,0.20)); }

/* Services Section (neumorphic) */
.services-section {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  display:flex; flex-direction:column; justify-content:center; align-items:center; padding:20px; background:#f0f0f3; text-align:center;
}
:root { --header-height:70px; --footer-height:64px; }

.services-heading { font-size:22px; font-weight:700; margin-bottom:20px; color:var(--text); }
.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; width:100%; max-width:720px; padding:0 12px; }

.service-card {
  background:#f0f0f3; border-radius:16px; padding:18px; text-align:center;
  box-shadow:8px 8px 16px #dcdfe4, -8px -8px 16px #ffffff; transition: all .28s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: inset 6px 6px 12px #dcdfe4, inset -6px -6px 12px #ffffff; }

.icon-box { width:66px; height:66px; margin:0 auto 12px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:26px; box-shadow:6px 6px 12px rgba(0,0,0,0.06), -6px -6px 12px rgba(255,255,255,0.6); }
.gradient-1 { background: linear-gradient(135deg, var(--primary), var(--purple)); }
.gradient-2 { background: linear-gradient(135deg, #ff512f, #dd2476); }
.gradient-3 { background: linear-gradient(135deg, #25d366, #128c7e); }
.gradient-4 { background: linear-gradient(135deg, #f7971e, #ffd200); }

.service-card h3 { font-size:15px; font-weight:700; margin-bottom:8px; color:var(--text); }
.price { font-size:14px; font-weight:700; margin-bottom:10px; color:#666; }
.service-btn { display:inline-block; padding:8px 18px; border-radius:22px; background:#f0f0f3; color:var(--text); font-size:13px; font-weight:700; text-decoration:none; box-shadow:4px 4px 8px #dcdfe4, -4px -4px 8px #ffffff; transition: all .24s ease; }
.service-btn:hover { box-shadow: inset 3px 3px 6px #dcdfe4, inset -3px -3px 6px #ffffff; }

/* Slider - leave extension point for mobile slider */
.mobile-slider { padding-bottom: 24px; }

/* small view tweaks */
@media (max-width: 480px){
  .quote-btn { padding: 10px 18px; font-size:15px; }
  .ishita-service-card { flex: 0 0 80px; height:80px; padding:6px; }
  .icon-box { width:58px; height:58px; font-size:22px; }
  .services-grid { gap:12px; }
}

/* utility */
.mobile-only { display:block; }
.desktop-only { display:none; }
@media (min-width: 992px){ .mobile-only { display:none !important; } .desktop-only { display:block !important; } }

/* Performance & accessibility hints */
button, .btn, a { -webkit-tap-highlight-color: rgba(0,0,0,0.05); }
