/**
 * Sector Single Page Styles (shared)
 * Used to keep all sector detail pages consistent in design.
 */

/* Hero Section with Image */
.sector-hero-image {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.sector-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(44, 18, 61, 0.85) 0%, rgba(165, 74, 123, 0.9) 100%);
}

.sector-hero-image .sector-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

/* Hero Section without Image */
.sector-hero {
    background: linear-gradient(135deg, #2C123D 0%, #A54A7B 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.sector-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.sector-hero-icon i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ffffff;
    display: block;
}

.sector-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.sector-hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: #ffffff;
}

/* Content Section */
.sector-section {
    background: linear-gradient(to bottom, #f9f9fb, #ffffff);
    padding: 60px 20px;
    min-height: 100vh;
}

html[data-theme="dark"] .sector-section {
    background: linear-gradient(to bottom, #1a1a1a, #121212) !important;
}

.sector-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sector-overview,
.sector-features,
.sector-benefits,
.sector-cta {
    margin-bottom: 60px;
}

.section-title,
.sector-overview > h2,
.sector-features > h2,
.sector-benefits > h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2C123D;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.2;
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .sector-overview > h2,
html[data-theme="dark"] .sector-features > h2,
html[data-theme="dark"] .sector-benefits > h2 {
    color: #ffffff !important;
}

.section-title::after,
.sector-overview > h2::after,
.sector-features > h2::after,
.sector-benefits > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2C123D, #A54A7B);
    border-radius: 2px;
}

html[data-theme="dark"] .section-title::after,
html[data-theme="dark"] .sector-overview > h2::after,
html[data-theme="dark"] .sector-features > h2::after,
html[data-theme="dark"] .sector-benefits > h2::after {
    background: linear-gradient(90deg, #A54A7B, #ffffff) !important;
}

.sector-overview p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

html[data-theme="dark"] .sector-overview p {
    color: #e8e8e8 !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

html[data-theme="dark"] .feature-card {
    background: #1e1e1e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #A54A7B;
}

html[data-theme="dark"] .feature-card:hover {
    border-color: #A54A7B !important;
    box-shadow: 0 10px 30px rgba(165, 74, 123, 0.3) !important;
}

.feature-icon {
    font-size: 40px;
    color: #A54A7B;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C123D;
    margin-bottom: 12px;
}

html[data-theme="dark"] .feature-card h3 {
    color: #ffffff !important;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

html[data-theme="dark"] .feature-card p {
    color: #b0b0b0 !important;
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefits-list li {
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #555;
    position: relative;
    padding-left: 45px;
}

html[data-theme="dark"] .benefits-list li {
    background: #1e1e1e !important;
    color: #e8e8e8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.benefits-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 15px;
    color: #A54A7B;
    font-size: 18px;
}

html[dir="rtl"] .benefits-list li {
    padding-left: 20px;
    padding-right: 45px;
}

html[dir="rtl"] .benefits-list li::before {
    left: auto;
    right: 15px;
}

.sector-cta {
    text-align: center;
    background: linear-gradient(135deg, #2C123D, #A54A7B);
    padding: 50px 30px;
    border-radius: 20px;
    color: #fff;
}

.sector-cta h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 2rem;
}

.sector-cta h2::after {
    display: none;
}

.sector-cta p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    background: #fff;
    color: #2C123D;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #2C123D;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sector-hero-title {
        font-size: 2rem;
    }
    .sector-hero-subtitle {
        font-size: 1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .section-title,
    .sector-overview > h2,
    .sector-features > h2,
    .sector-benefits > h2 {
        font-size: 1.75rem;
    }
}


