/* ========================================
   INDUSTRY PAGE TEMPLATE STYLES - OPTIMIZED FOR 100% ZOOM
   ======================================== */

/* ========== HERO SECTION ========== */
.industry-hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0; /* REDUCED - tighter vertical spacing */
    background: radial-gradient(ellipse at 20% 30%, #2B4150 0%, #2B4150 25%, #207C7E 55%, #1D95D1 100%) !important;
}

/* Floating square elements removed - clean gradient background only */
.industry-hero-section::before,
.industry-hero-section::after {
    display: none;
}

/* Floating animations removed */
@keyframes floatBlock1 {
    /* Animation removed */
}

@keyframes floatBlock2 {
    /* Animation removed */
}

/* Hero Content Container */
.industry-hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* INCREASED */
}

.industry-hero-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px; /* REDUCED from 80px */
    align-items: center;
}

.industry-hero-text {
    color: #FFFFFF;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
}

/* Category Label - REDUCED SIZE */
.industry-category-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px; /* REDUCED from 18px */
    font-weight: 700;
    color: #6EB510;
    text-transform: uppercase;
    letter-spacing: 2px; /* REDUCED from 2.5px */
    margin-bottom: 20px; /* REDUCED from 24px */
    display: inline-block;
}

/* Hero Title - REDUCED SIZE */
.industry-hero-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 52px; /* REDUCED from 64px */
    font-weight: 900;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 20px 0; /* REDUCED from 24px */
    animation: fadeInTyping 1.5s ease-out;
}

@keyframes fadeInTyping {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.industry-hero-subtitle {
    display: none;
}

/* Hero Description - REDUCED SIZE */
.industry-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* REDUCED from 18px */
    font-weight: 400;
    line-height: 1.7;
    color: #F5F5F5;
    margin: 0 0 40px 0;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.industry-hero-description p {
    margin-bottom: var(--spacing-sm, 16px);
}

.industry-hero-description p:last-child {
    margin-bottom: 0;
}

.industry-hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Button - REDUCED SIZE */
.btn-industry-hero {
    display: inline-block;
    background: #2b4150;
    color: #FFFFFF;
    padding: 14px 36px; /* REDUCED from 16px 40px */
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px; /* REDUCED from 18px */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(92, 194, 207, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-industry-hero:hover {
    background: #2b4150;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(92, 194, 207, 0.4);
    color: #FFFFFF;
}

.btn-industry-hero:hover::before {
    left: 100%;
}

/* ========== HERO IMAGE - INDUSTRY PAGE ========== */
.industry-hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.industry-hero-image-wrapper {
    position: relative;
    max-width: 460px;
    margin-left: auto;
    margin-right: -20px;
    transition: transform 0.4s ease;
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.3s;
}

.industry-hero-image-wrapper:hover {
    transform: rotate(2deg);
}

.industry-hero-image-wrapper::before,
.industry-hero-image-wrapper::after {
    display: none;
}

/* The main hero image */
.industry-hero-image-main {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
    transition: transform 0.4s ease;
}

/* Placeholder styling */
.industry-hero-placeholder {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 4px;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ========== SERVICES SECTION ========== */
.industry-services-section {
    padding: 100px 0; /* INCREASED */
    background: linear-gradient(135deg, #2B4150 0%, #207C7E 100%);
    position: relative;
    overflow: hidden;
}

.industry-services-background-element {
    position: absolute;
    top: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(29, 149, 209, 0.15) 50%, rgba(92, 194, 207, 0.15) 100%);
    transform: rotate(22.5deg);
    z-index: 1;
}

.industry-services-section .container {
    position: relative;
    z-index: 2;
}

.industry-services-header {
    max-width: 900px;
    margin: 0 0 var(--spacing-xl, 80px) 0;
    text-align: left;
}

/* Services Header Label - REDUCED SIZE */
.industry-services-header .section-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px; /* REDUCED from 18px */
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px; /* REDUCED from 2.5px */
    margin-bottom: 20px; /* REDUCED from 24px */
    display: inline-block;
}

/* Services Header Title - REDUCED SIZE */
.industry-services-header .section-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px; /* REDUCED from 48px */
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 20px; /* REDUCED from 24px */
    line-height: 1.2;
}

/* Services Header Description - REDUCED SIZE */
.industry-services-header .section-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* REDUCED from 18px */
    line-height: 1.7;
    color: #F5F5F5;
    opacity: 0.9;
}

.industry-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg, 40px);
}

