/* ============================================================
   Sparshika — Modern UI/UX Layer
   Loaded AFTER css/style.css to refine the existing template.
   Brand-faithful (navy #00285c) design system + animations.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap");

/* ----------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------- */
:root {
  --primary: #00285c;
  --primary-700: #002049;
  --primary-600: #013a85;
  --primary-500: #1452b0;
  --primary-400: #2f7be0;
  --accent: #16b8e6;
  --accent-600: #0e93bd;

  --ink: #15233b;
  --body: #475569;
  --muted: #7c899c;
  --line: #e7ebf2;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #eef2f9;
  --light: #f5f5f5;
  --dark: #353535;

  --grad-primary: linear-gradient(
    135deg,
    #013a85 0%,
    #00285c 60%,
    #001a3d 100%
  );
  --grad-accent: linear-gradient(135deg, #2f7be0 0%, #16b8e6 100%);

  --shadow-xs: 0 1px 2px rgba(16, 33, 64, 0.06);
  --shadow-sm: 0 4px 14px rgba(16, 33, 64, 0.08);
  --shadow-md: 0 12px 28px rgba(16, 33, 64, 0.12);
  --shadow-lg: 0 24px 50px rgba(16, 33, 64, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s;
  --t: 0.35s;
  --t-slow: 0.6s;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Open Sans", sans-serif;
}

/* ----------------------------------------------------------------
   2. Base
   ---------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

a {
  transition:
    color var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease);
}

::selection {
  background: rgba(47, 123, 224, 0.22);
  color: var(--primary);
}

/* Refined scrollbar (desktop) */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 11px;
    height: 11px;
  }
  ::-webkit-scrollbar-track {
    background: var(--surface-2);
  }
  ::-webkit-scrollbar-thumb {
    background: #c4ccda;
    border-radius: 999px;
    border: 3px solid var(--surface-2);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-400);
  }
}

.text-primary {
  color: var(--primary) !important;
}
.bg-light {
  background-color: var(--surface-2) !important;
}

/* Gradient text helper */
.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----------------------------------------------------------------
   3. Keyframes + motion utilities
   ---------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
@keyframes spinSoft {
  to {
    transform: rotate(360deg);
  }
}

/* Page-load entrance */
body.page-loaded {
  animation: fadeIn 0.5s var(--ease) both;
}

/* Scroll reveal (driven by js/enhance.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal.r-left {
  transform: translateX(-34px);
}
.reveal.r-right {
  transform: translateX(34px);
}
.reveal.r-zoom {
  transform: scale(0.93);
}
.reveal.in-view.r-left,
.reveal.in-view.r-right,
.reveal.in-view.r-zoom {
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ----------------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------------- */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: var(--radius-pill);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:focus-visible {
  outline: 3px solid rgba(47, 123, 224, 0.45);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--grad-primary);
  border: none;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 40, 92, 0.28);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--grad-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 40, 92, 0.36);
}
.btn-primary:active {
  transform: translateY(-1px);
}

/* Shine sweep on primary buttons */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after {
  left: 140%;
}

