/* Main content offset for fixed header */
main {
  padding-top: 80px;
}

/* Hero Sections */
.banner-section {
  background: linear-gradient(rgba(10, 35, 66, 0.8), rgba(10, 35, 66, 0.9)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-content h1 {
  color: white;
  font-size: var(--type-hero);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content .subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-buttons .btn-primary {
  background: var(--accent);
  padding: var(--space-md) var(--space-lg);
  font-size: 1.1rem;
}

.hero-cta-buttons .btn-secondary {
  border-color: white;
  color: white;
  padding: calc(var(--space-md) - 2px) calc(var(--space-lg) - 2px);
  font-size: 1.1rem;
}

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

/* Core Principles Section */
.principles-section {
  background: var(--bg-card);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.principles-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238DB9CA' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.principles-section .container {
  position: relative;
  z-index: 1;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.principle-item {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.principle-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-medium);
}

.principle-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md) auto;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.principle-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.principle-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services Overview Section */
.services-overview-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.services-overview-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 105, 148, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}

.services-overview-section .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.service-overview-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.service-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 0.5s ease;
}

.service-overview-card:hover::before {
  left: 100%;
}

.service-overview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.service-overview-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.service-overview-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

/* Trust Indicator Section */
.trust-section {
  background: var(--bg-card);
  padding: var(--space-xl) 0;
  text-align: center;
}

.trust-statement {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Interactive Diagnostic Widget */
.diagnostic-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: var(--space-xl) 0;
  color: white;
  text-align: center;
}

.diagnostic-widget {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  color: var(--text-primary);
  box-shadow: var(--shadow-strong);
}

.diagnostic-question {
  margin-bottom: var(--space-md);
  display: none;
}

.diagnostic-question.active {
  display: block;
}

.diagnostic-question h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.question-options {
  display: grid;
  gap: var(--space-sm);
}

.option-button {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.option-button:hover {
  border-color: var(--accent);
  background: rgba(0, 105, 148, 0.05);
}

.diagnostic-result {
  display: none;
  text-align: center;
}

.diagnostic-result.show {
  display: block;
}

/* Services Page Styles */
.service-modules-section {
  padding: var(--space-xl) 0;
  background: var(--bg-card);
}

.service-module {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.service-module:hover {
  box-shadow: var(--shadow-medium);
}

.module-header {
  background: var(--primary);
  color: white;
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: white;
}

.module-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.module-content {
  padding: var(--space-lg);
  display: none;
}

.module-content.active {
  display: block;
}

.deliverable-box {
  background: var(--accent);
  color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
}

.deliverable-box strong {
  display: block;
  margin-bottom: var(--space-xs);
}

.scope-list {
  background: rgba(0, 105, 148, 0.05);
  border-left: 4px solid var(--accent);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.scope-list h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.scope-list ul {
  margin-left: var(--space-md);
  list-style-type: disc;
}

/* Approach/Timeline Styles */
.methodology-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: var(--space-lg) auto 0;
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin: 0 var(--space-md);
  z-index: 1;
  position: relative;
}

.timeline-content {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  flex: 1;
  max-width: 400px;
}

.timeline-title {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-card);
  padding: var(--space-xl) 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.3s ease;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-left: var(--space-lg);
}

.author-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.author-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Knowledge Hub Styles */
.resource-finder-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  color: var(--primary);
  border: 2px solid var(--border-color);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

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

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: var(--space-md);
}

.article-category {
  background: var(--accent);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.article-title {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.article-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.read-more-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* About Page Styles */
.philosophy-section {
  background: var(--bg-card);
  padding: var(--space-xl) 0;
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.philosophy-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.philosophy-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.team-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.opening-hours-section {
  background: var(--bg-card);
  padding: var(--space-xl) 0;
  text-align: center;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) auto 0;
  max-width: 800px;
}

.hours-item {
  background: var(--bg-primary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.hours-day {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.hours-time {
  color: var(--text-secondary);
}

/* Contact Page Styles */
.contact-info-section {
  background: var(--bg-secondary);
  padding: var(--space-xl) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-details {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-icon {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  fill: none;
  flex-shrink: 0;
}

.contact-text h3 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.contact-text p {
  color: var(--text-secondary);
  margin: 0;
}

/* Legal Pages */
.legal-content {
  background: var(--bg-card);
  padding: var(--space-xl) 0;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-text h2 {
  color: var(--primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.legal-text h3 {
  color: var(--primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.legal-text ul {
  margin-bottom: var(--space-md);
}

.legal-text li {
  margin-bottom: var(--space-xs);
}

/* Animation Delays */
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .timeline-step {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-step::before {
    display: none;
  }

  .timeline-number {
    margin: 0 0 var(--space-md) 0;
  }

  .philosophy-content,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .diagnostic-widget {
    margin: var(--space-md) auto 0;
    padding: var(--space-md);
  }

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cookie-notice-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .banner-section {
    min-height: 60vh;
    background-attachment: scroll;
  }

  .banner-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .banner-content .subtitle {
    font-size: 1.1rem;
  }

  .hero-cta-buttons .btn-primary,
  .hero-cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
}