/* ==========================================================================
   CLOUDNITS — PREMIUM LUXURY WAVE
   Color System:
     dark_base:       #232B2E (Background)
     dark_accent:     #141A1C (Surface / Cards)
     pink_mid:        #E8C5C8 (Primary)
     pink_light:      #F5E4E4 (Secondary)
     gold_trim:       #D4AF37 (Border Highlight)
     gold_highlight:  #F3E5AB (Text Active)
   Typography:
     Original "Raleway", sans-serif & "Arimo", sans-serif
   ========================================================================== */

:root {
  --dark-base: #232B2E;
  --dark-accent: #141A1C;
  --pink-mid: #E8C5C8;
  --pink-light: #F5E4E4;
  --gold-trim: #D4AF37;
  --gold-highlight: #F3E5AB;

  /* UI Mapping */
  --color-bg: var(--dark-base);
  --color-surface: var(--dark-accent);
  --color-primary: var(--pink-mid);
  --color-secondary: var(--pink-light);
  --color-border-highlight: var(--gold-trim);
  --color-text-active: var(--gold-highlight);

  /* Typography */
  --font-family-base: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-accent: "Arimo", sans-serif;
}

/* ==========================================================================
   Global Reset & Backgrounds
   ========================================================================== */
html {
  scroll-behavior: smooth !important;
}

html, body {
  background-color: var(--color-bg) !important;
  color: #DDE3E6 !important;
  font-family: var(--font-family-base) !important;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-primary) !important;
  color: var(--color-surface) !important;
}

::-moz-selection {
  background: var(--color-primary) !important;
  color: var(--color-surface) !important;
}

.unslate_co--site-wrap,
.unslate_co--site-inner {
  background-color: var(--color-bg) !important;
}

.unslate_co--section {
  padding-bottom: 3rem !important;
  padding-bottom: 1rem !important;
}

@media (max-width: 767.98px) {
  .unslate_co--section {
    padding-bottom: 2rem !important;
    padding-bottom: 1rem !important;
  }
}

.unslate_co--section:nth-of-type(even) {
  background-color: #1c2326 !important;
}

h1, h2, h3, h4, h5, h6,
.heading, .subheading, .heading-h2, .heading-h3 {
  font-family: var(--font-family-base) !important;
  color: #FFFFFF !important;
  letter-spacing: 0.02em;
}

a {
  color: var(--color-primary);
  transition: all 0.25s ease;
}

a:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.unslate_co--site-nav {
  background: rgba(20, 26, 28, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
  transition: all 0.3s ease;
}

.unslate_co--site-logo,
.unslate_co--site-nav.scrolled .unslate_co--site-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #FFFFFF !important;
  font-family: var(--font-family-base) !important;
  font-weight: 700 !important;
  font-size: 1.7rem !important;
  letter-spacing: 0.5px !important;
  box-shadow: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.unslate_co--site-logo::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url('../images/cloudnits_emblem.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.unslate_co--site-logo:hover::before {
  transform: scale(1.12);
}

.hero-brand-emblem {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  display: inline-block;
}

.hero-brand-emblem:hover {
  transform: scale(1.08) translateY(-3px);
  filter: drop-shadow(0 12px 32px rgba(243, 229, 171, 0.65));
}

.unslate_co--site-logo:hover,
.unslate_co--site-nav.scrolled .unslate_co--site-logo:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.unslate_co--site-nav .unslate_co--site-logo span {
  color: var(--color-border-highlight) !important;
}

.unslate_co--site-nav .site-nav-ul > li > a {
  color: #B8C2C6 !important;
  font-family: var(--font-family-base) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  padding: 10px 14px !important;
  position: relative;
  transition: color 0.2s ease;
}

.unslate_co--site-nav .site-nav-ul > li > a:hover {
  color: var(--color-secondary) !important;
}

.unslate_co--site-nav .site-nav-ul > li > a.active {
  color: var(--color-text-active) !important;
}

.unslate_co--site-nav .site-nav-ul > li > a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--color-border-highlight);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.unslate_co--site-nav .site-nav-ul > li > a:hover::after,
.unslate_co--site-nav .site-nav-ul > li > a.active::after {
  transform: scaleX(1);
}

