@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0A2463;
  --primary-dark: #051531;
  --secondary: #3E78B2;
  --secondary-hover: #2d5a8a;
  --accent: #F97316;
  --accent-hover: #c75c11;
  --bg-primary: #FFFFFF;
  --bg-secondary: #E9ECEF;
  --bg-card: #fff;
  --text-primary: #0A2463;
  --text-secondary: #6C757D;
  --border-color: #dee2e6;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
}

h1 {
  font-size: 44px;
  margin-bottom: 24px;
}

h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.hk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 36, 99, 0.1);
}

.hk-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.hk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hk-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.hk-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.hk-menu a {
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
}

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

.hk-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.hk-menu a:hover::after {
  width: 100%;
}

.hk-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.hk-burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hk-burger span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Main Content */
.main-content {
  padding-top: 96px;
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-hero {
  padding: 120px 0 100px;
  background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.8)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  color: white;
  text-align: center;
  position: relative;
}

.section-cta {
  padding: 100px 0;
  background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.9)), url('../images/banner4-modern-office-technology_orig.jpg') center/cover;
  color: white;
  text-align: center;
}

/* Grid Layouts */
.gw-grid {
  display: grid;
  gap: 32px;
}

.gw-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gw-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gw-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.zm-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

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

.zm-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.zm-card-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.zm-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

/* Property Cards */
.pf-property {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.pf-property:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pf-property-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  position: relative;
}

.pf-property-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pf-property-content {
  padding: 24px;
}

.pf-property-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pf-property-location {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}

.pf-property-features {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pf-property-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
}

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

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

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

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(62, 120, 178, 0.1);
}

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

/* Status Indicators */
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.status-active {
  background: #10b981;
  animation: pulse 2s infinite;
}

.status-inactive {
  background: #ef4444;
}

.status-pending {
  background: #f59e0b;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Alert System */
.alert-banner {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
}

.alert-banner.show {
  opacity: 1;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateX(-50%) translateY(-20px); }
  to { transform: translateX(-50%) translateY(0); }
}

/* Team Section */
.nv-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.nv-team-member {
  text-align: center;
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nv-team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.nv-team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--secondary);
}

.nv-team-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.nv-team-role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Filter Bar */
.filter-bar {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  align-items: end;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-location {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.blog-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-category {
  background: var(--secondary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.blog-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.blog-meta {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  gap: 16px;
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 64px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section a:hover {
  color: white;
}

.footer-links {
  list-style: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--primary);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

.cookie-text {
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
  .container, .container-wide {
    padding: 0 16px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 24px;
  }
  
  .hk-menu {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    gap: 16px;
  }
  
  .hk-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .hk-burger {
    display: flex;
  }
  
  .hk-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hk-burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hk-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hk-phone {
    display: none;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section-hero {
    padding: 80px 0 64px;
  }
  
  .section-cta {
    padding: 64px 0;
  }
  
  .gw-grid {
    gap: 24px;
  }
  
  .zm-card {
    padding: 24px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .filter-row {
    grid-template-columns: 1fr;
  }
  
  .nv-team-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .pf-property-features {
    flex-direction: column;
    gap: 8px;
  }
}