.btn-outline-primary,
.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Ripple injected by enhance.js */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.5);
  animation: rippleAnim 0.6s var(--ease-out);
  pointer-events: none;
}
@keyframes rippleAnim {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Back to top — must stay fixed (the .btn{position:relative} above would
   otherwise pull it into flow and leave a gap under the footer). */
.back-to-top {
  position: fixed !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 10px 24px rgba(0, 40, 92, 0.3);
  background: var(--grad-primary) !important;
  border: none !important;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease) !important;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ----------------------------------------------------------------
   5. Navbar
   ---------------------------------------------------------------- */
/* Transparent navbar overlapping the hero; turns solid white on scroll. */
.navbar.sticky-top {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    padding var(--t) var(--ease);
}
.navbar.sticky-top.nav-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(16, 33, 64, 0.1);
}
.navbar-brand img.logo-dimesion {
  transition: transform var(--t) var(--ease);
  object-fit: fill;
}
.navbar-brand:hover img.logo-dimesion {
  transform: scale(1.04);
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-right: 26px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  transition:
    color var(--t-fast) var(--ease),
    text-shadow var(--t-fast) var(--ease);
}
.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
  height: 3px;
  background: var(--grad-accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
/* Default (transparent over hero): keep links white, underline shows state */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #fff !important;
  border-bottom: none !important;
}
.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}
/* Scrolled (solid white navbar): dark links, brand-colour on hover/active */
.navbar.nav-scrolled .navbar-nav .nav-link {
  color: var(--ink) !important;
  text-shadow: none;
}
.navbar.nav-scrolled .navbar-nav .nav-link:hover,
.navbar.nav-scrolled .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-toggler {
  border: none;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(47, 123, 224, 0.35);
}
/* White hamburger over the hero, dark once the navbar goes solid */
.navbar.sticky-top .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-width='2.4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.sticky-top.nav-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300285c' stroke-width='2.4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  margin-top: 0.5rem !important;
  overflow: hidden;
}
.dropdown-item {
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    padding-left var(--t-fast) var(--ease);
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--surface-3);
  color: var(--primary);
  padding-left: 1.15rem;
}
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    transform: translateY(10px);
  }
  .navbar .nav-item:hover .dropdown-menu {
    transform: translateY(0);
  }
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 0 1rem 1rem;
    padding: 0.5rem 1rem;
  }
  /* The mobile dropdown panel is white, so links stay dark regardless of scroll state */
  .navbar-light .navbar-nav .nav-link,
  .navbar.sticky-top .navbar-nav .nav-link {
    color: var(--ink) !important;
    text-shadow: none;
  }
  .navbar-light .navbar-nav .nav-link.active,
  .navbar.sticky-top .navbar-nav .nav-link.active {
    color: var(--primary) !important;
  }
  .navbar-light .navbar-nav .nav-link::after {
    display: none;
  }
  .navbar-light .navbar-nav .nav-link.active,
  .navbar-light .navbar-nav .nav-link:hover {
    padding-left: 6px;
  }
}

/* ----------------------------------------------------------------
   6. Page header + breadcrumb
   ---------------------------------------------------------------- */
[class$="-header"].container-fluid,
.page-header {
  position: relative;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  /* Clear the fixed/transparent navbar that now overlaps the header */
  padding-top: 7rem !important;
}
.breadcrumb {
  margin-bottom: 0;
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb-item a:hover {
  color: #fff !important;
}
.breadcrumb-item.active {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ----------------------------------------------------------------
   7. Section titles
   ---------------------------------------------------------------- */
.section-title h1 {
  font-weight: 800;
}
.section-title h1::before,
.section-title h1::after {
  height: 4px;
  border-radius: 4px;
  background: var(--grad-accent);
}
.custom-underline {
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.custom-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-accent);
}
.custom-para {
  color: var(--primary);
}

/* ----------------------------------------------------------------
   8. Cards / Service / Team / Portfolio
   ---------------------------------------------------------------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Service & team items share a card-ish treatment */
.service-item,
.team-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.service-item:hover,
.team-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-item .overflow-hidden,
.team-item .overflow-hidden {
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-item img,
.team-item img {
  transition: transform var(--t-slow) var(--ease);
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.service-item:hover img,
.team-item:hover img {
  transform: scale(1.08);
}

/* Replace the old 5px light borders with a clean card body */
.service-item .border,
.team-item .border {
  border: 1px solid var(--line) !important;
  border-top: 0 !important;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
}
.team-item small {
  color: var(--muted);
  display: block;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Feature index counter cards */
.container-xxl .bg-light[style*="60px"],
.d-flex.align-items-center.justify-content-center.bg-light[style*="60px"],
.d-flex.align-items-center.justify-content-center.bg-white[style*="60px"] {
  border-radius: 14px !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease);
}

/* Strength items (about page) */
.strength-item {
  transition: transform var(--t) var(--ease);
}
.strength-item:hover {
  transform: translateY(-6px);
}
.strength-item img {
  transition: transform var(--t) var(--ease);
}
.strength-item:hover img {
  transform: scale(1.08);
}

/* Portfolio overlay refinement */
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.portfolio-item .portfolio-overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 40, 92, 0.82),
    rgba(0, 40, 92, 0.55)
  );
}

/* ----------------------------------------------------------------
   9. Forms
   ---------------------------------------------------------------- */
