/* Reset and Base Styles */
:root {
    --primary-color: rgb(0, 43, 73);
    --secondary-color: rgb(0, 43, 73);
    --text-color: rgb(45, 55, 72);
    --light-text: #718096;
    --background: #ffffff;
    --light-background: #f7fafc;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    transform: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.973);
    color: rgba(0, 23, 77, 0.973);
    box-shadow: 0 4px 15px rgba(0, 43, 73, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
    background: rgba(0, 23, 77, 0.973);
    color: #ffffff;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 15px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.header.scroll-up {
    transform: translateY(0);
    background: #ffffff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
}

.logo {
    margin-right: auto;
    padding-left: 0;
    margin-left: 0;
    margin-right: 4rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    margin-left: auto;
    padding-right: 2rem;
    gap: 3rem; /* Added space between nav items */
}

.nav-trigger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 1001;
}

.nav-trigger:hover {
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem; /* Added space between nav items */
    margin: 0;
    padding: 0;
}

.nav .btn-primary {
    margin-left: auto;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .nav-trigger {
        display: block;
        z-index: 1002;
        color: var(--primary-color);
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 80px 0 2rem 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
        background: var(--primary-color);
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        font-size: 1.1rem;
        text-align: left;
        transition: background-color 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    .header {
        background: #ffffff;
        position: fixed;
        width: 100%;
        z-index: 1002;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header-container {
        background: #ffffff;
        height: 80px;
        padding: 0 1.5rem;
        position: relative;
        z-index: 1002;
    }

    body.menu-open {
        overflow: hidden;
    }

    .logo {
        z-index: 1002;
        position: relative;
    }

    /* Ensure menu icon is visible against white header */
    .nav-trigger i {
        color: var(--primary-color);
        font-size: 1.5rem;
    }

    /* Section Spacing Adjustments */
    .hero,
    .about,
    .expertise,
    .leadership,
    .core-services,
    .contact,
    .cta,
    .about-section {
        padding: 3rem 0;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .expertise-grid,
    .leadership-grid,
    .services-grid {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }

    .about-content {
        margin-top: 1.5rem;
    }

    .about-content p {
        margin-bottom: 1.5rem;
    }

    .cta-content {
        padding: 1.5rem;
    }

    .cta-content h2 {
        margin-bottom: 1.5rem;
    }

    .profile-header {
        padding: 3rem 1rem;
    }

    /* Profile Image Adjustments for Mobile */
    .profile-header .profile-image {
        width: 300px;
        height: 400px;
        margin: 0 auto 2rem;
        border-width: 3px;
    }

    .team-image {
        width: 100%;
        height: 400px;
        margin: 0 auto;
    }

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .team-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .header-container {
        padding: 0 1rem;
    }

    /* Further reduce spacing for smaller screens */
    .hero,
    .about,
    .expertise,
    .leadership,
    .core-services,
    .contact,
    .cta,
    .about-section {
        padding: 2.5rem 0;
    }

    .section-title {
        margin-bottom: 1.25rem;
        font-size: 1.8rem;
    }

    .expertise-grid,
    .leadership-grid,
    .services-grid {
        margin-top: 1.25rem;
        gap: 1.25rem;
    }

    .about-content p {
        margin-bottom: 1.25rem;
    }

    .cta-content {
        padding: 1.25rem;
    }

    /* Profile Image Adjustments for Smaller Mobile */
    .profile-header .profile-image {
        width: 280px;
        height: 380px;
        margin: 0 auto 1.5rem;
    }

    .team-image {
        width: 100%;
        height: 380px;
        margin: 0 auto;
    }

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .team-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 43, 73, 0.85), rgba(0, 43, 73, 0.85)),
    url('../images/bc 2.gif') center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
    padding: 4rem 2rem;
    background-attachment: scroll !important;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 8rem);
    text-align: center;
}

.hero-logo {
    max-width: 266px;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    width: 150%;
    height: auto;
    margin: 0 auto;
}

