/* General Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header & Navbar */
/*.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #2a3a8c;
    /*padding: 10px 20px;*/ /* Reduced padding for mobile */
    /*background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}*/

/* Hamburger Toggle Styling */
/*.mobile-menu-toggle {
    display: none; /* Hidden on Desktop */
    /*flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;*/
}*/

/*.mobile-menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #2a3a8c;
    border-radius: 10px;
    transition: all 0.3s linear;
}*/
/* IMPORTANT: Add margin to the body or first section */
/* Since fixed headers are removed from the normal layout flow, */
/* you must push the content down so it isn't hidden. */
body {
    padding-top: 82px; /* Adjust this value to match the height of your header */
}
img {
    max-width: 100%;
    height: auto;
}


@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Smaller header on mobile */
    }

     /* Hero Section scaling */
    .hero-section {
        height: 400px;
    }

    #hero-title {
        font-size: 1.8rem;
    }

    .hero-text-content {
        padding: 20px;
        width: 90%;
    }

    /* Stacking the 3-column Info Cards */
    .cards-grid {
        grid-template-columns: 1fr !important; /* Force single column */
    }

    /* Stacking the Industry Segments */
    .industry-container {
        flex-direction: column;
        align-items: center;
    }

    .industry-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    /* Product Spotlight Adjustments */
    .product-card {
        flex: 0 0 100%; /* One card per view on mobile */
    }

    .header-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* Hero Section */
.hero-section {
    height: 600px;
    position: relative;
    background-position: center;
    transition: background-image 2s ease-in-out; /* Smooth transition */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Light overlay to keep text readable */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-text-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

#hero-title {
    color: #2a3a8c;
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

#hero-description {
    color: #555;
    font-size: 1.2rem;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
:root {
  /* Colors */
  --clr-bg: #ffffff;
  --clr-text: #1f2937;
  --clr-muted: #6b7280;
  --clr-primary: #2563eb;
  --clr-accent: #f59e0b;
  --clr-surface: #f9fafb;
  --clr-border: #e5e7eb;

  /* Typography */
  --ff-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;

  /* Layout */
  --container-max: 1200px;
  --gutter: 1rem;
  --radius: 0.5rem;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
.mycontainer {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  background-color: var(--clr-surface);
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
}
.logo {
  font-size: var(--fs-2xl);
  font-weight: bold;
  color: var(--clr-primary);
  margin: 0;
}
.tagline {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
  margin-top: 0.25rem;
}

/* Intro */
.intro {
  padding: 2rem 0;
  background-color: var(--clr-bg);
}
.intro p {
  font-size: var(--fs-base);
  color: var(--clr-text);
}

/* Info Cards */
.info-cards {
  padding: 2rem 0;
  background-color: var(--clr-surface);
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.card-title {
  font-size: var(--fs-lg);
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: var(--fs-sm);
  color: var(--clr-muted);
}

/* Footer */
.site-footer {
  background-color: var(--clr-primary);
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: var(--fs-sm);
}

/* Responsive */
@media (min-width: 600px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* === Additions to existing CSS === */

/* Hover effects for cards */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effects for header logo */
.logo:hover {
  color: var(--clr-accent);
  transition: color 0.3s ease;
}

/* Hover effects for footer */
.site-footer:hover {
  background-color: var(--clr-primary);
  transition: background-color 0.3s ease;
}

/* Animation for card icons */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.card-icon {
  animation: bounce 2s infinite;
}

/* Fade-in animation for intro text */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.intro p {
  animation: fadeIn 1s ease-out forwards;
}

/* Button hover effects (if any buttons added later) */
.btn:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}
:root {
  --primary-orange: #ff9933;
  --bg-gray: #f0f0f0;
  --text-dark: #333;
  --border-color: #ddd;
}

body {
    font-family: Arial, Helvetica, sans-serif;
  background-color: #fafafa;
  margin: 0;
  /*padding: 20px;*/
}
.mycontainer {
font-family: 'Arial, sans-serif';
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  overflow: hidden; /* Keeps everything tidy */
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  margin-top:30px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #444;
  position: relative;
  padding-bottom: 10px;
  margin: 0;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80px;
  height: 4px;
  background-color: var(--primary-orange);
}

/* Slider Controls */
.nav-btn {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.nav-btn:hover {
  background: var(--primary-orange);
  color: white;
  border-color: var(--primary-orange);
}

/* The Slider Window */
.slider-container {
  width: 100%;
  overflow: hidden; /* Hides the 5th card initially */
}

.card-grid {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* Prevents cards from dropping to next line */
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth slide */
  padding-bottom: 20px;
}

.product-card {
  flex: 0 0 calc(25% - 15px); /* Forces 4 cards per view */
  min-width: 250px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

/* --- Keep your existing Hover Styles from the previous code here --- */
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.image-container { position: relative; padding: 20px; background: #fff; display: flex; justify-content: center; align-items: center; }
.image-container img { max-width: 100%; height: auto; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; text-align: center; padding: 15px; }
.product-card:hover .overlay { opacity: 1; }
.plus-icon { font-size: 32px; color: #fff; border: 2px solid #fff; border-radius: 50%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; margin-bottom: 10px; }
.overlay-text { color: #fff; font-weight: bold; font-size: 18px; text-transform: uppercase; line-height: 1.2; }
.card-footer { background-color: var(--bg-gray); padding: 15px; text-align: center; font-weight: bold; color: var(--text-dark); font-size: 14px; transition: all 0.3s ease; }
.product-card:hover .card-footer { background-color: var(--primary-orange); color: #000; }
:root {
  --primary-blue: #2a3a8c;
  --bg-light: #f4f7f6;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-redesign {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.main-title {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 50px;
  font-size: 2.5rem;
}

/* Flex Container for Centering */
.industry-container {
  display: flex;
  flex-wrap: wrap; /* Allows items to go to next line */
  justify-content: center; /* Centers items in the last row */
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

/* Card Styling */
.industry-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-top: 5px solid var(--accent);
  flex: 0 1 350px; /* Width of 350px, but can shrink if needed */
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.image-wrapper {
  position: relative;
  height: 200px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.segment-icon {
  font-size: 24px;
}

/* Collapsible Content Styles */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.collapsible-content.active {
  max-height: 500px; /* Adjust as needed */
}

.expand-btn {
  margin-top: 15px;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: bold;
  cursor: pointer;
  padding: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .industry-card {
    flex: 0 1 100%; /* Take full width on mobile */
  }
}