/* Scrolled & Scroll-Up (Awake) Navbar Theme Polish — Eliminates Red Accent */
.unslate_co--site-nav.scrolled {
  background: rgba(20, 26, 28, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 15px rgba(212, 175, 55, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.unslate_co--site-nav.scrolled .site-nav-ul > li > a,
.unslate_co--site-nav.scrolled .site-nav-ul-none-onepage > li > a {
  color: #B8C2C6 !important;
  transition: color 0.25s ease !important;
}

.unslate_co--site-nav.scrolled .site-nav-ul > li > a:hover,
.unslate_co--site-nav.scrolled .site-nav-ul-none-onepage > li > a:hover {
  color: var(--color-secondary) !important;
}

.unslate_co--site-nav.scrolled .site-nav-ul > li > a.active,
.unslate_co--site-nav.scrolled .site-nav-ul-none-onepage > li > a.active {
  color: var(--color-text-active) !important;
}

.unslate_co--site-nav.scrolled .site-nav-ul > li > a:before,
.unslate_co--site-nav.scrolled .site-nav-ul-none-onepage > li > a:before,
.unslate_co--site-nav.scrolled .site-nav-ul > li > a.active:before,
.unslate_co--site-nav.scrolled .site-nav-ul-none-onepage > li > a.active:before {
  background: var(--color-border-highlight) !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6) !important;
}

.unslate_co--site-mobile-menu ul a:hover,
.unslate_co--site-mobile-menu ul li a:hover {
  color: var(--color-text-active) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.cover-v1 {
  position: relative;
}

.cover-v1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(35, 43, 46, 0.5) 0%, rgba(20, 26, 28, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.cover-v1 .container {
  position: relative;
  z-index: 2;
}

.cover-v1 .heading {
  font-family: var(--font-family-base) !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.cover-v1 .subheading {
  font-family: var(--font-family-base) !important;
  color: var(--color-secondary) !important;
  font-weight: 300 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.mouse-wrap {
  z-index: 2;
}

.mouse-wrap .mouse {
  border-color: rgba(212, 175, 55, 0.45) !important;
}

.mouse-wrap .mouse .scroll {
  background-color: var(--color-border-highlight) !important;
}

.mouse-wrap .mouse-label {
  color: var(--color-text-active) !important;
  font-family: var(--font-family-base) !important;
}

/* ==========================================================================
   Accent Lines & Section Headings
   ========================================================================== */
.section-accent-line {
  width: 55px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--color-border-highlight), var(--color-primary)) !important;
  border-radius: 3px !important;
  margin: 18px auto 0 auto !important;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4) !important;
}

.heading-h2 {
  font-family: var(--font-family-base) !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   Buttons (Luxury Wave Tactile Styling)
   ========================================================================== */
.btn-custom-light {
  background: var(--color-surface) !important;
  color: var(--color-secondary) !important;
  border: 1px solid var(--color-border-highlight) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(212, 175, 55, 0.15) !important;
  border-radius: 30px !important;
  padding: 14px 32px !important;
  letter-spacing: 0.08em !important;
  font-family: var(--font-family-base) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  cursor: pointer;
}

.btn-custom-light:hover {
  background: var(--color-primary) !important;
  color: var(--color-surface) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 8px 25px rgba(232, 197, 200, 0.4), 0 0 15px rgba(212, 175, 55, 0.25) !important;
  transform: translateY(-2px);
}

.btn-custom-light:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Case Studies / Portfolio Cards
   ========================================================================== */
.portfolio-item {
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.portfolio-item:hover {
  transform: translateY(-6px) !important;
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.2) !important;
}

.portfolio-item .overlay {
  background: rgba(20, 26, 28, 0.88) !important;
}

.portfolio-item .overlay .wrap-icon {
  color: var(--color-border-highlight) !important;
}

.portfolio-item .overlay h3 {
  color: var(--color-text-active) !important;
  font-family: var(--font-family-base) !important;
  font-weight: 700;
}

.portfolio-item .overlay p {
  color: var(--color-primary) !important;
  font-family: var(--font-family-base) !important;
}

.portfolio-item img {
  border-radius: 12px 12px 0 0;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
#about-section .lead {
  color: #DDE3E6 !important;
  font-weight: 300;
  line-height: 1.8;
}

#about-section .lead span {
  color: var(--color-text-active) !important;
  font-weight: 600;
}

#about-section figure img {
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(212, 175, 55, 0.15) !important;
}

/* ==========================================================================
   Services Section (Feature Cards)
   ========================================================================== */
.feature-v1 {
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 16px !important;
  padding: 32px 28px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  height: 100%;
}

.feature-v1:hover {
  transform: translateY(-5px) !important;
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.22) !important;
}

.feature-v1 .wrap-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.feature-v1:hover .wrap-icon {
  background: rgba(212, 175, 55, 0.18) !important;
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
}

.feature-v1 .wrap-icon svg {
  stroke: var(--color-border-highlight) !important;
  width: 32px;
  height: 32px;
}

.feature-v1 h3 {
  font-family: var(--font-family-base) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--color-secondary) !important;
  margin-bottom: 12px !important;
}

