/* Infrastructure Projects Page Styles
========================================================================== */

/* Base Styles & Variables */
:root {
    --primary-color: #ff0000;
    --primary-light: #ff3333;
    --primary-dark: #cc0000;
    --dark-color: #0a0a0a;
    --darker-color: #000000;
    --dark-gray: #111111;
    --dark-gray-light: #181818;
    --light-gray: #f5f5f5;
    --text-color: #ffffff;
    --text-light: #ffffff;
    --text-dark: #cccccc;
    --accent-color: #ff9900;
    --font-primary: 'Poppins', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--darker-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-light);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.red-line {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 4px;
}

/* SVG Animations */
.svg-animation-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.animated-svg {
    position: absolute;
    opacity: 0.15;
    transform-origin: center;
}

.svg-gear {
    width: 100px;
    height: 100px;
    animation: rotate 20s linear infinite;
}

.svg-gear-small {
    width: 60px;
    height: 60px;
    animation: rotate-reverse 15s linear infinite;
}

.svg-circuit {
    width: 300px;
    height: 300px;
    animation: pulse-fade 8s ease-in-out infinite alternate;
}

.svg-data-flow {
    width: 100%;
    height: 100%;
    animation: data-pulse 10s ease-in-out infinite;
}

.svg-construction {
    width: 150px;
    height: 150px;
    animation: float-bounce 6s ease-in-out infinite alternate;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

@keyframes pulse-fade {
    0%, 100% {
        opacity: 0.05;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.05);
    }
}

@keyframes data-pulse {
    0%, 100% {
        stroke-dashoffset: 1000;
        stroke: rgba(255, 0, 0, 0.3);
    }
    50% {
        stroke-dashoffset: 0;
        stroke: rgba(255, 255, 255, 0.5);
    }
}

@keyframes float-bounce {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Data Circuit Animation */
.circuit-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 2px;
    width: 100%;
    transform-origin: left;
    animation: circuit-flow 5s linear infinite;
}

.circuit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes circuit-flow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Buttons */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.primary-btn:hover::before {
    left: 100%;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-fast);
    border: 2px solid var(--text-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-light);
    transition: var(--transition-fast);
    z-index: -1;
}

.secondary-btn:hover {
    color: var(--dark-color);
    transform: translateY(-2px);
}

.secondary-btn:hover::before {
    left: 0;
}

.btn-text {
    margin-right: 0.5rem;
}

.btn-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.primary-btn:hover .btn-icon, 
.secondary-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Hero Section Stats */
.hero-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Hero Section - New MCT-style */
.ip-hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--darker-color);
    color: var(--text-light);
    overflow: hidden;
    padding: 120px 0 80px;
}

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

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(40, 0, 0, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(70px);
}

.shape1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 0, 0, 0.08);
    animation: orbFloat 20s infinite alternate ease-in-out;
}

.shape2 {
    bottom: 5%;
    left: 10%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 0, 0, 0.05);
    animation: orbFloat 15s infinite alternate-reverse ease-in-out;
}

.shape3 {
    top: 40%;
    left: 20%;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 0, 0, 0.03);
    animation: orbFloat 25s infinite alternate ease-in-out;
}

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

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    padding-right: 20px;
    max-width: 600px;
}

.badge-container {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    animation: badgePulse 2s infinite alternate;
}

.animated-heading {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
    overflow: hidden;
    /* text-transform: uppercase; */
    letter-spacing: -1px;
}

.animated-heading .text-line {
    text-align: left;
    display: block;
    position: relative;
    overflow: hidden;
}

.animated-heading .text-line:not(:last-child) {
    margin-bottom: 5px;
}

/* .animated-heading .text-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: lineExpand 1.5s forwards;
} */

@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.accent-text {
    font-size: 4.0rem;
    position: relative;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.accent-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(5px);
    opacity: 0.5;
}

.text-reveal {
      /* display: block; */
      position: relative;
      font-size: 4.0rem;
      font-weight: 700;
      line-height: 4.3rem;
}




.title-text {
    color: #ff0000;
    font-size: 4.0rem;
    position: relative;
    display: inline-block;
}

/* .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 0, 0, 0.3);
    z-index: -1;
    transform: translateY(-5px);
    animation: highlightPulse 2s infinite alternate;
} */

