/* Base symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Page loader */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f7f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-tooth {
  width: 48px;
  height: 48px;
  border: 3px solid #d1e4ff;
  border-top-color: #0061a4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(.22, 1, .36, 1), transform 0.6s cubic-bezier(.22, 1, .36, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Custom elements */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 97, 164, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
}

#mobile-menu {
  transition: all 0.3s cubic-bezier(.22, 1, .36, 1);
  max-height: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 300px;
}

.hero-zoom {
  animation: slowZoom 20s infinite alternate ease-in-out;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.magnetic {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(.22, 1, .36, 1);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #526069;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.counter { display: inline-block; }

.page-fade-out {
  animation: fadeOut 0.3s ease forwards;
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}

.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 97, 164, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-card:hover::before { opacity: 1; }

.shadow-ambient { box-shadow: 0 24px 40px rgba(25, 28, 30, 0.04); }

/* Timeline line animation */
.timeline-line { transform-origin: top; transform: scaleY(0); transition: transform 1.5s cubic-bezier(.22,1,.36,1); }
.timeline-line.visible { transform: scaleY(1); }

/* Team card flip effect */
.team-card { perspective: 1000px; }
.team-card-inner { transition: transform 0.6s cubic-bezier(.22,1,.36,1); transform-style: preserve-3d; position: relative; }
.team-card:hover .team-card-inner { transform: translateY(-8px); }

/* Floating badge */
@keyframes float { 0%,100%{transform:translateY(0) rotate(-2deg);}50%{transform:translateY(-8px) rotate(-2deg);} }
.float-badge { animation: float 3s ease-in-out infinite; }

/* Service card glow on hover */
.service-card { transition: all 0.4s cubic-bezier(.22,1,.36,1); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,97,164,0.10); }

/* Icon bounce */
.icon-bounce { transition: transform 0.3s cubic-bezier(.22,1,.36,1); }
.service-card:hover .icon-bounce { transform: scale(1.2) rotate(-5deg); }

/* Progress bar animation */
.progress-bar { width: 0; transition: width 1.5s cubic-bezier(.22,1,.36,1); }
.progress-bar.animated { width: var(--target-width); }

/* Input field styling */
.form-input { transition: all 0.3s cubic-bezier(.22,1,.36,1); }
.form-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,97,164,0.12); background: white; transform: translateY(-1px); }
.form-success { display: none; }
.form-success.show { display: flex; }
.dot-pattern { background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0); background-size: 24px 24px; }
@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 0 rgba(148,249,144,0.4);}50%{box-shadow:0 0 0 6px rgba(148,249,144,0);} }
.pulse-dot { animation: pulse-green 2s ease-in-out infinite; }
.input-wrapper { position: relative; }
.input-wrapper::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:#0061a4; border-radius:0 0 8px 8px; transition: width 0.3s ease; }
.input-wrapper:focus-within::after { width:100%; }

/* RPR Section Styles */
#rpr-section *, #rpr-section *::before, #rpr-section *::after { box-sizing: border-box; margin: 0; padding: 0; }
#rpr-section { background: #F8F3FA; padding: 60px 0 70px; font-family: inherit; overflow: hidden; position: relative; }
.rpr-header { display: flex; align-items: center; justify-content: space-between; padding: 0 48px 36px; max-width: 1400px; margin: 0 auto; }
.rpr-title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; color: #1E1B5E; line-height: 1.15; letter-spacing: -0.5px; }
.rpr-arrows { display: flex; gap: 14px; flex-shrink: 0; }
.rpr-arrow { width: 48px; height: 48px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.25s; color: #1E1B5E; }
.rpr-arrow:hover { background: rgba(30, 27, 94, 0.08); }
.rpr-arrow svg { width: 28px; height: 28px; stroke: #1E1B5E; stroke-width: 2.2px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rpr-swiper-wrap { position: relative; }
.rpr-swiper-wrap::before, .rpr-swiper-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 50px; z-index: 10; pointer-events: none; }
.rpr-swiper-wrap::before { left: 0; background: linear-gradient(to right, #F8F3FA 0%, transparent 100%); }
.rpr-swiper-wrap::after { right: 0; background: linear-gradient(to left, #F8F3FA 0%, transparent 100%); }
#rpr-swiper { padding: 10px 48px 10px !important; overflow: visible !important; }
.rpr-card { border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(30, 27, 94, 0.10); background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.rpr-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(30, 27, 94, 0.16); }
.rpr-single-img { width: 100%; height: 300px; object-fit: cover; display: block; }
#rpr-section .swiper-pagination { bottom: -30px !important; }
#rpr-section .swiper-pagination-bullet { background: #C4B5D9 !important; opacity: 1 !important; transition: all 0.3s; }
#rpr-section .swiper-pagination-bullet-active { background: #1E1B5E !important; width: 22px !important; border-radius: 10px !important; }

@media (max-width: 640px) {
  .rpr-header { padding: 0 20px 28px; }
  #rpr-swiper { padding: 10px 20px 10px !important; }
  .rpr-single-img { height: 240px; }
  .rpr-swiper-wrap::before, .rpr-swiper-wrap::after { width: 16px; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-36px); }
  to { opacity: 1; transform: translateY(0); }
}

