/* ConstructEd - Main Styles */

/* CSS Variables for Color Palette */
:root {
  --color-graphite: #374151;
  --color-yellow: #fcd34d;
  --color-light-gray: #f3f4f6;
  --color-white: #ffffff;
  --color-dark: #1f2937;
  --color-text: #374151;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --color-shadow: rgba(55, 65, 81, 0.1);
  --color-yellow-hover: #f59e0b;
  --color-error: #ef4444;
  --color-success: #10b981;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--color-graphite);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
}

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

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

ul,
ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
}

li {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-light);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--color-yellow);
  color: var(--color-graphite);
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--color-graphite);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: var(--spacing-md) var(--spacing-xl);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--color-graphite);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Header */
.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-normal);
}

.logo-link:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: var(--spacing-sm);
  transition: var(--transition-normal);
}

.logo-link:hover .logo-icon {
  transform: rotate(5deg);
}

.logo h1 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-graphite);
  margin: 0;
  transition: var(--transition-normal);
}

.logo-link:hover h1 {
  color: var(--color-orange);
}

.navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-xl);
}

.nav-link {
  display: block;

  font-weight: 500;
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--color-yellow);
  color: var(--color-graphite);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-graphite);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--color-light-gray) 0%,
    var(--color-white) 100%
  );
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--spacing-lg);
  color: var(--color-graphite);
}

.hero-content p {
  font-size: var(--font-size-xl);

  color: var(--color-text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  background-color: var(--color-light-gray);
  padding: var(--spacing-2xl) 0;
  text-align: center;
}

.page-header h1 {
  color: #f3f4f6;
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
}
.page-header p {
  color: #9ca3af;
}

.page-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin: 0;
  text-align: center;
}

/* Sections */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

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

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

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

/* Cards */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

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

.card h3 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
}

.card p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

/* Team Cards */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--color-light-gray);
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-4xl);
  color: var(--color-graphite);
}

.team-card h3 {
  margin-bottom: var(--spacing-sm);
}

.team-card .role {
  color: var(--color-yellow-hover);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  color: var(--color-graphite);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  transition: border-color var(--transition-fast);
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.error-message {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

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

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

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

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: var(--color-graphite);
  font-weight: bold;
  font-size: var(--font-size-sm);
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.contact-form-container {
  background-color: var(--color-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-container h2 {
  margin-bottom: var(--spacing-xl);
  color: var(--color-graphite);
}

.contact-info h2 {
  margin-bottom: var(--spacing-xl);
  color: var(--color-graphite);
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: 60px;
  flex-direction: column;
  text-align: center;
}

.contact-icon {
  font-size: var(--font-size-2xl);
  width: 50px;
  height: 50px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto var(--spacing-md) auto;
}

.contact-details h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-graphite);
  text-align: center;
}

.contact-details p {
  margin: 0;
  color: var(--color-text-light);
  text-align: center;
}

.contact-details a {
  color: var(--color-graphite);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--color-yellow-hover);
}

/* Map Section */
.map-section {
  padding: 4rem 0;
  background: var(--color-light-gray);
}

.map-container {
  max-width: 100%;
  margin: 0 auto;
}

.map-wrapper {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.interactive-map {
  width: 100%;
  height: 400px;
  position: relative;
}

.interactive-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px 12px 0 0;
}

.map-controls {
  padding: 1rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-info h4 {
  margin: 0 0 0.5rem 0;
  color: var(--color-graphite);
  font-size: 1rem;
}

.map-info p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
}

.map-links {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-light-gray);
  flex-wrap: wrap;
  justify-content: center;
}

.map-links .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

.directions-info {
  padding: 2rem;
  background: var(--color-white);
}

.directions-info h4 {
  margin: 0 0 1.5rem 0;
  color: var(--color-graphite);
  font-size: 1.25rem;
  text-align: center;
}

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

.direction-item {
  background: var(--color-light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-yellow);
}

