/* CSS Variables */
:root {
  --primary: #06b6d4;
  --primary-foreground: #111827;
  --secondary: #00798F;
  --secondary-foreground: #FFFFFF;
  --accent: #D53307;
  --accent-foreground: #FFFFFF;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #06b6d4;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Inter', sans-serif;
  --radius: 0.75rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
  overflow-wrap: break-word;
}

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

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

/* Utility Classes */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-foreground); }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.mb-4 { margin-bottom: 1rem; }

/* Icons */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 48px; height: 48px; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-family);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.success-message {
  background: #F0FDF4;
  border: 1px solid #22C55E;
  color: #15803D;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-content h3 {
  margin: 0;
  color: #15803D;
}

.success-content p {
  margin: 0;
  color: #15803D;
}

/* Topbar */
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

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

.topbar-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.topbar-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-contact a {
  color: var(--primary-foreground);
}

.topbar-contact a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.topbar-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .topbar-contact {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.2s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-brand .logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* Mobile Menu */
.qtkunultra_mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.qtkunultra_mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--foreground);
  transition: all 0.3s ease;
}

.qtkunultra_mobile-menu {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.qtkunultra_mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .qtkunultra_mobile-menu-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--foreground);
  padding: 7rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Page Header */
.page-header {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.page-header-content h1 {
  margin-bottom: 1rem;
}

.page-header-content p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Card Styles */
.elevated {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hoverable {
  transition: all 0.3s ease;
}

.hoverable:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

/* Feature Cards */
.feature-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.feature-card h3 {
  margin: 1rem 0;
}

.feature-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

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

/* Partner Logos */
.partner-logos {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

.partner-logos-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.partner-logo span {
  font-weight: 500;
  color: var(--foreground);
}

/* Newsletter */
.newsletter {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.newsletter-text h3 {
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form-inner {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .newsletter-form-inner {
    flex-direction: column;
  }
}

/* Stats Counter */
.stats-counter {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0 0.5rem 0;
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 7rem 0;
}

/* CTA Section */
.cta {
  padding: 7rem 0;
}

.cta-content {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-text {
  margin-bottom: 2rem;
}

.cta-text h2 {
  margin-bottom: 1rem;
}

.cta-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-content {
    padding: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Testimonials */
.testimonials {
  padding: 7rem 0;
  background: var(--muted);
}

.testimonial-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-filled {
  color: #FCD34D;
  width: 20px;
  height: 20px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  display: block;
  color: var(--foreground);
}

.author-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Services Page */
.services-overview {
  padding: 4rem 0;
}

.service-highlight {
  display: flex;
  align-items: center;
}

.service-highlight-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.service-highlight-content h2 {
  margin-bottom: 1.5rem;
}

.service-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Accordion */
.services-accordion {
  padding: 4rem 0;
  background: var(--muted);
}

.accordion-list {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background: var(--muted);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-title h3 {
  margin: 0;
}

.accordion-toggle {
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.service-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.service-detail-column h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-detail-column ul {
  list-style: none;
  padding: 0;
}

.service-detail-column li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
}

.service-detail-column li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
}

@media (max-width: 768px) {
  .service-details {
    grid-template-columns: 1fr;
  }
  
  .accordion-header {
    padding: 1rem;
  }
  
  .accordion-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Process Steps */
.service-process {
  padding: 4rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
}

.process-content h3 {
  margin-bottom: 1rem;
}

.process-content p {
  color: var(--muted-foreground);
}

/* About Page */
.company-story {
  padding: 4rem 0;
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-content h2 {
  margin-bottom: 1.5rem;
}

.story-content p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.story-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mission-values {
  padding: 4rem 0;
  background: var(--muted);
}

.value-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.value-card h3 {
  margin: 1rem 0;
}

.value-card p {
  color: var(--muted-foreground);
}

.team-section {
  padding: 4rem 0;
}

.team-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.team-avatar {
  margin-bottom: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.team-info p {
  color: var(--muted-foreground);
}

.why-choose-us {
  padding: 4rem 0;
  background: var(--muted);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-content h4 {
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--muted-foreground);
  margin: 0;
}

.benefits-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.company-achievements {
  padding: 4rem 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.achievement-item {
  text-align: center;
  padding: 2rem;
}

.achievement-item h3 {
  margin: 1rem 0;
}

.achievement-item p {
  color: var(--muted-foreground);
}

/* Contact Page */
.contact-info-bar {
  background: var(--muted);
  padding: 2rem 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.contact-info-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.contact-info-content p {
  margin: 0;
  color: var(--muted-foreground);
}

.contact-info-content a {
  color: var(--foreground);
  font-weight: 500;
}

.qtkunultra_contact-form-section {
  padding: 4rem 0;
}

.qtkunultra_contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.qtkunultra_contact-form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.qtkunultra_contact-form-header h2 {
  margin-bottom: 1rem;
}

.qtkunultra_contact-form-header p {
  color: var(--muted-foreground);
}

.qtkunultra_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
}

.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
}

.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--input);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-size: 12px;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

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

.contact-methods {
  padding: 4rem 0;
  background: var(--muted);
}

.contact-method-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.contact-method-card h3 {
  margin: 1rem 0;
}

.contact-method-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.business-hours {
  padding: 4rem 0;
}

.business-hours-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.business-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.business-info-item strong {
  color: var(--primary);
}

.business-info-item p {
  margin: 0.5rem 0 0 0;
  color: var(--muted-foreground);
}

.hours-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-day {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.day {
  font-weight: 500;
}

.time {
  color: var(--muted-foreground);
}

.hours-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .business-hours-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Portfolio Page */
.portfolio-categories {
  padding: 4rem 0;
}

.category-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.category-card h3 {
  margin: 1rem 0;
}

.category-card p {
  color: var(--muted-foreground);
}

.portfolio-grid {
  padding: 4rem 0;
  background: var(--muted);
}

.portfolio-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.category-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  margin-bottom: 0.5rem;
}

.portfolio-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.portfolio-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.portfolio-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-tag {
  background: var(--muted);
  color: var(--foreground);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
}

.portfolio-stats {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.stat-content h3 {
  margin: 1rem 0;
}

.stat-content p {
  color: var(--muted-foreground);
}

.service-highlights {
  padding: 4rem 0;
  background: var(--muted);
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-text h4 {
  margin-bottom: 0.5rem;
}

.highlight-text p {
  color: var(--muted-foreground);
  margin: 0;
}

.highlight-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Legal Pages */
.legal-content {
  padding: 4rem 0;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-header h1 {
  margin-bottom: 1rem;
}

.legal-header p {
  color: var(--muted-foreground);
}

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

.legal-body h2 {
  margin: 2rem 0 1rem 0;
  color: var(--primary);
}

.legal-body h3 {
  margin: 1.5rem 0 0.75rem 0;
  color: var(--secondary);
}

.legal-body ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

.contact-info {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

.cookie-table td {
  color: var(--muted-foreground);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Cookie Banner & Modal */
.qtkunultra_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.qtkunultra_cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.qtkunultra_cookie-banner-text {
  flex: 1;
}

.qtkunultra_cookie-banner-text p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.qtkunultra_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.qtkunultra_cookie-banner-actions button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.qtkunultra_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qtkunultra_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.qtkunultra_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.qtkunultra_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.qtkunultra_cookie-toggle-row div {
  flex: 1;
}

.qtkunultra_cookie-toggle-row input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}

.qtkunultra_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .qtkunultra_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .qtkunultra_cookie-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .qtkunultra_cookie-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .qtkunultra_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  background: #111827;
  color: #f9fafb;
  padding: 4rem 0 2rem 0;
}

.footer a {
  color: #d1d5db;
}

.footer a:hover {
  color: var(--primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #d1d5db;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #d1d5db;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-legal {
  color: #9CA3AF;
  font-size: 0.875rem;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.animate-hide {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 3rem 0;
  }
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#qtkunultra_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#qtkunultra_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#qtkunultra_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