.form-control,
.form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: #fff;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.form-control::placeholder {
  color: var(--muted);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 4px rgba(47, 123, 224, 0.15);
  background: #fff;
}
/* The template uses .border-0 form fields on light panels — give them a surface */
.form-control.border-0 {
  background: #fff !important;
  border: 1.5px solid var(--line) !important;
  box-shadow: var(--shadow-xs);
}
.form-control.border-0:focus {
  border-color: var(--primary-400) !important;
  box-shadow: 0 0 0 4px rgba(47, 123, 224, 0.15) !important;
}

.form-floating > label {
  color: var(--muted);
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary-400);
}

textarea.form-control {
  min-height: 130px;
}

/* Newsletter inline field */
.footer .position-relative .form-control {
  border-radius: var(--radius-pill);
}
.footer .position-relative .btn {
  border-radius: var(--radius-pill);
}

/* ----------------------------------------------------------------
   10. Tables
   ---------------------------------------------------------------- */
.table {
  --bs-table-bg: transparent;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
}
.table thead th {
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  border: none;
  padding: 1rem 1.1rem;
}
.table tbody td {
  padding: 0.9rem 1.1rem;
  border-color: var(--line);
  color: var(--body);
  vertical-align: middle;
}
.table tbody tr {
  transition: background var(--t-fast) var(--ease);
}
.table tbody tr:hover {
  background: var(--surface-2);
}

/* ----------------------------------------------------------------
   11. Testimonial / carousel polish
   ---------------------------------------------------------------- */
/* Hero carousel — full-viewport height */
.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .owl-carousel-item,
.carousel-image {
  height: 100vh !important;
}
.header-carousel .owl-carousel-item img,
.carousel-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 625px) {
  .header-carousel .owl-carousel-item,
  .carousel-image {
    height: 100vh !important;
  }
}

.testimonial-carousel .testimonial-item img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.testimonial-carousel .testimonial-item:hover img {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.header-carousel .owl-dot {
  border-radius: 999px;
}
.header-carousel .owl-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ----------------------------------------------------------------
   12. Footer
   ---------------------------------------------------------------- */
.footer {
  background: var(--grad-primary) !important;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 5rem;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    1200px 300px at 15% -10%,
    rgba(47, 123, 224, 0.25),
    transparent 70%
  );
  pointer-events: none;
}
.footer h4 {
  color: #fff;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 1.4rem !important;
  font-size: 1.15rem;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-accent);
}
.footer p,
.footer .btn.btn-link {
  color: rgba(255, 255, 255, 0.78) !important;
}
.footer .btn.btn-link {
  font-family: var(--font-body);
}
.footer .btn.btn-link:hover {
  color: #fff !important;
  letter-spacing: 0.3px;
}
.footer .btn.btn-link::before {
  color: var(--accent);
}
.footer .btn.btn-social {
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.25);
  transition:
    transform var(--t) var(--ease),
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.footer .btn.btn-social:hover {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
}
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}
.footer .copyright a {
  color: #fff;
}
.footer .copyright a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------------
   13. Spinner
   ---------------------------------------------------------------- */
#spinner .spinner-grow {
  display: none;
}
#spinner::after {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid var(--surface-3);
  border-top-color: var(--primary-400);
  animation: spinSoft 0.8s linear infinite;
}

/* ----------------------------------------------------------------
   14. Misc utilities
   ---------------------------------------------------------------- */
.hover-lift {
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.float-soft {
  animation: floaty 6s var(--ease) infinite;
}

img {
  max-width: 100%;
}

/* Smooth focus outlines globally */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid rgba(47, 123, 224, 0.4);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ----------------------------------------------------------------
   15. Responsive refinements
   ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .custom-padding {
    padding-left: 0 !important;
  }
  .display-3 {
    font-size: calc(1.9rem + 2.4vw);
  }
  .display-5 {
    font-size: calc(1.5rem + 1.6vw);
  }
}
@media (max-width: 575.98px) {
  .footer {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .section-title h1 {
    padding: 0 34px;
  }
  .btn {
    width: auto;
  }
  .back-to-top {
    right: 22px;
    bottom: 22px;
  }
}