.direction-item h5 {
  margin: 0 0 0.75rem 0;
  color: var(--color-graphite);
  font-size: 1rem;
}

.direction-item p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Methods Navigation */
.methods-nav {
  background-color: var(--color-light-gray);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.methods-nav-list {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.methods-nav .nav-item {
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.methods-nav .nav-item:hover {
  background-color: var(--color-yellow);
  color: var(--color-graphite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Method Sections */
.method-section {
  padding: var(--spacing-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.method-section:last-child {
  border-bottom: none;
}

.method-content h2 {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  color: var(--color-graphite);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.method-info h3 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.method-info h3:first-child {
  margin-top: 0;
}

.method-info ul,
.method-info ol {
  margin-bottom: var(--spacing-lg);
}

.method-info li {
  margin-bottom: var(--spacing-sm);
}

.step-card {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  border-left: 4px solid var(--color-yellow);
  box-shadow: var(--shadow-sm);
}

.step-card h4 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-sm);
}

.step-card p {
  margin: 0;
  color: var(--color-text-light);
}

/* Materials Grid */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.material-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

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

.material-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-lg);
  display: block;
}

.material-card h3 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
}

.material-properties {
  margin-top: var(--spacing-lg);
}

.material-properties h4 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
}

.material-properties ul {
  margin: 0;
  padding-left: var(--spacing-lg);
}

/* Enhanced Block Styling */
.content-block {
  background: linear-gradient(135deg, var(--color-white) 0%, #f8f9fa 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-orange);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-yellow), var(--color-orange));
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.content-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--color-yellow);
}

.content-block h3 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.content-block .block-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.content-block p {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.content-block:last-child {
  margin-bottom: 0;
}

/* Enhanced Feature Cards */
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-orange);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-lg);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
}

.feature-card p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Block Icons */
.block-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.content-block:hover .block-icon {
  transform: scale(1.1);
}

/* Feature Lists */
.material-features,
.method-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.material-features li,
.method-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

.material-features li::before,
.method-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
  font-size: 1rem;
}

/* Section Headers with Icons */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-icon {
  width: 80px;
  height: 80px;
  transition: transform 0.3s ease;
}

.section-header:hover .section-icon {
  transform: scale(1.05);
}

.section-header h2 {
  margin: 0;
  color: var(--color-graphite);
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-light-gray);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.faq-item {
  background-color: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
}

