
/* --- Main Container & Header --- */
.industry-showcase-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-header h1 {
    font-size: 3em;
    color: #1a3476;
    margin-bottom: 10px;
}

.showcase-header p {
    font-size: 1.2em;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Responsive Grid Layout --- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- Individual Card Styling --- */
.industry-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(27, 52, 118, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* For the fade-in animation */
    opacity: 0;
    transform: translateY(20px);
}

.industry-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(27, 52, 118, 0.15);
}

/* --- Card Image --- */
.card-image-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.industry-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* --- Card Content --- */
.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5em;
    color: #1a3476;
    margin: 0 0 10px;
}

.card-content p {
    font-size: 1em;
    line-height: 1.6;
    color: #444;
    margin: 0 0 25px;
    flex-grow: 1;
}

.details-btn {
    display: inline-block;
    align-self: flex-start;
    /* Align button to the left */
    text-align:center;
    padding: 12px 25px;
    background-color: #2f358d;
    color: #ffffff;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: bold;
    width:100%;
    transition: background-color 0.3s ease;
}

.details-btn:hover {
    background-color: #4986c6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .showcase-header h1 {
        font-size: 2.5em;
    }

    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}




/* --- 1. Common Text & Page Styles (Typography) --- */
.industry-detail-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #FFFFFF;
    color: #4a5568;
    line-height: 1.7;
}

.industry-detail-page .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 24px;
    /* More vertical and horizontal space */
}

/* Headings and Paragraphs */
.industry-detail-page h1,
.industry-detail-page h2,
.industry-detail-page h3 {
    font-weight: 700;
    color: #1a2c5b;
    /* Dark blue for strong headlines */
    line-height: 1.3;
}

.industry-detail-page .section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    /* Responsive font size */
    margin-bottom: 60px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* --- 2. Hero Section --- */
.industry-hero {
    position: relative;
    height: 100vh;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;

    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(16, 33, 79, 0.8) 0%, rgba(26, 44, 91, 0.5) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
    font-size:2rem;
}

/* --- 3. Main Content Section (Intro Paragraph) --- */
.main-content-section {
    background-color: #f8f9fc;
}

.main-content-section .container {
    max-width: 800px;
    /* Optimal width for reading */
    text-align: center;
    font-size: 1.2rem;
    color: #334155;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- 4. Content with Side Image Section --- */
.content-image-section .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    /* Increased gap */
    align-items: center;
}
.content-image-section .section-title {
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .content-image-section .grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-image-section.layout-right .grid-item.image-col {
        order: 2;
    }
}

.content-image-section .image-col img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(27, 52, 118, 0.15);
    /* A more pronounced shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-image-section .image-col img:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(27, 52, 118, 0.2);
}

.content-image-section .content-col h2 {
    font-size: clamp(2rem, 5vw, 2.6rem);
    margin-top: 0;
    margin-bottom: 20px;
}

.content-image-section .content-col p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1em;
}

/* --- 5. Key Features Section (Styling Unchanged as Requested) --- */
.key-features-section {
    background-color: #f8f9fc;
    /* Match other light sections */
}

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

.feature-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9eef5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(27, 52, 118, 0.1);
}

.feature-icon {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.feature-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* --- 6. Related Products Carousel --- */
.related-products-section {
    background-color: #FFFFFF;
}

.product-carousel .carousel-cell {
    width: 33.33%;
    padding: 0 15px;
    box-sizing: border-box;
    opacity: 0.5;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Style for the active (centered) carousel cell */
.product-carousel .carousel-cell.is-selected {
    opacity: 1;
    transform: scale(1);
}

/* Responsive carousel cells */
@media (max-width: 992px) {
    .product-carousel .carousel-cell {
        width: 50%;
    }
}

@media (max-width: 600px) {
    .product-carousel .carousel-cell {
        width: 100%;
    }
}

.product-carousel .product-card {
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    box-shadow: 0 8px 25px rgba(27, 52, 118, 0.08);
    transition: box-shadow 0.3s ease;
    border: 1px solid #e9eef5;
}

.product-carousel .product-card:hover {
    box-shadow: 0 12px 35px rgba(27, 52, 118, 0.12);
}

.product-carousel .product-thumb {
    height: 240px;
    overflow: hidden;
    /* Important for the image zoom effect */
}

.product-carousel .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-carousel .product-card:hover .product-thumb img {
    transform: scale(1.05);
    /* Zoom image on hover */
}

.product-carousel .product-title {
    font-size: 1.25em;
    padding: 20px 20px 0 20px;
    color: #1a2c5b;
    margin: 0;
    font-weight: 600;
}

.product-carousel .product-read-more {
    display: inline-block;
    padding: 10px 20px;
    margin: 15px 0 25px 0;
    background-color: #1a2c5b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 500;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-carousel .product-read-more:hover {
    background-color: #274286;
    transform: translateY(-2px);
}


/* --- 7. Flickity Carousel Navigation --- */
.flickity-page-dots {
    bottom: -45px;
}

.flickity-page-dots .dot {
    background: #1a2c5b;
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

.flickity-prev-next-button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.flickity-prev-next-button:hover {
    background: #fff;
}

.flickity-prev-next-button .flickity-button-icon {
    fill: #1a2c5b;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-section {
    background-color: #1a2c5b; /* Dark blue background */
    color: #FFFFFF;
}
.stats-section .section-title {
    color: #FFFFFF;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}


/* --- NEW: Challenges & Solutions Section --- */
.challenges-solutions-section {
    background-color: #FFFFFF;
}
.challenges-list {
    display: grid;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.challenge-item {
    background-color: #f8f9fc;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #3498db; /* Accent color */
}
.challenge-item h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #1a2c5b;
}
.challenge-item p {
    margin-bottom: 0;
}


/* --- NEW: Call to Action Section --- */
.cta-section {
    background-color: #f8f9fc;
    text-align: center;
}
.cta-section .container {
    max-width: 800px;
}
.cta-section h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 15px;
}
.cta-section p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #1a2c5b;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background-color: #274286;
    transform: translateY(-3px);
}

/* --- OPTION 2: Modern & Contained (Recommended) --- */
.intro-section {
    background-color: #f8f9fc; /* Light grey background to make the card pop */
    padding-top: 80px; /* Add space above and below the card */
    padding-bottom: 80px;
}
.intro-section .container {
    max-width: 900px;
    text-align: center;
    background-color: #ffffff; /* The card is white */
    padding: 60px; /* Generous padding inside the card */
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 15px 40px rgba(27, 52, 118, 0.1); /* Soft shadow for depth */
}
.intro-section .section-title {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}
/* This adds the decorative blue line under the title */
.intro-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #1a2c5b; /* Your primary dark blue */
    border-radius: 2px;
}
.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #334155;
    margin: 0;
}
