@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --primary-color: #032A63;
    --secondary-color: #1d335e;
    --accent-color: #364c78;
    --light-color: #fff;
    --dark-color: #000;
    --light-gray: #f8f9fa;
    --accent-blue: #0056b3;
    --button-hover: #17294d;
    --gradient-white-start: rgba(255, 255, 255, 0.1);
    --gradient-white-end: rgba(250, 250, 250, 0.9);
    --box-shadow-light: 0 4px 12px color(rgb 0 0 0 / 0.1);
    --text-dark: #212529;
    --overlay-color: rgba(0, 0, 0, 0.5);
    --content-width: 60%;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --frame-gap: 2px;
    --primary: #005BBB;
    --primary-dark: #004598;
    --secondary: #032963;
    --accent: #FFD15C;
    --light: #f8f9fa;
    --dark: #222;
    --text: #333;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --primary-color: #032A63;
    --secondary-color: #1d335e;
    --accent-color: #364c78;
    --light-bg: #f8f9fa;
    --dark-bg: #0a192f;
    --text-dark: #333;
    --text-light: #fff;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
color: var(--primary-text);
overflow-x: hidden;         
padding: 0;
margin: 0;
line-height: 1.5;
font-size: 15px;
font-family: Manrope, Poppins;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
width: 16px;
}

body::-webkit-scrollbar-track {
background-color: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
background-color: var(--primary-color);
border-radius: 20px;
border: 4px solid #f1f1f1;
background-clip: content-box;
}

body::-webkit-scrollbar-thumb:hover {
background-color: var(--primary-dark);
background-clip: content-box;
}

h1,h2.h3.h4,h5,h6{ 
font-size: 2rem; 
font-weight: 700; 
margin-bottom: 1rem; 
}

p { 
font-size: 1.125rem;
margin-bottom: 1rem; 
}


@media (max-width: 768px) {
    .video-container {
        height: 100vh;
    }
    
    .grid-text h2 {
        font-size: 1.2rem;
    }
    
    .bordered-grid {
        flex-wrap: wrap;
    }
    
    .grid-column {
        flex: 0 0 50%;
        height: 50%;
    }
    
    .hidden-content {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 6px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .video-container {
        height: 100vh;
    }
}

.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 15px;
}

.content-card {
    display: flex;
    flex-direction: row;
    border-radius: 8px;
    overflow: hidden;
}

.image-section {
    flex: 1;
    display: flex;
    padding: 15px;
    min-height: 400px;
}

.rounded-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.rounded-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.text-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.foundation-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.foundation-tagline {
    color: white;
    font-size: .7rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.foundation-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.sector-highlight {
    font-weight: 500;
}


.button-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.explore-btn {
    background-color: var(--accent-blue);
    color: var(--light-color);
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.explore-btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    color: var(--light-color);
}

.explore-btn:active {
    transform: translateY(0);
}

.landing-content {
    padding-top: 550px;
    min-height: 1500px;
    background: linear-gradient(to bottom, var(--gradient-white-start), var(--gradient-white-end));
}

@media (max-width: 991.98px) {
    .content-card {
        flex-direction: column;
    }
    
    .image-section {
        width: 100%;
        aspect-ratio: 16/9;
        min-height: auto;
        padding: 12px;
    }
    
    .text-section {
        width: 100%;
        padding: 1.75rem;
    }
    
    .foundation-title {
        font-size: 1.6rem;
    }
    
    .landing-content {
        padding-top: 750px;
    }
}

@media (max-width: 767.98px) {
    .main-container {
        margin: 1rem auto;
    }
    
    .text-section {
        padding: 1.25rem;
    }
    
    .foundation-title {
        font-size: 1.4rem;
    }
    
    .foundation-tagline {
        font-size: 0.95rem;
    }
    
    .landing-content {
        padding-top: 650px;
    }
}

@media (max-width: 575.98px) {
    .image-section {
        padding: 8px;
    }
    
    .text-section {
        padding: 1rem;
    }
    
    .foundation-title {
        font-size: 1.3rem;
    }
    
    .landing-content {
        padding-top: 600px;
    }
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-height {
    height: 60vh;
}

.carousel-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: var(--light-color);
    z-index: 10;
    width: 80%;
}

.slide-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-size: 2rem;
}