.feature-v1 p {
  color: #B8C2C6 !important;
  font-size: 14.5px;
  line-height: 1.7;
}

/* ==========================================================================
   Skills Section (Matrix Cards)
   ========================================================================== */
.skill-category-card {
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 18px !important;
  padding: 32px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.skill-category-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.22) !important;
}

.category-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
  padding-bottom: 16px !important;
  margin-bottom: 20px !important;
}

.category-header h3 {
  color: var(--color-text-active) !important;
  font-family: var(--font-family-base) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}

.category-skills li {
  color: #C0C8CC !important;
  font-size: 14.5px;
  line-height: 1.7;
}

.category-skills li::before {
  content: "•" !important;
  color: var(--color-border-highlight) !important;
  font-size: 20px !important;
  font-weight: bold;
}

.category-skills li strong {
  color: var(--color-secondary) !important;
  font-weight: 600;
}

/* ==========================================================================
   Contact Section & Form Inputs (Exact Left Alignment & Luxury Polish)
   ========================================================================== */
.form-outline-style-v1 .form-group {
  position: relative !important;
  margin-bottom: 24px !important;
  text-align: left !important;
}

.form-outline-style-v1 .form-group label,
.form-outline-style-v1 label,
.contact-label {
  position: static !important;
  display: block !important;
  text-align: left !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-left: 0 !important;
  font-family: var(--font-family-base) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--color-primary) !important;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.form-outline-style-v1 .form-group:focus-within label {
  color: var(--color-text-active) !important;
}

.form-outline-style-v1 .form-control {
  display: block !important;
  width: 100% !important;
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  font-family: var(--font-family-base) !important;
  font-size: 15px !important;
  padding: 14px 18px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.form-outline-style-v1 .form-control:focus {
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.32), inset 0 0 8px rgba(212, 175, 55, 0.06) !important;
  outline: none !important;
  background: #182023 !important;
}

.form-outline-style-v1 .form-control::placeholder {
  color: rgba(232, 197, 200, 0.45) !important;
  font-size: 14px !important;
}

.contact-info-v1 {
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  border-radius: 18px !important;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.contact-info-v1:hover {
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.2) !important;
  transform: translateY(-3px) !important;
}

.contact-info-label {
  color: var(--color-primary) !important;
  font-family: var(--font-family-base) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  margin-bottom: 6px;
}

