/* Header / Hero Modern */
.hero-modern {
  position: relative;
  min-height: 100vh;
  background: var(--bg-gradient);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 4rem;
}

.hero-modern-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text-center {
  text-align: left;
  max-width: 650px;
  margin-bottom: 0;
  color: var(--white);
}

/* Hero Text Carousel */
.hero-text-carousel {
  position: relative;
  width: 100%;
}

.hero-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(20px);
}

.hero-text-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.carousel-dots {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.hero-title .hero-accent {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 800;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

/* Visual Center & Floating Cards */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.visual-wrapper {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
}

.visual-wrapper picture {
  display: block;
  width: 100%;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  z-index: 3;
  animation: float 6s infinite alternate ease-in-out;
}

.left-card {
  top: 20%;
  left: -60px;
  animation-delay: 0s;
}

.right-card {
  bottom: 20%;
  right: -60px;
  animation-delay: -3s;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(31, 179, 182, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card-avatars {
  display: flex;
  align-items: center;
  position: relative;
}

.card-avatars img,
.card-avatars .avatar-item,
.card-avatars .avatar-overflow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -15px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.card-avatars > *:first-child,
.card-avatars img:first-child { 
  margin-left: 0; 
}

/* Overflow Counter Badge (+12, +5, etc.) */
.card-avatars .avatar-overflow {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  box-shadow: 0 3px 10px rgba(31, 179, 182, 0.25);
  animation: overflowPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

@keyframes overflowPop {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Newly joined profile animation (slide-in + subtle glow/scale) */
.card-avatars .avatar-entering {
  animation: avatarSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  z-index: 5;
}

@keyframes avatarSlideIn {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.6);
  }
  50% {
    opacity: 1;
    transform: translateX(0) scale(1.18);
    box-shadow: 0 0 16px rgba(31, 179, 182, 0.8), 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
}

/* Dynamic counter number tick animation */
.client-count-num {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.client-count-num.count-updating {
  animation: countNumberTick 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes countNumberTick {
  0% {
    transform: translateY(-8px);
    opacity: 0.3;
    color: var(--primary);
  }
  50% {
    transform: translateY(2px) scale(1.12);
    color: var(--primary);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    color: inherit;
  }
}

.card-info h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
  font-weight: 700;
}

.card-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Abstract Glassmorphism Shapes */
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.15);
  top: -150px;
  right: -150px;
  animation: floatBg 15s infinite alternate ease-in-out;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(15,143,141,0.5);
  bottom: 100px;
  left: -100px;
  animation: floatBg 18s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

@keyframes floatBg {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.05); }
}

@media (max-width: 1200px) {
  .left-card { left: -30px; }
  .right-card { right: -30px; }
}

@media (max-width: 992px) {
  .hero-modern-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-center {
    text-align: center;
    margin-bottom: 3rem;
  }
  .carousel-dots {
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-title { font-size: 3.5rem; }
  .left-card { left: -10px; transform: scale(0.9); }
  .right-card { right: -10px; transform: scale(0.9); }
}

@media (max-width: 768px) {
  .hero-modern {
    padding-top: 100px;
  }
  .hero-title { font-size: 2.5rem; }
  .hero-desc { font-size: 1.1rem; }
  .hero-buttons { flex-direction: column; }
  
  .visual-wrapper {
    padding: 0.5rem;
  }
  
  .floating-card {
    position: relative;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: -30px auto 20px;
    width: max-content;
    animation: none;
    transform: scale(0.9) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .left-card {
    margin-top: 20px;
  }
}

/* Sections General */
.section-padding {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--card-bg);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-image {
  position: relative;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-list {
  margin-top: 1.5rem;
}

.about-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   Services Section (Compact, Polished & Organized)
   ========================================================================== */

.services.section-padding {
  padding: 3.5rem 0 3rem;
}

.service-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  background: rgba(31, 179, 182, 0.1);
  color: var(--primary);
  border: 1px solid rgba(31, 179, 182, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

/* Category Filter Tabs */
.service-filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.service-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-tab-btn:hover {
  color: var(--primary);
  background: rgba(31, 179, 182, 0.08);
}

.service-tab-btn.active {
  background: var(--bg-gradient);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(31, 179, 182, 0.3);
}

/* Services Grid: 3 columns desktop, 2 tablet, 1 mobile */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Service Card */
.service-card {
  position: relative;
  background: var(--white);
  padding: 1.5rem 1.4rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  cursor: pointer;
  outline: none;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07), 0 0 16px rgba(31, 179, 182, 0.12);
  border-color: rgba(31, 179, 182, 0.45);
}

.service-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Card Meta Pill */
.card-top-meta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.25rem;
}

.service-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-growth {
  background: rgba(31, 179, 182, 0.1);
  color: var(--primary);
}

.badge-protection {
  background: rgba(15, 143, 141, 0.12);
  color: var(--secondary);
}

.badge-flagship {
  background: linear-gradient(135deg, #1FB3B6, #0F8F8D);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(31, 179, 182, 0.25);
}

/* Flagship Card Highlight */
.service-card.flagship-card {
  border: 1.5px solid var(--primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FBFA 100%);
  box-shadow: 0 8px 25px rgba(31, 179, 182, 0.1);
}

.service-card.flagship-card:hover {
  box-shadow: 0 16px 36px rgba(31, 179, 182, 0.18);
}

/* Service Icon */
.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 0.85rem;
  background: rgba(31, 179, 182, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--bg-gradient);
  color: var(--white);
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 6px 14px rgba(31, 179, 182, 0.28);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

/* Service Features Bullet List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.service-features li i {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Card CTA Action */
.service-card-footer {
  margin-top: auto;
  padding-top: 0.4rem;
}

.btn-service-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-card:hover .btn-service-action {
  color: var(--primary-hover);
  gap: 0.6rem;
}

/* Filter Hide State */
.service-card.is-hidden {
  display: none !important;
}

/* Bottom Assistance Callout */
.services-bottom-cta {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  padding: 1.25rem 1.75rem;
  margin-top: 0.5rem;
}

.bottom-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-icon-wrap {
  width: 44px;
  height: 44px;
  background: rgba(31, 179, 182, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cta-text-wrap {
  flex: 1;
  text-align: left;
}

.cta-text-wrap h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.cta-text-wrap p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.cta-action-wrap {
  flex-shrink: 0;
}

.cta-action-wrap .btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (max-width: 768px) {
  .services.section-padding {
    padding: 2.5rem 0 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .bottom-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cta-text-wrap {
    text-align: center;
  }
  
  .service-filter-tabs {
    border-radius: var(--radius-md);
    width: 100%;
    margin: 1rem 0 1.5rem;
  }
  
  .service-tab-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* Why Us Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
}

.f-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: var(--bg-gradient);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer / Contact */
.footer {
  background: #111827;
  color: #F3F4F6;
  padding: 4.25rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
}

.footer-info h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: #9CA3AF;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #E5E7EB;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.social-links a:hover {
  color: var(--primary);
}

.phone-contact {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white) !important;
}

.phone-contact i {
  color: var(--primary);
}

.footer-form h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Modern Floating Form Groups & CRO Inputs */
.form-group,
.form-floating-group {
  position: relative;
  margin-bottom: 1.15rem;
}

.form-control,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.55rem;
  border-radius: var(--radius-sm, 8px);
  border: 1.5px solid #374151;
  background: #1F2937;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-floating-group label {
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  color: #9CA3AF;
  font-size: 0.92rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  transform-origin: left top;
}

/* Floating label active state on focus or typed content */
.form-floating-group .form-control:focus ~ label,
.form-floating-group .form-control:not(:placeholder-shown) ~ label {
  transform: translateY(-0.55rem) scale(0.78);
  color: var(--primary);
  font-weight: 600;
}

.form-floating-group .form-control:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 179, 182, 0.22);
  background: #16202e;
}

/* Real-Time Inline Validation Feedback */
.form-control.is-valid {
  border-color: #10B981 !important;
}

.form-control.is-invalid {
  border-color: #EF4444 !important;
}

.field-feedback {
  display: block;
  font-size: 0.76rem;
  margin-top: 0.3rem;
  padding-left: 0.25rem;
  min-height: 1.1rem;
  line-height: 1.3;
}

.field-feedback.error {
  color: #F87171;
}

.field-feedback.success {
  color: #34D399;
}


/* Service Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 480px;
  border-radius: 20px;
  padding: 2.25rem 2rem 1.75rem;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.modal-header .modal-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #1FB3B6 0%, #0F8F8D 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(31, 179, 182, 0.3);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.option-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.contact-option.phone .option-icon-box {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.contact-option.whatsapp .option-icon-box {
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
}

.contact-option.email .option-icon-box {
  background: rgba(31, 179, 182, 0.12);
  color: var(--primary);
}

.option-text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.option-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.option-subtitle {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.option-arrow {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-left: 0.75rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover States */
.contact-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-option:hover .option-icon-box {
  transform: scale(1.06);
}

.contact-option:hover .option-arrow {
  transform: translateX(4px);
}

.contact-option.phone:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.02);
}
.contact-option.phone:hover .option-arrow { color: #2563eb; }

.contact-option.whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.02);
}
.contact-option.whatsapp:hover .option-arrow { color: #16a34a; }

.contact-option.email:hover {
  border-color: var(--primary);
  background: rgba(31, 179, 182, 0.02);
}
.contact-option.email:hover .option-arrow { color: var(--primary); }

.modal-footer-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.modal-footer-note i {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .hero-buttons { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .slider-arrow { display: none; }
  .section-padding { padding: 4rem 0; }
}

/* =========================================
   Testimonials Page Specific Styles
   ========================================= */

/* Text Grid */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31,179,182,0.2);
}

.star-rating {
  color: #FBBF24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.t-quote {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.t-avatar {
  font-size: 2.5rem;
  color: var(--primary);
}

.t-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.t-author small {
  color: var(--text-muted);
}

/* Video Grid */
/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Compact, Perfectly Proportioned Video Container */
.video-thumbnail {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #0b0f19;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient Blurred Background (Fills card edges with matching video tones) */
.video-ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.6);
  transform: scale(1.2);
  pointer-events: none;
  z-index: 1;
}

