/* ============================================================
   BHNS Techno Solutions Pvt Ltd — Premium IT Services Website
   ============================================================ */

:root {
  --primary: #0F62FE;
  --primary-dark: #0043CE;
  --secondary: #2563EB;
  --accent: #38BDF8;
  --dark: #0F172A;
  --dark-soft: #1E293B;
  --light: #F8FAFC;
  --light-gray: #E2E8F0;
  --text: #334155;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #0F62FE 0%, #2563EB 50%, #38BDF8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(15, 98, 254, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 98, 254, 0.12);
  --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Typography Utilities ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 620px;
}

/* ---- Buttons ---- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(15, 98, 254, 0.35);
  transition: var(--transition);
}

.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 98, 254, 0.45);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(15, 98, 254, 0.04);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  padding: 8px 0;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar .social-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  transition: var(--transition);
}

.top-bar .social-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---- Navbar ---- */
.navbar-custom {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 16px 0;
  transition: var(--transition);
}

.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
}

.brand-logo {
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: 240px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.navbar-brand .brand-logo {
  max-height: 58px;
  max-width: 260px;
}

.footer-brand .brand-logo {
  max-height: 64px;
  max-width: 260px;
  filter: brightness(1.05);
}

.navbar-brand span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text) !important;
  padding: 8px 16px !important;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--light);
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(15, 98, 254, 0.15);
  top: -100px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(56, 189, 248, 0.12);
  bottom: -50px;
  left: -80px;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(37, 99, 235, 0.1);
  top: 40%;
  left: 30%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 98, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 98, 254, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.hero-stat .stat-number span {
  color: var(--primary);
}

.hero-stat .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
  z-index: 2;
}

.hero-card-glass {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-glass);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card-glass .icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.hero-floating-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--gradient);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(15, 98, 254, 0.3);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

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

.hero-illustration {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-illustration-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 24px;
  width: 100%;
}

.hero-illustration-block {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.hero-illustration-block i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.hero-illustration-block span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Page Header (Inner Pages) ---- */
.page-header {
  background: var(--gradient);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto 20px;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb-custom li {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom li a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-custom li a:hover {
  color: var(--white);
}

.breadcrumb-custom li + li::before {
  content: '/';
  margin-right: 8px;
  opacity: 0.5;
}

/* ---- Section Spacing ---- */
.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 70px 0;
}

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

.bg-gradient-soft {
  background: var(--gradient-soft);
}

/* ---- About Section ---- */
.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.875rem;
  opacity: 0.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-item .icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--gradient-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about-feature-item h6 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.about-feature-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--white);
}

.service-card h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.service-card .learn-more i {
  transition: var(--transition);
}

.service-card:hover .learn-more i {
  transform: translateX(4px);
}

/* ---- Process Section ---- */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--light-gray);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.process-step h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Why Choose Us ---- */
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.why-card .why-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.375rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gradient);
  color: var(--white);
}

.why-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

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

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--light-gray);
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
}

.testimonial-card .stars {
  color: #FBBF24;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.testimonial-card .review-text {
  font-size: 0.9375rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.testimonial-author .author-info h6 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.testimonial-author .author-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- FAQ Accordion ---- */
.faq-accordion .accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  padding: 20px 24px;
  background: var(--white);
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--gradient-soft);
  color: var(--primary);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230F62FE'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

/* ---- Contact Preview ---- */
.contact-preview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  height: 100%;
}

.contact-preview-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-preview-card .contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-preview-card h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-preview-card p,
.contact-preview-card a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-preview-card a:hover {
  color: var(--primary);
}

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}

.form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.12);
}

textarea.form-control-custom {
  min-height: 140px;
  resize: vertical;
}

/* ---- Map ---- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--light-gray);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 12px;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.5;
}

/* ---- Team Cards ---- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card .team-img {
  height: 260px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .team-img .avatar-placeholder {
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
}

.team-card .team-info {
  padding: 24px;
}

.team-card .team-info h5 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.team-card .team-info span {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.team-card .team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.team-card .team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.team-card .team-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---- Values Cards ---- */
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--light-gray);
  height: 100%;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.value-card .value-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

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

/* ---- Rating Summary ---- */
.rating-summary {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.rating-summary .big-rating {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.rating-summary .big-rating span {
  font-size: 2rem;
  color: var(--text-muted);
}

.rating-summary .stars-large {
  color: #FBBF24;
  font-size: 1.5rem;
  margin: 12px 0;
}

.rating-summary .rating-count {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.rating-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rating-bar-item .bar-label {
  font-size: 0.875rem;
  min-width: 12px;
  font-weight: 600;
}

.rating-bar-item .bar-track {
  flex: 1;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-item .bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
}

.rating-bar-item .bar-percent {
  font-size: 0.8125rem;
  color: var(--text-muted);
  min-width: 36px;
  text-align: right;
}

/* ---- Success Story ---- */
.success-story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  height: 100%;
}

.success-story-card:hover {
  box-shadow: var(--shadow-md);
}

.success-story-card .story-img {
  height: 200px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-story-card .story-img i {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
}

.success-story-card .story-body {
  padding: 28px;
}

.success-story-card .story-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
}

.success-story-card h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.success-story-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Legal Pages ---- */
.legal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--light-gray);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gradient-soft);
  border-radius: 50px;
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 32px;
}

/* ---- Newsletter ---- */
.newsletter-section {
  background: var(--dark);
  padding: 60px 0;
}

.newsletter-section h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.9375rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--white);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.footer-about {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 60px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---- Back To Top ---- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--light-gray);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Client Logos ---- */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0.5;
}

.client-logo-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

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

  .process-timeline::before {
    display: none;
  }

  .hero-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .hero-card-glass {
    left: 10px;
    bottom: -10px;
  }

  .hero-floating-badge {
    right: 10px;
  }

  .about-experience-badge {
    right: 10px;
    bottom: -10px;
    padding: 16px 24px;
  }

  .about-experience-badge .years {
    font-size: 2rem;
  }

  .cta-section {
    padding: 40px 32px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .legal-content {
    padding: 32px 24px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .hero-stats {
    gap: 20px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .top-bar {
    display: none;
  }

  .page-header {
    padding: 120px 0 60px;
  }
}

@media (max-width: 575.98px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-primary-custom,
  .hero-cta-group .btn-outline-custom {
    width: 100%;
    justify-content: center;
  }
}