.contact-info-val {
  color: var(--color-text-active) !important;
  font-family: var(--font-family-base) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.contact-info-val:hover {
  color: var(--color-secondary) !important;
  text-shadow: 0 0 12px rgba(243, 229, 171, 0.5);
}

/* ==========================================================================
   Section Spacing — add bottom padding that style.css omits
   ========================================================================== */
.unslate_co--section {
  padding-bottom: 5rem !important;
}

@media (max-width: 767.98px) {
  .unslate_co--section {
    padding-bottom: 3rem !important;
  }
}

/* Contact section gets a bit extra so it never kisses the footer */
#contact-section {
  padding-bottom: 4rem !important;
}

/* ==========================================================================
   Footer — natural page bottom, no gap
   ========================================================================== */
footer {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
  margin: 0 !important;
  padding: 20px 40px !important;
  background: var(--color-surface) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
  color: #8C969A !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* No extra padding needed since footer is in normal flow */
body {
  padding-bottom: 0 !important;
}

footer .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

footer .row {
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

footer .col-md-12 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  text-align: left !important;
}

footer p {
  color: #8C969A !important;
  font-family: var(--font-family-base) !important;
  letter-spacing: 0.04em;
  margin: 0 !important;
}

/* ==========================================================================
   Case Study Sub-Pages Detail Highlights
   ========================================================================== */
.detail-v1 .detail-label {
  color: var(--color-primary) !important;
}

.detail-v1 .detail-val,
.detail-v1 .detail-val a {
  color: var(--color-text-active) !important;
}

.heading-portfolio-single-h2 {
  color: #FFFFFF !important;
  font-family: var(--font-family-base) !important;
}


/* ==========================================================================
   Legacy Accent Overrides & Luxury Aura Polish
   ========================================================================== */
[style*="#D63447"], [style*="#d63447"] {
  color: var(--color-text-active) !important;
}

svg [stroke="#D63447"], svg [stroke="#d63447"], svg[stroke="#D63447"] {
  stroke: var(--color-border-highlight) !important;
}

svg [fill="#D63447"], svg [fill="#d63447"], svg[fill="#D63447"] {
  fill: var(--color-border-highlight) !important;
}

/* Subtle luxury atmospheric depth */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.04) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(232, 197, 200, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.unslate_co--site-wrap {
  position: relative;
  z-index: 1;
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
}

/* Responsive UI Polish */
@media (max-width: 767.98px) {
  .feature-v1 {
    padding: 24px 20px !important;
  }
  .skill-category-card {
    padding: 24px 20px !important;
  }
}


/* ==========================================================================
   Luxury Wave Transitions & Keyframe Animations
   ========================================================================== */

/* 1. Preloaders & Overlayers */
#unslate_co--overlayer {
  background: radial-gradient(circle at center, #232B2E 0%, #141A1C 100%) !important;
}

.site-loader, .loader-portfolio {
  border: 3px solid rgba(212, 175, 55, 0.15) !important;
  border-top-color: var(--color-border-highlight) !important;
  border-right-color: var(--color-primary) !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.3) !important;
  -webkit-animation: luxury-spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite !important;
  animation: luxury-spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite !important;
}

@-webkit-keyframes luxury-spin {
  0% { -webkit-transform: rotate(0deg); box-shadow: 0 0 12px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 22px rgba(232, 197, 200, 0.4); }
  100% { -webkit-transform: rotate(360deg); box-shadow: 0 0 12px rgba(212, 175, 55, 0.2); }
}

@keyframes luxury-spin {
  0% { transform: rotate(0deg); box-shadow: 0 0 12px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 22px rgba(232, 197, 200, 0.4); }
  100% { transform: rotate(360deg); box-shadow: 0 0 12px rgba(212, 175, 55, 0.2); }
}

