/* Industry Archive Styles */

/* Global Styles */

:root {
    --primary-color: #00325D;
    --secondary-color: #004975;
    --primary-rgb: 21, 87, 174;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --heading-color: #1A1A1A;
    --text-color: #1e1e1e;
    --light-bg: #F8F9FA;
    --border-color: #E9ECEF;
    --white: #fff;
    --card-transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --section-spacing: clamp(60px, 8vw, 100px);
}

/* Hero Section */
.industry-hero {
    position: relative;
    height: clamp(500px, 80vh, 800px);
    background-image: linear-gradient(135deg, #00325D 0%, #004975 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.hero-icons .industry-icon {
    font-size: 2.5rem;
    opacity: 0;
    animation: fadeInRotate 0.6s ease forwards;
}

.hero-icons .industry-icon:nth-child(1) { animation-delay: 0.2s; }
.hero-icons .industry-icon:nth-child(2) { animation-delay: 0.4s; }
.hero-icons .industry-icon:nth-child(3) { animation-delay: 0.6s; }
.hero-icons .industry-icon:nth-child(4) { animation-delay: 0.8s; }

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); */
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes fadeInRotate {
    from {
        opacity: 0;
        transform: rotate(-30deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Industries Section */
.industries-section {
    padding: var(--section-spacing) 0;
    background: var(--light-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.section-badge {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.1);
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    opacity: 0.85;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.industry-card {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--card-transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    aspect-ratio: 3/4;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.industry-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.industry-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.industry-card:hover .industry-featured-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.2) 100%
    );
    transition: var(--card-transition);
}

.industry-card:hover .image-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.3) 100%
    );
}

.industry-content {
    padding: 30px;
    text-align: left;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.industry-content h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.industry-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.industry-excerpt {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.85;
    flex-grow: 1;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 0;
    transition: var(--card-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more svg {
    transition: transform var(--card-transition);
}

.read-more:hover {
    gap: 15px;
    color: var(--primary-color);
}

.read-more:hover svg {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .industry-image {
        height: 200px;
    }

    .industry-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .industry-card {
        aspect-ratio: auto;
    }

    .industry-image {
        height: 180px;
    }
}

/* Stats Section */
.industry-stats {
    padding: var(--section-spacing) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.industry-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.1) 50%,
        transparent 100%
    );
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(30px, 4vw, 50px);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.stat-item {
    padding: 30px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.1) 50%,
        transparent 100%
    );
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-label {
    color: var(--text-color);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.4;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stat-item::after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .industry-hero {
        height: clamp(300px, 40vh, 400px);
    }

    .industries-section,
    .industry-stats{
        padding: clamp(40px, 6vw, 60px) 0;
    }

    .industry-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* No Industries Found */
.no-industries {
    text-align: center;
    padding: clamp(30px, 5vw, 50px);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.no-industries p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
} 