/* ============================================================
   WIX BOUTIQUE LAW FIRM THEME - KNOLL & WALTERS RECREATION
   Concept: Warm corporate boutique design.
   Deep Navy Blue (#0a2a4a) & Champagne Gold (#c9953f) / Teal (#1a9090)
   Typography: Cormorant Garamond (headings) + Montserrat (body)
   ============================================================ */

:root {
  /* Default Theme Colors - CMS Editable */
  --primary: #0a2a4a;
  --primary-light: #1b3f66;
  --primary-dark: #051828;
  --secondary: #1a9090; /* Teal Accent */
  --secondary-light: #22b5b5;
  --secondary-dark: #126666;
  --gold: #c9953f; /* Champagne Gold Accent */
  --gold-light: #dbb05c;
  
  --text: #2c3e50;
  --text-light: #607d8b;
  --text-lighter: #b0bec5;
  
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --bg-dark: #0a2a4a;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 8px rgba(10, 42, 74, 0.05);
  --shadow-md: 0 8px 30px rgba(10, 42, 74, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 42, 74, 0.12);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --container-width: 1280px;
}

/* === GENERAL RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  color: var(--primary);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

.gradient-text {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  opacity: 0.3;
}

/* === WIX PORTRAIT LOADER === */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden,
.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 2px solid var(--bg-alt);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.page-wrapper {
  padding-top: 0 !important; /* Removed offset for sticky header */
}

/* === WIX SITE HEADER === */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10000 !important; /* Keep above all elements */
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0 !important;
  }
  .page-wrapper {
    padding-top: 0 !important;
  }
  .header-logo-img {
    height: 38px !important;
    max-height: 38px !important;
  }
  .header-firm-name {
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
  }
  .header-firm-sub {
    font-size: 7px !important;
    letter-spacing: 1.5px !important;
    margin-top: 1px !important;
  }
  .header-right {
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .header-logo-img {
    height: 32px !important;
    max-height: 32px !important;
  }
  .header-firm-name {
    font-size: 13px !important;
  }
  .header-brand {
    max-width: 160px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.site-header.scrolled .header-logo-img {
  height: 42px;
}

.header-brand {
  display: flex;
  flex-direction: column;
}

.header-firm-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--primary);
  line-height: 1.1;
  transition: var(--transition-fast);
}

.site-header.scrolled .header-firm-name {
  font-size: 21px;
}

.header-firm-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* === DESKTOP NAVIGATION === */
.desktop-nav {
  display: flex;
  align-items: center;
}

@media (max-width: 1200px) {
  .desktop-nav {
    display: none;
  }
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .nav-item {
  position: relative;
}

/* Invisible helper block to prevent dropdown closing when hovering in-between */
.desktop-nav .nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.desktop-nav .nav-link {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary);
  text-transform: uppercase;
  padding: 6px 10px;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  white-space: nowrap; /* Prevent layout wrapping */
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  color: var(--secondary);
  background: rgba(26, 144, 144, 0.05);
}

.desktop-nav .dropdown-icon {
  font-size: 9px;
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.desktop-nav .nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Hover Dropdown Menu */
.desktop-nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #ffffff;
  border-radius: 6px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  border: 1px solid rgba(10, 42, 74, 0.06);
  z-index: 1050;
}

.desktop-nav .nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.desktop-nav .nav-dropdown a {
  display: block;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.desktop-nav .nav-dropdown a:hover {
  background: rgba(26, 144, 144, 0.06);
  color: var(--secondary);
  padding-left: 24px;
}

/* === HEADER SOCIALS === */
.desktop-nav .nav-divider-item {
  width: 1px;
  height: 18px;
  background: rgba(10, 42, 74, 0.12);
  margin: 0 8px;
  align-self: center;
}

.desktop-nav .nav-social-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav .nav-social-item a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  font-size: 11px;
  transition: var(--transition-fast);
  text-decoration: none !important;
}

.desktop-nav .nav-social-item a:hover {
  background: var(--secondary);
  color: #ffffff !important;
}

/* === HAMBURGER BUTTON === */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--bg-alt);
}

@media (max-width: 1200px) {
  .mobile-toggle {
    display: flex;
  }
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILE DRAWER === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 10020;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
  padding-bottom: 16px;
}

.mobile-menu-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
}

.mobile-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.mobile-close-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.mobile-menu .nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu .nav-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(10, 42, 74, 0.04);
}

.mobile-menu .nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  padding: 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--secondary);
}

.mobile-menu .dropdown-icon {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.mobile-menu .nav-item.open .dropdown-icon {
  transform: rotate(180deg);
}

/* Mobile Dropdown Visibility */
.mobile-menu .nav-dropdown {
  display: none;
  background: var(--bg-alt);
  padding: 6px 0;
  margin-bottom: 10px;
  border-radius: 4px;
}

.mobile-menu .nav-item.open .nav-dropdown {
  display: block;
}

.mobile-menu .nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.5px;
}

.mobile-menu .nav-dropdown a:hover {
  color: var(--secondary);
}

/* Backdrop */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 42, 74, 0.4);
  z-index: 10010;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  backdrop-filter: blur(2px);
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* === WIX HOMEPAGE BANNER === */
.banner-section {
  position: relative;
  height: 800px; /* Expanded Hero Height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .banner-section {
    height: 550px;
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 42, 74, 0.45);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 36px;
  }
}

.banner-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-light) !important;
  margin-bottom: 30px;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  background: var(--secondary);
  color: #ffffff !important;
  transition: var(--transition-fast);
}

.banner-cta:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: grayscale(20%);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  z-index: 5;
}

.slide-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: 16px;
  display: block;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 34px;
  }
}

.slide-text {
  font-family: var(--font-body);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
  font-weight: 300;
}

/* Elegant Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(10, 42, 74, 0.08);
}

.btn-white:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

/* === WIX TICKER === */
.wix-ticker {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--secondary);
}