.slide-subtitle {
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-size: calc(1rem + 0.5vw);
    opacity: 0.9;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var( --secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var( --light-color);
    border: none;
}

.carousel-slide-1 {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/carousel_1.png');
}

.carousel-slide-2 {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/carousel_2.png');
}

.carousel-slide-3 {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/carousel_3.png');
}

.carousel-slide-4 {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/carousel_4.png');
}

@media (max-width: 768px) {
    :root {
        --content-width: 80%;
    }
    
    .slide-content {
        right: 2%;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.dashboard-container {
    max-width: 1140px;
    margin: 0 auto;
    background-color: transparent;
}

.custom-card {
    border-radius: 20px;
    border: none;
    height: 100%;
    overflow: hidden;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.custom-card.padding-4 {
    padding: 1.5rem;
}

.card-description {
    flex-grow: 1;
    margin-bottom: 3rem; /* Space for the button */
}

.custom-card .explore-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.primary-background {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.secondary-background {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.accent-background {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.light-background {
    background-color: #93A4BC;
}

.light-gray-background {
    background-color: var(--light-gray);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.small-title {
    font-size: 0.9rem;
    opacity: 0.7;
}

.progress-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-blue) 0% 75%, var(--light-gray) 75% 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-color);
}

.progress-text {
    position: relative;
    z-index: 2;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.topic-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.growth-positive {
    color: #4CD964;
    font-weight: bold;
}

.card-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 10px;
}

.split-card {
    display: flex;
    height: 100%;
}

.split-content {
    flex: 1;
    padding: 1.5rem;
    position: relative;
    min-height: 250px;
}

.split-content .explore-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.graph-container {
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 10px;
}

.bar {
    width: 16px;
    border-radius: 4px 4px 0 0;
    background-color: var(--accent-blue);
}

.bar-1 { height: 40%; }
.bar-2 { height: 65%; }
.bar-3 { height: 85%; }
.bar-4 { height: 60%; }
.bar-5 { height: 75%; }
.bar-6 { height: 50%; }

.custom-card.light-background.padding-4 {
    padding: 1.5rem;
}

.custom-card.primary-background.padding-0,
.custom-card.light-background.padding-0,
.custom-card.secondary-background.padding-0,
.custom-card.accent-background.padding-0 {
    padding: 0;
}

.split-image-transportation {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/Picture_one.png');
}

.split-image-healthcare {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/Picture_two.png');
}

.split-image-smart-city {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/Picture_three.png');
}

.split-image-digital-transformation {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/Picture_four.png');
}

.partners-section {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 0;
    background: white;
}

.partners-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    width: 80%;
}

.partner-item {
    text-align: center;
    padding: 10px;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.partner-item img:hover {
    transform: scale(1.05);
}



.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 10%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.21);
}

.video-container-mobile {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.mobile-grid {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: 90px;
}

.mobile-grid-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background: #0f73b1;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: white;
    text-decoration: none;
}


.hero-section {
    background: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/home/background.png') no-repeat center center;
    background-size: cover;
    min-height: 90vh;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}


.logo {
    height: 28px;
}

.hero-section {
    padding: 2rem 0 0; /* Remove bottom padding to align with frames */
    position: relative;
}

.award-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.award-badge img {
    width: 20px;
    margin-right: 10px;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 500;
    line-height: 2;
    margin-top: 1.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: rgb(255, 255, 255);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: -40px;
    opacity: 0.9;
    color: white;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #c9e342;
}

/* Video section */
.video-container {
    position: relative;
    margin-top: 5rem;
    height: 500px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

/* The actual video that will be hidden */
.main-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
}

/* Frame containers */
.frames-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    height: 90%;
    position: relative;
    padding: 0;
}

/* Individual frames */
.frame {
    width: calc(21.5% - var(--frame-gap) * 0.8);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: visible; /* Keep tooltip visible */
    margin: 0 calc(var(--frame-gap) / 2);
    position: relative;
    height: 100%;
    border: 2px solid var(--accent-color);
}

/* Special styling for the first and last frames */
.frame:first-child {
    transform: translateY(60px);
    height: calc(100% - 60px);
    width: 17%; /* Half width */
    border-top-left-radius: 0;
    margin-left: 0;
    position: relative;
    left: 0;
}

.frame:last-child {
    transform: translateY(60px);
    height: calc(100% - 60px);
    width: 17%; /* Half width */
    border-top-right-radius: 0;
    margin-right: 0;
    position: relative;
    right: 0;
}

/* Arc positioning - maintain full height relative to container */
.frame:nth-child(2) {
    transform: translateY(30px);
    height: calc(100% - 30px);
}
.frame:nth-child(3) {
    transform: translateY(0);
    height: 100%;
}
.frame:nth-child(4) {
    transform: translateY(30px);
    height: calc(100% - 30px);
}

/* Each frame shows a specific region of the video */
.frame-content {
    position: relative;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: visible;
    clip-path: inset(0 0 0 0 round 20px 20px 0 0);
}

/* Special handling for first and last frames */
.frame:first-child .frame-content {
    clip-path: inset(0 0 0 0 round 0 20px 0 0);
}

.frame:last-child .frame-content {
    clip-path: inset(0 0 0 0 round 20px 0 0 0);
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.frame-button:hover ~ .frame-overlay {
    opacity: 1;
}

.frame-button:hover + .tooltip {
    opacity: 1;
    z-index: 11;
}

/* The cloned video elements inside each frame */
.frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

@media (max-width: 992px) {
    .hero-headline {
        font-size: 2.8rem;
        max-width: 500px;
    }
    
    .video-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.3rem;
        max-width: 400px;
    }
    
    .video-container {
        height: 520px;
    }
    
    .frames-wrapper {
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
    }
    
    .frame {
        width: calc(30% - var(--frame-gap));
        height: 160px;
        margin-bottom: var(--frame-gap);
        margin-left: calc(var(--frame-gap) / 2);
        margin-right: calc(var(--frame-gap) / 2);
    }
    
    /* Reset arc positioning for smaller screens */
    .frame:nth-child(1),
    .frame:nth-child(2),
    .frame:nth-child(3),
    .frame:nth-child(4),
    .frame:nth-child(5) {
        transform: translateY(0);
        height: 160px;
    }
    
    /* Make first and last frames half width on mobile */
    .frame:nth-child(1) {
        width: 15%;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin-left: 0;
    }
    
    .frame:nth-child(5) {
        width: 15%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: 0;
    }
    
    /* Adjusted positioning for smaller screens */
    .frame:nth-child(1) .frame-content,
    .frame:nth-child(2) .frame-content,
    .frame:nth-child(3) .frame-content {
        left: calc(-100% * (1 - 1));
    }
    
    .frame:nth-child(4) .frame-content,
    .frame:nth-child(5) .frame-content {
        left: calc(-100% * (4 - 3));
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .video-container {
        height: auto;
    }
    
    .frames-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .frame {
        width: 90%;
        height: 200px;
        margin-bottom: var(--frame-gap);
        border-radius: 20px;
    }
    
    /* For mobile, make first and last frames full width but shorter */
    .frame:nth-child(1) {
        width: 90%;
        height: 100px;
        border-radius: 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-bottom: 0;
    }
    
    .frame:nth-child(5) {
        width: 90%;
        height: 100px;
        border-radius: 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-top: 0;
    }
    
    /* Adjust content positioning for mobile */
    .frame-content {
        width: 100%;
        height: 500%;
    }
    
    .frame:nth-child(1) .frame-content {
        left: 0;
        top: 0;
    }

    .frame:nth-child(2) .frame-content {
        left: 0;
        top: -100%;
    }

    .frame:nth-child(3) .frame-content {
        left: 0;
        top: -200%;
    }

    .frame:nth-child(4) .frame-content {
        left: 0;
        top: -300%;
    }
    
    .frame:nth-child(5) .frame-content {
        left: 0;
        top: -400%;
    }
}

.frame-button {
position: absolute;
bottom: 120px;
left: 50%;
transform: translateX(-50%);
background-color: rgba(255, 255, 255, 0.696);
color: #032A63;
border: none;
padding: 0.5rem 1rem;
border-radius: 10px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
z-index: 10; /* Ensure the button is above the video */
width: 120px; /* Fixed width for all buttons */
height: 40px; /* Fixed height for all buttons */
display: flex;
align-items: center;
justify-content: center;
font-size: 10px; /* Consistent font size */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.frame-button:hover {
transform: translateX(-50%) translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
background-color: #032A63;
color: white;
border: none;
}

.tooltip {
position: absolute;
bottom: 180px; /* Adjusted position */
left: 50%;
transform: translateX(-50%);
background-color: transparent; /* Added semi-transparent background */
color: white;
padding: 10px 15px;
border-radius: 8px;
font-size: 13px;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
z-index: 11;
width: 85%; /* Control width relative to frame */
max-width: 200px;
white-space: normal; /* Allow text to wrap */
text-align: center;
line-height: 1.4;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.frame-button:hover + .tooltip {
opacity: 1;
}

@media (max-width: 991px) {
.right-nav {
    width: 100%;
}

}

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

.sectors-section {
    background: linear-gradient(180deg,#03296377 0%, white 100%);
    padding: 4rem 0;
    position: relative;
}


/* Navigation styles */
.nav-container {
    background: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--text-light);
    text-align: start;
}

.logo-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 5px 2px;
}

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

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

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

.contact-button {
    background: var(--accent-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    margin-left: 20px;
    text-decoration: none;
}

.contact-button:hover {
    background: transparent;
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}
/* Preview styles */
.preview-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh !important; /* Reduced from 100vh to prevent overflow */
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
    overflow: hidden;
}

.preview-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 0;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 100%;
}

.preview-content.active {
    display: block;
    opacity: 1;
}

.preview-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: #06c;
}

.preview-description {
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 24px;
    color: #555;
}

.preview-links {
    display: flex;
    gap: 24px;
}

.preview-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.preview-link:hover {
    color: #0066cc;
}

.preview-link::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.preview-link:hover::after {
    transform: translateX(5px);
}

/* Preview backgrounds */
.about-preview { background: linear-gradient(to right, #f9f9f9, #e9f3ff); }
.services-preview { background: linear-gradient(to right, #f9f9f9, #e9fff0); }
.portfolio-preview { background: linear-gradient(to right, #f9f9f9, #fff1e9); }
.contact-preview { background: linear-gradient(to right, #f9f9f9, #f5e9ff); }

/* Responsive styles */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #333;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .contact-button {
        display: none;
    }
    
    .preview-container {
        display: none !important;
    }
}

.oval-container {
    position: relative;
    height: 90vh; /* Reduced height to fit in preview */
    width: auto;
    overflow: hidden;
}

.team-oval {
    position: absolute;
    border-radius: 10px; /* Will be adjusted with different width/height to create oval */
    overflow: hidden;
    transition: all 0.5s ease;
    background-size: cover;
    background-position: center;
}

.team-oval img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Circle background elements */
.circle-bg {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.circle-1 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: 40px;
    background-color:rgba(3, 41, 99, 0.67);
}

.circle-2 {
    width: 100px;
    height: 100px;
    top: -10px;
    right: 200px;
    background-color: rgba(3, 41, 99, 0.74);
}

.about-info h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.about-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.learn-more-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.learn-more-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transform: translateY(-2px);
}

.contact-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  
  .contact-header {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
  }
  
  .contact-header h2 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 2.2rem;
    color: white;
    position: relative;
    z-index: 2;
  }
  
  .contact-header p {
    opacity: 0.9;
    margin-bottom: 0;
    color: white;
    position: relative;
    z-index: 2;
  }
  
  .form-floating {
    margin-bottom: 20px;
  }
  
  .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(3, 42, 99, 0.25);
  }
  
  .btn-submit {
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
  }
  
  .btn-submit:hover {
    transform: translateY(-3px);
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
  }
  
  .social-icons {
    margin-top: 20px;
    position: relative;
    z-index: 2;
  }
  
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
  }
  
  .social-icons a:hover {
    background-color: white;
    color: var(--primary-color);
  }
  
  .contact-info {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
  }
  
  .contact-info p {
    margin-bottom: 5px;
  }
  
  .contact-info i {
    margin-right: 8px;
  }
  
  .animated_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: var(--primary-color);
  }
  
  .floating-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    animation-name: float;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: var(--duration, 15s);
    animation-delay: var(--delay, 0s);
  }
  
  @keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
  }
  
  .success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
  }
  
  .error-message {
    display: none;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
  }
  
  .input-error {
    border-color: #dc3545 !important;
  }
  
  label.error-text {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: -15px;
    margin-bottom: 10px;
    display: none;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 42, 99, 0.7);
    z-index: 1;
  }

  .contact-section {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/consultant_image.png');
    background-size: cover;
    background-position: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-container{
    margin-top: 70px;
    height: 69vh;
  }

  .image-section {
    text-align: center;
    margin: 20px 0;
  }


  .button-container {
    display: flex;
    gap: 15px; /* Adjust spacing between buttons */
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    justify-content: center; /* Or use 'flex-start' for left alignment */
  }

  .hero-section-two {
    position: relative;
    height: 30vh;
    width: 100%;
    overflow: hidden;
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/about_background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    color: white;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 2.5rem; /* Increased font size */
    font-weight: 700; /* Added bold weight */
    animation: fadeInUp 1.2s ease-out forwards; /* Added animation */
}

/* Hero Text Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive text size */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

/* Vision & Mission Section */
.vision-section, .mission-section {
    padding: 3rem 0;
}

.vision-section {
    background-color: var(--primary-color);
}

.mission-section {
    background-color: #ffffff;
}

.icon-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--accent-blue);
    border-radius: 20px;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1); /* Add this line */
}