.hero h1 {
    font-size: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.hero h1 span {
    font-size: 0.6em;
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: white;
    margin: 0 0 3rem 0;
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.hero .btn-primary {
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive adjustments */
@media (max-height: 800px) {
    .hero-content {
        padding: 2rem 0;
    }

    .hero-logo {
        max-width: 160px;
        margin-bottom: 5rem;
    }

    .hero h1 {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .hero p {
        margin-bottom: 2rem;
    }

    .hero .btn-primary {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        min-height: calc(100vh - 6rem);
    }

    .hero-logo {
        max-width: 196px; /* Increased from 140px to 196px (140%) */
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero .btn-primary {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero-content {
        min-height: calc(100vh - 4rem);
    }

    .hero-logo {
        max-width: 168px; /* Increased from 120px to 168px (140%) */
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero .btn-primary {
        margin-bottom: 2.5rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}

.about .section-title {
    margin-bottom: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-content .btn {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background-color: var(--light-background);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #010445;
    transition: height 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.expertise-card:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expertise-card:hover::before {
    height: 100%;
}

.expertise-card > * {
    position: relative;
    z-index: 3;
}

.expertise-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expertise-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.expertise-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.expertise-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.expertise-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    flex: 1;
}

.expertise-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--light-text);
}

.expertise-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.expertise-link-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.expertise-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.expertise-link i {
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.expertise-link:hover {
    color: var(--secondary-color);
}

.expertise-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Expertise */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-card {
        min-height: 350px;
        padding: 2rem;
    }
    
    .expertise-link-wrapper {
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .expertise-card {
        min-height: 300px;
        padding: 1.5rem;
    }
    
    .expertise-card i {
        font-size: 2rem;
    }
    
    .expertise-card h3 {
        font-size: 1.2rem;
    }
    
    .expertise-card p {
        font-size: 0.95rem;
    }
    
    .expertise-link {
        font-size: 0.95rem;
    }
}

/* Leadership Section */
.leadership {
    padding: 6rem 0;
    min-height: 100vh;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    background-color: var(--light-background);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 1.2s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.2);
}

/* Leadership section specific adjustments */
#leadership .team-image img,
#advisory-board .team-image img {
    object-position: center 5%;
}

.team-info {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.team-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.team-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-actions .btn,
.card-actions .profile-social {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(44, 82, 130, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none; /* Prevent the pseudo-element from blocking interactions */
}

.team-card:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-card:hover::after {
    opacity: 1;
}

/* Ensure all team card content elements are above the background effect */
.team-card > *:not(.team-image) {
    position: relative;
    z-index: 3;
}

.team-card h3,
.team-card p,
.team-card .card-actions,
.team-card .btn-secondary,
.team-card .profile-social {
    position: relative;
    z-index: 3;
}

.team-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.team-card p {
    padding: 0 1.5rem;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding: 0 1.5rem 1.5rem;
}

.btn-secondary,
.team-card .profile-social {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-secondary {
    position: relative;
    z-index: 2;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(44, 82, 130, 0.2);
}

.team-card .profile-social {
    width: 100%;
    margin: 0;
    z-index: 2;
}

.team-card .profile-social i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.team-card .profile-social:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(44, 82, 130, 0.2);
}

.team-card .profile-social:hover i {
    transform: scale(1.1);
}

/* Responsive Design for Team Cards */
@media (max-width: 992px) {
    .team-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .card-actions {
        padding: 0 1rem 1rem;
    }
    
    .btn-secondary,
    .team-card .profile-social {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* CTA Section */
.cta {
    padding: 60px 0;
    background-color: #096bff;
    border-radius: 10px;
    margin: 70px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 900px;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.service-tag {
    background-color: #f0f5ff;
    border-left: 4px solid #2196F3;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Profile Social Container */
.profile-social-container {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.profile-social {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgba(44, 82, 130, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.profile-social i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.profile-social:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta {
        padding: 4rem 0;
    }

    .cta-content {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .profile-social-container {
        margin-top: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .profile-social {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .cta .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, 
                rgba(0, 43, 73, 0.95) 0%,
                rgba(0, 43, 73, 0.9) 50%,
                rgba(0, 43, 73, 0.85) 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 43, 73, 0.3) 100%);
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info .info-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info .info-item a,
.contact-info .info-item p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .info-item a:hover {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

/* Remove cursor styles */
.cursor-dot,
.cursor-dot-outline {
    display: none !important;
}

/* Simplify animations */
.expertise-card,
.team-card,
.service-card {
    transform: none !important;
    transition: box-shadow 0.3s ease;
}

.expertise-card:hover,
.team-card:hover,
.service-card:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure sections are visible */
#expertise,
#leadership,
#advisory-board {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
}

/* Ensure grids are visible */
.expertise-grid,
.leadership-grid {
    opacity: 1 !important;
    visibility: visible !important;
    display: grid !important;
}

/* Ensure cards are visible */
.expertise-card,
.team-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Fix stacking context */
.container {
    transform: none !important;
}

section {
    transform: none !important;
    margin-bottom: 60px;
}

/* Remove parallax effects */
.hero {
    background-attachment: scroll !important;
}

/* About Page Styles */
.about-hero {
    background: none;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #010445;
    opacity: 0.95;
    animation: gradientFlow 15s ease infinite;
    background-size: 400% 400%;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleFloat 20s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

@keyframes particleFloat {
    0% { transform: translateY(0) }
    100% { transform: translateY(-50px) }
}

.animated-title {
    position: relative;
    opacity: 0;
    animation: titleReveal 1s ease forwards 0.5s;
}

.text-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0.5rem;
}

.letters {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.8s ease forwards 0.8s;
}

.split-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

@keyframes titleReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Social Button */
.profile-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #0077b5;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    border: 2px solid #0077b5;
}

.profile-social:hover {
    background: transparent;
    color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.2);
}

.profile-social i {
    font-size: 1.2rem;
}

/* Profile Subtitle */
.profile-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 1rem 0 1.5rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: none;
    position: relative;
    padding-bottom: 0.5rem;
}

.profile-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0077b5;
    border-radius: 2px;
}

.profile-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    padding: 0 2rem;
}

.scroll-indicator-hero {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.about-section {
    padding: 6rem 0;
}

.about-section.bg-light {
    background-color: var(--light-background);
}

.about-grid {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 2rem;
    text-align: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
}

.leadership-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 82, 130, 0.2);
}

.profile-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.profile-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.profile-card .profile-social {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: none;
}

.profile-card .card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .profile-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .profile-header h1 {
        font-size: 2.4rem;
    }
}

/* Enhanced Leadership Profile Styles */
.about-hero {
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.97), rgba(0, 43, 73, 0.97));
    z-index: -1;
}

.profile-header {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    text-align: center;
}

.profile-header .profile-image {
    width: 280px;
    height: 320px;
    margin: 0 auto 2.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-header .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.profile-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.profile-header .profile-title {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
    font-weight: 600;
}

.profile-social {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

/* Experience Cards */
.experience-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-header {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem; /* Keep consistent padding */
}

.experience-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.experience-header .company {
    color: var(--light-text);
    font-size: 1rem;
}

.experience-content {
    padding-left: 0;
}

.experience-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-content ul li {
    position: relative;
    padding-left: 4rem; /* Increased padding to match title position */
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.experience-content ul li::before {
    content: "•";
    position: absolute;
    left: 2.5rem; /* Aligned with the title's start */
    color: var(--primary-color);
    width: 1.5rem;
    text-align: center;
    font-size: 1.5rem; /* Make bullet points more visible */
    line-height: 1;
    top: -0.1rem; /* Adjust vertical alignment of bullet point */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-header {
        padding-left: 2.5rem; /* Keep consistent with desktop */
    }
    
    .experience-content ul li {
        padding-left: 4rem; /* Keep consistent with desktop */
    }
    
    .experience-content ul li::before {
        left: 2.5rem; /* Keep consistent with desktop */
    }
}

@media (max-width: 480px) {
    .experience-card {
        padding: 1.5rem;
    }
    
    .experience-header {
        padding-left: 2.5rem; /* Keep consistent across all sizes */
    }
    
    .experience-content ul li {
        padding-left: 4rem; /* Keep consistent across all sizes */
    }
    
    .experience-content ul li::before {
        left: 2.5rem; /* Keep consistent across all sizes */
    }
}

/* Enhanced Expertise Areas */
.expertise-area {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.expertise-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 4, 69, 0.05), rgba(1, 4, 69, 0.05));
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none; /* Prevent the pseudo-element from blocking interactions */
}

.expertise-area:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(44, 82, 130, 0.15);
}

.expertise-area:hover::before {
    transform: translateX(0);
}

/* Ensure ALL content elements are above the background effect */
.expertise-area > * {
    position: relative;
    z-index: 3;
}

/* Specific element styling */
.expertise-area i {
    font-size: 2.8rem;
    background: #010445;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 3;
}

.expertise-area:hover i {
    transform: scale(1.2) rotate(10deg);
}

.expertise-area h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 3;
}

.expertise-area:hover h3 {
    transform: translateX(5px);
}

/* Fix for experience cards */
.experience-card {
    position: relative;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 4, 69, 0.05), rgba(1, 4, 69, 0.05));
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none; /* Prevent the pseudo-element from blocking interactions */
}

.experience-card:hover::before {
    transform: translateX(0);
}

/* Ensure ALL content elements are above the background effect */
.experience-card > * {
    position: relative;
    z-index: 3;
}

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

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-header h1 {
        font-size: 2.8rem;
    }
    
    .profile-header .profile-title {
        font-size: 1.3rem;
    }
    
    .profile-subtitle {
        font-size: 1rem;
    }
    
    .experience-card,
    .expertise-area {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .profile-header h1 {
        font-size: 2.4rem;
    }
    
    .profile-header .profile-image {
        width: 160px;
        height: 220px;
    }
    
    .profile-header .profile-title {
        font-size: 1.2rem;
    }
    
    .profile-subtitle {
        font-size: 0.95rem;
    }
    
    .experience-card,
    .expertise-area {
        padding: 1.5rem;
    }
}

/* Particle Animation Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Core Services Section */
.core-services {
    padding: 3rem 0 6rem;
    background-color: var(--light-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-color-dark);
}

.service-link i {
    font-size: 1rem;
    margin: 0;
}

/* Ensure all card links stay visible */
.service-card a,
.service-link {
    position: relative;
    z-index: 2;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        min-height: 350px;
        padding: 2rem;
    }
}

/* Sector Pages Styles */
.sector-hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.sector-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--light-color), transparent);
    z-index: 1;
}

