/* ============================================================
   LCS HOSTING SOLUTIONS — Additions & Fixes CSS
   - Testimonials redesign (grid cards, not broken single card)
   - Remove cursor animation entirely
   - Sleek custom scrollbar
   - Portfolio gallery
   - Video testimonials
   - Parallax backgrounds
   - Page transition
   - Security / misc fixes
   ============================================================ */

/* ---- SLEEK CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFD338 0%, #e6ae00 100%);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: #e6ae00; }
* { scrollbar-width: thin; scrollbar-color: #FFD338 #f1f5f9; }

/* ---- REMOVE ALL CURSOR ANIMATIONS ---- */
#custom-cursor, .custom-cursor, .custom-cursor-dot { display: none !important; }
* { cursor: auto; }
a, button, [role="button"], input[type="submit"], input[type="button"], label { cursor: pointer; }

/* ---- PAGE TRANSITION ---- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #1a1a2e;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.page-transition-overlay.active { transform: translateY(0); }

/* ============================================================
   TESTIMONIALS — Full redesign: 3-column grid cards
   ============================================================ */
#testimonials {
  padding: 80px 0;
  background: #f3f3f3;
}

/* Hide old single-card slider */
.testimonial-slide { display: none !important; }
#t-prev, #t-next, .t-dot { display: none !important; }

/* New grid layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 991.98px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .testimonials-grid { grid-template-columns: 1fr; } }

.tcard {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,211,56,0.18);
}
.tcard-quote {
  font-size: 4rem;
  color: #FFD338;
  line-height: 0.8;
  font-family: Georgia, serif;
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}
.tcard-stars {
  color: #FFD338;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.tcard-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}
.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.tcard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD338, #e85d04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #1a1a2e;
  flex-shrink: 0;
  font-family: Poppins, sans-serif;
}
.tcard-name {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a2e;
  font-family: Poppins, sans-serif;
}
.tcard-role {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Trustpilot placeholder bar */
.trustpilot-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 32px;
}
.trustpilot-placeholder .stars { color: #FFD338; font-size: 15px; }

/* ============================================================
   VIDEO TESTIMONIALS SECTION
   ============================================================ */
#video-testimonials {
  padding: 80px 0;
  background: #1a1a2e;
}
.video-card {
  background: #16213e;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.video-thumb {
  position: relative;
  padding-bottom: 56.25%;
  background: #0f3460;
  overflow: hidden;
}
.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,211,56,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.video-play-btn:hover {
  background: #FFD338;
  transform: translate(-50%, -50%) scale(1.1);
}
.video-card-body {
  padding: 18px 20px;
}
.video-card-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  font-family: Poppins, sans-serif;
}
.video-card-role { font-size: 12px; color: #94a3b8; margin-top: 3px; }
.video-card-stars { color: #FFD338; font-size: 13px; margin-top: 6px; }

/* ============================================================
   PORTFOLIO / GALLERY SECTION
   ============================================================ */
#portfolio {
  padding: 80px 0;
  background: #fff;
}
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.portfolio-tab {
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  transition: all 0.2s;
  font-family: Poppins, sans-serif;
}
.portfolio-tab.active, .portfolio-tab:hover {
  background: #FFD338;
  border-color: #FFD338;
  color: #1a1a2e;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 767.98px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f1f5f9;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-text {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: Poppins, sans-serif;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}
.lightbox-overlay.hidden { display: none; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   PARALLAX SECTIONS
   ============================================================ */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.75);
}
.parallax-section .container { position: relative; z-index: 1; }

/* ============================================================
   CONTACT FORM (WhatsApp integrated)
   ============================================================ */
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
.contact-form-card .form-label {
  font-weight: 600;
  font-size: 13px;
  color: #1a1a2e;
  margin-bottom: 6px;
  font-family: Poppins, sans-serif;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s;
  font-family: Poppins, sans-serif;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: #FFD338;
  box-shadow: 0 0 0 3px rgba(255,211,56,0.15);
  outline: none;
}
.contact-form-card textarea.form-control { resize: vertical; min-height: 120px; }
.btn-form-submit {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  padding: 14px 32px;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: Poppins, sans-serif;
}
.btn-form-submit:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* ============================================================
   NEWSLETTER SIGNUP (linked to WhatsApp)
   ============================================================ */
#newsletter-section {
  background: linear-gradient(135deg, #FFD338 0%, #e6ae00 100%);
  padding: 60px 0;
}
.newsletter-input-group {
  display: flex;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  padding: 14px 20px;
  font-size: 14px;
  outline: none;
  font-family: Poppins, sans-serif;
}
.newsletter-btn {
  flex: 0 0 auto;
  background: #1a1a2e;
  color: #FFD338;
  font-weight: 700;
  font-size: 13px;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  font-family: Poppins, sans-serif;
}
.newsletter-btn:hover { background: #0f3460; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.thankyou-icon {
  width: 100px;
  height: 100px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: bounceIn 0.6s cubic-bezier(0.23,1,0.32,1);
}
@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.notfound-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.notfound-number {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: #FFD338;
  font-family: Poppins, sans-serif;
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   DOMAIN CHECKER — Enhanced
   ============================================================ */
.domain-checking {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
}
.domain-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #e2e8f0;
  border-top-color: #FFD338;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MICRO-INTERACTIONS — 4 states on all buttons
   ============================================================ */
.btn-gold, .btn-dark, .btn-whatsapp, .btn-wa-sm, .btn-view-detail,
.btn-submit-ticket, .btn-order-wa, .btn-start-wa, .btn-get-start,
.btn-contact-wa, .btn-search, .btn-form-submit, .btn-company-profile {
  /* Idle: default */
  transition: all 0.2s cubic-bezier(0.23,1,0.32,1);
}
/* Hover: handled per-class above */
/* Active: */
.btn-gold:active, .btn-dark:active, .btn-whatsapp:active, .btn-wa-sm:active,
.btn-view-detail:active, .btn-submit-ticket:active, .btn-order-wa:active,
.btn-start-wa:active, .btn-get-start:active, .btn-contact-wa:active,
.btn-search:active, .btn-form-submit:active {
  transform: scale(0.97) !important;
}
/* Success state (JS adds .success class) */
.btn-success-state {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
}

/* ============================================================
   SECURITY META (added via JS)
   ============================================================ */
/* CSP, XSS, HSTS handled in .htaccess / server config */

/* ============================================================
   MISC FIXES
   ============================================================ */
/* Ensure testimonial section doesn't show broken old layout */
.testimonial-card { display: none; }

/* Map placeholder in footer */
.footer-map-placeholder {
  width: 100%;
  height: 200px;
  background: #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
  margin-top: 12px;
}

/* Recent blogs in footer */
.footer-recent-blog {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  align-items: flex-start;
}
.footer-recent-blog-dot {
  width: 6px;
  height: 6px;
  background: #FFD338;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.footer-recent-blog-title {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-recent-blog:hover .footer-recent-blog-title { color: #FFD338; }

/* Contact info in footer */
.footer-contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: #64748b;
  align-items: flex-start;
}
.footer-contact-item i { color: #FFD338; flex-shrink: 0; margin-top: 2px; }

/* Responsive fixes */
@media (max-width: 767.98px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  #video-testimonials .row > div:nth-child(n+3) { display: none; }
}