/* 2. GSAP Reveal Curtains (Luxury Wave Silk Curtain) */
.gsap-reveal .cover,
.gsap-reveal-hero .reveal-wrap .cover,
.gsap-reveal-img .reveal-wrap .cover {
  background: linear-gradient(135deg, #141A1C 0%, #232B2E 60%, rgba(212, 175, 55, 0.85) 100%) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

/* 3. Mouse Scroll Animation */
.mouse-wrap .mouse {
  border: 2px solid var(--color-border-highlight) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
  transition: all 0.3s ease;
}

.mouse-wrap:hover .mouse {
  border-color: var(--color-text-active) !important;
  box-shadow: 0 0 16px rgba(243, 229, 171, 0.5) !important;
}

.mouse-wrap .mouse .scroll {
  background: linear-gradient(180deg, var(--color-border-highlight), var(--color-text-active)) !important;
  box-shadow: 0 0 6px rgba(243, 229, 171, 0.7) !important;
  -webkit-animation: luxury-finger 2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  animation: luxury-finger 2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

@-webkit-keyframes luxury-finger {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  70% {
    opacity: 0.6;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(22px);
    transform: translateY(22px);
  }
}

@keyframes luxury-finger {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0.6;
    transform: translateY(16px);
  }
  100% {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* 4. Carousel / Slider Pagination Dots */
.testimonial-slider .owl-dots .owl-dot > span,
.single-slider .owl-dots .owl-dot > span {
  background: rgba(232, 197, 200, 0.3) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.testimonial-slider .owl-dots .owl-dot:hover > span,
.single-slider .owl-dots .owl-dot:hover > span {
  background: var(--color-primary) !important;
  border-color: var(--color-border-highlight) !important;
}

.testimonial-slider .owl-dots .owl-dot.active > span,
.single-slider .owl-dots .owl-dot.active > span {
  background: var(--color-border-highlight) !important;
  border-color: var(--color-text-active) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important;
  transform: scale(1.3) !important;
}

.testimonial-slider .owl-nav .owl-prev,
.testimonial-slider .owl-nav .owl-next {
  color: var(--color-text-active) !important;
  transition: all 0.3s ease !important;
}

.testimonial-slider .owl-nav .owl-prev:hover,
.testimonial-slider .owl-nav .owl-next:hover {
  color: var(--color-primary) !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important;
}

/* 5. Portfolio Filter Transitions */
.filter-wrap .filter a {
  color: #9AA6AC !important;
  font-family: var(--font-family-base) !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
  padding: 4px 10px;
  border-bottom: 2px solid transparent;
}

.filter-wrap .filter a:hover {
  color: var(--color-secondary) !important;
}

.filter-wrap .filter a.active {
  color: var(--color-text-active) !important;
  border-bottom-color: var(--color-border-highlight) !important;
  text-shadow: 0 0 10px rgba(243, 229, 171, 0.35);
}

/* 6. Form Submission & Focus Transitions */
.submitting {
  color: var(--color-text-active) !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: none;
  margin-top: 10px;
}

/* Submit button row — prevent overlap */
#contactForm .row.mt-2 .col-md-12 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

#contactForm input[type="submit"] {
  flex-shrink: 0;
}

#form-message-success {
  color: var(--color-text-active) !important;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  font-weight: 600;
  margin-top: 15px;
}

/* 7. Testimonial Card Styling */
.testimonial-v1 .testimonial-inner-bg {
  background-color: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0px 20px 0 -10px var(--color-border-highlight) !important;
}

.testimonial-v1 .testimonial-inner-bg .quote {
  color: var(--color-primary) !important;
}

/* 8. Portfolio Modal Close Button */
.unslate_co--close-portfolio {
  background-color: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.unslate_co--close-portfolio:hover {
  background-color: #1e2629 !important;
  border-color: var(--color-border-highlight) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35) !important;
}

.unslate_co--close-portfolio .wrap-icon-close {
  color: var(--color-text-active) !important;
}

.unslate_co--close-portfolio .close-portfolio-label {
  color: var(--color-secondary) !important;
}

/* 9. Counter V1 Numbers */
.counter-v1 .number-wrap .number {
  color: var(--color-text-active) !important;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.counter-v1 .number-wrap .append-text {
  color: var(--color-primary) !important;
}

.counter-v1 .counter-label {
  color: var(--color-secondary) !important;
}

/* 10. Background styling for Cover and Sections across ALL pages */
.cover-v1 {
  background-image: url('../images/luxury_wave_bg.svg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.cover-v1::after {
  background: radial-gradient(circle at 50% 40%, rgba(35, 43, 46, 0.25) 0%, rgba(20, 26, 28, 0.75) 100%) !important;
}

/* Sub-page hero height: cinematic and well-proportioned */
body:not(:has(#home-section)) .cover-v1 .container,
body:not(:has(#home-section)) .cover-v1 .container > .row {
  height: 52vh !important;
  min-height: 420px !important;
}

/* Grid line guides in Luxury Wave gold/charcoal accent */
.lines-wrap .lines-inner,
.lines-wrap .lines-inner .lines {
  border-left-color: rgba(212, 175, 55, 0.08) !important;
  border-right-color: rgba(212, 175, 55, 0.08) !important;
}

/* ==========================================================================
   Full-Width Responsive Containers (Fixes Center-Cropped / Excess Side Space)
   ========================================================================== */
@media (min-width: 1200px) {
  .container {
    max-width: 1320px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1460px !important;
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1580px !important;
    padding-left: 45px !important;
    padding-right: 45px !important;
  }
}

/* ==========================================================================
   Case Study & Sub-Page Immersive Layout
   ========================================================================== */
.portfolio-single-wrap {
  padding-top: 50px !important;
  padding-bottom: 90px !important;
  width: 100% !important;
}

.portfolio-single-inner,
#portfolio-single-holder .portfolio-single-inner {
  width: 100% !important;
  max-width: 100% !important;
}

.portfolio-single-inner .heading-portfolio-single-h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin-bottom: 30px !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  display: inline-block;
  position: relative;
}

.portfolio-single-inner .heading-portfolio-single-h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-border-highlight), var(--color-primary));
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* Case study banner slider */
.portfolio-single-inner .single-slider {
  margin-bottom: 45px !important;
}

.portfolio-single-inner .single-slider figure {
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.12) !important;
  margin-bottom: 0 !important;
}

.portfolio-single-inner .single-slider figure img {
  width: 100% !important;
  height: auto !important;
  max-height: 600px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 18px !important;
}

/* Meta information cards (Date, Role, Client) */
.portfolio-single-inner .detail-v1 {
  background: var(--color-surface) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-single-inner .detail-v1:hover {
  border-color: var(--color-border-highlight) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.22) !important;
}

.portfolio-single-inner .detail-v1 .detail-label {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  margin-bottom: 6px !important;
}

.portfolio-single-inner .detail-v1 .detail-val,
.portfolio-single-inner .detail-v1 .detail-val a {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--color-text-active) !important;
}

/* Challenge & Solution Content Typography */
.portfolio-single-inner h4 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
}

.portfolio-single-inner h5 {
  font-size: 17.5px !important;
  font-weight: 600 !important;
  color: var(--color-text-active) !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

.portfolio-single-inner p {
  color: #D3DDE1 !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
  margin-bottom: 14px !important;
}

/* ==========================================================================
   Silky Smooth Transitions Across All Interactive Elements
   ========================================================================== */
a, button, .btn, .btn-custom-light {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-item, .feature-v1, .skill-category-card, .detail-v1, .contact-info-v1 {
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-item img {
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.unslate_co--site-nav {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   DevOps & Cloud Topology Graph Display Guarantee
   ========================================================================== */
#about-section figure {
  position: relative !important;
  z-index: 2 !important;
  overflow: visible !important;
}

#about-section figure img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}

#about-section .reveal-wrap,
#about-section .reveal-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


