/* ==========================================================================
   Site-wide design polish
   Loads after styles.css and responsive.css. It keeps every page's content and
   layout, and makes the shared pieces consistent: headings, buttons, cards,
   CTA boxes, FAQ, forms, decoration and the footer.
   ========================================================================== */

:root {
  --iwm-navy: #1C1D2C;
  --iwm-navy-2: #242a43;
  --iwm-cream: #F7F7F0;
  --iwm-ink: #1C1D2C;
  --iwm-muted: #5b5c6b;
  --iwm-line: #e6e6ef;
  --iwm-accent: #198754;
  --iwm-radius: 24px;
  --iwm-radius-sm: 14px;
  --iwm-shadow: 0 18px 40px rgba(28, 29, 44, 0.10);
  --iwm-shadow-lg: 0 28px 60px rgba(28, 29, 44, 0.18);
  --iwm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--iwm-navy);
  color: #fff;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, .accordion-button):focus-visible {
  outline: 3px solid rgba(25, 135, 84, 0.55);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Decoration: the floating triangles, blobs and corner shapes stay as a brand
   touch, but much quieter, and they no longer bounce forever.
   -------------------------------------------------------------------------- */
.bespoke-sec::before,
.bespoke-sec::after,
.packages-sec::before,
.packages-sec::after,
.frequently-sec::before,
.footer-sec::before {
  opacity: 0.18;
  animation: none !important;
}

.process-sec::before,
.contact-form-sec::before,
.our-value::before {
  opacity: 0.18;
  animation: none !important;
}

/* the orange blob (shape5) used behind the footer, contact form and several sections */
.footer-sec::after,
.contact-form-sec::after,
.different-sec::before,
.our-awards-sec::after,
.our-portfolio-sec::after,
.insights-sec::after {
  display: none;
}

.services-sec .main-box::before,
.services-sec .main-box::after {
  opacity: 0.35;
}

.head-shape .shape1,
.head-shape .shape2,
.head-shape .shape3 {
  opacity: 0.85;
  animation-duration: 6s;
}

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

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */
.about-banner-sec .about-contant h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-banner-sec .about-contant p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 820px;
}

.head-shape h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.head-shape h6 {
  letter-spacing: 0.18em;
  font-weight: 600;
}

.services-sec .service-item h2,
.services-sec .service-item h3 {
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Buttons: one shape and one motion everywhere
   -------------------------------------------------------------------------- */
.pro-btn .btn-project,
.btn-project,
.view_mor,
.cc-btn {
  border-radius: 999px;
  transition: background-color 0.25s var(--iwm-ease), color 0.25s var(--iwm-ease),
    border-color 0.25s var(--iwm-ease), transform 0.25s var(--iwm-ease),
    box-shadow 0.25s var(--iwm-ease) !important;
}

.pro-btn .btn-project:hover,
.btn-project:hover,
.cc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 29, 44, 0.18);
}

.pro-btn .btn-project:active,
.btn-project:active,
.cc-btn:active {
  transform: translateY(0);
}

.pro-btn .btn-project i,
.btn-project i {
  transition: transform 0.25s var(--iwm-ease);
}

.pro-btn .btn-project:hover i,
.btn-project:hover i {
  transform: translateX(3px);
}

