/* Why Kenya - Market Access & Trade page specific styles
 *
 * Paste your /why-kenya/market-access-and-trade/styles.css contents here.
 */
/* Market Access & Trade 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.market-access-page {
   width: 100%;
   height: 100%;
   overflow-x: hidden;
 }
 
 /* Hero Section */
 .market-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;
 }
 
 .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;
 }
 
 /* Section Headers */
 .section-header {
   text-align: center;
   margin-bottom: 1rem;
 }
 
 .section-header h2 {
   font-size: 2.5rem;
   font-weight: 600;
   color: var(--secondary-color);
   margin: 0;
   letter-spacing: 1px;
 }
 
 /* Content Wrapper */
 .content-wrapper {
   max-width: 900px;
   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 ul {
   font-size: 1.1rem;
   line-height: 1.7;
   color: var(--text-color);
   text-align: left;
   margin: 0;
   padding-left: 1.5rem;
   margin-bottom: 1rem;
 }
 
 .content-wrapper ul li {
   font-size: 1.1rem;
   line-height: 1.7;
   color: var(--text-color);
   margin-bottom: 0rem;
   text-align: left;
   padding-left: 0rem;
 }
 
 /* Market Glance Section */
 .market-glance {
   width: 100%;
   padding: 2rem 0;
   background-color: var(--white-color);
 }
 
 .market-glance .container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
 
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
 }
 
 /* Economic Drivers Section */
 .economic-drivers {
   width: 100%;
   padding: 3rem 0;
   background-color: #fcfcfc;
 }
 
 .economic-drivers .container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
 
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
 }
 
 .drivers-content {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
 }
 
 .drivers-tabs {
   display: flex;
   justify-content: center;
   gap: 1rem;
   padding-top: 1rem;
   margin-bottom: 3rem;
   flex-wrap: wrap;
 }
 
 .tab-button {
   padding: 1rem 2rem;
   background-color: var(--white-color);
   border: 2px solid var(--secondary-color);
   color: var(--secondary-color);
   border-radius: 8px;
   font-size: 1rem;
   font-weight: 500;
   cursor: pointer;
   transition: all 0.3s ease;
   text-align: center;
   min-width: 200px;
 }
 
 .tab-button:hover {
   background-color: var(--secondary-color);
   color: var(--white-color);
   transform: translateY(-2px);
 }
 
 .tab-button.active {
   background-color: var(--secondary-color);
   color: var(--white-color);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 }
 
 .tab-content {
   background-color: transparent;
   border-radius: 12px;
   padding: 0rem;
 }
 
 .tab-panel {
   display: none;
 }
 
 .tab-panel.active {
   display: block;
   animation: fadeIn 0.3s ease-in;
 }
 
 @keyframes fadeIn {
   from {
     opacity: 0;
     transform: translateY(10px);
   }
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }
 
 /* Tab Image Styles */
 .tab-image {
   text-align: center;
   margin-bottom: 2rem;
   overflow: hidden;
 }
 
 .eac-market-image {
   max-width: 100%;
   height: auto;
   border-radius: 0px;
   transition: transform 0.3s ease;
 }
 
 .eac-market-image:hover {
   transform: scale(1.02);
 }
 
 .population-chart-image {
   max-width: 100%;
   height: auto;
   border-radius: 0px;
   transition: transform 0.3s ease;
 }
 
 .population-chart-image:hover {
   transform: scale(1.02);
 }
 
 /* Responsive Design */
 @media (max-width: 768px) {
   .market-hero {
     height: 400px;
   }
 
   .hero-content h1 {
     font-size: 2.5rem;
   }
 
   .hero-subtitle {
     font-size: 1rem;
   }
 
   .bar-chart-container {
     left: 10%;
     width: 200px;
     height: 100px;
   }
 
   .world-map-bg {
     opacity: 0.2;
   }
 
   .world-lottie {
     transform: scale(0.8);
   }
 
   .section-header h2 {
     font-size: 2rem;
   }
 
   .market-glance,
   .economic-drivers {
     padding: 4rem 0;
   }
 
   .economic-drivers .container {
     padding: 0 0.5rem;
   }
 
   .drivers-content {
     padding: 0rem;
   }
 
   .content-wrapper p {
     font-size: 1rem;
   }
 
   .content-wrapper ul {
     font-size: 1rem;
   }
 
   .content-wrapper ul li {
     font-size: 1rem;
   }
 
   .drivers-tabs {
     flex-direction: column;
     align-items: center;
     gap: 1rem;
   }
 
   .tab-button {
     min-width: 250px;
     padding: 0.8rem 1.5rem;
   }
 
   .tab-content {
     padding: 2rem 0;
   }
 }
 
 @media (max-width: 480px) {
   .market-hero {
     height: 300px;
   }
 
   .hero-content h1 {
     font-size: 2rem;
   }
 
   .hero-subtitle {
     font-size: 0.9rem;
   }
 
   .bar-chart-container {
     display: none;
   }
 
   .world-map-bg {
     opacity: 0.1;
   }
 
   .world-lottie {
     transform: scale(0.6);
   }
 
   .hero-bars {
     display: none;
   }
 
   .section-header h2 {
     font-size: 1.8rem;
   }
 
   .market-glance,
   .economic-drivers {
     padding: 2rem 0;
   }
 
   .market-glance .container {
     padding: 0 0.5rem;
   }
 
   .drivers-tabs {
     padding-top: 0;
     margin-bottom: 0;
     width: 100% !important;
     gap: 0.5rem;
   }
 
   .tab-button {
     min-width: 100%;
     width: 100% !important;
     padding: 0.9rem 1rem;
     font-size: 1rem;
   }
 
   .tab-content {
     padding: 1.5rem 0;
   }
 }
 
 /* Animation for sections */
 .market-glance,
 .economic-drivers,
 .population-chart {
   opacity: 0;
   transform: translateY(30px);
   animation: fadeInUp 0.6s ease forwards;
 }
 
 .market-glance {
   animation-delay: 0.1s;
 }
 
 .economic-drivers {
   animation-delay: 0.2s;
 }
 
 .population-chart {
   animation-delay: 0.3s;
 }
 
 @keyframes fadeInUp {
   from {
     opacity: 0;
     transform: translateY(30px);
   }
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }
 
 @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);
   }
 }
 
 /* Focus states for accessibility */
 .tab-button:focus {
   outline: 2px solid var(--secondary-color);
   outline-offset: 2px;
 }
 
 .population-image:focus {
   outline: 2px solid var(--secondary-color);
   outline-offset: 2px;
 }
 
 /* Print styles */
 @media print {
   .market-hero {
     height: auto;
     min-height: 200px;
   }
 
   .hero-bars {
     display: none;
   }
 
   .tab-content {
     box-shadow: none;
     border: 1px solid #ccc;
   }
 
   .population-image {
     box-shadow: none;
     border: 1px solid #ccc;
   }
 }
 