.faq-item p {
  margin: 0;
  color: var(--color-text-light);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background-color: var(--color-white);
  color: var(--color-graphite);
  border-left: 4px solid var(--color-yellow-hover);
  padding: var(--spacing-md);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.cookie-popup.show {
  transform: translateX(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: 20px;
}

.cookie-content p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.cookie-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

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

.cookie-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.cookie-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: 6px;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-btn.accept {
  background-color: var(--color-primary);
  color: var(--color-yellow);
  border: 1px solid var(--color-yellow);
}

.cookie-btn.accept:hover {
  background-color: var(--color-secondary);
}

.cookie-btn.decline {
  background-color: transparent;
  color: var(--color-graphite);
  border: 1px solid var(--color-border);
}

.cookie-btn.decline:hover {
  background-color: var(--color-light);
}

/* Footer */
.footer {
  background-color: var(--color-graphite);
  color: var(--color-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.footer-section p {
  color: var(--color-light-gray);
  margin-bottom: var(--spacing-md);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--color-light-gray);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--color-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: var(--color-light-gray);
}

/* Map Loading Styles */
.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-light-gray);
  border-top: 4px solid var(--color-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.map-loading p {
  color: var(--color-text);
  font-size: 0.9rem;
  margin: 0;
}

/* Touch Device Optimizations */
.touch-device .btn-primary,
.touch-device .btn-secondary {
  min-height: 44px;
  min-width: 44px;
  padding: var(--spacing-md) var(--spacing-xl);
}

.touch-device .form-group input,
.touch-device .form-group textarea,
.touch-device .form-group select {
  min-height: 44px;
  font-size: 16px; /* Prevents zoom on iOS */
}

/* Mobile Optimized Forms */
.mobile-optimized .form-row {
  flex-direction: column;
}

.mobile-optimized .form-group {
  margin-bottom: var(--spacing-lg);
}

.mobile-optimized .btn-primary,
.mobile-optimized .btn-secondary {
  width: 100%;
  margin-top: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }

  .header-content {
    padding: var(--spacing-sm) 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--spacing-md);
  }

  .nav-menu.active {
    display: flex;
    max-height: 100vh;
    padding: var(--spacing-lg) 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-content p {
    font-size: var(--font-size-lg);
  }

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

  .page-header h1 {
    font-size: var(--font-size-3xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .methods-nav-list {
    flex-direction: column;
    align-items: center;
  }

  .map-controls {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .map-links {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .direction-item {
    padding: var(--spacing-lg);
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .hero {
    padding: var(--spacing-2xl) 0;
  }

  .hero-content h1 {
    font-size: var(--font-size-2xl);
  }

  .page-header {
    padding: var(--spacing-xl) 0;
  }

  .page-header h1 {
    font-size: var(--font-size-2xl);
  }

  .contact-form-container,
  .card,
  .material-card,
  .faq-item {
    padding: var(--spacing-lg);
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }

  .interactive-map {
    height: 250px;
  }

  .directions-info {
    padding: var(--spacing-lg);
  }

  .map-links .btn-primary,
  .map-links .btn-secondary {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
  }

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

@media (min-width: 769px) and (max-width: 1024px) {
  .directions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-links {
    justify-content: space-around;
  }
}

@media (min-width: 1025px) {
  .directions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .map-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-popup,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .section {
    padding: 1rem 0;
  }

  .page-header {
    padding: 1rem 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus Styles */
*:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-text: #000000;
    --color-text-light: #333333;
    --color-border: #000000;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-white: #1f2937;
    --color-light-gray: #374151;
    --color-graphite: #f9fafb;
    --color-text: #f9fafb;
    --color-text-light: #d1d5db;
    --color-border: #4b5563;
    --color-shadow: rgba(0, 0, 0, 0.3);
  }

  .card,
  .material-card,
  .faq-item,
  .contact-form-container,
  .step-card {
    background-color: var(--color-light-gray);
    border-color: var(--color-border);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background-color: var(--color-light-gray);
    border-color: var(--color-border);
    color: var(--color-text);
  }
}

/* Policy Pages Styles */
.page-header {
  background: linear-gradient(135deg, var(--color-graphite) 0%, #34495e 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* Policy Content Styles */
.cookie-content,
.privacy-content,
.terms-content,
.thank-you-content {
  padding: 60px 0;
  background: #f8f9fa;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.cookie-section,
.privacy-section,
.terms-section {
  padding: 40px;
  border-bottom: 1px solid #e9ecef;
}

.cookie-section:last-child,
.privacy-section:last-child,
.terms-section:last-child {
  border-bottom: none;
}

.cookie-section h2,
.privacy-section h2,
.terms-section h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-yellow);
  display: inline-block;
}

.cookie-section h3,
.privacy-section h3,
.terms-section h3 {
  color: #34495e;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}

.cookie-section p,
.privacy-section p,
.terms-section p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #555;
}

.cookie-section ul,
.privacy-section ul,
.terms-section ul {
  margin: 1.5rem 0;
  padding-left: 0;
}

.cookie-section li,
.privacy-section li,
.terms-section li {
  list-style: none;
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cookie-section li::before,
.privacy-section li::before,
.terms-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: #27ae60;
  font-weight: bold;
  font-size: 1.1rem;
}

.cookie-type {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--color-yellow);
}

.cookie-type h3 {
  margin-top: 0;
  color: #2c3e50;
}

.cookie-type em {
  color: #7f8c8d;
  font-style: italic;
  font-size: 0.9rem;
}

/* Thank You Page Styles */
.thank-you-content {
  text-align: center;
  padding: 100px 0;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.thank-you-message {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-message h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.back-home-btn {
  display: inline-block;
  background: var(--color-yellow);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-home-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Mission Icon Styles */
.mission-icon {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  height: auto;
  transition: transform 0.3s ease;
}

.mission-icon:hover {
  transform: scale(1.05);
}

/* Gallery Section Styles */
.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #ff6b35;
}

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

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-content {
  padding: 25px;
}

.gallery-content h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.gallery-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gallery-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  background: linear-gradient(135deg, #ff6b35, #ff8a65);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Carousel Section Styles */
.carousel-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
}

.carousel-section .section-header h2 {
  color: white;
}

.carousel-section .section-header p {
  color: #bdc3c7;
}

.carousel-container {
  margin-top: 50px;
  position: relative;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1);
}

.carousel-slide h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ff6b35;
  font-weight: 600;
}

.carousel-slide p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ecf0f1;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.carousel-btn {
  background: rgba(255, 107, 53, 0.8);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #ff6b35;
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #ff6b35;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 107, 53, 0.7);
}

/* Enhanced Card Features */
.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.feature-badge {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: linear-gradient(135deg, #ff6b35, #ff8a65);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

/* Enhanced About Cards */
.about-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.about-card:hover {
  border-color: #ff6b35;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-card p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

/* Contact Information Styles */
.contact-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.contact-info h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

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

.contact-info strong {
  color: #2c3e50;
}

/* Carousel Styles */
.carousel-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.carousel-header {
  text-align: center;
  margin-bottom: 60px;
}

.carousel-header h2 {
  color: #ff6b35;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.carousel-header p {
  color: #cccccc;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  padding: 60px 40px;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  gap: 40px;
}

.carousel-content {
  flex: 1;
}

.carousel-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.carousel-slide h3 {
  color: #ff6b35;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.carousel-slide p {
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.carousel-features {
  list-style: none;
  padding: 0;
}

.carousel-features li {
  color: #cccccc;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.carousel-features li:before {
  content: "✓";
  color: #ff6b35;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.carousel-visual {
  flex: 0 0 300px;
  height: 300px;
  background: linear-gradient(45deg, #ff6b35, #ffa726);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.carousel-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.carousel-btn:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.carousel-btn:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #ff6b35;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: #ff6b35;
}

@media (max-width: 768px) {
  .carousel-slide {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .carousel-visual {
    flex: none;
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .carousel-controls {
    flex-direction: column;
    align-items: center;
  }
}

/* Interactive Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Floating Icons Animation */
.floating-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Card Hover Effects */
.about-card,
.material-card,
.method-card,
.gallery-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

.about-card:hover,
.material-card:hover,
.method-card:hover,
.gallery-item:hover {
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.progress-dot:hover {
  background: rgba(255, 107, 53, 0.7);
  transform: scale(1.2);
}

.progress-dot.active {
  background: #ff6b35;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.progress-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-dot.active::after {
  opacity: 1;
}

/* Enhanced Button Styles */
.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

/* Staggered Animation Delays */
.about-card:nth-child(1) {
  animation-delay: 0.1s;
}
.about-card:nth-child(2) {
  animation-delay: 0.2s;
}
.about-card:nth-child(3) {
  animation-delay: 0.3s;
}

.material-card:nth-child(1) {
  animation-delay: 0.1s;
}
.material-card:nth-child(2) {
  animation-delay: 0.2s;
}
.material-card:nth-child(3) {
  animation-delay: 0.3s;
}

.method-card:nth-child(1) {
  animation-delay: 0.1s;
}
.method-card:nth-child(2) {
  animation-delay: 0.2s;
}
.method-card:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Section Entrance Animations */
.safety-section,
.planning-section,
.quality-section,
.innovation-section,
.sustainability-section {
  animation-delay: 0.2s;
}

/* Loading Animation for Images */
.card-icon img,
.block-icon,
.gallery-item img {
  transition: all 0.3s ease;
}

.card-icon img:hover,
.block-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Educational Content Block & Materials Methods Block Styles */
.educational-content-block,
.materials-methods-block {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    var(--color-light-gray) 100%
  );
}

.block-header {
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
  padding: var(--spacing-xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.block-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.block-icon-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.block-icon-wrapper:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.block-main-icon {
  width: 45px;
  height: 45px;
  color: var(--color-graphite);
  transition: all 0.3s ease;
}

.block-icon-wrapper:hover .block-main-icon {
  transform: scale(1.1);
  color: var(--color-white);
}
.block-icon-wrapper {
  margin: 0 auto;
  text-align: center;
}
.block-title {
  margin: 0 auto;
  text-align: center;
}

.block-title h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-graphite);
  margin: 0 0 var(--spacing-sm) 0;
}

.block-title p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.content-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.content-card:hover::before {
  transform: scaleX(1);
}

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

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-light-gray), #e5e7eb);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg) auto;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.card-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-card:hover .card-icon::before {
  opacity: 0.1;
}

.card-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-graphite);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.content-card:hover .card-icon svg {
  transform: scale(1.1);
  color: var(--color-yellow-hover);
}

.content-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
}

.content-card p {
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.feature-badge {
  background: var(--color-light-gray);
  color: var(--color-graphite);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.content-card:hover .feature-badge {
  background: var(--color-yellow);
  color: var(--color-graphite);
}

/* Materials Methods Grid */
.materials-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.materials-section,
.methods-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--color-light-gray);
}

.section-icon {
  width: 40px;
  height: 40px;
  color: var(--color-yellow-hover);
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-yellow-hover);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: var(--spacing-md);
}

.card-link:hover {
  color: var(--color-graphite);
  transform: translateX(4px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}
/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .scroll-progress {
    right: 15px;
    gap: 10px;
  }

  .progress-dot {
    width: 10px;
    height: 10px;
  }

  .floating-icon {
    animation-duration: 2s;
  }

  .animate-on-scroll {
    transform: translateY(30px);
  }

  /* Icon responsive adjustments */
  .card-icon {
    width: 70px;
    height: 70px;
  }

  .card-icon svg {
    width: 35px;
    height: 35px;
  }

  .block-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .block-main-icon {
    width: 40px;
    height: 40px;
  }

  .section-icon {
    width: 35px;
    height: 35px;
  }
}

/* Professional Standards Block */
.professional-standards-block {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.professional-standards-block .block-header {
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  text-align: left;
}

.professional-standards-block .block-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.professional-standards-block .block-main-icon {
  width: 40px;
  height: 40px;
}

.professional-standards-block .block-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px 0;
}

.professional-standards-block .block-title p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.standard-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.standard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.standard-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
}

.standard-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.standard-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.standard-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.standard-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.standard-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.standard-features li {
  padding: 8px 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 25px;
}

.standard-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Innovation & Sustainability Block */
.innovation-sustainability-block {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.innovation-sustainability-block .block-header {
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  text-align: left;
}

.innovation-sustainability-block .block-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;

  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.innovation-sustainability-block .block-main-icon {
  width: 40px;
  height: 40px;
  color: white;
}

.innovation-sustainability-block .block-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px 0;
}

.innovation-sustainability-block .block-title p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
}

.innovation-sustainability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.innovation-section,
.sustainability-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.1);
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-icon {
  width: 30px;
  height: 30px;
  color: var(--secondary-color);
}

.innovation-content p,
.sustainability-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.innovation-features,
.sustainability-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.innovation-feature,
.sustainability-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.innovation-feature:hover,
.sustainability-feature:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.innovation-feature span,
.sustainability-feature span {
  color: var(--text-dark);
  font-weight: 500;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .cookie-section,
  .privacy-section,
  .terms-section {
    padding: 20px;
  }

  .cookie-section h2,
  .privacy-section h2,
  .terms-section h2 {
    font-size: 1.5rem;
  }

  .thank-you-message h1 {
    font-size: 2rem;
  }

  .professional-standards-block .block-header,
  .innovation-sustainability-block .block-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .professional-standards-block .block-title h2,
  .innovation-sustainability-block .block-title h2 {
    font-size: 2rem;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .innovation-sustainability-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .standard-card {
    padding: 30px 20px;
  }

  .innovation-section,
  .sustainability-section {
    padding: 30px 20px;
  }
}

/* Construction Stages Section */
.process-section {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
}

.process-section .section-subtitle {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: var(--spacing-xl);
  text-align: left;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.process-step:hover::before {
  transform: scaleY(1);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  color: var(--color-graphite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-light-gray), #e5e7eb);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.step-icon:hover::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-graphite);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.process-step:hover .step-icon {
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
}

.process-step:hover .step-icon svg {
  color: var(--color-graphite);
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.step-content p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design for Construction Stages */
@media (max-width: 768px) {
  .process-section .section-subtitle {
    font-size: 1.3rem;
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    align-self: center;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    align-self: center;
  }

  .step-icon svg {
    width: 28px;
    height: 28px;
  }

  .step-content h4 {
    font-size: 1.1rem;
  }
}

/* Gallery Section */
.gallery-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-light-gray);
}

.gallery-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.gallery-section .section-header h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.gallery-section .section-header p {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
}

.gallery-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.gallery-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--color-graphite);
}

.gallery-icon svg {
  width: 30px;
  height: 30px;
}

.gallery-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.gallery-overlay h3 {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-md);
  margin: 0;
  line-height: 1.5;
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .gallery-image {
    height: 200px;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  }
}

/* Contact Form Section - Minimalist Style */
.contact-form-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.contact-form-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.contact-form-section .section-header h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-graphite);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.contact-form-section .section-header p {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  margin: 0;
}

.contact-form-section .contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-light-gray);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-form-section .form-group {
  margin-bottom: var(--spacing-xl);
}

.contact-form-section .form-group:last-of-type {
  margin-bottom: var(--spacing-2xl);
}

.contact-form-section label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--color-graphite);
  font-weight: 500;
  font-size: var(--font-size-md);
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  background-color: var(--color-white);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

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

.contact-form-section .btn-primary {
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-xl);
  background: linear-gradient(
    135deg,
    var(--color-yellow),
    var(--color-yellow-hover)
  );
  color: var(--color-graphite);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.contact-form-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.contact-form-section .error-message {
  display: block;
  color: #dc3545;
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-form-section {
    padding: var(--spacing-2xl) 0;
  }

  .contact-form-section .contact-form {
    margin: 0 var(--spacing-lg);
    padding: var(--spacing-xl);
  }
}

/* Banner Section */
.banner-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.banner-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.85),
    rgba(52, 152, 219, 0.75)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.banner-content {
  text-align: center;
  color: #ffffff;
  max-width: 600px;
  padding: 0 2rem;
  z-index: 2;
  position: relative;
}

.banner-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.banner-content p {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Mobile Responsive for Banner */
@media (max-width: 768px) {
  .banner-image {
    height: 300px;
  }

  .banner-content {
    padding: 0 1rem;
  }

  .banner-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

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

@media (max-width: 480px) {
  .banner-image {
    height: 250px;
  }

  .banner-content h2 {
    font-size: 1.75rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

/* Центрирование заголовков на главной странице */
body.index-page h1,
body.index-page h2,
body.index-page h3,
body.index-page h4,
body.index-page h5,
body.index-page h6 {
  text-align: center !important;
}

/* Специфичные правила для центрирования заголовков в различных секциях */
body.index-page .section-header h2,
body.index-page .block-title h2,
body.index-page .content-block h3,
body.index-page .step-card h4,
body.index-page .material-card h3,
body.index-page .feature-card h3,
body.index-page .gallery-overlay h3,
body.index-page .contact-form-section .section-header h2,
body.index-page .gallery-section .section-header h2,
body.index-page .professional-standards-block .block-title h2,
body.index-page .innovation-sustainability-block .block-title h2,
body.index-page .step-content h4 {
  text-align: center !important;
}

/* Исключения для заголовков в хедере и футере */
body.index-page .header h1 {
  text-align: left !important;
}

body.index-page .footer h1,
body.index-page .footer h2,
body.index-page .footer h3,
body.index-page .footer h4,
body.index-page .footer h5,
body.index-page .footer h6 {
  text-align: center !important;
}

/* ===== NEW SECTIONS STYLES FOR ABOUT PAGE ===== */

/* Services Section Styles */
.services-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.services-container {
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;

  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.services-section .interactive-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.services-section .interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.services-section .interactive-card:hover::before {
  left: 100%;
}

.services-section .interactive-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15);
  border-color: #3498db;
}

.services-section .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.services-section .icon-box {
  width: 70px;
  height: 70px;
  background: var(--color-yellow);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.services-section .interactive-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.services-section .icon-box svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.services-section .service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
}

.services-section .service-description {
  color: #5a6c7d;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Technologies Section Styles */
.technologies-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 80px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.technologies-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.technologies-section .section-header {
  position: relative;
  z-index: 2;
}

.technologies-section .section-title {
  color: #ffffff;
}

.technologies-section .section-subtitle {
  color: #bdc3c7;
}

.technologies-container {
  gap: 40px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.technologies-section .interactive-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.technologies-section .interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.technologies-section .interactive-card:hover::before {
  left: 100%;
}

.technologies-section .interactive-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(52, 152, 219, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.technologies-section .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.technologies-section .icon-box {
  width: 70px;
  height: 70px;
  background: var(--color-yellow);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.technologies-section .interactive-card:hover .icon-box {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.technologies-section .icon-box svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.technologies-section .tech-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.technologies-section .tech-description {
  color: #bdc3c7;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Achievements Section Styles */
.achievements-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.achievements-section .interactive-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.achievements-section .interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.achievements-section .interactive-card:hover::before {
  left: 100%;
}

.achievements-section .interactive-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15);
  border-color: #3498db;
}

.achievements-section .card-header {
  margin-bottom: 25px;
}

.achievements-section .icon-box {
  width: 80px;
  height: 80px;
  background: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.achievements-section .interactive-card:hover .icon-box {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.achievements-section .icon-box svg {
  width: 40px;
  height: 40px;
  color: #ffffff;
}

.achievements-section .achievement-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.achievements-section .card-content {
  color: #5a6c7d;
  font-size: 1rem;
  line-height: 1.6;
}

/* Partners Section Styles */
.partners-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 80px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.partners-section .section-header {
  position: relative;
  z-index: 2;
}

.partners-section .section-title {
  color: #ffffff;
}

.partners-section .section-subtitle {
  color: #bdc3c7;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.partners-section .interactive-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.partners-section .interactive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.partners-section .interactive-card:hover::before {
  left: 100%;
}

.partners-section .interactive-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(52, 152, 219, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.partners-section .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.partners-section .icon-box {
  width: 70px;
  height: 70px;
  background: var(--color-yellow);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.partners-section .interactive-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
}

.partners-section .icon-box svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.partners-section .partner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.partners-section .card-content {
  color: #bdc3c7;
  font-size: 1rem;
  line-height: 1.6;
}

/* CTA Section Styles */
.contact-cta-section {
  background: linear-gradient(135deg, var(--color-graphite) 0%, #34495e 100%);
  padding: 100px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.3;
}

.cta-content-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cta-icon-wrapper {
  margin-bottom: 30px;
}

.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-icon:hover {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-icon svg {
  width: 50px;
  height: 50px;
  color: #ffffff;
}

.cta-text-content {
  margin-bottom: 40px;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.cta-button-wrapper {
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #3498db;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 3px solid transparent;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Section Headers Alignment with Containers */
.services-section .section-header,
.achievements-section .section-header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.technologies-section .section-header,
.partners-section .section-header {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}
.technologies-container {
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
.achievements-container {
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
.partners-container {
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
  .services-container,
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .technologies-container,
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-section .section-header,
  .achievements-section .section-header,
  .technologies-section .section-header,
  .partners-section .section-header {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .services-container,
  .technologies-container,
  .achievements-grid,
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-section .interactive-card,
  .technologies-section .interactive-card,
  .achievements-section .interactive-card,
  .partners-section .interactive-card {
    padding: 30px 20px;
  }

  .services-section .section-header,
  .achievements-section .section-header,
  .technologies-section .section-header,
  .partners-section .section-header {
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .contact-cta-section {
    padding: 60px 0;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .services-container,
  .technologies-container,
  .achievements-grid,
  .partners-grid {
    gap: 15px;
  }

  .services-section .interactive-card,
  .technologies-section .interactive-card,
  .achievements-section .interactive-card,
  .partners-section .interactive-card {
    padding: 25px 15px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* Materials Page Styles */
.materials-hero {
  background: linear-gradient(135deg, var(--color-graphite) 0%, #34495e 100%);
  color: var(--color-white);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.materials-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-yellow);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 5px;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1000px;
}

.material-cube {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-yellow), #f39c12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(20px);
}

.material-cube:nth-child(2n) {
  background: linear-gradient(45deg, var(--color-orange), #e67e22);
}

.material-cube:nth-child(3n) {
  background: linear-gradient(45deg, var(--color-graphite), #2c3e50);
}

.quick-nav {
  padding: 60px 0;
  background: var(--color-white);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.nav-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--color-text);
  border: 2px solid transparent;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-yellow);
}

.nav-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
}

.nav-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-graphite);
}

.nav-card p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.5;
}

.materials-gallery {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.gallery-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-white);
}

.gallery-content {
  padding: 25px;
}

.gallery-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--color-graphite);
}

.gallery-content p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

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

.material-section:nth-child(even) {
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-graphite);
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.tabs-container {
  margin-bottom: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--color-text);
}

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

.tab-content {
  display: none;
}

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

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.property-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--color-white);
}

.property-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-graphite);
}

.property-card p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.5;
}

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

.type-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.type-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-yellow);
}

.type-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-graphite), #34495e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: var(--color-white);
}

.type-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-graphite);
}

.type-card p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.4;
}

.applications-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.application-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;

  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.application-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.application-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-orange), #e67e22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.application-item h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--color-graphite);
}