/* outline "black" buttons fill in on hover so the hover is obvious */
.pro-btn .btn-project.black-btn:hover {
  background: var(--iwm-navy);
  border-color: var(--iwm-navy);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Feature cards (dark and light "main-box" cards on service pages and home)
   -------------------------------------------------------------------------- */
.services-sec .main-box {
  border-radius: var(--iwm-radius);
  transition: box-shadow 0.35s var(--iwm-ease), border-color 0.35s var(--iwm-ease);
}

.services-sec .main-box:hover {
  box-shadow: var(--iwm-shadow-lg);
}

.services-sec .main-box .main-img img {
  border-radius: 18px;
}

.services-sec .service-item p {
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA boxes
   -------------------------------------------------------------------------- */
.web_cta {
  border-radius: 32px;
  border-color: rgba(28, 29, 44, 0.08);
  box-shadow: var(--iwm-shadow);
}

.web_cta .content h3 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.web_cta .img_area img {
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   FAQ: each question is a soft card
   -------------------------------------------------------------------------- */
.frequently-sec .accordion-flush .accordion-item {
  background: #fff;
  border: 1px solid var(--iwm-line);
  border-radius: 18px !important;
  margin: 0 0 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 29, 44, 0.05);
  transition: box-shadow 0.25s var(--iwm-ease), border-color 0.25s var(--iwm-ease);
}

.frequently-sec .accordion-flush .accordion-item:hover {
  border-color: rgba(28, 29, 44, 0.25);
  box-shadow: 0 10px 26px rgba(28, 29, 44, 0.08);
}

.frequently-sec .accordion-flush .accordion-item h2 .accordion-button,
.frequently-sec .accordion-flush .accordion-item h3 .accordion-button,
.frequently-sec .accordion-flush .accordion-item .accordion-button.collapsed {
  padding: 22px 26px;
  font-size: 19px;
  line-height: 1.4;
  box-shadow: none !important;
}

.frequently-sec .accordion-flush .accordion-item .accordion-button:not(.collapsed) {
  color: var(--iwm-navy);
  font-weight: 600;
}

.frequently-sec .accordion-body {
  padding: 0 26px 22px;
}

.frequently-sec .accordion-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--iwm-muted);
}

.frequently-sec .accordin .accordion-item .accordion-header .accordion-button::after {
  font-size: 22px;
}

/* --------------------------------------------------------------------------
   Forms (contact page and quote popup)
   -------------------------------------------------------------------------- */
.form-control,
.form-select {
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
}

/* --------------------------------------------------------------------------
   Pricing tables
   -------------------------------------------------------------------------- */
.packages-sec .pricing-table {
  border-radius: var(--iwm-radius);
}

.packages-sec .pricing-table table tbody tr:hover td:not(.bg-change) {
  background-color: rgba(255, 255, 255, 0.03);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-sec .read h2 {
  letter-spacing: -0.015em;
}

.footer-sec .quick-links h4,
.footer-sec .contact-info h4,
.footer-sec .foot-logo .links h4 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.footer-sec .quick-links ul li a,
.footer-sec .contact-info ul li,
.footer-sec .contact-info ul li a,
.footer-sec .contact-info ul li p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-sec .contact-info ul li span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-sec .quick-links ul li a:hover,
.footer-sec .contact-info ul li a:hover {
  color: #fff;
}

.footer-sec .foot-logo .links ul li a i {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-sec .foot-logo .links ul li a:hover i {
  transform: translateY(-2px);
}

.footer-sec .copy-right {
  border-top-color: rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  margin-top: 56px;
}

.footer-sec .copy-right p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Images: consistent rounding for content screenshots and photos
   -------------------------------------------------------------------------- */
.about-sec .about-img .main-img img,
.bespoke-sec img:not(.shape1):not(.shape2):not(.shape3) {
  border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Mobile: tighter section rhythm and readable sizes
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-banner-sec .about-contant p {
    font-size: 16px;
    width: 100%;
  }

  .frequently-sec .accordion-flush .accordion-item h2 .accordion-button,
  .frequently-sec .accordion-flush .accordion-item h3 .accordion-button,
  .frequently-sec .accordion-flush .accordion-item .accordion-button.collapsed {
    padding: 18px 18px;
    font-size: 17px;
  }

  .frequently-sec .accordion-body {
    padding: 0 18px 18px;
  }

  .web_cta {
    border-radius: 24px;
  }

  .footer-sec .copy-right {
    margin-top: 36px;
  }
}

/* footer contact rows: icon and text side by side on every screen size */
.footer-sec .contact-info ul li a,
.footer-sec .contact-info ul li p {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px;
}

.footer-sec .contact-info ul li a i,
.footer-sec .contact-info ul li p i {
  line-height: 1.6;
  flex: 0 0 auto;
}
