html, body {
    scroll-behavior: smooth;  /* Enables smooth scrolling */
    overflow-x: hidden;  /* Prevents horizontal scrolling but allows vertical */
}

/* Home Page Styling */
.industrymain-container {
    text-align: center;
    margin: auto;
    overflow: hidden;
    width: 100vw; /* Full viewport width */
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(120deg, #111314, #131e27);
    padding: 20px;
    color: white;
}

/* Title Styling */
.industrymain-container h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.industrymain-container p {
    font-size: 1.2em;
    margin: 5px 0;
}

.industry-container {
    text-align: center;
    margin: auto;
    overflow: hidden;
    width: 100vw; /* Full viewport width */
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(120deg, #191145, #100b32);
    padding: 20px;
    color: rgb(246, 241, 241);
}

/* Title Styling */
.industry-container h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.industry-container p {
    font-size: 1.2em;
    margin: 5px 0;
}

/* Main Container for Image & Text */
.image-text-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 65%; /* Ensures it doesn't stretch too much */
    margin: 10px auto;
    padding: 0;
    gap: 0;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    overflow: hidden; /* Prevents horizontal scrolling */
}

/* Image Styling */
.image-container {
    flex: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.image-container img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 0;
    padding: 0;
}

/* Image Styling */
.image-container2 {
    flex: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.image-container2 img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    margin: 0;
    padding: 0;
}

/* Text Styling */
.text-content {
    flex: none;
    text-align: left;
    max-width: 100%;
    margin: 0;
    padding: 10px;
}

/* Main Container for Image & Text */
.image-text-container1 {
    display: flex;
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Keep image and text aligned */
    width: 100%;
    max-width: 90%; /* Keeps content within screen */
    margin: 0 auto; /* Centering */
    padding: 10px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* Image Styling */
.image-container1 {
    flex: 1; /* Allows it to share space equally */
    display: flex;
    justify-content: flex-start; /* Aligns image to the left */
}

.image-container1 img {
    width: 100%; /* Responsive size */
    max-width: 600px; /* Prevents it from getting too large */
    height: auto;
    border-radius: 10px;
}

/* Text Styling */
.text-content1 {
    flex: 1; /* Allows it to share space equally */
    text-align: left;
    padding-left: 0px; /* Adds space between image & text */
}

/* Heading Styling */
.image-text-container1 h1 {
    width: 100%; /* Ensures it spans full width */
    text-align: left; /* Keeps alignment as before */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px; /* Adds space between heading & image */
}

/* Responsive Fix for Mobile */
@media screen and (max-width: 768px) {
    .image-text-container1 {
        flex-direction: column; /* Stack image & text vertically */
        align-items: center;
        text-align: center;
    }

    .image-container1,
    .text-content1 {
        width: 100%; /* Make both sections full width */
        text-align: left;
    }

    .text-content1 {
        padding-left: 0;
        margin-top: 10px;
    }
}

/* 📌 Responsive Fix for Mobile */
@media screen and (max-width: 768px) {
    .image-text-container {
        flex-direction: column; /* Stack image & text vertically */
        max-width: 90%; /* Increase width to fit mobile screen */
        text-align: center; /* Center text */
    }

    .image-container img {
        width: 100%; /* Make images responsive */
        max-width: 300px; /* Limit size */
    }
    .image-container1 img {
        width: 100%; /* Make images responsive */
        max-width: 300px; /* Limit size */
    }
    .image-container2 img {
        width: 100%; /* Make images responsive */
        max-width: 100%; /* Limit size */
    }
    .text-content {
        max-width: 100%; /* Allow full width text */
        text-align: left;
    }
}

/* Home Page Styling */
.cybersecurity-container {
    margin: auto;
    overflow: hidden;
    width: 100vw; /* Full viewport width */
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(120deg, #1a1450, #090f47);
    padding: 20px;
    color: rgb(251, 249, 249);
}

/* Title Styling */
.cybersecurity-container h1 {
    text-align: left;
    font-size: 3em;
    margin-bottom: 10px;
    margin-left: 5%;
}

.cybersecurity-container p {
    text-align: left;
    font-size: 1.2em;
    margin: 5px 0;
    margin-left: 5%;
}

ul {
    list-style-type: disc; /* Use bullet points */
    padding-left: 20px; /* Adjust indentation */
}

li {
    margin-bottom: 8px; /* Add spacing between bullet points */
    font-size: 1.2em;
    margin: 5px 0;
}

/* 🔵 COMPLETE UPDATED AUTOMATION SECTION - BLUE THEME */
.automation-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e084b 0%, #10234d 50%, #060c14 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* 🔵 Blue Shimmer Animation */
.automation-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, #0ea5e9, transparent);
  animation: blueShimmer 4s ease-in-out infinite;
}

@keyframes blueShimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* 🔵 Hero Section */
.automation-hero {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

.automation-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #bfdbfe, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.automation-hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto 30px;
}

.automation-intro {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.automation-intro p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* 🔵 Solution Sections */
.solution-section {
  margin-bottom: 100px;
}

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

.solution-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, #e2e8f0, #bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.solution-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 🔵 PLC Cards - Blue Theme */
.plc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.plc-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  overflow: hidden;
}

.plc-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.6);
}

