* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f6fb;
}
html {
    scroll-behavior: smooth;
  }

.nav-link {
  transition: color 0.3s ease;
}

.active-nav {
  color: grey !important;
  font-weight: 600;
  position: relative;
}

.active-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: grey;
  border-radius: 2px;
}

aside .active-nav {
  color: #4f6fe8 !important;
}


/* TAB BUTTONS */
.tab-btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: #e5e7eb;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: #dbeafe;
}

.active-tab {
  background: #4f6fe8;
  color: white;
}

/* TAB CONTENT */
.tab-content {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.active-content {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICE CARDS */
.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 30px 60px rgba(79,111,232,0.25);
}

.icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: #4f6fe8;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(79,111,232,0.35);
}

.icon-svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: #6b7280;
}


.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(79,111,232,0.25);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.12);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(79,111,232,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .overlay {
  opacity: 1;
}

.view-btn {
  background: #fff;
  color: #4f6fe8;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #e6ebff;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-desc {
  color: #6b7280;
  font-size: 0.95rem;
}

.flip-card {
  perspective: 1000px;
  height: 420px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.5s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.flip-front {
  background: #fff;
}

.flip-front img {
  width: 100%;
  height: 75%;
  object-fit: cover;
}

.flip-front h3 {
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.flip-back {
  background: linear-gradient(135deg,#4f6fe8,#5c7cfa);
  color: #fff;
  transform: rotateY(180deg);
  padding: 30px;
  text-align: center;
}

.flip-back h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.flip-back p {
  font-size: 15px;
  opacity: .95;
  margin-bottom: 20px;
}

.flip-back button {
  background: #fff;
  color: #4f6fe8;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: all 0.4s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(79,111,232,.25);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.project-card:hover .icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 0 30px currentColor;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.project-desc {
  color: #6b7280;
  font-size: 0.95rem;
}

.admin-card {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Premium reveal base */
.reveal,
.reveal-heading {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.active,
.reveal-heading.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ===============================
   HOVER POP-UP EFFECT
================================ */

.contact-card {
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

/* Icon subtle pop */
.contact-card:hover div:first-child {
  transform: scale(1.1);
}
/* ===============================
   FORM INPUT PREMIUM LOOK
================================ */

.input-field {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  color: #374151;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.input-field:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

  .footer-title {
    @apply text-white font-semibold text-lg mb-4;
  }
  .footer-links li {
    @apply mb-2;
  }
  .footer-links a {
    @apply text-slate-400 hover:text-white transition;
  }
  .social-icon {
    @apply w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center
           hover:bg-indigo-600 hover:text-white transition;
  }

.reveal.active,
.reveal-heading.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* TESTIMONIAL CARD */
.testimonial-card {
  flex: 0 0 320px;
  background: white;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 35px rgba(0,0,0,0.05);
  position: relative;
}

/* QUOTE ICON */
.quote {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 72px;
  color: #e0e7ff;
  line-height: 1;
}

/* AVATAR */
.avatar {
  width: 48px;
  height: 48px;
  background: #4f6fe8;
  border-radius: 50%;
  margin-bottom: 14px;
}

/* TEXT */
.testimonial-card h4 {
  font-weight: 700;
  color: #111827;
}

.role {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.text {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 14px;
}

.stars {
  color: #4f6fe8;
}
