/* pages-content.css - Only for pages content blocks (not home/header/footer) */

body {
  background: #f5f7fa;
  color: #222;
}

.section {
  padding: 60px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Modern detail blocks for all pages (not home) */
.product-detail-section,
.case-detail-section,
.industry-detail-section,
.panel-detail-section,
.career-detail-section {
  background: linear-gradient(135deg, #f5f7fa 60%, #e9eafc 100%);
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(59,58,168,0.13), 0 1.5px 6px rgba(59,58,168,0.06);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1.5px solid #e0e7ef;
  position: relative;
  overflow: hidden;
}
.product-detail-section:hover,
.case-detail-section:hover,
.industry-detail-section:hover,
.panel-detail-section:hover,
.career-detail-section:hover {
  box-shadow: 0 12px 48px rgba(59,58,168,0.18), 0 2px 8px rgba(59,58,168,0.10);
  transform: translateY(-4px) scale(1.012);
}

.product-detail-section img,
.case-detail-section img,
.industry-detail-section img,
.panel-detail-section img {
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(59,58,168,0.10);
  border: 1.5px solid #e0e7ef;
}

.product-detail-section h2,
.case-detail-section h2,
.industry-detail-section h2,
.panel-detail-section h2,
.career-detail-section h2 {
  color: #3B3AA8;
  font-size: 1.5rem;
  margin: 0 0 14px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
}

.product-detail-section p,
.case-detail-section p,
.industry-detail-section p,
.panel-detail-section p,
.career-detail-section p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.75;
  text-align: center;
  width: 100%;
}

.product-detail-section ul,
.case-detail-section ul,
.industry-detail-section ul,
.panel-detail-section ul,
.career-detail-section ul {
  margin: 0 0 20px 0;
  padding: 0;
  color: #444;
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

.product-detail-section ul li,
.case-detail-section ul li,
.industry-detail-section ul li,
.panel-detail-section ul li,
.career-detail-section ul li {
  margin-bottom: 12px;
  list-style: none;
}

.product-detail-section h3,
.case-detail-section h3,
.industry-detail-section h3,
.panel-detail-section h3,
.career-detail-section h3 {
  color: #3B3AA8;
  font-size: 1.1rem;
  margin: 20px 0 10px 0;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  width: 100%;
}

.btn-technical {
  display: inline-block;
  background: #3B3AA8;
  color: #fff;
  padding: 12px 32px;
  border-radius: 9px;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(59,58,168,0.10);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.btn-technical:hover, .btn-technical:focus {
  background: #222;
  color: #fff;
  box-shadow: 0 6px 24px rgba(59,58,168,0.15);
}
.btn-technical.btn-outline {
  background: #fff;
  color: #3B3AA8;
  border: 2.2px solid #3B3AA8;
}
.btn-technical.btn-outline:hover {
  background: #3B3AA8;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .product-detail-section,
  .case-detail-section,
  .industry-detail-section,
  .panel-detail-section,
  .career-detail-section {
    padding: 18px 6px 18px 6px;
  }
}
@media (max-width: 600px) {
  .product-detail-section img,
  .case-detail-section img,
  .industry-detail-section img,
  .panel-detail-section img {
    max-width: 100vw;
    margin-bottom: 12px;
  }
  .product-detail-section,
  .case-detail-section,
  .industry-detail-section,
  .panel-detail-section,
  .career-detail-section {
    padding: 8px 1vw 8px 1vw;
  }
  .section-title h1 {
    font-size: 1.2rem;
  }
}

/* Hero background images for each page */
.hero-bg-products {
    background-image: linear-gradient(rgba(20,20,30,0.55), rgba(20,20,30,0.55)), url('products-img/abb-banner-abb.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-case-studies {
    background-image: linear-gradient(rgba(20,20,30,0.55), rgba(20,20,30,0.55)), url('products-img/CASE-STUDIES-img/Pharma-Plant-Automation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-industries {
    background-image: linear-gradient(rgba(20,20,30,0.55), rgba(20,20,30,0.55)), url('products-img/industry-4-0/machine-retrofit.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-panels {
    background-image: linear-gradient(rgba(20,20,30,0.55), rgba(20,20,30,0.55)), url('products-img/panel-manufacturing/plc-panel.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-careers {
    background-image: linear-gradient(rgba(20,20,30,0.55), rgba(20,20,30,0.55)), url('products-img/pro-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.section-hero-bg {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 1;
    padding-top: 80px; /* header ki height + gap */
    box-sizing: border-box;
}

.hero.section-hero-bg .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) both;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
}
.section-title h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1.2px;
    line-height: 1.1;
}
.section-title p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0;
    color: #e0e6f6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
@media (max-width: 600px) {
  .section-title h1 {
    font-size: 1.45rem;
  }
  .section-title p {
    font-size: 1.01rem;
  }
}

.scroll-down-indicator {
    margin-top: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 1.2s 0.3s cubic-bezier(.23,1.01,.32,1) both;
}
.scroll-down-indicator span {
    font-size: 1.08rem;
    color: #e0e6f6;
    margin-bottom: 7px;
    letter-spacing: 0.7px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.scroll-down-indicator .arrow {
    width: 28px;
    height: 28px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
    margin-top: 2px;
    animation: bounceDown 1.5s infinite;
    opacity: 0.85;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(16px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .hero.section-hero-bg {
    min-height: 340px;
    padding-top: 90px;
  }
}
@media (max-width: 600px) {
  .hero.section-hero-bg {
    min-height: 300px;
    padding-top: 70px;
  }
}

/* ABB Products Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 20px 0;
    width: 100%;
}

.product-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(59,58,168,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1.5px solid #e0e7ef;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59,58,168,0.15);
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.product-item h4 {
    color: #3B3AA8;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.abb-drives-section,
.abb-other-products {
    width: 100%;
    margin: 24px 0;
}

/* Industries Section Responsive */
@media (max-width: 768px) {
    .industry-detail-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .industry-detail-section img {
        margin-bottom: 20px;
    }

    .industry-detail-section h2 {
        font-size: 1.8rem;
    }

    .industry-detail-section p {
        font-size: 1rem;
    }

    .industry-detail-section h3 {
        font-size: 1.1rem;
    }

    .industry-detail-section ul {
        text-align: left;
        margin: 0 auto 20px auto;
        display: inline-block;
    }
}

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

.industry-detail-section p strong {
    font-weight: 700;
    color: #3B3AA8;
}
