/* Base Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.industries-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('img/govt.jpg');
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.industries-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.industries-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Industries Navigation - Modern Sticky Scroller */
.industries-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.industry-scroller {
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.industry-scroller::-webkit-scrollbar {
    display: none;
}

.industry-pills {
    display: inline-flex;
    gap: 10px;
    padding: 0 10px;
}

.industry-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    background: #f5f7fa;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.industry-pill.active, .industry-pill:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.pill-icon {
    font-size: 1rem;
}

/* Industries Grid - Modern Card Design */
.industries-grid-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a202c;
    position: relative;
    display: inline-block;
}

.section-title .highlight {
    color: #2563eb;
    position: relative;
}

.section-title .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(37, 99, 235, 0.2);
    z-index: -1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.industry-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.industry-card:hover .card-bg {
    transform: scale(1.05);
}

.card-bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: rgb(21, 1, 114);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    background: rgba(255, 253, 254, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.industry-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.industry-content {
    margin-bottom: auto;
}

.industry-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.industry-features {
    list-style: none;
    margin: 20px 0;
}

.industry-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.industry-features i {
    margin-right: 10px;
    color: #f59e0b;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.btn-ghost:hover {
    background: white;
    color: #1a202c;
    transform: translateY(-2px);
}

.btn-ghost i {
    transition: transform 0.3s ease;
}

.btn-ghost:hover i {
    transform: translateX(3px);
}

/* Industry CTA - Modern Gradient Design */
.industries-cta {
    position: relative;
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    z-index: -1;
}

.cta-gradient:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png') center/cover;
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content h2 .highlight {
    position: relative;
}

.cta-content h2 .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(245, 158, 11, 0.5);
    z-index: -1;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-white {
    background: white;
    color: #2563eb;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .industry-card {
        height: 450px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-white {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .industry-pill {
        padding: 10px 15px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.industries-cta {
    padding: 80px 0;
    text-align: center;
}

.industries-cta.alt-bg {
    background: var(--light-gray);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Case Studies Preview */
.case-studies-preview {
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-study-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-content {
    padding: 20px;
}

.case-study-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.case-study-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-text i {
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .industries-nav ul {
        justify-content: flex-start;
    }
    
    .industries-nav li {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .industries-hero {
        padding: 80px 0;
    }
    
    .industries-hero h1 {
        font-size: 2rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .industries-hero h1 {
        font-size: 1.8rem;
    }
    
    .industries-nav li {
        min-width: 140px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}