/* 
  Premium Industrial Design System for Content Pages 
  (Locations, Case Studies, Services) 
  Author: Antigravity 
*/

:root {
  --primary-blue: #003366;
  --primary-green: #007634;
  --secondary-green: #009e45;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --glass: rgba(255, 255, 255, 0.95);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Page Header Enhancement */
.page-header {
  background: linear-gradient(135deg, #001f40 0%, #003366 100%);
  position: relative;
  overflow: hidden;
  padding: 40px 0 25px; /* Extremely tight banner */
  text-align: center;
  color: white;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
  font-weight: 300;
  line-height: 1.6;
}

/* Content Area Layout */
.content-area {
  max-width: 1200px; /* Slightly wider to reduce side whitespace */
  margin: 0 auto;
  padding: 15px 20px 40px; /* Minimal gap between banner and content */
}

/* Neutralize style.min.css global section padding for content pages */
section.section {
  padding: 0 !important;
}

.content-area h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin: 50px 0 25px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.content-area h2::before {
  content: '';
  width: 40px;
  height: 4px;
  background: var(--primary-green);
  border-radius: 2px;
}

.content-area p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Glassmorphism CTA */
.cta-premium {
  position: relative;
  margin: 80px 0;
  padding: 60px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  color: white;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 51, 102, 0.2);
}

.cta-glow-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 118, 52, 0.2) 0%, transparent 70%);
  animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-premium h2 {
  color: white !important;
  font-size: 2.5rem !important;
  justify-content: center;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.cta-premium h2::before {
  display: none;
}

.cta-premium p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.2rem !important;
  max-width: 700px;
  margin: 0 auto 40px !important;
}

.btn-primary-glow,
.btn-secondary-glow {
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-primary-glow {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 118, 52, 0.3);
}

.btn-primary-glow:hover {
  background: var(--secondary-green);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 118, 52, 0.4);
}

.btn-secondary-glow {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px border rgba(255, 255, 255, 0.2);
}

.btn-secondary-glow:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-5px);
}

/* Dynamic Grid Systems */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.grid-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid #edf2f7;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.grid-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-green);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.grid-card i {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 5px;
}

.grid-card strong {
  font-size: 1.3rem;
  color: var(--primary-blue);
}

/* Catch-all for legacy inline grids */
.content-area>div[style*="display: grid"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 25px !important;
}

.content-area>div[style*="display: grid"]>div {
  background: white !important;
  padding: 30px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #f0f0f0 !important;
  transition: all 0.3s ease !important;
}

.content-area>div[style*="display: grid"]>div:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary-green) !important;
}

/* Interactive Accordion for Case Studies/FAQ */
.premium-accordion {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-item {
  background: white;
  border-bottom: 1px solid #edf2f7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-header {
    padding: 80px 20px 60px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .content-area {
    padding: 40px 20px;
  }

  .content-area h2 {
    font-size: 1.7rem;
  }

  .cta-premium {
    padding: 40px 20px;
    border-radius: 0;
    margin-left: -20px;
    margin-right: -20px;
  }

  .cta-premium h2 {
    font-size: 1.8rem !important;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-glow,
  .btn-secondary-glow {
    width: 100%;
    justify-content: center;
  }
}

/* List Style Overhaul */
.content-area ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.content-area ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.content-area ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-green);
  font-size: 1.4rem;
}

/* Case Study Box */
.case-study-accent {
  background: #f0f4f8;
  padding: 40px;
  border-radius: 20px;
  border-left: 8px solid var(--primary-blue);
  margin: 40px 0;
}

/* FAQ Accordion Styling */
.faq-accordion {
  margin-top: 30px;
}

.faq-item {
  background: white;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  border-color: var(--primary-green);
}

.faq-item h3 {
  margin: 0 !important;
  padding: 18px 25px !important;
  font-size: 1.15rem !important;
  color: var(--primary-blue) !important;
  cursor: pointer;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: white;
  transition: background 0.3s ease;
}

.faq-item h3::before {
  display: none !important;
}

/* Remove the global h2/h3 green bar for FAQ */

.faq-item h3:hover {
  background: #f8fafc;
}

.faq-item h3::after {
  content: '\f067';
  /* FontAwesome Plus */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--primary-green);
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  content: '\f068';
  /* FontAwesome Minus */
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0, 1, 0, 1);
  background: #f8fafc;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 20px 25px;
  transition: all 0.4s cubic-bezier(1, 0, 1, 0);
  border-top: 1px solid #edf2f7;
}

.faq-item.active {
  border-color: var(--primary-green);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.site-footer {
  padding-top: 40px !important;
}

.footer-newsletter-merged {
  margin-bottom: 40px !important;
  padding: 30px 40px !important;
}