.application-item p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.4;
}

.innovations-section {
  padding: 80px 0;

  color: var(--color-white);
}

.innovations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.innovation-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.innovation-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0);
}

.innovation-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--color-white);
}

.innovation-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.innovation-card p {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 20px;
}

.innovation-features {
  list-style: none;
  padding: 0;
}

.innovation-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.innovation-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-yellow);
  font-weight: bold;
}

.image-gallery-section {
  padding: 80px 0;
  background: var(--color-white);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.image-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.image-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #888;
  position: relative;
}

.image-placeholder::after {
  content: "JPG";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.image-content {
  padding: 25px;
}

.image-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--color-graphite);
}

.image-content p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 15px;
}

.image-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: var(--color-light-gray);
  color: var(--color-text);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Responsive Design for Materials Page */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-visual {
    justify-self: center;
    max-width: 300px;
  }

  .nav-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

@media (max-width: 768px) {
  .materials-hero {
    padding: 60px 0;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .material-cube {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .tabs-nav {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 200px;
  }

  .properties-grid,
  .types-grid,
  .applications-list,
  .innovations-grid,
  .image-gallery {
    grid-template-columns: 1fr;
  }

  .materials-methods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .nav-card,
  .property-card,
  .innovation-card {
    padding: 20px;
  }

  .material-section {
    padding: 60px 0;
  }
}
