/* Base Styles */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Hero Section */
.industries-hero {
    background: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.industries-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.industries-hero .subtitle {
    font-size: 1.5rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .industries-hero h1 {
        font-size: 2rem;
    }
    
    .industries-hero .subtitle {
        font-size: 1.125rem;
    }
}

/* Intro Text Section */
.industries-intro {
    background: #F0F0F0;
    padding: 110px 0 85px;
}

.intro-content {
    max-width: 1060px;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #211030;
}

.intro-content p {
    margin: 0;
}

/* Industries Cards Grid */
.industries-keypoints {
    background: #F0F0F0;
    padding: 0 0 85px;
    position: relative;
}

.industries-keypoints::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: #fff;
    z-index: 0;
}

.industries-keypoints .container {
    position: relative;
    z-index: 1;
}

.key-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .key-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .key-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.key-card {
    display: block;
    background: #ffffff;
    overflow: hidden;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
    border-radius: 9px;
    box-shadow: 0px 4px 4.8px rgba(0, 0, 0, 0.1);
}

.key-card:hover {
    box-shadow: 0px 19px 60.1px -14px rgba(179, 118, 246, 0.44);
    text-decoration: none;
}

.key-card-image {
    width: 100%;
    height: 250px;
}

.key-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.key-card-content {
    padding: 26px;
}

.key-card-content h3 {
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    color: #551C8E;
    margin: 0;
}

/* Industry Overview Sections */
.industry-overview {
    padding: 85px 0;
    background: #fff;
}

.industry-overview.gray-bg {
    background: #F0F0F0;
}

.section-title {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    color: #211030;
    margin: 0 0 48px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        line-height: 32px;
    }
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 20px;
    align-items: center;
}

@media (min-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 0;
    }
}

.overview-image {
    width: 100%;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.overview-content {
    display: flex;
    flex-direction: column;
}

.overview-heading {
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    color: #551C8E;
    margin: 0 0 12px;
}

.overview-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #211030;
}

.overview-text p {
    margin-bottom: 24px;
}

/* What NXT Addresses */
.addresses-section {
    margin-top: 96px;
}

.address-heading {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 36px;
    line-height: 43px;
    text-align: center;
    color: #211030;
    margin: 0 0 48px;
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .address-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .address-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.address-card {
    transition: 0.3s ease;
    background: #FFFFFF;
    box-shadow: 0px 4px 4.8px rgba(0, 0, 0, 0.1);
    border-radius: 9px;
    padding: 24px;
}

.address-card:hover {
    box-shadow: 0px 19px 60.1px -14px rgba(179, 118, 246, 0.44);
}

.address-icon {
    margin-bottom: 24px;
}

.address-icon img {
    height: 52px;
    width: auto;
}

.address-card h4 {
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    color: #551C8E;
    margin: 0 0 12px;
}

.address-card p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #211030;
    margin: 0;
}

/* CTA Section */
.industries-cta {
    background: #6b21a8;
    color: #ffffff;
    text-align: center;
    padding: 4rem 0;
}

.industries-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.industries-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #6b21a8;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    color: #6b21a8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .industries-cta h2 {
        font-size: 2rem;
    }
    
    .industries-cta p {
        font-size: 1rem;
    }
}