/* Service Card - REDUCED PADDING */
.industry-service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.industry-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.industry-service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.industry-service-card-inner {
    position: relative;
    min-height: 260px; /* REDUCED from 280px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 32px; /* REDUCED from 40px */
    background: rgba(43, 65, 80, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(92, 194, 207, 0.3);
}

/* Service Icon - REDUCED SIZE */
.industry-service-icon {
    width: 70px; /* REDUCED from 80px */
    height: 70px;
    margin: 0 auto 20px; /* REDUCED from 24px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.industry-service-card:hover .industry-service-icon {
    transform: scale(1.1);
}

.industry-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.industry-service-content {
    position: relative;
    z-index: 3;
}

/* Service Title - REDUCED SIZE */
.industry-service-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px; /* REDUCED from 20px */
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px; /* REDUCED from 16px */
    line-height: 1.2;
}

/* Service Description - REDUCED SIZE */
.industry-service-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px; /* REDUCED from 15px */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.industry-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25) 0%, rgba(29, 149, 209, 0.2) 50%, rgba(92, 194, 207, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.industry-service-card:hover::before {
    opacity: 1;
}

/* ========== CTA SECTION ========== */
.industry-cta-section {
    position: relative;
    padding: 100px 0; /* INCREASED */
    background: #F5F5F5;
    text-align: center;
}

.industry-cta-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* ADDED */
}

.industry-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Heading - REDUCED SIZE */
.industry-cta-heading {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px; /* REDUCED from 48px */
    font-weight: 900;
    color: #2B4150;
    margin-bottom: 20px; /* REDUCED from 24px */
    line-height: 1.2;
}

/* CTA Description - REDUCED SIZE */
.industry-cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* REDUCED from 18px */
    line-height: 1.7;
    color: #2B4150;
    margin-bottom: 36px; /* REDUCED from 40px */
    opacity: 0.8;
}

/* CTA Button - REDUCED SIZE */
.btn-industry-cta {
    display: inline-block;
    background: #6EB510;
    color: #FFFFFF;
    padding: 14px 36px; /* REDUCED from 16px 40px */
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(110, 181, 16, 0.3);
}

.btn-industry-cta:hover {
    background: #1D95D1;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(29, 149, 209, 0.4);
}

/* ========================================
   SERVICE DETAIL CARDS SECTION
   ======================================== */

.service-detail-cards-section {
    padding: 100px 0; /* INCREASED */
    background: #FFFFFF;
    position: relative;
}

.service-detail-cards-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* ADDED */
}

.service-cards-header {
    max-width: 900px;
    margin: 0 0 var(--spacing-xl, 80px) 0;
    text-align: left;
}

/* Service Cards Header Label - REDUCED SIZE */
.service-cards-header .section-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px; /* REDUCED from 18px */
    font-weight: 700;
    color: #6EB510;
    text-transform: uppercase;
    letter-spacing: 2px; /* REDUCED from 2.5px */
    margin-bottom: 20px; /* REDUCED from 24px */
    display: inline-block;
}

/* Service Cards Header Title - REDUCED SIZE */
.service-cards-header .section-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px; /* REDUCED from 48px */
    font-weight: 900;
    color: #2B4150;
    margin-bottom: 20px; /* REDUCED from 24px */
    line-height: 1.2;
}

/* Service Cards Header Description - REDUCED SIZE */
.service-cards-header .section-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px; /* REDUCED from 18px */
    line-height: 1.6;
    color: #2B4150;
    opacity: 0.8;
}

/* Service Cards Grid - 3 columns by default */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg, 40px);
    margin: 0 auto;
    max-width: 1200px;
}

/* Center layout when there's only 1 card */
.service-cards-grid[data-count="1"] {
    grid-template-columns: 1fr;
    max-width: 450px;
}

/* Center layout when there's only 2 cards */
.service-cards-grid[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 950px;
}

