/* Extraordinary Sectors CSS */
.sector-hero {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sector-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.3), rgba(6, 21, 57, 0.9));
    z-index: 1;
}

/* Container inside hero needs to be centered */
.sector-hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.sector-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    width: 100%;
    padding: 3rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl, 1.5rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    margin: 0 auto;
}

.sector-hero h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.sector-hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.sector-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.sector-intro {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.sector-intro::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 36, 99, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.sector-intro-text {
    font-size: 1.4rem;
    color: var(--gray-700);
    line-height: 1.9;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.sector-intro-text strong {
    color: var(--primary);
    font-weight: 600;
}

.sector-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.sector-feature-card {
    padding: 2.5rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border-bottom: 4px solid var(--accent);
    transition: all 0.4s ease;
    position: relative;
    top: 0;
}

.sector-feature-card:hover {
    top: -10px;
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.sector-feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.sector-feature-card h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.sector-2nd-image-section {
    padding: 0;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.sector-2nd-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sector-2nd-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 36, 99, 0.95) 0%, rgba(10, 36, 99, 0.4) 100%);
    z-index: 2;
    width: 100%;
}

.sector-2nd-content {
    position: relative;
    z-index: 3;
    padding: 4rem;
    max-width: 600px;
    color: var(--white);
    margin-left: 10%;
}

.sector-2nd-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.sector-2nd-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE STYLES FOR SECTOR PAGES
   ============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .sector-hero-content {
        max-width: 800px;
        padding: 2.5rem;
    }

    .sector-2nd-content {
        margin-left: 5%;
        max-width: 550px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .sector-hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
        /* Fix for iOS */
    }

    .sector-hero h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        letter-spacing: -1px;
    }

    .sector-hero p {
        font-size: 1.2rem;
    }

    .sector-hero-content {
        max-width: 90%;
        padding: 2rem;
        margin: 0 1rem;
    }

    .sector-intro {
        padding: 5rem 0;
    }

    .sector-intro-text {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .sector-features {
        gap: 2rem;
        margin-top: 3rem;
    }

    .sector-feature-card {
        padding: 2rem;
    }

    .sector-2nd-image-section {
        height: 500px;
    }

    .sector-2nd-content {
        margin-left: 0;
        padding: 3rem;
        max-width: 100%;
        text-align: center;
    }

    .sector-2nd-overlay {
        background: linear-gradient(180deg, rgba(10, 36, 99, 0.9) 0%, rgba(10, 36, 99, 0.75) 100%);
    }

    .sector-2nd-content h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .sector-hero {
        height: auto;
        min-height: 80vh;
        padding: 6rem 0 4rem;
        background-attachment: scroll;
    }

    .sector-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .sector-hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .sector-hero-content {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .sector-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

    .sector-intro {
        padding: 3rem 0;
    }

    .sector-intro::before {
        display: none;
    }

    .sector-intro-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .sector-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .sector-feature-card {
        padding: 1.5rem;
    }

    .sector-feature-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .sector-feature-card h3 {
        font-size: 1.25rem;
    }

    .sector-2nd-image-section {
        height: auto;
        min-height: 450px;
        padding: 4rem 0;
    }

    .sector-2nd-content {
        padding: 2rem 1.5rem;
    }

    .sector-2nd-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .sector-2nd-content p {
        font-size: 1rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .sector-hero {
        min-height: 70vh;
        padding: 5rem 0 3rem;
    }

    .sector-hero h1 {
        font-size: 1.75rem;
    }

    .sector-hero p {
        font-size: 0.9rem;
    }

    .sector-hero-content {
        padding: 1.25rem;
    }

    .sector-intro {
        padding: 2.5rem 0;
    }

    .sector-intro-text {
        font-size: 0.95rem;
    }

    .sector-2nd-content h2 {
        font-size: 1.5rem;
    }
}