/* Why Kenya - Economic Outlook page specific styles
 *
 * Paste your /why-kenya/economic-outlook/styles.css contents here.
 */
/* Economic Outlook Page Specific Styles */
:root {
   --primary-color: #203557;
   --secondary-color: #719976;
   --black-color: #000000;
   --white-color: #ffffff;
   --gray-color: #808080;
   --dark-gray-color: #424242;
   --light-black-color: #212121;
   --light-white-color: #f5f5f5;
   --darker-white-color: #f9f9f9;
   --text-color: #212121;
   --dark-teal: #2c5f5f;
 }
 
 .main.economic-outlook-page {
   width: 100%;
   height: 100%;
   overflow-x: hidden;
 }
 
 /* Hero Section */
 .economic-hero {
   width: 100%;
   height: 500px;
   max-height: 80vh;
   position: relative;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, #2c5f5f 0%, #1a3d3d 100%);
 }
 
 .hero-background {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 1;
 }
 
 .hero-background img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }
 
 .world-map-video {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 450px;
   height: 450px;
   z-index: 1;
 }
 
 /* World Map Background */
 .world-map-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 0.3;
   z-index: 3;
 }
 
 .world-lottie {
   width: 100%;
   height: 100%;
   position: relative;
 }
 
 /* Video Background */
 .world-map-video {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.6;
   z-index: 0;
 }
 
 /* Bar Chart Container */
 .bar-chart-container {
   position: absolute;
   bottom: -25%;
   left: 50%;
   transform: translateX(-50%);
   width: 100%;
   height: 500px;
   opacity: 0.8;
   rotate: -0deg;
 
   z-index: 2;
 }
 
 .bar-chart {
   width: 100%;
   height: 100%;
 }
 
 .bar-group {
   animation: barGrow 2s ease-out forwards;
   transform-origin: bottom;
   transform: scaleY(0);
 }
 
 .bar-group[data-bar="1"] {
   animation-delay: 0.2s;
 }
 .bar-group[data-bar="2"] {
   animation-delay: 0.4s;
 }
 .bar-group[data-bar="3"] {
   animation-delay: 0.6s;
 }
 .bar-group[data-bar="4"] {
   animation-delay: 0.8s;
 }
 .bar-group[data-bar="5"] {
   animation-delay: 1s;
 }
 .bar-group[data-bar="6"] {
   animation-delay: 1.2s;
 }
 .bar-group[data-bar="7"] {
   animation-delay: 1.4s;
 }
 .bar-group[data-bar="8"] {
   animation-delay: 1.6s;
 }
 .bar-group[data-bar="9"] {
   animation-delay: 1.8s;
 }
 
 .special-bar .maasai-shield {
   animation: shieldGlow 2s ease-in-out infinite alternate;
 }
 
 /* Line Graph Container */
 .line-graph-container {
   position: absolute;
   top: 20%;
   right: 15%;
   width: 300px;
   height: 150px;
   opacity: 0.9;
 }
 
 .line-graph {
   width: 100%;
   height: 100%;
 }
 
 .trend-line {
   stroke-dasharray: 1000;
   stroke-dashoffset: 1000;
   animation: drawLine 3s ease-in-out forwards;
   animation-delay: 2s;
 }
 
 .data-point {
   opacity: 0;
   animation: pointAppear 0.5s ease-out forwards;
 }
 
 .data-point:nth-child(2) {
   animation-delay: 2.5s;
 }
 .data-point:nth-child(3) {
   animation-delay: 2.7s;
 }
 .data-point:nth-child(4) {
   animation-delay: 2.9s;
 }
 .data-point:nth-child(5) {
   animation-delay: 3.1s;
 }
 .data-point:nth-child(6) {
   animation-delay: 3.3s;
 }
 .data-point:nth-child(7) {
   animation-delay: 3.5s;
 }
 .data-point:nth-child(8) {
   animation-delay: 3.7s;
 }
 
 .trend-arrow {
   opacity: 0;
   animation: arrowAppear 0.5s ease-out forwards;
   animation-delay: 3.8s;
 }
 
 .hero-pattern {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: radial-gradient(
     circle,
     rgba(255, 255, 255, 0.1) 1px,
     transparent 1px
   );
   background-size: 20px 20px;
   opacity: 0.6;
 }
 
 .hero-chart {
   position: absolute;
   top: 50%;
   left: 20%;
   transform: translateY(-50%);
   width: 300px;
   height: 150px;
   opacity: 0.7;
 }
 
 .chart-svg {
   width: 100%;
   height: 100%;
 }
 
 .hero-buildings {
   position: absolute;
   bottom: 0;
   right: 10%;
   display: flex;
   align-items: flex-end;
   gap: 10px;
   height: 200px;
 }
 
 .building {
   background: linear-gradient(
     to top,
     var(--black-color) 0%,
     var(--secondary-color) 100%
   );
   border-radius: 2px 2px 0 0;
 }
 
 .building-1 {
   width: 40px;
   height: 120px;
 }
 
 .building-2 {
   width: 35px;
   height: 150px;
 }
 
 .building-3 {
   width: 45px;
   height: 100px;
 }
 
 .hero-content {
   position: relative;
   z-index: 2;
   text-align: center;
   color: var(--white-color);
   animation: fadeInUp 1s ease-out forwards;
 }
 
 .hero-content h1 {
   font-size: 4rem;
   font-weight: 700;
   margin: 0;
   text-transform: uppercase;
   letter-spacing: 2px;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   animation: titleGlow 3s ease-in-out infinite alternate;
 }
 
 .hero-subtitle {
   font-size: 1.2rem;
   margin-top: 1rem;
   opacity: 0.9;
   font-weight: 300;
   animation: subtitleFade 1s ease-out forwards;
   animation-delay: 0.5s;
   opacity: 0;
 }
 
 /* Economic Milestones Section */
 .economic-milestones {
   width: 100%;
   position: relative;
 }
 
 .milestones-banner {
   background: var(--secondary-color);
   padding: 3rem 0;
   position: relative;
   overflow: hidden;
 }
 
 .milestones-banner::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 50px;
   background: var(--white-color);
   border-radius: 50% 50% 0 0 / 100% 100% 0 0;
   transform: translateY(25px);
 }
 
 .milestones-banner h2 {
   font-size: 2.5rem;
   font-weight: 600;
   color: var(--white-color);
   text-align: center;
   margin: 0;
   text-transform: uppercase;
   letter-spacing: 1px;
 }
 
 .milestones-content {
   background: var(--white-color);
   padding: 2rem 0 4rem 0;
   position: relative;
   z-index: 2;
 }
 
 .content-wrapper {
   max-width: 800px;
   margin: 0 auto;
 }
 
 .content-wrapper p {
   font-size: 1.1rem;
   line-height: 1.7;
   color: var(--text-color);
   margin-bottom: 1rem;
   text-align: left;
 }
 
 .content-wrapper a {
   color: #0066cc;
   text-decoration: underline;
   transition: color 0.3s ease;
 }
 
 .content-wrapper a:hover {
   color: var(--primary-color);
 }
 
 .source {
   font-style: italic;
   color: var(--gray-color);
   margin-bottom: 2rem !important;
 }
 
 .source a {
   color: #0066cc;
   text-decoration: underline;
 }
 
 /* Key Statistics Section */
 .key-statistics {
   background: var(--light-white-color);
   padding: 4rem 0;
 }
 
 .key-statistics .container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
 }
 
 /* Responsive Design */
 @media (max-width: 768px) {
   .economic-hero {
     height: 400px;
   }
 
   .hero-content h1 {
     font-size: 2.5rem;
   }
 
   .hero-subtitle {
     font-size: 1rem;
   }
 
   .bar-chart-container {
     left: 5%;
     width: 200px;
     height: 150px;
   }
 
   .line-graph-container {
     right: 5%;
     width: 200px;
     height: 100px;
   }
 
   .world-map-bg {
     opacity: 0.3;
   }
 
   .world-lottie {
     transform: scale(0.8);
   }
 
   .world-map-video {
     opacity: 0.4;
   }
 
   .milestones-banner {
     padding: 2rem 0;
   }
 
   .milestones-banner h2 {
     font-size: 2rem;
   }
 
   .milestones-content {
     padding: 4rem 0 3rem 0;
   }
 
   .content-wrapper p {
     font-size: 1rem;
   }
 }
 
 @media (max-width: 480px) {
   .main.economic-outlook-page {
     padding-bottom: 0;
   }
 
   .economic-hero {
     height: 300px;
   }
 
   .hero-content h1 {
     font-size: 2rem;
   }
 
   .hero-subtitle {
     font-size: 0.9rem;
   }
 
   .bar-chart-container {
     display: none;
   }
 
   .line-graph-container {
     display: none;
   }
 
   .world-map-bg {
     opacity: 0.2;
   }
 
   .world-lottie {
     transform: scale(0.6);
   }
 
   .world-map-video {
     opacity: 0.3;
   }
 
   .economic-milestones {
     padding: 0;
     padding-bottom: 0;
     margin-bottom: 0;
   }
 
   .milestones-content {
     padding: 1rem 0.25rem;
   }
 
   .milestones-banner h2 {
     font-size: 1.8rem;
   }
 
   .content-wrapper p {
     margin-bottom: 1rem;
   }
 }
 
 @keyframes fadeInUp {
   from {
     opacity: 0;
     transform: translateY(30px);
   }
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }
 
 @keyframes mapPulse {
   0%,
   100% {
     opacity: 0.3;
     transform: scale(1);
   }
   50% {
     opacity: 0.8;
     transform: scale(1.2);
   }
 }
 
 @keyframes barGrow {
   from {
     transform: scaleY(0);
   }
   to {
     transform: scaleY(1);
   }
 }
 
 @keyframes shieldGlow {
   from {
     filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
   }
   to {
     filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
   }
 }
 
 @keyframes drawLine {
   to {
     stroke-dashoffset: 0;
   }
 }
 
 @keyframes pointAppear {
   from {
     opacity: 0;
     transform: scale(0);
   }
   to {
     opacity: 1;
     transform: scale(1);
   }
 }
 
 @keyframes arrowAppear {
   from {
     opacity: 0;
     transform: translateX(-10px);
   }
   to {
     opacity: 1;
     transform: translateX(0);
   }
 }
 
 @keyframes titleGlow {
   from {
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   }
   to {
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
       0 0 20px rgba(255, 255, 255, 0.3);
   }
 }
 
 @keyframes subtitleFade {
   from {
     opacity: 0;
     transform: translateY(20px);
   }
   to {
     opacity: 0.9;
     transform: translateY(0);
   }
 }
 
 /* Print styles */
 @media print {
   .economic-hero {
     height: auto;
     min-height: 200px;
   }
 
   .hero-chart,
   .hero-buildings {
     display: none;
   }
 }
 