/* Individual Service Card - REDUCED PADDING */
.service-detail-card {
    background: #FFFFFF;
    padding: 32px; /* REDUCED from 40px */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 12px rgba(43, 65, 80, 0.1);
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid #E6E9EC;
    border-top: 3px solid #5CC2CF;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35 0%, #5CC2CF 50%, #1D95D1 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(43, 65, 80, 0.15);
    border-color: #5CC2CF;
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

/* Card Header (Icon + Title) - REDUCED GAP */
.service-card-header {
    display: flex;
    align-items: center;
    gap: 20px; /* REDUCED from 24px */
    margin-bottom: 20px; /* REDUCED from 24px */
}

/* Service Card Icon - REDUCED SIZE */
.service-card-icon {
    width: 46px; /* REDUCED from 50px */
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.service-card-icon svg {
    color: #5CC2CF;
    transition: transform 0.3s ease;
}

.service-detail-card:hover .service-card-icon svg {
    transform: scale(1.1);
}

/* Service Card Title - REDUCED SIZE */
.service-card-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px; /* REDUCED from 22px */
    font-weight: 900;
    color: #2B4150;
    margin: 0;
    line-height: 1.3;
}

/* Card Content - REDUCED SIZE */
.service-card-content {
    font-family: 'Inter', sans-serif;
    font-size: 14px; /* REDUCED from 15px */
    line-height: 1.6;
    color: #2B4150;
    opacity: 0.85;
}

.service-card-content p {
    margin-bottom: var(--spacing-sm, 16px);
}

.service-card-content p:last-child {
    margin-bottom: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .industry-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-hero-image-wrapper {
        max-width: 460px;
    }
    
    .service-cards-grid {
        gap: var(--spacing-lg, 40px);
    }
}

@media (max-width: 968px) {
    .industry-hero-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg, 40px);
    }
    
    .industry-hero-title {
        font-size: 42px; /* REDUCED from 48px */
    }
    
    .industry-hero-image-wrapper {
        display: none !important;
    }
    
    .industry-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md, 24px);
    }
    
    .service-detail-cards-section {
        padding: 80px 0; /* INCREASED from 48px */
    }
    
    .service-cards-grid,
    .service-cards-grid[data-count="1"],
    .service-cards-grid[data-count="2"] {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .service-cards-header .section-title {
        font-size: 40px !important;
    }
}

@media (max-width: 768px) {
    .industry-hero-section .container,
    .industry-cta-section .container,
    .service-detail-cards-section .container {
        padding: 0 20px; /* Mobile padding */
    }
    
    .industry-hero-section {
        min-height: 500px;
        padding: 80px 0; /* INCREASED from 48px */
    }
    
    .industry-hero-title {
        font-size: 40px !important; /* REDUCED from 36px */
    }
    
    .industry-hero-description {
        font-size: 16px;
    }
    
    .btn-industry-hero {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .industry-services-section {
        padding: 80px 0; /* INCREASED from 48px */
    }
    
    .industry-services-header {
        margin-bottom: var(--spacing-lg, 40px);
    }
    
    .industry-services-header .section-title {
        font-size: 28px;
    }
    
    .industry-services-header .section-description {
        font-size: 16px;
    }
    
    .industry-services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md, 24px);
    }
    
    .industry-service-card-inner {
        min-height: 220px; /* REDUCED from 240px */
        padding: 20px; /* REDUCED from 24px */
    }
    
    .industry-cta-section {
        padding: 80px 0; /* INCREASED from 48px */
    }
    
    .industry-cta-heading {
        font-size: 28px;
    }
    
    .industry-cta-description {
        font-size: 16px;
    }
    
    .service-detail-cards-section {
        padding: 80px 0; /* INCREASED from 48px */
    }
    
    .service-cards-header {
        margin-bottom: var(--spacing-lg, 40px);
    }
    
    .service-cards-header .section-title {
        font-size: 28px;
    }
    
    .service-cards-header .section-description {
        font-size: 16px;
    }
    
    .service-cards-grid,
    .service-cards-grid[data-count="1"],
    .service-cards-grid[data-count="2"] {
        grid-template-columns: 1fr;
        gap: var(--spacing-md, 24px);
    }
    
    .service-detail-card {
        padding: 20px; /* REDUCED from 24px */
    }
    
    .service-card-header {
        gap: 14px; /* REDUCED from 16px */
    }
    
    .service-card-icon {
        width: 40px; /* REDUCED from 45px */
        height: 40px;
    }
    
    .service-card-icon svg {
        width: 32px; /* REDUCED from 35px */
        height: 32px;
    }
    
    .service-card-title {
        font-size: 18px;
    }
    
    .service-card-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .industry-hero-title {
        font-size: 28px;
    }
    
    .industry-services-header .section-title,
    .industry-cta-heading {
        font-size: 24px;
    }
    
    .service-card-title {
        font-size: 16px;
    }
}