.plc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: left 0.5s;
}

.plc-card:hover::before {
  left: 100%;
}

.plc-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.plc-card:hover .plc-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

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

.plc-card h3 {
  color: #e2e8f0;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.plc-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* 🔵 PLC Bottom */
.plc-bottom {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 40px;
}

.plc-why {
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(30, 58, 138, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.plc-why h3 {
  color: #e2e8f0;
  margin-bottom: 20px;
}

.plc-why ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plc-why li {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.plc-why strong {
  color: #bfdbfe;
}

.plc-cta {
  padding: 32px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #eff6ff;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.plc-cta h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.plc-cta p {
  font-size: 0.94rem;
  margin-bottom: 15px;
}

.plc-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
  margin-top: 12px;
}

.plc-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* 🔵 SCADA Layout */
.scada-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.scada-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.scada-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

.image-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scada-image:hover .image-overlay {
  opacity: 1;
}

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

.scada-card {
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.scada-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.25);
}

.scada-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  backdrop-filter: blur(10px);
}

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

.scada-card h3 {
  color: #e2e8f0;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.scada-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* 🔵 SCADA Why */
.scada-why {
  text-align: center;
  margin-top: 60px;
}

.scada-why h3 {
  font-size: 1.6rem;
  color: #e2e8f0;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-item {
  padding: 24px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
}

.why-item:hover {
  background: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.why-item strong {
  display: block;
  font-size: 1.1rem;
  color: #bfdbfe;
  margin-bottom: 8px;
}

.why-item p {
  color: #cbd5e1;
  margin: 0;
}

/* 🔵 Responsive */
@media (max-width: 1024px) {
  .scada-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .scada-image {
    order: -1;
  }
  .plc-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .automation-container {
    padding: 60px 16px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .plc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* 🔵 NEW: Hero Content Wrapper */
.hero-content {
  margin-bottom: 30px;
}

/* 🔵 NEW: Solution Visuals (for plantnetwork.gif) */
.solution-visual {
  display: flex;
  justify-content: center;
  margin: 40px 0 60px;
}

.visual-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.visual-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.visual-card:hover .visual-gif {
  transform: scale(1.05);
}

.visual-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.visual-card:hover .visual-glow {
  opacity: 1;
}

/* 🔵 FIXED: SCADA Layout (proper 2-column with image) */
.scada-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

/* Responsive for SCADA */
@media (max-width: 1024px) {
  .scada-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .scada-image {
    order: -1;
  }
}
/* Modern Automation Hero */
.automation-hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a23 0%, #1a1a3e 50%, #2a1a4e 100%);
  overflow: hidden;
  padding: 0;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 153, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(0, 255, 153, 0.6);
  border-radius: 50%;
  animation: float 6s infinite linear;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; top: 60%; right: 20%; animation-delay: 2s; }
.particle:nth-child(3) { width: 3px; height: 3px; bottom: 30%; left: 70%; animation-delay: 4s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 80%; right: 60%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge {
  display: inline-block;
  background: linear-gradient(45deg, #00ff99, #007bff);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 255, 153, 0.3);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  margin: 0;
  background: linear-gradient(135deg, #00ff99 0%, #007bff 50%, #00ccff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  display: block;
  font-size: 0.4em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.hero-desc {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #00ff99, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 153, 0.2);
  border-color: rgba(0, 255, 153, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: white;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 100px 5% 60px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    justify-content: center;
  }
}
