/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--clr-accent-hover);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.btn-secondary:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

/* Header Buttons override */
.header .btn-secondary {
  color: var(--clr-white);
  border-color: var(--clr-white);
}
.header .btn-secondary:hover {
  background-color: var(--clr-white);
  color: var(--clr-primary);
}


/* Cards */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  transition: all var(--transition-fast);
  height: 100%;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Icons */
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2px;
}

/* Header & Navigation - Bespoke Luxury Architectural Header */
.header {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1140px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 1);
  padding: 0.4rem 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-transparent {
  background: rgba(255, 255, 255, 0.78);
}

.header.scrolled {
  top: 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  padding: 0.35rem 1.25rem;
  border-color: rgba(0, 173, 239, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.02);
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #0F172A;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-links a:hover {
  color: var(--clr-accent);
  background: rgba(0, 173, 239, 0.05);
}

.nav-links a.active {
  color: var(--clr-primary);
  background: rgba(10, 25, 47, 0.05);
  font-weight: 700;
}

.nav-links a.active::before {
  content: '•';
  color: var(--clr-accent);
  margin-right: 5px;
  font-size: 1.1rem;
  line-height: 0;
}

.nav-links a.btn {
  background: var(--clr-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.2);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 173, 239, 0.3);
}

.nav-links a.btn:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 173, 239, 0.4);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--clr-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.overlay {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .header {
    top: 0.5rem;
    width: 92%;
    padding: 0.4rem 1rem;
    border-radius: 50px;
  }

  .logo-img {
    height: 36px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: rgba(10, 25, 47, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }
  
  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: #F8FAFC !important;
    font-size: 1.05rem;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: rgba(0, 173, 239, 0.15);
    color: var(--clr-accent) !important;
  }

  .nav-links a.active {
    background: rgba(0, 173, 239, 0.2) !important;
    color: var(--clr-accent) !important;
  }

  .nav-links a.active::before {
    display: none;
  }

  .nav-links a.btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .lang-switch-wrapper {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  .lang-segmented-switch {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .lang-btn {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 6px 14px;
  }
  
  .hamburger {
    display: block;
    z-index: 1002;
    color: #0F172A;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
  }
  
  .overlay.active {
    display: block;
    opacity: 1;
  }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: var(--clr-bg-light);
  color: var(--clr-text-light);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

/* Form Elements */
.input-group {
  margin-bottom: var(--space-sm);
}

.input-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  background: var(--clr-white);
  font-family: var(--ff-body);
  transition: border-color var(--transition-fast);
}

.input-control:focus {
  outline: none;
  border-color: var(--clr-primary);
}

.input-control:user-invalid {
  border-color: #e53e3e;
}

.input-control:user-valid {
  border-color: #38a169;
}

/* Image Cards (Services & Featured Projects) */
.image-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}

.image-card > img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
  .image-card:hover > img {
    transform: scale(1.04);
  }
}

.image-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg) var(--space-md);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 25, 47, 0.65);
  z-index: 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  background-color: #1ebe57;
  color: #FFF;
}

/* Featured Projects & Image Cards (Stable Container, Visible Image Zoom & Shift) */
.image-card, .portfolio-item, .service-detail-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.image-card img, .portfolio-item img, .service-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .image-card:hover img,
  .portfolio-item:hover img,
  .service-detail-card:hover img {
    transform: scale(1.07) translate(-0.8%, -0.8%);
  }
}

/* Editorial Corporate Badge */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 173, 239, 0.1);
  color: var(--clr-accent);
  border: 1px solid rgba(0, 173, 239, 0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* Ambient Floating Orbs */
.hero-glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 173, 239, 0.3) 0%, rgba(0, 173, 239, 0) 70%);
  top: 15%;
  left: 15%;
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite alternate;
  filter: blur(50px);
}

.hero-glow-orb-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.25) 0%, rgba(10, 25, 47, 0) 70%);
  bottom: 5%;
  right: 10%;
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite alternate-reverse;
  filter: blur(60px);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -25px) scale(1.1); }
  100% { transform: translate(-25px, 35px) scale(0.95); }
}