.icon-box:hover {
    transform: translateY(-10px);
}

.icon-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

.icon-box h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.icon-box p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: #6c757d;
}

.mission-topic{
    color: var(--primary-color) !important;
}

/*products*/

        /* Hero Section */
        .hero-products {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 6rem 0 8rem;
            position: relative;
            overflow: hidden;
        }
        
        .hero-products::before {
            content: '';
            position: absolute;
            width: 1000px;
            height: 1000px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            top: -400px;
            right: -400px;
        }
        
        .hero-products::after {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            bottom: -200px;
            left: -200px;
        }
        
        .hero-products h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        
        .hero-products h1 span {
            color: var(--accent);
        }
        
        .hero-products p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }
        
        /* Programs Section */
        .programs {
            margin-top: -5rem;
            padding-bottom: 5rem;
            position: relative;
        }
        
        .program-card {
            background-color: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            height: 100%;
            cursor: pointer;
            transform: translateY(0);
        }
        
        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .program-image {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
        }
        
        .program-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0 , 0, 0, 0.2), rgba(0 , 0, 0, 0.05));
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .program-card:hover .program-image::before {
            opacity: 1;
        }
        
        .program-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 2;
        }
        
        .program-content {
            padding: 1.5rem;
            position: relative;
        }
        
        .program-title {
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
            color: var(--secondary);
            transition: all 0.3s ease;
        }
        
        .program-card:hover .program-title {
            color: var(--primary);
        }
        
        .program-desc {
            margin-bottom: 1.5rem;
            color: #555;
        }
        
        .badge-empire {
            background-color: transparent;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 10px;
            font-weight: 600;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            display: inline-block;
        }
        
        .badge-success {
            background-color: var(--success);
            color: white;
        }
        
        .badge-warning {
            background-color: var(--warning);
            color: var(--dark);
        }
        
        .badge-danger {
            background-color: var(--danger);
            color: white;
        }
        
        .btn-learn {
            background-color: var(--primary);
            color: white;
            border-radius: 10px;
            padding: 0.6rem 1.5rem;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .btn-learn::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: all 0.5s ease;
            z-index: -1;
        }
        
        .program-card:hover .btn-learn::before {
            left: 100%;
        }
        
        .btn-learn:hover {
            background-color: var(--primary-dark);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 91, 187, 0.3);
        }
        
        /* Featured Program */
        .featured-program {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            position: relative;
            margin-top: 100px;
        }
        
        .featured-badge {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: var(--accent);
            color: var(--secondary);
            padding: 0.5rem 1.5rem;
            border-radius: 10px;
            font-weight: 700;
            z-index: 10;
            transform: rotate(5deg);
            box-shadow: 0 5px 15px rgba(255, 209, 92, 0.4);
        }
        
        .featured-image {
            height: 350px;
            background-size: cover;
            background-position: center;
            position: relative;
            background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/solve_for_x_img.png');
        }

        .vsi_image{
            background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/vsi_img.png')
        }

        .production_image{
            background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/production_house_img.png')
        }
        
        .trust_us_img{
            background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/Trust_us_img.png')
        }

        .enterprice_img{
            background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/micro_enterprice_img.png')
        }

        .featured-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(3, 41, 99, 0.3), rgba(3, 41, 99, 0.8));
        }
        
        .featured-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 2rem;
            color: white;
        }
        
        .featured-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }
        
        .featured-subtitle {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            opacity: 0.9;
            max-width: 80%;
        }
        
        /* Modal Styling */
        .modal-header {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 1.5rem;
        }
        
        .modal-title {
            font-weight: 700;
            font-size: 1.5rem;
        }
        
        .modal-body {
            padding: 2rem;
        }
        
        .modal-body h4 {
            color: var(--secondary);
            font-weight: 700;
            margin: 1.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary);
            display: inline-block;
        }
        
        .modal-body ul {
            padding-left: 1.5rem;
        }
        
        .modal-body li {
            margin-bottom: 0.75rem;
        }
        
        /* Animation */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animated {
            animation: fadeUp 0.5s ease forwards;
        }
        
        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        .delay-5 { animation-delay: 0.5s; }
        
        /* Interactive 3D card effect */
        .tilt-card {
            transform-style: preserve-3d;
            perspective: 1000px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            .featured-title {
                font-size: 2rem;
            }
            .featured-subtitle {
                font-size: 1rem;
                max-width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                padding: 4rem 0 6rem;
            }
            .programs {
                margin-top: -3rem;
            }
            .featured-image {
                height: 250px;
            }
        }
        
        /* Floating elements */
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        /* Particle background */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            display: block;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: moveParticles 3s linear infinite;
        }
        
        @keyframes moveParticles {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 0.8;
            }
            100% {
                transform: translateY(-500px) rotate(360deg);
                opacity: 0;
            }
        }

