/* ============================================
   MATERIALS SECTION - Professional Design
   ============================================ */

.materials-section {
  background: linear-gradient(135deg, #0A2540 0%, #0E3A5F 35%, #1A4D6F 70%, #0D2B45 100%);
  color: #F5F6F7;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.materials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 50%, transparent);
}

/* Container */
.materials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Header Section */
.materials-header {
  text-align: center;
  margin-bottom: 100px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.materials-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
  font-weight: 500;
}

.materials-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.3;
  margin: 0;
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  color: #F5F6F7;
}

.materials-title .highlight {
  background: linear-gradient(135deg, #4A90E2 0%, #6BB6FF 50%, #4A90E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.materials-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4A90E2, transparent);
  opacity: 0.5;
  border-radius: 2px;
}

/* Materials Grid */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Material Item */
.material-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 80px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hover Background Gradient */
.material-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.08), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.material-item:hover::before {
  left: 100%;
}

.material-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(74, 144, 226, 0.3);
  transform: translateX(10px);
}

/* Left Column */
.material-left {
  flex: 1;
  min-width: 300px;
}

.material-number {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: 'Inter', monospace;
  transition: color 0.3s ease;
}

.material-item:hover .material-number {
  color: #4A90E2;
}

.material-heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  color: #F5F6F7;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-item:hover .material-heading {
  transform: translateX(5px);
}

/* Right Column */
.material-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 50px;
}

.material-description {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* CTA Link / Expand Button */
.material-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.material-expand-btn {
  width: 100%;
  justify-content: flex-start;
}

.expand-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.material-expanded-content {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
}

.material-expanded-content h4 {
  color: #fff;
}

.material-expanded-content ul li {
  transition: all 0.2s ease;
}

.material-expanded-content ul li:hover {
  padding-left: 1.8rem;
  color: #fff;
}

.material-expanded-content strong {
  color: rgba(255, 255, 255, 0.95);
}

.material-cta-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-item:hover .material-cta {
  color: #4A90E2;
  gap: 30px;
}

.material-item:hover .material-cta-line {
  background: linear-gradient(90deg, #4A90E2, transparent);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Color Accents for Each Item - Using website's champagne blue with variations */
.material-item:nth-child(1):hover {
  border-bottom-color: rgba(74, 144, 226, 0.3);
}

.material-item:nth-child(1):hover .material-number {
  color: #4A90E2;
}

.material-item:nth-child(2):hover {
  border-bottom-color: rgba(107, 182, 255, 0.3);
}

.material-item:nth-child(2):hover .material-number {
  color: #6BB6FF;
}

.material-item:nth-child(3):hover {
  border-bottom-color: rgba(74, 144, 226, 0.3);
}

.material-item:nth-child(3):hover .material-number {
  color: #4A90E2;
}

.material-item:nth-child(4):hover {
  border-bottom-color: rgba(107, 182, 255, 0.3);
}

.material-item:nth-child(4):hover .material-number {
  color: #6BB6FF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .materials-container {
    padding: 0 40px;
  }

  .material-item {
    padding: 60px 40px;
    gap: 50px;
  }

  .material-heading {
    font-size: clamp(36px, 6vw, 56px);
  }
}

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

  .materials-container {
    padding: 0 24px;
  }

  .materials-header {
    margin-bottom: 60px;
  }

  .material-item {
    flex-direction: column;
    padding: 50px 24px;
    gap: 30px;
  }

  .material-item:hover {
    transform: translateX(0);
  }

  .material-left {
    min-width: 100%;
  }

  .material-right {
    padding-top: 0;
  }

  .material-heading {
    font-size: clamp(32px, 8vw, 48px);
  }

  .material-description {
    margin-bottom: 30px;
  }
}

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

  .material-item {
    padding: 40px 20px;
  }

  .material-number {
    margin-bottom: 24px;
  }

  .materials-title {
    font-size: clamp(24px, 7vw, 32px);
  }
}

/* Print Styles */
@media print {
  .materials-section {
    background: white;
    color: black;
  }

  .material-item {
    border-bottom-color: rgba(0, 0, 0, 0.2);
    page-break-inside: avoid;
  }

  .material-item:hover {
    transform: none;
  }
}
