/* ===== ADRIYAN INFOTECH - MAIN STYLESHEET ===== */

:root {
  --primary: #0B3D91;
  --secondary: #1E5EFF;
  --accent: #6C63FF;
  --navy: #07142B;
  --lightgray: #F5F7FA;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #1a1a2e;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ===== TEXT GRADIENT ===== */
.text-gradient {
  background: linear-gradient(135deg, #1E5EFF, #6C63FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PARTICLES BG ===== */
#particles-bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(30,94,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(108,99,255,0.04) 0%, transparent 50%);
}

/* ===== TOP HEADER ===== */
.top-header {
  background: var(--navy);
  font-size: 0.8rem;
}

/* ===== NAVBAR ===== */
#navbar {
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(7, 20, 43, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(30,94,255,0.2);
}
.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(30,94,255,0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,94,255,0.5);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero-pattern {
  background-image:
    radial-gradient(circle, rgba(30,94,255,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== TRUST BADGES ===== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== BRAND PILL ===== */
.brand-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.glass-card-light {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(30,94,255,0.1);
  box-shadow: 0 8px 30px rgba(11,61,145,0.12);
}

/* ===== CAM FEED ===== */
.cam-feed {
  background: linear-gradient(135deg, #0d1b2a, #1a2744);
  border: 1px solid rgba(30,94,255,0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cam-feed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cam-feed:hover { transform: scale(1.02); }
.cam-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.5));
}
.night-overlay {
  background: linear-gradient(to bottom, rgba(0,50,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

/* ===== FLOAT ANIMATION ===== */
.float-anim {
  animation: floatAnim 3s ease-in-out infinite;
}
@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.animate-pulse-slow {
  animation: pulseSlow 4s ease-in-out infinite;
}
@keyframes pulseSlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(30,94,255,0.1), rgba(108,99,255,0.1));
  border: 1px solid rgba(30,94,255,0.25);
  color: var(--secondary);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-tag-light {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== SECTION BLOB ===== */
.section-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,94,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== ABOUT FEATURES ===== */
.about-feature-card {
  background: white;
  border: 1px solid rgba(30,94,255,0.1);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(11,61,145,0.06);
}
.about-feature-card:hover {
  border-color: rgba(30,94,255,0.3);
  box-shadow: 0 6px 24px rgba(30,94,255,0.12);
  transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border: 1px solid rgba(30,94,255,0.08);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s ease;
  box-shadow: 0 2px 16px rgba(11,61,145,0.06);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.service-card:hover {
  border-color: rgba(30,94,255,0.2);
  box-shadow: 0 12px 40px rgba(30,94,255,0.15);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(30,94,255,0.1), rgba(108,99,255,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--secondary);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  box-shadow: 0 6px 20px rgba(30,94,255,0.4);
}

/* ===== WHY CARDS ===== */
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s ease;
}
.why-card:hover {
  background: rgba(30,94,255,0.1);
  border-color: rgba(30,94,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,94,255,0.2);
}

/* ===== STAT CARDS ===== */
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  background: rgba(30,94,255,0.12);
  border-color: rgba(30,94,255,0.3);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
}
.stat-plus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: white;
  border: 1px solid rgba(30,94,255,0.08);
  border-radius: 20px;
  padding: 28px 22px;
  transition: all 0.35s ease;
  box-shadow: 0 2px 16px rgba(11,61,145,0.05);
}
.feature-card:hover {
  border-color: rgba(108,99,255,0.3);
  box-shadow: 0 12px 40px rgba(108,99,255,0.15);
  transform: translateY(-6px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(30,94,255,0.3);
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(108,99,255,0.4);
}

/* ===== BRANDS SLIDER ===== */
.brands-slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.brands-slider-wrapper::before,
.brands-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.brands-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.brands-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}
.brands-track {
  display: flex;
  gap: 24px;
  animation: brandScroll 18s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes brandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-logo-card {
  background: white;
  border: 2px solid rgba(30,94,255,0.1);
  border-radius: 16px;
  padding: 20px 40px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(11,61,145,0.08);
  letter-spacing: 0.5px;
}
.brand-logo-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(30,94,255,0.2);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* ===== PROCESS STEPS ===== */
.process-step {
  text-align: center;
  position: relative;
}
.process-num {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(30,94,255,0.15), rgba(108,99,255,0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.process-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(30,94,255,0.35);
  transition: all 0.3s ease;
}
.process-step:hover .process-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(30,94,255,0.5);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(30,94,255,0.3);
  transform: translateY(-4px);
}
.testimonial-card .flex.gap-1 {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--secondary) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ===== FAQ ===== */
.faq-item {
  background: white;
  border: 1px solid rgba(30,94,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(11,61,145,0.05);
}
.faq-item:hover {
  border-color: rgba(30,94,255,0.25);
  box-shadow: 0 6px 24px rgba(30,94,255,0.1);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 12px;
}
.faq-btn:hover { color: var(--secondary); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-body.open {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-body p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-icon.rotated { transform: rotate(180deg); }

/* ===== CONTACT FORM ===== */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(30,94,255,0.15);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: #f8faff;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 0 0 3px rgba(30,94,255,0.1);
}
.form-input::placeholder { color: #9ca3af; }

/* ===== FOOTER ===== */
footer a { text-decoration: none; }
.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: block;
  padding: 3px 0;
}
.footer-link:hover { color: var(--secondary); }

/* ===== FLOATING BUTTONS ===== */
#whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: all 0.3s ease;
  animation: floatAnim 3s ease-in-out infinite;
}
#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
}
#scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30,94,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  border: none;
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
#scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,94,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .top-header .flex.flex-wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stat-number { font-size: 2rem; }
  .process-num { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 0.85rem; }
  h1 { font-size: 2rem !important; }
}

/* ===== ADDITIONAL PAGE STYLES ===== */

/* Outline dark button */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid rgba(11,61,145,0.3);
  transition: all 0.3s ease;
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* Small primary button */
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(30,94,255,0.3);
}
.btn-primary-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,94,255,0.45);
}

/* Full service card (services page) */
.service-card-full {
  background: white;
  border: 1px solid rgba(30,94,255,0.08);
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.35s ease;
  box-shadow: 0 2px 16px rgba(11,61,145,0.06);
  position: relative;
  overflow: hidden;
}
.service-card-full::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.service-card-full:hover {
  border-color: rgba(30,94,255,0.2);
  box-shadow: 0 16px 48px rgba(30,94,255,0.14);
  transform: translateY(-6px);
}
.service-card-full:hover::before { transform: scaleX(1); }

/* Active nav link */
.nav-link.active {
  color: var(--secondary) !important;
}
.nav-link.active::after {
  width: 100%;
}

/* Gallery fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== NAVBAR LOGO ===== */
nav .flex.items-center.gap-2 img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 3px 6px;
}

/* Footer logo */
footer img[alt="Adriyan Infotech"] {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 3px 6px;
}