/*gallery*/


.gallery-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
  }
  
  .gallery-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .category-btn {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 18px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .category-btn:hover {
    background-color: #d0d0d0;
  }
  
  .category-btn.active {
    background-color: var(--primary-color);
    color: white;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  
  .gallery.fade {
    opacity: 0;
  }
  
  .gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
  }
  
  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover .item-caption {
    transform: translateY(0);
  }
  
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .lightbox.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .lightbox-content {
    max-width: 100%;
    max-height: 100%;
  }
  
  .lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border: 5px solid white;
  }
  
  .lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
  }
  
  .close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
  }

  .info{
    font-size: 1rem;
  }

  /*CSI PAGE*/
        /* Hero section */
        .hero-section-csi {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--text-light);
            padding: 80px 0 50px;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section-csi::before {
            content: '';
            position: absolute;
            width: 150%;
            height: 100px;
            background: #f5f7fa;
            bottom: -50px;
            left: -25%;
            border-radius: 100%;
        }
        
        .hero-title-csi {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInUp 1s ease-out;
        }
        
        .hero-title-csi span {
            color: var(--accent-color);
        }
        
        .hero-description-csi {
            max-width: 700px;
            margin: 0 auto 30px;
            font-size: 1.1rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.2s;
            animation-fill-mode: both;
        }
        
        /* CSI Initiatives Container */
        .csi-container {
            max-width: 1000px;
            margin: 0 auto 70px;
            padding: 0 20px;
        }
        
        .section-title-csi {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .section-title-csi::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background: var(--accent-color);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .card-csi {
            background: white;
            border-radius: 15px;
            border: none;
            overflow: hidden;
            margin-bottom: 30px;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }
        
        .card-csi:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(3, 42, 99, 0.15);
        }
        
        .card-header-csi {
            background: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 20px 25px;
            cursor: pointer;
            position: relative;
        }
        
        .card-header-csi h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-color);
            margin: 0;
            padding-right: 30px;
        }
        
        .card-header-csi .icon {
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent-color);
            transition: var(--transition);
        }
        
        .card-body-csi {
            padding: 25px;
            background-color: #f9fafc;
            border-bottom-left-radius: 15px;
            border-bottom-right-radius: 15px;
        }
        
        .highlight-csi {
            color: var(--accent-color);
            font-weight: 600;
        }
        
        .initiative-img-csi {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        
        .card-list-csi {
            padding-left: 20px;
        }
        
        .card-list-csi li {
            margin-bottom: 10px;
            position: relative;
        }
        
        .card-list-csi li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--accent-color);
            position: absolute;
            left: -20px;
        }

        /* For the dropdown functionality */
        .collapse-csi:not(.show) {
            display: none;
        }
        
        .collapse.show {
            display: block;
        }
        
        /* Footer */
        .footer {
            background: var(--dark-bg);
            padding: 70px 0 20px;
            color: var(--text-light);
            position: relative;
        }
        
        .footer-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--accent-color);
            bottom: 0;
            left: 0;
        }
        
        .footer-link {
            display: block;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 10px;
            transition: var(--transition);
            text-decoration: none;
        }
        
        .footer-link:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }
        
        .footer-bottom {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
            transition: var(--transition);
        }
        
        .social-icon:hover {
            background: var(--accent-color);
            transform: translateY(-5px);
        }
        
        /* Back to top */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--accent-color);
            color: var(--text-light);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: var(--transition);
            z-index: 99;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }
        
        .back-to-top.active {
            opacity: 1;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .nav-wrapper {
                padding: 0 20px;
            }
            .nav-list {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background: var(--dark-bg);
                padding: 20px 0;
                z-index: 10;
            }
            .nav-list.active {
                display: flex;
            }
            .nav-item {
                margin: 10px 0;
            }
            .mobile-toggle {
                display: block;
            }
            .contact-button {
                margin-left: 0;
            }
            .nav-menu {
                flex-direction: column;
            }
        }
        
        @media (max-width: 768px) {
            .hero-title-csi {
                font-size: 2.2rem;
            }
            .footer-col {
                margin-bottom: 30px;
            }
        }