.sector-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.sector-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sector-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.sector-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sector-hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.sector-hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.sector-stats {
    padding: 5rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.sector-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.sector-stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

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

.sector-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: var(--light-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.sector-stat-card:hover .sector-stat-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

.sector-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-family: 'Montserrat', sans-serif;
}

.sector-stat-label {
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Overview Section */
.sector-overview {
    padding: 6rem 0;
    position: relative;
}

.sector-section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--dark-color);
    display: inline-block;
    font-weight: 700;
}

.sector-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.sector-overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sector-overview-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.sector-overview-text p {
    margin-bottom: 1.5rem;
    color: #444;
}

.sector-overview-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4/3;
    position: relative;
}

.sector-overview-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.sector-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sector-overview-image:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.sector-cta {
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.sector-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.sector-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sector-cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sector-cta-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.sector-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sector-cta-btn:hover {
    background: transparent;
    border-color: white;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sector-overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sector-hero-title {
        font-size: 3rem;
    }
    
    .sector-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .sector-hero-title {
        font-size: 2.5rem;
    }
    
    .sector-section-title {
        font-size: 1.8rem;
    }
    
    .sector-hero-content,
    .sector-cta-content {
        padding: 1.5rem;
    }
}

/* Quick Stats Section */
.quick-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-bottom: 70px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    color: #555;
    font-size: 1.1rem;
}

