

/* CSS Variables */
:root {
  --primary-color: #277d86;
  --primary-dark: #1e6169;
  --primary-light: #3a9aa4;
  --text-dark: #1a1a1a;
  --text-gray: #4a5568;
  --bg-light: #f8fafc;
}

/* Technical Advantages Section */
.tech-grid-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
}

.tech-grid-header {
  margin-bottom: 60px;
}

.tech-grid-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

/* 3x3 Grid Layout */
.tech-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tech Card */
.tech-grid-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(39, 125, 134, 0.15);
  border-color: var(--primary-color);
}

/* Tech Icon */
.tech-grid-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.tech-grid-card:hover .tech-grid-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(39, 125, 134, 0.3);
}

.tech-grid-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

/* Icon variations for different sizes */
.tech-grid-icon.icon-leaf svg {
  width: 36px;
  height: 36px;
}

.tech-grid-icon.icon-drop svg {
  width: 28px;
  height: 38px;
}

/* Tech Title */
.tech-grid-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets - 2 columns */
@media (max-width: 1024px) {
  .tech-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .tech-grid-header h2 {
    font-size: 2.2rem;
  }
}

/* Tablets & Small Laptops */
@media (max-width: 768px) {
  .tech-grid-section {
    padding: 60px 15px;
  }

  .tech-grid-header {
    margin-bottom: 40px;
  }

  .tech-grid-header h2 {
    font-size: 2rem;
  }
  
  .tech-grid-container {
    gap: 20px;
  }
  
  .tech-grid-card {
    padding: 32px 24px;
  }

  .tech-grid-icon {
    width: 70px;
    height: 70px;
  }

  .tech-grid-icon svg {
    width: 35px;
    height: 35px;
  }

  .tech-grid-icon.icon-leaf svg {
    width: 32px;
    height: 32px;
  }

  .tech-grid-icon.icon-drop svg {
    width: 26px;
    height: 35px;
  }
  
  .tech-grid-title {
    font-size: 1.1rem;
    min-height: 50px;
  }
}

/* Mobile Devices - 1 column */
@media (max-width: 480px) {
  .tech-grid-section {
    padding: 50px 10px;
  }

  .tech-grid-header {
    margin-bottom: 30px;
  }

  .tech-grid-header h2 {
    font-size: 1.6rem;
  }

  .tech-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .tech-grid-card {
    padding: 28px 20px;
  }

  .tech-grid-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
  }

  .tech-grid-icon svg {
    width: 32px;
    height: 32px;
  }

  .tech-grid-icon.icon-leaf svg {
    width: 30px;
    height: 30px;
  }

  .tech-grid-icon.icon-drop svg {
    width: 24px;
    height: 32px;
  }

  .tech-grid-title {
    font-size: 1.05rem;
    min-height: auto;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .tech-grid-section {
    padding: 40px 10px;
  }

  .tech-grid-header h2 {
    font-size: 1.4rem;
  }

  .tech-grid-container {
    gap: 14px;
  }

  .tech-grid-card {
    padding: 24px 16px;
  }

  .tech-grid-icon {
    width: 60px;
    height: 60px;
  }

  .tech-grid-icon svg {
    width: 30px;
    height: 30px;
  }

  .tech-grid-title {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .tech-grid-section {
    padding: 20px 0;
  }

  .tech-grid-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .tech-grid-card:hover {
    transform: none;
    box-shadow: none;
  }
}