.wix-ticker-inner {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.wix-ticker marquee {
  display: block;
}

/* === PRACTICE AREAS SECTION - Wix Split Layout === */
.practice-section {
  background: var(--bg);
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
}

.practice-inner {
  display: flex;
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (max-width: 991px) {
  .practice-inner {
    flex-direction: column;
  }
}

/* Left side sticky column */
.practice-left {
  width: 30%;
  padding: 80px 40px;
  background: var(--bg-alt);
  border-right: 1px solid rgba(10, 42, 74, 0.06);
  display: flex;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .practice-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(10, 42, 74, 0.06);
    padding: 40px 24px;
  }
}

.practice-heading {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--primary);
  position: sticky;
  top: 130px;
  font-weight: 400;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .practice-heading {
    position: relative;
    top: 0;
    font-size: 36px;
    br { display: none; }
  }
}

/* Right side practice list grid */
.practice-right {
  width: 70%;
  padding: 80px 40px;
}

@media (max-width: 991px) {
  .practice-right {
    width: 100%;
    padding: 40px 24px;
  }
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}

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

.practice-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.practice-bullet {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.practice-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.practice-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* === VISION SECTION - Wix Editorial Block === */
.vision-section {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
}

.vision-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.vision-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--secondary-light);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.vision-text {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .vision-text {
    font-size: 20px;
  }
}

/* === NEWS & UPDATES SECTION === */
.news-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.news-section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

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

@media (max-width: 850px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.news-col {
  background: #ffffff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 42, 74, 0.05);
}

.news-col-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-col-title i {
  color: var(--secondary);
  font-size: 18px;
}

.news-scroll-wrap {
  border-radius: 4px;
  overflow: hidden;
}

.news-date {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 4px;
}

.news-link {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.5;
  transition: var(--transition-fast);
  margin-bottom: 14px;
}

.news-link:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.news-empty {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 13px;
  text-align: center;
  padding: 40px 0;
}

/* === CONTACT & ENQUIRY SECTION === */
.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-intro-text {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 13.5px;
  margin-bottom: 30px;
}

.wix-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.wix-contact-form input,
.wix-contact-form textarea {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 12px 16px;
  border: 1px solid rgba(10, 42, 74, 0.12);
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--primary);
  transition: var(--transition-fast);
  outline: none;
}

.wix-contact-form input:focus,
.wix-contact-form textarea:focus {
  border-color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 144, 144, 0.15);
}

/* Contact Info Column */
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(10, 42, 74, 0.06);
}

.contact-info-item .text h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-info-item .text p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-info-item .text p a:hover {
  color: var(--secondary);
}

.map-link {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 600px) {
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === HORIZONTAL FOOTER === */
body .footer-section.horizontal-footer {
  background: #051828 !important;
  color: #ffffff !important;
  padding: 40px 0 !important;
  border-top: 2px solid var(--secondary) !important;
  font-family: var(--font-body);
}

.footer-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-links-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links-wrap a {
  color: #b0bec5 !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none !important;
  transition: var(--transition-fast);
}

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

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

.footer-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #b0bec5;
}

.footer-row-bottom .footer-copy {
  opacity: 0.75;
}

.footer-social-horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-horizontal a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 12px;
  transition: var(--transition-fast);
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-horizontal a.disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.footer-social-horizontal a.active:hover {
  background: var(--secondary);
  color: #ffffff !important;
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.footer-contact-horizontal {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-contact-horizontal span {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.footer-contact-horizontal i {
  color: var(--secondary-light);
}

@media (max-width: 768px) {
  .footer-row-top,
  .footer-row-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-links-wrap,
  .footer-contact-horizontal {
    justify-content: center;
    gap: 16px;
  }
}

/* Back to Top button resets */
.back-to-top,
.back-to-top-btn,
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  z-index: 99999 !important;
}

.back-to-top:hover,
.back-to-top-btn:hover,
#backToTop:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* === SUBPAGE HEADER & ALIGNMENTS === */
.page-wrapper > .container-fluid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px !important;
}

.page-header {
  background: var(--bg-alt);
  padding: 30px 0;
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
  margin-bottom: 30px;
}

.page-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

@media (max-width: 600px) {
  .page-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

.page-breadcrumb {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.page-breadcrumb a {
  color: var(--text-light);
}

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

/* Inner Page Layout & Spacing */
.main-content {
  padding-right: 30px;
}

@media (max-width: 991px) {
  .main-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

.txt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

.txt h2, .txt h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.txt p {
  margin-bottom: 16px;
}

/* Inner Page Layout & Heading Alignments */
.subpage-container {
  padding-bottom: 80px;
}

.subpage-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 42, 74, 0.05);
}

@media (max-width: 768px) {
  .subpage-content {
    padding: 24px;
  }
}

.subpage-heading {
  font-size: 28px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--secondary);
}

/* EMPANELMENT, CAREER, Softwares lists */
.list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.list-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: 6px;
  border-left: 4px solid var(--secondary);
  transition: var(--transition-fast);
}

.list-card:hover {
  transform: translateX(4px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.list-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}

.list-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-light);
}