/*impact*/

.bg-primary {
    background-color: var(--primary-color) !important;
  }
  
  .text-primary {
    color: var(--primary-color) !important;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .hero-section-impact {
    background: linear-gradient(135deg, var(--primary-color), #032A63);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .hero-section-impact::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/solve_for_x_img.png');
    background-size: cover;
    opacity: 0.3;
  }
  
  .stat-card {
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: white;
    height: 100%;
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .icon-wrapper {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  
  .partner-card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
  }
  
  .partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  
  .partner-card .card-body {
    padding: 2rem;
  }
  
  .partner-card .card-title-impact {
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.35rem;
  }
  
  .partner-card .card-title-impact::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
  }
  
  .initiatives-section {
    background-color: var(--light-gray);
    position: relative;
  }
  
  .section-title {
    font-weight: 400;
    position: relative;
    margin-bottom: 2.5rem;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background-color: var(--primary-color);
  }
  
  .cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('/api/placeholder/1200/600');
    background-size: cover;
    opacity: 0.1;
  }
  
  .btn-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  .lead {
    font-size: 1.25rem;
    font-weight: 300;
  }
  
  @media (max-width: 768px) {
    .stat-number {
      font-size: 2.5rem;
    }
    
    .hero-section-impact,
    .cta-section {
      padding: 4rem 0;
    }
  }

  /*tech awards*/

  .techawards-bg {
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/award_background.png');
    background-size: cover;       /* or 'contain' depending on your needs */
    background-position: center; /* adjusts the image position */
    background-repeat: no-repeat;
    min-height: 600px;           /* or whatever height you need */
    width: 100%;
}

.award-text{
    background-image: url('https://empirewebvideos.s3.us-east-1.amazonaws.com/websites/empire/images/tech-award-text.png');
    background-size: contain;       /* or 'contain' depending on your needs */
    background-position: center; /* adjusts the image position */
    background-repeat: no-repeat;
    min-height: 600px;           /* or whatever height you need */
    width: 100%;
}

.tech-awards-section {
    background-color: #1e1e1e; /* Replace with your BG image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0; /* Adjust padding as needed */
    position: relative;
    color: #e4cc8a;
}

/* Optional: Overlay for better text readability (if BG is too busy) */
.tech-awards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust opacity (0.3 = 30% dark overlay) */
    z-index: 0;
}

