:root {
  --primary-gold: #C69214;
  --primary-gold-hover: #AA7B0E;
  --primary-gold-light: #F4E9CD;
  --dark-bg: #1A1715;
  --dark-card: #24201D;
  --light-bg: #FAF7F2;
  --light-card: #FFFFFF;
  --section-bg-warm: #F4EFEA;
  --text-dark: #2B2520;
  --text-muted: #706860;
  --text-light: #F3EFEA;
  --border-gold: rgba(198, 146, 20, 0.4);
  --border-light: rgba(0, 0, 0, 0.08);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Great Vibes', cursive;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 19px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light-bg);
  background-image: url('assets/cloudbackg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.highlight-gold {
  color: var(--primary-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-gold {
  background-color: var(--primary-gold);
  color: #FFFFFF;
}

.btn-gold:hover {
  background-color: var(--primary-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 146, 20, 0.35);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background-color: #FFFFFF;
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 12px 32px;
}

.btn-outline-dark:hover {
  background-color: var(--text-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-light-card {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn-outline-light-card:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: linear-gradient(180deg, rgba(15, 12, 10, 0.75) 0%, rgba(15, 12, 10, 0.35) 60%, transparent 100%);
}

.site-header.scrolled {
  background: rgba(26, 23, 21, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo img {
  height: 54px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #FFFFFF;
  opacity: 0.95;
  padding: 8px 0;
  position: relative;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--dark-bg);
  min-width: 220px;
  border-radius: 4px;
  padding: 12px 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-gold);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu a:hover {
  background-color: rgba(198, 146, 20, 0.15);
  color: var(--primary-gold);
}

.caret {
  font-size: 0.75rem;
  margin-left: 3px;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown.active .caret,
.dropdown:hover .caret {
  transform: rotate(180deg);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1005;
}

.hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #FFFFFF;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 2px;
  background-color: #FFFFFF;
  left: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

/* Hamburger to Cross (X) Icon Morphing */
.nav-toggle[aria-expanded="true"] .hamburger,
.nav-toggle.active .hamburger {
  background-color: transparent !important;
}

.nav-toggle[aria-expanded="true"] .hamburger::before,
.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--primary-gold);
}

.nav-toggle[aria-expanded="true"] .hamburger::after,
.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
  background-color: var(--primary-gold);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 8% 80px;
  color: #FFFFFF;
  background-color: var(--dark-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/Untitled design.jpeg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 12, 10, 0.82) 7%, rgba(15, 12, 10, 0.45) 40%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-gold);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtext-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-subtext-bar .dot {
  color: var(--primary-gold);
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.services-section {
  padding: 100px 0;
  background-image: url('assets/cloudbackg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-section .container {
  max-width: 1680px;
  padding: 0 4%;
}

.section-tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
}

.section-tagline::before,
.section-tagline::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: var(--border-gold);
  vertical-align: middle;
  margin: 0 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--light-card);
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.card-media {
  position: relative;
  height: 240px;
  overflow: visible;
}

.card-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

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

.service-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-icon-badge {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.card-content {
  padding: 40px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
  flex-grow: 1;
}

.card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.card-link .arrow {
  transition: transform 0.3s ease;
}

.card-link:hover {
  color: var(--primary-gold);
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

.about-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-image: url('assets/cloudbackg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px 17px;
  color: var(--text-dark);
}

.about-section-inner {
  width: 100%;
  max-width: 100%;
  max-height: 640px;
  margin: 0 auto;
  border: 1px solid rgba(80, 70, 60, 0.28);
  border-radius: 6px;
  overflow: hidden;
  background: #EAE1D5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  height: 100%;
  max-height: 640px;
}

.about-content {
  padding: 54px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-height: 640px;
}

.about-img-col {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  width: 100%;
  height: 100%;
  max-height: 640px;
}

.about-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 640px;
  overflow: hidden;
  border: none;
  background: transparent;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 12%, #000 35%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 12%, #000 35%);
}

.about-img-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20%;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  mask-image: linear-gradient(to right, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 100%);
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.about-img-frame:hover .about-portrait-img {
  transform: scale(1.02);
  filter: grayscale(100%) contrast(1.1);
}

.section-tagline.left-aligned {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #5C5248;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
}

.section-tagline.left-aligned::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background-color: #C69A4B;
  vertical-align: middle;
  margin-right: 10px;
}

.section-tagline.left-aligned::after {
  display: none;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
  color: #2A241F;
  margin-bottom: 12px;
}

.about-text-body p {
  font-size: 0.92rem;
  color: #4E463E;
  margin-bottom: 10px;
  line-height: 1.5;
}

.about-footer-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.signature-wrapper {
  display: flex;
  flex-direction: column;
}

.signature-font {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: #2A241F;
  line-height: 1;
}

.signature-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6C6258;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.featured-approach-wrapper {
  background-image: url('assets/cloudbackg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.featured-work-section {
  padding: 85px 0 100px;
  background-color: transparent;
}

.featured-work-section .container {
  max-width: 1680px;
  padding: 0 4%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.project-card {
  background-color: var(--light-card);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.project-img-wrapper {
  height: 230px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
}

.project-info {
  padding: 20px 16px;
  text-align: center;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.project-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-cta-wrap {
  margin-top: 52px;
}

/* Dynamic Infinite Client Logos Ticker / Marquee */
.clients-section {
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.clients-marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 32px;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.clients-marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 100%;
  animation: marqueeRightToLeft 45s linear infinite;
}


@keyframes marqueeRightToLeft {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(calc(-100% - 32px));
  }
}

.client-logo-item {
  flex-shrink: 0;
  height: 130px;
  min-width: 240px;
  padding: 18px 36px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-item img {
  max-height: 95px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.approach-section {
  padding: 90px 0 110px;
  background-color: transparent;
}

.approach-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: var(--border-gold);
  z-index: 1;
}

.approach-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  color: #FFFFFF;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(198, 146, 20, 0.3);
}

.step-number {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 6px;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-banner-section {
  position: relative;
  width: 100%;
  background-image: linear-gradient(rgba(24, 19, 15, 0.88), rgba(24, 19, 15, 0.88)), url('assets/1 front page image.jpeg');
  background-size: cover;
  background-position: center;
  padding: 70px 8%;
  color: #FFFFFF;
}

.cta-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.5;
}

.cta-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 250px;
  flex-shrink: 0;
}

.btn-gold-solid {
  background-color: #C69A4B;
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  border-radius: 2px;
  text-align: center;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-gold-solid:hover {
  background-color: #B3883B;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198, 154, 75, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #FFFFFF;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  border-radius: 2px;
  text-align: center;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-outline-white:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.site-footer {
  background-color: #1D1712;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 24px;
  border-top: 1px solid #6E5739;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: 'DESIGN HARMONY';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6.2vw, 6.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: 0;
  margin-bottom: 40px;
}

.footer-col {
  padding: 0 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-logo {
  height: 60px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 16px;
  display: block;
}

.footer-bio {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: #C69A4B;
  color: #FFFFFF;
  border-color: #C69A4B;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-list .icon {
  color: #FFFFFF;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info-list a,
.contact-info-list span {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-info-list a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .timeline-line {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .footer-col {
    padding: 0;
    border-right: none;
  }

  .footer-col:first-child,
  .footer-col:last-child {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-bio {
    max-width: 100%;
  }
}

/* Mobile Navigation Background Blur & Scroll Lock */
body.nav-open {
  overflow: hidden !important;
}

body.nav-open main,
body.nav-open .site-footer {
  filter: blur(6px);
  transition: filter 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(18, 16, 14, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.35s ease;
  z-index: 998;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1005;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background-color: var(--dark-bg);
    padding: 90px 30px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    overflow-y: auto;
    pointer-events: auto;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    display: block;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.35s ease,
      padding 0.35s ease,
      visibility 0.45s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 380px;
    opacity: 1;
    visibility: visible;
    padding: 8px 0 4px 16px;
  }

  /* Smooth Top-to-Bottom Cascade Animation for Dropdown Items */
  .dropdown-menu li {
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dropdown.active .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown.active .dropdown-menu li:nth-child(1) {
    transition-delay: 0.04s;
  }

  .dropdown.active .dropdown-menu li:nth-child(2) {
    transition-delay: 0.08s;
  }

  .dropdown.active .dropdown-menu li:nth-child(3) {
    transition-delay: 0.12s;
  }

  .dropdown.active .dropdown-menu li:nth-child(4) {
    transition-delay: 0.16s;
  }

  .dropdown.active .dropdown-menu li:nth-child(5) {
    transition-delay: 0.20s;
  }

  .dropdown.active .dropdown-menu li:nth-child(6) {
    transition-delay: 0.24s;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    padding: 120px 24px 60px;
  }

  .hero-overlay {
    background: rgba(15, 12, 10, 0.65) !important;
  }

  .hero-subtext-bar {
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .approach-timeline {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 60px 20px;
  }

  .cta-banner-section {
    padding: 60px 20px;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .cta-text-content {
    width: 100%;
  }

  .cta-buttons-wrap {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons-wrap .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-col {
    padding: 0 0 24px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bio {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-banner-section {
    padding: 48px 16px;
  }

  .cta-banner-inner {
    gap: 24px;
  }

  .cta-title {
    font-size: 1.85rem;
  }

  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-grid {
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-col {
    padding-bottom: 24px;
  }

  .footer-heading {
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 1.2px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 0.88rem;
    display: inline-block;
  }

  .contact-info-list li {
    font-size: 0.88rem;
    gap: 12px;
    margin-bottom: 12px;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 0.78rem;
  }
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #C69A4B, #E5C158);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: var(--border-gold);
  z-index: 1;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-line.active {
  transform: scaleX(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.25s;
}

.reveal-delay-3 {
  transition-delay: 0.4s;
}

.reveal-delay-4 {
  transition-delay: 0.55s;
}

.reveal-delay-5 {
  transition-delay: 0.7s;
}

.magnetic-hover {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.magnetic-hover:hover {
  transform: translateY(-4px) scale(1.01);
}

/* ==========================================================================
   SUBPAGES & FORM DESIGN SYSTEM STYLES
   ========================================================================== */

/* Page Hero Banner */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(198, 146, 20, 0.15), transparent 70%);
  pointer-events: none;
}

.page-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.page-hero-desc {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  color: #D5CEC7;
  line-height: 1.6;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary-gold);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #FFFFFF;
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* Subpage Main Content Layout */
.subpage-section {
  padding: 80px 0;
  background-image: url('assets/cloudbackg.jpeg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.subpage-grid-2col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.subpage-content-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.subpage-content-centered .about-text-body,
.subpage-content-centered .subpage-text-body {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto 32px;
}

.subpage-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin: 32px auto 0;
  display: block;
}

.subpage-grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.feature-box {
  background: var(--light-card);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(198, 146, 20, 0.1);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form Styles */
.form-card {
  background: var(--light-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.subpage-form-card {
  max-width: 820px;
  margin: 0 auto;
}

.form-card.dark-theme {
  background: var(--dark-card);
  border-color: rgba(198, 146, 20, 0.25);
  color: var(--text-light);
}

.form-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-card.dark-theme .form-card-title {
  color: #FFFFFF;
}

.form-card-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-card.dark-theme .form-label {
  color: #E2DBD4;
}

.form-control,
.form-select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #FAF8F5;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  transition: var(--transition);
  outline: none;
}

.form-card.dark-theme .form-control,
.form-card.dark-theme .form-select {
  background-color: #1A1715;
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-gold);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(198, 146, 20, 0.15);
}

.form-card.dark-theme .form-control:focus,
.form-card.dark-theme .form-select:focus {
  background-color: #24201D;
  box-shadow: 0 0 0 3px rgba(198, 146, 20, 0.25);
}

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

.form-submit-btn {
  width: 100%;
  padding: 14px 28px;
  font-size: 0.9rem;
  margin-top: 10px;
}

.form-feedback-msg {
  display: none;
  padding: 14px 18px;
  margin-top: 20px;
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.form-feedback-msg.success {
  display: block;
  background-color: rgba(46, 125, 50, 0.1);
  border: 1px solid #2e7d32;
  color: #1b5e20;
}

.form-feedback-msg.error {
  display: block;
  background-color: rgba(198, 40, 40, 0.1);
  border: 1px solid #c62828;
  color: #b71c1c;
}

/* Portfolio Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #FFFFFF;
}

/* Contact Info List Cards */
.contact-detail-card {
  background: var(--light-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(198, 146, 20, 0.1);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.contact-detail-val {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Responsive adjust for subpages */
@media (max-width: 992px) {
  .subpage-grid-2col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .page-hero {
    padding: 130px 0 60px;
  }
}

/* ==========================================================================
   SMOOTH PAGE TRANSITION & CLICK ANIMATIONS
   ========================================================================== */

/* Page entrance animation */
body {
  animation: pageFadeIn 0.4s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Staggered Hero Header Animations */
.page-hero-subtitle {
  animation: heroSubSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.page-hero-title {
  animation: heroTitleSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.page-hero-desc {
  animation: heroDescSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.subpage-content-centered {
  animation: subpageContentReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

@keyframes heroSubSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTitleSlide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDescSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subpageContentReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Micro-interaction Click/Press Feedback */
.btn:active,
.card-link:active,
.service-card:active,
.nav-link:active {
  transform: scale(0.975);
  transition: transform 0.12s ease;
}

/* Dual Consultation Form Tab Selector */
.consult-form-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.consult-tab-btn {
  background: var(--light-bg);
  border: 2px solid var(--border-light);
  border-radius: 6px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.consult-tab-btn:hover {
  border-color: var(--primary-gold);
  background: #FFFBF5;
}

.consult-tab-btn.active {
  border-color: var(--primary-gold);
  background: #FFFBF0;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.15);
}

.consult-tab-btn .tab-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.consult-tab-btn .tab-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 3px 0 0;
}

@media (max-width: 600px) {
  .consult-form-tabs {
    grid-template-columns: 1fr;
  }
}

.subpage-cta-wrap {
  margin-top: 36px;
  text-align: center;
}

/* ==========================================================================
   Admin Dashboard & Buyer Portal Styles (Luxury Dark/Gold Aesthetic)
   ========================================================================== */
.admin-body {
  background: #0f0c0a;
  color: #f4efe9;
  font-family: var(--font-sans);
  min-height: 100vh;
  margin: 0;
}

/* Auth Container & Card */
.admin-auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(198, 146, 20, 0.18) 0%, #0f0c0a 75%);
}

.admin-auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(22, 17, 14, 0.95);
  border: 1px solid rgba(198, 146, 20, 0.4);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(198, 146, 20, 0.1);
  backdrop-filter: blur(12px);
}

.admin-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-gold);
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(198, 146, 20, 0.3);
}

.admin-auth-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 2px;
  color: var(--primary-gold);
  margin-bottom: 6px;
}

.admin-auth-subtitle {
  font-size: 0.85rem;
  color: #c4b9ad;
  margin-bottom: 32px;
}

/* Dashboard Overall Layout */
.admin-dashboard-container {
  display: flex;
  min-height: 100vh;
  background: #0b0907;
}

/* Sidebar */
.admin-sidebar {
  width: 270px;
  background: #140f0c;
  border-right: 1px solid rgba(198, 146, 20, 0.25);
  display: flex;
  flex-direction: column;
  padding: 28px 18px;
  flex-shrink: 0;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
}

.admin-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(198, 146, 20, 0.2);
  margin-bottom: 28px;
}

.admin-sidebar-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-gold);
}

.admin-sidebar-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 1.5px;
}

.admin-sidebar-role {
  font-size: 0.75rem;
  color: #b8ac9f;
  letter-spacing: 0.5px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #d1c5b8;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.admin-nav-item:hover {
  background: rgba(198, 146, 20, 0.12);
  color: #ffffff;
  border-color: rgba(198, 146, 20, 0.3);
}

.admin-nav-item.active {
  background: linear-gradient(90deg, rgba(198, 146, 20, 0.25) 0%, rgba(198, 146, 20, 0.08) 100%);
  color: var(--primary-gold);
  border: 1px solid rgba(198, 146, 20, 0.4);
  border-left: 4px solid var(--primary-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(198, 146, 20, 0.25);
}

/* Main Content Area */
.admin-main-content {
  flex-grow: 1;
  padding: 36px 44px;
  background: #0b0907;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(198, 146, 20, 0.2);
  margin-bottom: 36px;
}

.admin-page-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.admin-page-sub {
  font-size: 0.9rem;
  color: #b8ac9f;
}

/* Cards & Containers */
.admin-card {
  background: rgba(24, 19, 15, 0.95);
  border: 1px solid rgba(198, 146, 20, 0.25);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--primary-gold);
  letter-spacing: 0.5px;
}

/* High Contrast Form Styling for Admin */
.admin-main-content .form-group,
.admin-auth-card .form-group {
  margin-bottom: 22px;
}

.admin-main-content .form-label,
.admin-auth-card .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f4efe9;
  margin-bottom: 8px;
}

.admin-main-content .form-control,
.admin-auth-card .form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: #140f0c !important;
  border: 1.5px solid rgba(198, 146, 20, 0.4) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: all 0.2s ease;

  &::placeholder {
    color: #8c8073;
  }

  &:focus {
    outline: none;
    border-color: var(--primary-gold) !important;
    background-color: #1c1612 !important;
    box-shadow: 0 0 12px rgba(198, 146, 20, 0.3) !important;
  }
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: end;
}

.admin-form-grid .form-submit-wrap {
  margin-bottom: 22px;
}

/* Table Styling */
.table-responsive {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  padding: 14px 18px;
  background: #140f0c;
  color: var(--primary-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(198, 146, 20, 0.3);
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e8dfd5;
  background: rgba(22, 17, 14, 0.6);
}

.admin-table tbody tr:hover td {
  background: rgba(198, 146, 20, 0.08);
}

.badge-gold {
  background: rgba(198, 146, 20, 0.2);
  color: var(--primary-gold);
  border: 1px solid rgba(198, 146, 20, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Logos & Projects Display Grids */
.admin-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.admin-logo-card {
  background: #ffffff;
  border: 1px solid rgba(198, 146, 20, 0.3);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 190px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(198, 146, 20, 0.2);
}

.admin-logo-preview {
  max-height: 75px;
  max-width: 170px;
  object-fit: contain;
  margin-bottom: 12px;
}

.admin-logo-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1512;
  margin-bottom: 12px;
  word-break: break-word;
}

.admin-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 14px;
}

.admin-section-divider {
  color: var(--primary-gold);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(198, 146, 20, 0.3);
}

.admin-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 10px;
}

.admin-project-card {
  background: #140f0c;
  border: 1px solid rgba(198, 146, 20, 0.3);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-project-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-gold);
}

.admin-project-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.admin-project-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.admin-project-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #ffffff;
  margin: 4px 0 8px;
  line-height: 1.3;
}

/* Button Variants in Admin */
.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: #000000;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.3);
}

.btn-outline-danger {
  background: rgba(198, 40, 40, 0.1);
  border: 1px solid #c62828;
  color: #ef9a9a;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-outline-danger:hover {
  background: #c62828;
  color: #ffffff;
}

.admin-toast {
  position: fixed;
  top: 28px;
  right: 28px;
  background: var(--primary-gold);
  color: #000000;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  letter-spacing: 0.5px;
}

/* Custom Delete Confirmation Modal */
.dh-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.2s ease forwards;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dh-modal-card {
  background: #16110e;
  border: 1.5px solid var(--primary-gold);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(198, 146, 20, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dh-modal-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.dh-modal-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.dh-modal-body {
  font-size: 0.95rem;
  color: #c8bcaf;
  line-height: 1.5;
  margin-bottom: 26px;
}

.dh-modal-actions {
  display: flex;
  gap: 14px;
  width: 100%;
}

.dh-modal-actions button {
  flex: 1;
  padding: 12px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.btn-danger-solid {
  background: #c62828;
  color: #ffffff;
  border: 1px solid #e53935;
  transition: all 0.2s ease;
}

.btn-danger-solid:hover {
  background: #d32f2f;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

/* ============================================================
   ADMIN PAGE — MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  /* Dashboard: stack sidebar on top, content below */
  .admin-dashboard-container {
    flex-direction: column;
  }

  /* Sidebar → horizontal sticky top nav bar */
  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 10px 14px;
    border-right: none;
    border-bottom: 1px solid rgba(198, 146, 20, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-sidebar-header {
    flex-shrink: 0;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
    padding-right: 14px;
    border-right: 1px solid rgba(198, 146, 20, 0.2);
  }

  .admin-sidebar-role {
    display: none;
  }

  .admin-sidebar-brand {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .admin-sidebar-logo {
    width: 36px;
    height: 36px;
  }

  /* Nav items in a horizontal row */
  .admin-nav {
    flex-direction: row;
    flex-grow: 1;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 13px;
    font-size: 0.8rem;
    gap: 6px;
  }

  /* Sidebar footer → inline log out */
  .admin-sidebar-footer {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    padding-left: 12px;
    border-left: 1px solid rgba(198, 146, 20, 0.2);
  }

  .admin-sidebar-footer .btn-outline-danger {
    white-space: nowrap;
    width: auto;
    padding: 7px 12px;
    font-size: 0.75rem;
  }

  /* Main content — reduce padding */
  .admin-main-content {
    padding: 20px 16px;
  }

  /* Topbar — stack vertically */
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 22px;
  }

  .admin-topbar-actions {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .admin-page-title {
    font-size: 1.55rem;
  }

  /* Cards — reduce padding */
  .admin-card {
    padding: 18px 14px;
  }

  /* Single-column form grids */
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-services-grid {
    grid-template-columns: 1fr;
  }

  .admin-projects-grid {
    grid-template-columns: 1fr;
  }

  .admin-logos-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }

  /* Toast — bottom of screen on mobile */
  .admin-toast {
    top: auto;
    bottom: 20px;
    right: 16px;
    left: 16px;
    text-align: center;
    font-size: 0.88rem;
    padding: 13px 18px;
  }

  /* Modal */
  .dh-modal-card {
    padding: 24px 18px;
  }

  .dh-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .admin-auth-card {
    padding: 24px 16px;
  }

  .admin-auth-title {
    font-size: 1.4rem;
  }

  .admin-page-title {
    font-size: 1.3rem;
  }

  .admin-card-title {
    font-size: 1.2rem;
  }

  .admin-main-content .form-control,
  .admin-auth-card .form-control {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}