/* Foreground Video: 100% Uncropped, Clear, and True to Aspect Ratio */
.video-thumbnail video.inline-video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  display: block;
  outline: none;
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Deter native download button where exposed in WebKit/Blink shadow DOM */
video.inline-video::-internal-media-controls-download-button,
video.inline-video::-webkit-media-controls-download-button {
  display: none !important;
}

.video-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 143, 141, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-duration {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 20px;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Play button: exactly centered vertically & horizontally */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.play-btn i {
  margin-left: 3px; /* Optically centered play icon glyph */
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 25px rgba(31, 179, 182, 0.5);
}

/* When playing: hide play button and badges smoothly */
.video-thumbnail.playing .video-badge,
.video-thumbnail.playing .video-duration,
.video-thumbnail.playing .play-btn {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.video-info {
  padding: 1.25rem 1.5rem;
}

.video-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.video-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

/* Results Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-num {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Social Proof Comments */
.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.social-comment-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  position: relative;
}

.social-comment-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 2rem;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent var(--border-color) transparent;
}

.social-comment-card::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 2rem;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent var(--white) transparent;
}

.sc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sc-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.sc-meta strong {
  display: block;
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.sc-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.sc-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(31, 179, 182, 0.1);
  color: var(--primary);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.sc-body {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
}

/* =========================================
   Trust Banner (Marquee)
   ========================================= */
.trust-banner {
  background: var(--secondary);
  color: var(--white);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 100%;
}

.marquee-content {
  display: inline-block;
  animation: scrollMarquee 25s linear infinite;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.trust-banner:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  margin: 0 2rem;
  position: relative;
}

/* Add a dot separator between items */
.marquee-item::after {
  content: '•';
  color: var(--primary-light, #40E0D0);
  position: absolute;
  right: -2.3rem;
}

.marquee-item:last-child::after {
  content: ''; /* No separator after the last item of a duplicated set */
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Scrolls half the width since we duplicate the content for seamless loop */
}

@media (max-width: 768px) {
  .marquee-content {
    font-size: 1rem;
    animation: scrollMarquee 20s linear infinite; /* Slightly faster on smaller screens */
  }
}

/* =========================================
   Floating WhatsApp Action Button
   ========================================= */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-btn .whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(17, 24, 39, 0.92);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* Accessibility: Visually Hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Form Submission Status Box */
.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm, 8px);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  display: block;
  background: rgba(37, 211, 102, 0.15);
  color: #15803d;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* =========================================
   Corporate Footer Legal & Bottom Section
   ========================================= */
.footer-legal-wrapper {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 1. Disclaimer Section — Top */
.footer-disclaimer-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.legal-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0 0 1rem 0;
  text-align: center;
  letter-spacing: 0.01em;
}

.disclaimer-prefix {
  color: #F1F5F9;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* 2. Navigation Links — Middle */
.legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.legal-links a {
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.legal-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--primary, #D4AF37);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-links a:hover {
  color: var(--primary, #D4AF37);
}

.legal-links a:hover::after {
  transform: scaleX(1);
}

.legal-separator {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.75rem;
  user-select: none;
  line-height: 1;
}

/* 3. Divider & Copyright / Credit — Bottom */
.footer-bottom-divider {
  width: 100%;
  max-width: 760px;
  height: 1px;
  margin: 0 auto 1.25rem auto;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0) 100%);
}

.footer-bottom {
  text-align: center;
  padding: 0;
  margin: 0;
}

.footer-copyright {
  margin: 0;
  color: #64748B;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.credit-highlight {
  color: #94A3B8;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.credit-highlight:hover {
  color: var(--primary, #D4AF37);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .footer {
    padding: 3.5rem 0 1.75rem;
  }
  .footer-legal-wrapper {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }
  .legal-disclaimer {
    font-size: 0.775rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }
  .legal-links {
    gap: 0.75rem;
    margin-bottom: 1.1rem;
  }
  .legal-links a {
    font-size: 0.8125rem;
  }
  .footer-copyright {
    font-size: 0.775rem;
    line-height: 1.6;
    padding: 0 0.5rem;
  }
}

/* =========================================
   Contact Form Delivery Options & Privacy
   ========================================= */
.delivery-channel-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: var(--radius-md, 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.channel-btn {
  flex: 1;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.channel-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.channel-btn.active[data-channel="email"] {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(31, 179, 182, 0.35);
}

.channel-btn.active[data-channel="whatsapp"] {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-mode {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
}

.btn-whatsapp-mode:hover {
  background: #20BA56 !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55) !important;
}

/* Privacy Notice Below Form */
.form-privacy-notice {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.85rem;
  line-height: 1.45;
  text-align: center;
}

.form-privacy-notice i {
  color: var(--primary);
  margin-right: 0.3rem;
}