/* Market Trends Section */
.market-trends {
    padding: 4rem 0;
    background: white;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.trend-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.trend-item:hover {
    transform: translateY(-5px);
}

.trend-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Subsectors Section */
.subsectors {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.subsectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.subsector-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.subsector-card:hover {
    transform: translateY(-5px);
}

.subsector-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.subsector-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.subsector-opportunities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.opportunity-tag {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #2c3e50;
}

/* Market Opportunities Section */
.market-opportunities {
    padding: 4rem 0;
    background: white;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.opportunity-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-5px);
}

.opportunity-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.opportunity-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.opportunity-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.opportunity-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.opportunity-list li::before {
    content: "→";
    margin-right: 0.5rem;
    color: #2c3e50;
}

/* Technology and Innovation Section */
.tech-innovation {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Call to Action Section */
.cta {
    padding: 60px 0;
    background-color: #096bff;
    border-radius: 10px;
    margin: 70px 0;
}

.services-tags {
        display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.service-tag {
    background-color: #f0f5ff;
    border-left: 4px solid #2196F3;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid,
    .trends-grid,
    .subsectors-grid,
    .opportunities-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .trends-grid,
    .subsectors-grid,
    .opportunities-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .trend-item,
    .subsector-card,
    .opportunity-card,
    .tech-card {
        padding: 1.5rem;
    }

    .stat-icon,
    .trend-icon,
    .subsector-icon,
    .opportunity-icon,
    .tech-icon {
        font-size: 2rem;
    }
}

/* Additional Sector Pages Styling - Part 2 */

/* Segments and opportunities improvements */
.segments-content, .opportunities-content, .advantages-content {
    margin-bottom: 30px;
}

.segments-content h3, .opportunities-content h3 {
    font-size: 1.7rem;
    margin: 30px 0 20px;
    font-weight: 600;
}

.segments-content p, .opportunities-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.segments-content ul, .opportunities-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.segments-content li, .opportunities-content li {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Opportunities styling */
.opportunities-header {
    margin: 35px 0 20px; /* More space around opportunity headers */
}

.opportunities-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
}

.opportunities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px; /* More space after opportunity tags */
}

.opportunity-tag {
    background-color: #f8f9fa;
    border-left: 4px solid #4CAF50;
    padding: 12px 18px;
    border-radius: 6px;
        font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opportunity-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

/* Cards styling improvements */
.advantage-card, .segment-card, .opportunity-card, .service-card {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.advantage-card:hover, .segment-card:hover, .opportunity-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.advantage-icon, .segment-icon, .opportunity-icon, .service-icon {
        font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
}

.advantage-card h3, .segment-card h3, .opportunity-card h3, .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p, .segment-card p, .opportunity-card p, .service-card p {
    font-size: 1.1rem;
        line-height: 1.6;
    }

/* Grids spacing improvements */
.advantages-grid, .segments-grid, .opportunities-grid, .services-grid {
    gap: 25px; /* More space between grid items */
    margin-bottom: 40px;
}

/* Lists styling */
.segment-list, .opportunity-list {
    list-style-type: none;
    padding-left: 5px;
    margin-bottom: 25px;
}

.segment-list li, .opportunity-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.segment-list li:before, .opportunity-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
        font-size: 1.3rem;
    }

/* Stories section improvements */
.stories-content {
    margin-bottom: 30px;
}

.stories-table {
    margin: 25px 0 35px;
}

.story-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.story-company {
    width: 30%;
    font-size: 1.15rem;
    padding-right: 20px;
}

.story-description {
    width: 70%;
    font-size: 1.1rem;
        line-height: 1.6;
    }

/* Certifications section improvements */
.certifications-content {
    margin-bottom: 30px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0 35px;
}

.certification-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.certification-icon {
        font-size: 1.4rem;
    margin-right: 15px;
    color: #4CAF50;
    }

.certification-text {
        font-size: 1.1rem;
    font-weight: 500;
}

/* Key segments section improvements */
.key-segments {
    margin-bottom: 60px;
}

.key-segments .section-title {
    margin-bottom: 35px;
}

.key-segments .segments-content {
    margin-bottom: 30px;
}

.subsectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.subsector-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subsector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.subsector-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.subsector-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.subsector-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
        margin: 0;
}

.subsector-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.subsector-opportunities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Market trends section improvements */
.market-trends {
    margin-bottom: 60px;
}

.trends-content {
    margin-bottom: 30px;
}

.trends-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.trends-content li {
    font-size: 1.15rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Strategic advantages improvements */
.strategic-advantages {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .subsectors-grid, .advantages-grid, .segments-grid, .opportunities-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .subsector-header {
        flex-direction: column;
        text-align: center;
    }
    
    .subsector-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .sector-content h2, .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .segments-content h3, .opportunities-content h3 {
        font-size: 1.5rem;
    }
    
    .sector-hero h1 {
        font-size: 2.2rem;
    }
    
    .sector-hero p {
        font-size: 1.2rem;
    }
}

/* Center all page titles */
.section-title, 
.sector-content h2, 
.key-segments h2,
.market-opportunities h2,
.strategic-advantages h2,
.market-trends h2,
.energy-services h2,
.metal-services h2,
.retail-services h2,
.plastics-services h2,
.success-stories h2,
.certifications h2,
.industry-clusters h2 {
    text-align: center;
}

/* Services section styling (unified) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

/* Key Services header styling */
.opportunities-header h3 {
    text-align: center;
}

/* Service section containers */
.energy-services,
.metal-services,
.retail-services,
.plastics-services,
.wood-services,
.finance-services,
.ict-services,
.agriculture-services {
    margin-bottom: 60px;
}

.services-content {
        text-align: center;
    margin-bottom: 30px;
}

/* Section background alternating colors */
section:nth-of-type(odd) {
    background-color: #f8f9fa;
}

section:nth-of-type(even) {
    background-color: #ffffff;
}

/* Add some padding to sections */
section {
    padding: 80px 0;
}

/* Update Sectors section */
.sectors {
    background-color: #1a2642;
    background-image: 
        radial-gradient(circle at 50% 50%, 
            rgba(255, 255, 255, 0.05) 1px, 
            transparent 1px
        );
    background-size: 30px 30px;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.sectors .section-title {
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.sectors .services-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    position: relative;
    z-index: 2;
}

/* Ensure consistent background */
section.sectors:nth-of-type(odd),
section.sectors:nth-of-type(even) {
    background-color: #1a2642;
    background-image: 
        radial-gradient(circle at 50% 50%, 
            rgba(255, 255, 255, 0.05) 1px, 
            transparent 1px
        );
    background-size: 30px 30px;
}

.sectors .service-card {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

/* Set specific ordee for sector cards */
.sectors .service-card:nth-child(4) {
    order: 1; /* ICT & Technology
 */
}

.sectors .service-card:nth-child(8) {
    order: 2; /* Wood Processing & Prefab Housing & Prefab Housing */
}

.sectors .service-card:nth-child(2) {
    order: 3; /* Energy */
}

.sectors .service-card:nth-child(1) {
    order: 4; /* Agriculture */
}

.sectors .service-card:nth-child(5) {
    order: 5; /* Metal Processing */
}

.sectors .service-card:nth-child(6) {
    order: 6; /* Plastics */
}

.sectors .service-card:nth-child(3) {
    order: 7; /* Finance */
}

.sectors .service-card:nth-child(7) {
    order: 8; /* Retail */
}

/* Make sector cards more prominent */
.sectors .service-card {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sectors .service-card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.sectors .service-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.sectors .service-card p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Diaspora background color to match logo */
.diaspora {
    background: var(--primary-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.diaspora::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.97) 0%, rgba(0, 32, 54, 0.95) 100%);
    z-index: 1;
}

.diaspora .section-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.diaspora-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.diaspora-info {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

    .diaspora-info h3 {
    color: var(--primary-color);
        font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.diaspora-info p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.diaspora-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.feature {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.diaspora-cta {
    text-align: center;
    margin-top: 40px;
}

.diaspora-cta .btn-primary {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.973);
    color: rgba(0, 23, 77, 0.973);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 43, 73, 0.2);
}

.diaspora-cta .btn-primary:hover {
    background: rgba(0, 23, 77, 0.973);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
}

@media (max-width: 992px) {
    .diaspora-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diaspora-info {
        padding: 30px;
}

.diaspora-info h3 {
    font-size: 2rem;
    }
}

@media (max-width: 768px) {
.diaspora {
        padding: 60px 0;
}

.diaspora .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
}

.diaspora-info h3 {
        font-size: 1.8rem;
}

.diaspora-info p {
        font-size: 1rem;
    }
    
    .diaspora-features {
        grid-template-columns: 1fr;
        gap: 20px;
}

.feature {
        padding: 25px;
    }
    
    .diaspora-cta .btn-primary {
        padding: 1rem 2.4rem;
        font-size: 1rem;
    width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
.diaspora {
        padding: 40px 0;
}

.diaspora .section-title {
        font-size: 2rem;
    }
    
    .diaspora-info {
        padding: 25px;
}

.diaspora-info h3 {
        font-size: 1.6rem;
    }
    
    .feature i {
        font-size: 2rem;
    }
    
    .feature h4 {
        font-size: 1.2rem;
    }
}

.cta .btn-primary {
    background: rgba(255, 255, 255, 0.973);
    color: rgba(0, 23, 77, 0.973);
    box-shadow: 0 4px 15px rgba(0, 43, 73, 0.2);
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
    background: rgba(0, 23, 77, 0.973);
    color: rgba(255, 255, 255, 0.973);
}