.techawards-text, .award-video {
    position: relative;
    z-index: 1;
}

/* Video styling */
.award-video video {
    border-radius: 8px; /* Optional: Rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Optional: Subtle shadow */
    width: 100%; /* Ensures video fills container */
}

/* Past Awards Section Styling */
.past-awards-section {
    position: relative;
    background-color: #151515 !important; /* Replace with your BG image */
    color: #e4cc8a;
}

/* YouTube Embed Styling */
.past-awards-section iframe {
    border-radius: 12px; /* Stronger rounding than default */
    transition: transform 0.3s ease; /* Hover effect */
}

.past-awards-section iframe:hover {
    transform: scale(1.02); /* Slight zoom on hover */
}

/*small devices*/
@media (max-width: 767.98px){
    .hero-headline{
        margin-top: 200px !important;
    }

    .logo-title{
        font-size: 12px;
    }
    .logo-subtitle{
        font-size: 6px;
    }

    .mobile-toggle {
        position: fixed; /* Lock in place */
        right: 20px;    /* 20px from right */
        z-index: 9999;  /* Ensure it's always on top */
        width: 50px;
        height: 50px;
        color: white;
        border-radius: 50%;
        display: grid;
        place-items: center;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        border: none;
        cursor: pointer;
      }
      
      .animated{
        font-size: 25px !important;
      }

      .delay-1{
        font-size: 15px !important;
      }

      .featured-badge{
        width: 100px;
        font-size: 10px !important;
      }

      .contact-section{
        height: 150vh !important;
      }

      .contact-section h2{
        font-size: 25px !important;
      }

      .contact-section p{
        font-size: 15px !important;
      }
}