/* Image Card Hover Glow & Sheen */
.image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.image-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.image-card:hover::after {
  left: 150%;
}

.image-card:hover {
  box-shadow: 0 20px 40px rgba(0, 173, 239, 0.22);
}

.image-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.25) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg) var(--space-md);
  transition: background 0.4s ease;
}

.image-card:hover .image-card-overlay {
  background: linear-gradient(to top, rgba(10, 25, 47, 0.98) 0%, rgba(0, 173, 239, 0.2) 100%);
}

/* Button Shimmer Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

/* Ultra-Modern Segmented Glass Language Switcher */
.lang-switch-wrapper {
  display: flex;
  align-items: center;
}

.lang-segmented-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.lang-segmented-switch:hover {
  border-color: rgba(0, 173, 239, 0.5);
  box-shadow: 0 0 12px rgba(0, 173, 239, 0.25);
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover:not(.active) {
  color: var(--clr-accent);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--clr-accent) 0%, #0088cc 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 173, 239, 0.4);
  transform: scale(1.02);
}

/* Sleek Back Button Component */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #CBD5E1;
  border-radius: 30px;
  color: #0F172A !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  line-height: 1;
}

.back-btn:hover {
  background: var(--clr-primary);
  color: #ffffff !important;
  border-color: var(--clr-primary);
  transform: translateX(-4px);
  box-shadow: 0 6px 18px rgba(10, 25, 47, 0.25);
}

.back-btn-wrapper {
  margin-bottom: 1.25rem;
}

/* Clean Pure Logo Marquee (No Pills / No Text) */
.pure-logo-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 1.5rem 0;
}

.pure-logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: logo-marquee-scroll 35s linear infinite;
}

.pure-logo-marquee-track:hover {
  animation-play-state: paused;
}

.pure-client-logo {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: opacity(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pure-client-logo:hover {
  filter: opacity(1);
  transform: scale(1.08);
}

/* Selected Work Interactive Section */
.selected-work-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: #0A192F;
  color: #FFFFFF;
  overflow: hidden;
  cursor: default;
}

.selected-work-section h2, 
.selected-work-section p {
  color: #FFFFFF;
}

.selected-work-header {
  margin-bottom: var(--space-xl);
}

.selected-work-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.selected-work-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #FFFFFF;
  position: relative;
  transition: padding 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), background 0.4s ease;
  z-index: 2;
}

.selected-work-item:hover {
  padding-left: 2rem;
  background: rgba(255, 255, 255, 0.03);
}

.work-num {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-accent);
  font-weight: 700;
  width: 50px;
  flex-shrink: 0;
}

.work-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  flex-grow: 1;
  color: #FFFFFF;
  transition: color 0.3s ease;
}

.selected-work-item:hover .work-title {
  color: var(--clr-accent);
}

.work-arrow {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease, color 0.3s ease;
}

.selected-work-item:hover .work-arrow {
  transform: translateX(10px);
  color: var(--clr-accent);
}

.work-mobile-thumb {
  display: none;
}

/* Floating Preview Box (Refined 240px Minimal Offset Box) */
.selected-work-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 245px;
  height: 165px;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none !important;
  z-index: 999;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #0F172A;
}

.selected-work-preview * {
  pointer-events: none !important;
}

.selected-work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.selected-work-preview-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.85rem;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile & Tablet Fallback */
@media (max-width: 1024px) {
  .selected-work-preview {
    display: none !important;
  }

  .selected-work-item {
    flex-wrap: wrap;
    padding: 1.2rem 0.5rem;
  }

  .work-mobile-thumb {
    display: block;
    width: 100%;
    height: 180px;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
  }

  .work-mobile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ==========================================================================
   Admin Dashboard Styles
   ========================================================================== */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-table th {
  text-align: left;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--clr-primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease;
}

.admin-table-row:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.admin-table-row td {
  padding: 1.5rem;
  vertical-align: top;
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-status-select {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #fff;
  transition: all 0.3s ease;
}

.admin-status-select:focus {
  border-color: var(--clr-primary);
  outline: none;
}