@keyframes highlightPulse {
    0% {
        opacity: 0.3;
        background-color: rgba(255, 0, 0, 0.3);
    }
    100% {
        opacity: 0.6;
        background-color: rgba(255, 0, 0, 0.5);
    }
}

/* Section Header Styles */
.section-header h2.animated-heading {
    padding: auto;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    
}

.section-header h2.animated-heading::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.section-header h2.animated-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    animation: headerLinePulse 2s infinite alternate;
}

.hero-description {
    font-size: 1.0rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

/* .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.hero-main-image:hover {
    transform: translateY(-10px);
}

.dashboard-mockup {
    width: 100%;
    height: 400px;
    background-color: rgba(15, 15, 15, 0.5);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateX(0) rotateY(0);
}

.dashboard-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
    z-index: 1;
} */

/* Animations */
@keyframes orbFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes badgePulse {
    0% {
        background: rgba(255, 0, 0, 0.1);
    }
    100% {
        background: rgba(255, 0, 0, 0.2);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    20%, 100% {
        transform: translateX(100%);
    }
}

/* Section Styling */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.glow-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.orb-1 {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 0, 0, 0.1);
    animation: orbFloat 16s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: 15%;
    left: 5%;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 0, 0, 0.08);
    animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    height: 1px;
}

.line-1 {
    top: 30%;
    left: 0;
    width: 100%;
    animation: circuitGlow 7s infinite alternate;
}

.line-2 {
    top: 70%;
    left: 0;
    width: 100%;
    animation: circuitGlow 9s infinite alternate-reverse;
}

.circuit-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    animation: nodeFlash 4s infinite;
}

.node-1 {
    top: 30%;
    left: 25%;
    animation-delay: 0.5s;
}

.node-2 {
    top: 70%;
    right: 35%;
    animation-delay: 1.5s;
}

@keyframes circuitGlow {
    0% {
        opacity: 0.1;
        background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    }
    50% {
        opacity: 0.5;
        background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    }
    100% {
        opacity: 0.1;
        background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    }
}

@keyframes nodeFlash {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.4);
    }
}

/* Sections styling - match the MCT style */
.ip-challenges-section,
.ip-solutions-section,
.ip-benefits-section,
.ip-cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.ip-challenges-section {
    background-color: var(--dark-color);
    color: var(--text-light);
}

.ip-solutions-section {
    background-color: var(--darker-color);
    color: var(--text-light);
}

.ip-benefits-section {
    background-color: var(--dark-color);
    color: var(--text-light);
}