@media (min-width: 992px) {
    .frames-wrapper {
        top: 4rem;  /* px-5 equivalent */
    }
}

/* Optional: Extra large (xl) screens adjustment */
@media (min-width: 1200px) and (max-width: 1599px) {
    .frames-wrapper {
        top: 4rem;  /* px-5 equivalent */
    }
}

@media screen and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait)  {
    .contact-section{
        height: 100vh !important;
    }
}

/*Meet the team*/

.team-section {
    background-color: var(--primary-color);
    padding: 50px 120px;
    color: var(--text-color);
}

.team-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-section-header h2 {
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.team-section-header h2::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 3px;
    bottom: -10px;
    left: 15%;
    background-color: var(--accent-color);
}

.team-member-card {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.team-member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.team-member-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.9);
    transition: all 0.3s ease;
}

.team-member-card:hover .team-member-image {
    filter: grayscale(0%) brightness(1);
}

.team-member-info {
    padding: 25px;
    background-color: var(--secondary-color);
    text-align: center;
}

.team-member-name {
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 20px;
}

.team-member-role {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    font-size: 13px
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-member-social a {
    color: var(--text-color);
    font-size: 22px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.team-member-social a:hover {
    color: var(--accent-color);
}

.solve-card {
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 15px;
    height: 100%;
}
        
.solve-card:hover {
    transform: translateY(-5px);
}

/*Donation page*/

        /* Additional styles for the program cards and sections */
        .donate-card-custom {
            border-radius: 17px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .donate-card-custom:hover {
            transform: translateY(-10px);
        }

        .donate-card-img-top {
            height: 200px;
            border-radius: 17px;
        }
        
        .donate-object-fit-cover {
          height: 100vh;
          width: 100vw;
        }

        .donate-hero-content-overlay {
          top: 70%;
          left: 50%;
          transform: translate(-50%, -50%);
          border-radius: 17px;
          width: 80%;
        }

        .donate-card-title{
            font-size: 1.1rem;
        }

        .donate-card-text{
            font-size: 0.9rem;
            color: #555;
        }
        
        .donate-overlay-text {
            bottom: 20px;
            left: 20px;
        }

        .donate-overlay-text p {
            margin: 5px 0 0 0;
            opacity: 0.9;
        }

        .donate-btn-primary{
            border-radius: 12px !important;
            padding: 10px;
            font-size: 15px;
        }
@media (max-width: 768px) {
    .team-section {
        padding: 40px 0;
    }
}

.donation_background {
  background: linear-gradient(to bottom, #0a192f 50%, white 100%);
}