/* ===========================
   PerfectSolutions Premium Theme
   Palette A: Royal Blue + Gold
   =========================== */

:root {
  --primary-color: #0a2a43;
  --primary-dark: #07182a;
  --secondary-color: #1a73e8;
  --secondary-soft: #e0ebff;
  --accent-color: #f4c542;
  --accent-soft: rgba(244, 197, 66, 0.15);
  --light-bg: #f8fafd;
  --card-bg: #ffffff;
  --border-subtle: rgba(10, 42, 67, 0.08);
  --text-color: #232f4b;
  --muted-text: #4f555a;
}

/* Global base */

body {
  background-color: var(--light-bg);
  color: var(--text-color);
}

.page-wrapper {
  background-color: var(--light-bg);
}

/* Tailwind-style overrides so colors are consistent on all pages */

.bg-\[\#f4f8fc\] {
  background-color: var(--light-bg) !important;
}

.bg-\[\#1e2845\] {
  background-color: var(--primary-color) !important;
}

.bg-\[\#141d37\] {
  background-color: var(--primary-dark) !important;
}

.bg-\[\#dadffb\] {
  background-color: var(--secondary-soft) !important;
}

.text-\[\#232f4b\] {
  color: var(--text-color) !important;
}

.text-\[\#4f555a\] {
  color: var(--muted-text) !important;
}

.text-\[\#3757f7\] {
  color: var(--secondary-color) !important;
}

/* ===========================
   Transparent overlay header
   =========================== */

.overlay-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(7, 24, 42, 0.88) 0%,
    rgba(7, 24, 42, 0.65) 40%,
    transparent 100%
  );
}

.overlay-header .dl-menuwrapper button.dl-trigger {
  background-color: rgba(7, 24, 42, 0.7);
  color: #ffffff;
}

.overlay-header a {
  color: #ffffff !important;
}

.overlay-header a:hover {
  color: var(--accent-color) !important;
}

.overlay-header .theme-btn {
  box-shadow: 0 10px 25px rgba(10, 42, 67, 0.4);
}

/* ===========================
   Hero section
   =========================== */

.hero-banner {
  position: relative;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(244, 197, 66, 0.28) 0, transparent 40%),
    radial-gradient(circle at bottom right, rgba(26, 115, 232, 0.55) 0, rgba(10, 42, 67, 0.96) 55%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-content-card {
  padding: 32px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 21, 43, 0.8), rgba(10, 42, 67, 0.65));
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.hero-kicker {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-color);
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(10, 42, 67, 0.7);
  border: 1px solid rgba(244, 197, 66, 0.5);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================
   Buttons
   =========================== */

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary-color), #4c8df0);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  border: none;
  box-shadow: 0 12px 30px rgba(10, 42, 67, 0.45);
  text-decoration: none;
  transition: all 0.22s ease;
}

.theme-btn:hover {
  background: linear-gradient(135deg, var(--accent-color), #ffd772);
  color: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(10, 42, 67, 0.55);
}

.theme-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(10, 42, 67, 0.4);
}

.theme-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  border-radius: 999px;
  border: 1px solid rgba(244, 197, 66, 0.85);
  background: rgba(7, 24, 42, 0.1);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.22s ease;
}

.theme-btn-outline:hover {
  background: rgba(244, 197, 66, 0.1);
  color: var(--accent-color) !important;
}

.secondary-btn {
  background: linear-gradient(135deg, #2646f0, var(--secondary-color));
  box-shadow: 0 10px 26px rgba(38, 70, 240, 0.5);
}

/* ===========================
   Section styling helpers
   =========================== */

.section-kicker {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-color);
  font-weight: 600;
}

.section-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 12px;
}

.highlight-secondary {
  color: var(--secondary-color);
}

.badge-soft {
  background: rgba(38, 70, 240, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Service cards */

.service-card {
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 45px rgba(10, 42, 67, 0.06);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40%;
  height: 60%;
  background: radial-gradient(circle at top, rgba(244, 197, 66, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10, 42, 67, 0.18);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-wrap {
  text-align: center;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: radial-gradient(circle at top left, rgba(26, 115, 232, 0.18), transparent 55%);
}

/* Fun-fact */

.fun-fact-section {
  background: linear-gradient(135deg, #f6f8ff 0%, #f9fbff 40%, #eef4ff 100%);
}

.fun-fact-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

/* ===========================
   Technologies – glassmorphism slider
   =========================== */

.tech-section {
  background:
    radial-gradient(circle at top left, rgba(26, 115, 232, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(244, 197, 66, 0.16), transparent 55%);
}

.tech-subtitle {
  margin-top: 10px;
  max-width: 540px;
  color: var(--muted-text);
}

.technology-slider .owl-stage-outer {
  padding: 6px 0 24px;
}

.tech-card-glass {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 60px rgba(7, 24, 42, 0.4);
  overflow: hidden;
  padding: 18px;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.tech-card-glass::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 210deg,
    rgba(244, 197, 66, 0.35),
    rgba(26, 115, 232, 0.4),
    transparent 55%,
    rgba(244, 197, 66, 0.35)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tech-card-glass:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 70px rgba(7, 24, 42, 0.55);
  border-color: rgba(244, 197, 66, 0.9);
}

.tech-card-glass:hover::before {
  opacity: 0.35;
}

.tech-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.tech-image-wrap img {
  width: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.28s ease;
}

.tech-card-glass:hover .tech-image-wrap img {
  transform: scale(1.08);
}

.tech-content {
  padding: 18px 4px 4px;
}

.tech-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tech-content p {
  font-size: 14px;
  color: #d9e2ff;
}

.tech-pill {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(7, 24, 42, 0.78);
  color: var(--accent-color);
  border: 1px solid rgba(244, 197, 66, 0.5);
  margin-bottom: 8px;
}

/* Owl dots styling */

.technology-slider .owl-dots {
  text-align: center;
  margin-top: 14px;
}

.technology-slider .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 5px 4px;
  background: rgba(7, 24, 42, 0.25);
  border-radius: 999px;
  transition: all 0.22s ease;
}

.technology-slider .owl-dot.active span {
  width: 22px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* ===========================
   Footer styling (global)
   =========================== */

.site-footer {
  background: radial-gradient(circle at top left, rgba(244, 197, 66, 0.16), transparent 55%),
    radial-gradient(circle at top right, rgba(26, 115, 232, 0.32), transparent 55%),
    var(--primary-color);
}

.footer-bottom {
  background-color: var(--primary-dark) !important;
}

.footer-title {
  font-size: 18px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.12em;
  font-weight: 600;
  position: relative;
}

.footer-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.footer-text {
  color: #e5e3e3;
  font-size: 15px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.88;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-social-link {
  color: #ffffff;
  width: 36px;
  height: 36px;
  line-height: 40px;
  background: rgba(255, 255, 255, 0.08);
  display: block;
  text-align: center;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background: #ffffff;
  color: var(--primary-color);
}

/* ===========================
   Responsive tweaks
   =========================== */

@media (max-width: 1024px) {
  .hero-content-card {
    margin-right: 40px;
  }
}

@media (max-width: 768px) {
  .overlay-header {
    background: rgba(7, 24, 42, 0.95);
    position: static;
  }

  .hero-content-card {
    margin: 0 16px;
    padding: 20px 18px;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 26px;
  }

  .hero-kicker {
    font-size: 11px;
  }
}
