/* ================= INDUSTRIES PAGE ENHANCED STYLES ================= */

/* ================= HERO SECTION ================= */
.industry-hero {
    padding: 90px 0 70px;
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(118, 179, 218, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(47, 94, 155, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.industry-hero .container {
    position: relative;
    z-index: 1;
}

.industry-hero h1 {
    font-family: var(--font-serif);
    font-size: 42px;
    color: var(--medical-navy);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.industry-hero .lead {
    color: var(--muted-indigo);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 800px;
}

.industry-list {
    margin: 24px 0 20px 0;
    padding-left: 0;
    list-style: none;
    max-width: 700px;
}

.industry-list li {
    color: var(--charcoal-ink);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

/* Custom bullet points */
.industry-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--surgical-green);
    font-weight: bold;
    font-size: 18px;
}

.small-cta {
    margin-top: 28px;
}

.small-cta a {
    color: var(--clinical-blue);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.small-cta a::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.small-cta a:hover {
    color: var(--medical-navy);
}

.small-cta a:hover::after {
    margin-left: 12px;
}

/* ================= EXPERIENCE SECTION ================= */
.experience-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--medical-navy);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

/* Decorative underline */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--clinical-blue) 0%, var(--sterile-sky) 100%);
    border-radius: 2px;
}

.section-text {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal-ink);
    max-width: 800px;
    margin: 0 auto 48px;
}

/* ================= INDUSTRY GRID ================= */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.industry-card {
    padding: 32px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(118, 179, 218, 0.2);
    box-shadow:
        0 8px 24px rgba(11, 42, 74, 0.06),
        0 2px 8px rgba(11, 42, 74, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient accent bar on top */
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--clinical-blue) 0%, var(--sterile-sky) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(11, 42, 74, 0.1),
        0 4px 12px rgba(11, 42, 74, 0.08);
    border-color: var(--sterile-sky);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--medical-navy);
    font-weight: 600;
    line-height: 1.3;
}

.industry-card ul {
    margin-left: 0;
    padding-left: 20px;
    list-style: none;
}

.industry-card li {
    color: var(--muted-indigo);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    position: relative;
    padding-left: 8px;
}

.industry-card li::before {
    content: '•';
    position: absolute;
    left: -12px;
    color: var(--sterile-sky);
    font-weight: bold;
}

/* ================= CENTER CTA ================= */
.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.center-btn .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--clinical-blue) 0%, var(--medical-navy) 100%);
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 12px rgba(47, 94, 155, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.center-btn .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 94, 155, 0.35);
    background: linear-gradient(135deg, var(--medical-navy) 0%, var(--clinical-blue) 100%);
}

/* ================= INDUSTRY PREVIEW TILES (ALTERNATIVE STYLE) ================= */
.industry-tile {
    position: relative;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.industry-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Dark overlay for readability */
.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 42, 74, 0.3) 0%,
        rgba(11, 42, 74, 0.75) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.industry-tile:hover .industry-overlay {
    background: linear-gradient(
        to bottom,
        rgba(11, 42, 74, 0.2) 0%,
        rgba(11, 42, 74, 0.65) 100%
    );
}

.industry-tile h4 {
    position: relative;
    z-index: 2;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Background images */
.industry-tile.pharma {
    background-image: url("images/pharmaceutical.jpg");
}

.industry-tile.dental {
    background-image: url("images/dental_oral.jpg");
}

.industry-tile.medical {
    background-image: url("images/medical.png");
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablet (1000px and below) */
@media (max-width: 1000px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .industry-hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .industry-hero {
        padding: 60px 0 50px;
    }

    .industry-hero h1 {
        font-size: 32px;
    }

    .industry-hero .lead {
        font-size: 16px;
    }

    .industry-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .experience-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .section-text {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .industry-card {
        padding: 24px;
    }

    .industry-card h4 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .center-btn .btn-primary {
        width: 100%;
        text-align: center;
    }

    .industry-tile {
        height: 220px;
    }
}

/* Small Mobile (640px and below) */
@media (max-width: 640px) {
    .industry-hero h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .industry-hero .lead {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .industry-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-text {
        font-size: 15px;
    }

    .industry-card {
        padding: 20px;
    }

    .industry-card h4 {
        font-size: 18px;
    }

    .industry-card li {
        font-size: 14px;
    }

    .industry-tile {
        height: 200px;
        padding: 24px;
    }

    .industry-tile h4 {
        font-size: 20px;
    }
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

/* ================= PRINT STYLES ================= */
@media print {
    .industry-hero {
        background: #ffffff;
        padding: 20px 0;
    }

    .industry-hero::before {
        display: none;
    }

    .industry-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dddddd;
    }

    .industry-tile {
        display: none;
    }

    .center-btn .btn-primary {
        background: #0b2a4a;
        box-shadow: none;
    }
}
