/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--primary);
  border-color: transparent;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transform: translateY(-1px);
  color: var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-service {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.card-service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--accent);
}

.card-service .card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
  display: block;
}

.card-service h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
  color: var(--primary);
}

.card-service p {
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
}

.card-service .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--transition);
}

.card-service .card-link:hover {
  gap: 8px;
  color: var(--primary);
}

.card-team {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-team .team-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.card-team .team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-team:hover .team-img-wrap img {
  transform: scale(1.05);
}

.card-team .team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,35,66,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
}

.card-team:hover .team-overlay {
  opacity: 1;
}

.card-team .team-body {
  padding: var(--space-3);
}

.card-team .team-name {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 4px;
}

.card-team .team-title {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.card-team .team-bio {
  font-size: 0.875rem;
  color: var(--neutral-mid);
  margin-bottom: var(--space-2);
}

.card-blog {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card-blog:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-blog .blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-blog:hover .blog-img {
  transform: scale(1.03);
}

.card-blog .blog-img-wrap {
  overflow: hidden;
}

.card-blog .blog-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-blog .blog-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.card-blog .blog-excerpt {
  font-size: 0.875rem;
  color: var(--neutral-mid);
  flex: 1;
  margin-bottom: var(--space-2);
}

.card-blog .blog-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.card-blog .blog-link:hover { gap: 8px; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-accent {
  background: rgba(201,168,76,0.15);
  color: var(--accent);
}

.badge-primary {
  background: rgba(10,35,66,0.1);
  color: var(--primary);
}

.badge-white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ===== SECTION HEADING ===== */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-2);
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.section-heading h2.animated::after {
  transform: scaleX(1);
}

.section-heading p {
  max-width: 640px;
  margin: var(--space-3) auto 0;
  font-size: 1.05rem;
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial .quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: var(--space-2);
  left: var(--space-3);
}

.testimonial .quote-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--neutral-mid);
  margin-bottom: var(--space-3);
  padding-top: var(--space-4);
  position: relative;
  z-index: 1;
}

.testimonial .quote-author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

.testimonial .stars {
  color: var(--accent);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: var(--space-8);
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.25);
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  max-width: 340px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.875rem;
  margin: 0;
}

/* ===== ACCORDION ===== */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: color var(--transition);
}

.accordion-trigger:hover { color: var(--accent); }

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--transition), background var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-2);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-body {
  max-height: 400px;
}

.accordion-body p {
  padding-bottom: var(--space-3);
}

/* ===== STAT COUNTER ===== */
.stat-counter {
  text-align: center;
  color: var(--white);
}

.stat-counter .count {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-counter .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* ===== PROCESS STEP ===== */
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

.progress-step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.progress-step h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.progress-step p {
  font-size: 0.875rem;
}

/* ===== FORM FIELD ===== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--neutral-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.15);
}

.form-field .error-msg {
  font-size: 0.8rem;
  color: #e53e3e;
  display: none;
}

.form-field.has-error .error-msg { display: block; }

.form-field textarea { resize: vertical; min-height: 120px; }

/* ===== NOTIFICATION BAR ===== */
.notification-bar {
  background: var(--gradient-accent);
  color: var(--primary);
  padding: 10px var(--space-3);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  position: relative;
}

.notification-bar .close-btn {
  position: absolute;
  right: var(--space-2);
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--primary);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.notification-bar .close-btn:hover { opacity: 1; }

.notification-bar.hidden { display: none; }

/* ===== SPECIALTY TAGS ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-1);
}

.tag {
  background: rgba(10,35,66,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== SOCIAL ICONS ===== */
.social-links {
  display: flex;
  gap: var(--space-2);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== TRUST BADGE ===== */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-badge .badge-icon {
  width: 56px;
  height: 56px;
  background: rgba(10,35,66,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.trust-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neutral-mid);
  text-align: center;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto var(--space-4);
}

.cta-buttons {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--gradient-hero);
  padding: 120px 0 var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--space-3);
  font-size: 0.875rem;
}

.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb .current { color: var(--accent); }

/* ===== RELATED SERVICES ===== */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
}

.comparison-table th:first-child {
  background: var(--primary-light);
}

.comparison-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:nth-child(even) td {
  background: rgba(245,245,240,0.5);
}

.comparison-table .check { color: var(--success); font-size: 1.1rem; }
.comparison-table .cross { color: #e53e3e; font-size: 1.1rem; }

.comparison-table .highlight-col {
  background: rgba(201,168,76,0.08) !important;
  font-weight: 600;
}