.ip-cta-section {
    background-color: var(--darker-color);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.ip-solutions-section .section-header h2,
.ip-cta-section .section-header h2 {
    color: var(--text-light);
}

.ip-challenges-section .section-header h2,
.ip-benefits-section .section-header h2 {
    color: var(--text-light);
}

.highlight-text {
    color: #ff0000;
    font-weight: 700;
   
    position: relative;
    margin: 0 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ip-solutions-section .section-subtitle,
.ip-cta-section .section-subtitle {
    color: rgb(255, 255, 255);
}

.ip-challenges-section .section-subtitle,
.ip-benefits-section .section-subtitle {
    color: rgb(255, 255, 255);
}

/* Specific additions for new challenge cards */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.challenge-card {
    background: var(--dark-gray-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
    border-bottom: 4px solid transparent;
    text-align: center;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.challenge-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.challenge-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-medium);
}

.challenge-card:hover .challenge-icon {
    background-color: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.challenge-icon svg {
    width: 40px;
    height: 40px;
    transition: var(--transition-fast);
}

.challenge-card:hover .challenge-icon svg {
    transform: scale(1.1);
}

.challenge-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.challenge-card p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Solutions Section */
.solutions-section {
    background-color: var(--dark-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.solutions-section .section-header h2 {
    color: var(--text-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.solution-card {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.7) 0%, rgba(15, 15, 15, 0.7) 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition-medium);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

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

.solution-icon {
    margin-bottom: 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.solution-icon svg {
    height: 80px;
    width: 80px;
    transition: var(--transition-fast);
}

.solution-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 0, 0, 0.3);
    transition: var(--transition-medium);
}

.solution-card:hover .solution-icon::after {
    width: 60px;
    background-color: var(--primary-color);
}

.solution-card:hover .solution-icon svg {
    transform: scale(1.1);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.solution-card:hover h3 {
    color: var(--primary-light);
}

.solution-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--dark-color);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.benefits-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.benefits-image {
    flex: 1;
    max-width: 550px;
    height: 450px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--dark-color);
}

.benefits-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Updated CTA Section for dark theme */
.cta-content {
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.cta-content h2.animated-heading {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .animated-heading {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .animated-heading {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .hero .container {
        padding: 10px;
    }
    
    .hero-container {
        flex-direction: column;
        padding-top: 30px;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-main-image {
        max-width: 90%;
        margin: 20px auto;
    }
    
    .dashboard-mockup {
        height: 350px;
    }
    
    .benefits-grid, .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .ip-hero,
    .ip-challenges-section,
    .ip-solutions-section,
    .ip-benefits-section,
    .ip-cta-section {
        padding: 60px 0;
    }
    
    .animated-heading {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .benefits-cta h3 {
        font-size: 1.5rem;
    }
    
    .benefits-cta-container {
        flex-direction: column;
    }
    
    .benefits-cta-text {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .dashboard-mockup {
        max-width: 90%;
    }
    
    .solution-card,
    .challenge-card,
    .benefit-card {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .ip-hero,
    .ip-challenges-section,
    .ip-solutions-section,
    .ip-benefits-section,
    .ip-cta-section {
        padding: 60px 0;
    }
    
    .animated-heading {
        font-size: 1.7rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .dashboard-mockup {
        height: 250px;
    }
    
    .benefits-cta {
        padding: 30px 20px;
    }
    
    .benefits-cta h3 {
        font-size: 1.3rem;
    }
    
    .cta-content {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
}

/* Benefits cards update */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background-color: var(--dark-gray-light);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-medium);
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    transition: var(--transition-fast);
}

.benefit-card:hover .benefit-icon {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-content {
    flex: 1;
}

.benefit-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.benefits-cta {
    text-align: center;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.benefits-cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.benefits-cta-text {
    flex: 1;
    text-align: left;
}

.benefits-cta-image {
 width: 450px;
 height: 250px;
 filter: blur(0.5px);
}

.cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cta-image:hover {
    transform: scale(1.03);
}



.cta-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    animation: ctaPulse 3s infinite alternate;
}

.benefits-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
    z-index: 1;
}

.btn-glow:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
}

.btn-glow:hover::before {
    left: 100%;
}

@keyframes ctaPulse {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
    }
}

/* Animation for the construction dots */
.construction-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle, rgba(255, 0, 0, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    animation: dots-float 20s linear infinite;
}

@keyframes dots-float {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Add floating elements in the dashboard */
.floating-element {
    position: absolute;
    z-index: 2;
    animation: float-element 6s infinite ease-in-out;
}

.red-square {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 20%;
    background-color: rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    animation-delay: 0.5s;
}

.small-gear {
    width: 30px;
    height: 30px;
    bottom: 20%;
    left: 25%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23ff0000" d="M50,20 L54,35 L65,25 L60,40 L75,40 L65,45 L75,60 L60,55 L65,70 L54,60 L50,75 L46,60 L35,70 L40,55 L25,60 L35,45 L25,40 L40,40 L35,25 L46,35 Z" /><circle cx="50" cy="50" r="10" fill="%23000000" /></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    animation: float-element 5s infinite ease-in-out, rotate 20s linear infinite;
}

.medium-gear {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 30%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23ff0000" d="M50,20 L54,35 L65,25 L60,40 L75,40 L65,45 L75,60 L60,55 L65,70 L54,60 L50,75 L46,60 L35,70 L40,55 L25,60 L35,45 L25,40 L40,40 L35,25 L46,35 Z" /><circle cx="50" cy="50" r="10" fill="%23000000" /></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    animation: float-element 7s infinite ease-in-out, rotate-reverse 15s linear infinite;
}

@keyframes float-element {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}



/* Text reveal animation */
.text-reveal {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000;
    animation: text-reveal 1.5s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes text-reveal {
    0% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}
