@font-face {
    font-family: "Metropolis";
    src: url("metropolis-black-webfont.woff2/index.html") format("woff2"),
      url("metropolis-black-webfont.woff/index.html") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-blackitalic-webfont.woff2/index.html") format("woff2"),
      url("metropolis-blackitalic-webfont.woff/index.html") format("woff");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-bold-webfont.woff2/index.html") format("woff2"),
      url("metropolis-bold-webfont.woff/index.html") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-bolditalic-webfont.woff2/index.html") format("woff2"),
      url("metropolis-bolditalic-webfont.woff/index.html") format("woff");
    font-weight: bold;
    font-style: italic;
    font-display: swap;
  }
  
   @font-face {
      font-family: 'Metropolisextra_bold';
      src: url('metropolis-extrabold-webfont.woff2/index.html') format('woff2'),
           url('metropolis-extrabold-webfont.woff/index.html') format('woff');
      font-weight: normal;
      font-style: normal;
  
  }
   
  
  @font-face {
      font-family: 'metropolisextra_bold_italic';
      src: url('metropolis-extrabolditalic-webfont.woff2/index.html') format('woff2'),
           url('metropolis-extrabolditalic-webfont.woff/index.html') format('woff');
      font-weight: normal;
      font-style: normal;
  
  }

  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-extralight-webfont.woff2/index.html") format("woff2"),
      url("metropolis-extralight-webfont.woff/index.html") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-extralightitalic-webfont.woff2/index.html") format("woff2"),
      url("metropolis-extralightitalic-webfont.woff/index.html") format("woff");
    font-weight: 100;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-light-webfont.woff2/index.html") format("woff2"),
      url("metropolis-light-webfont.woff/index.html") format("woff");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-lightitalic-webfont.woff2/index.html") format("woff2"),
      url("metropolis-lightitalic-webfont.woff/index.html") format("woff");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-medium-webfont.woff2/index.html") format("woff2"),
      url("metropolis-medium-webfont.woff/index.html") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Metropolis";
    src: url("metropolis-mediumitalic-webfont.woff2/index.html") format("woff2"),
      url("metropolis-mediumitalic-webfont.woff/index.html") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  
  html, body {
    font-family: 'Metropolis', sans-serif;
    font-display: swap; /* Ensures the browser doesn't delay rendering */
    margin: 0;
    padding: 0;
    width: 100%;
}
/* Global background color */
body {
    background-color: #111111;
    color: #ffffff; 
}
body, .our-stories {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

/* Desktop Header */
.desktop-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 67px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between logo and nav */
    padding: 0 38px; /* Padding for spacing */
    box-sizing: border-box;
}

/* Logo Wrapper */
.logo-wrapper {
    display: flex;
    align-items: center; /* Center logo vertically */
}

.logo-wrapper img {
    width: 101px;
    height: 41px;
    object-fit: cover;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Navigation Container */
.navbar {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

/* Navigation List */
.nav {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 30px; /* Space between nav items */
}

/* Navigation Items */
.navigation-item {
    align-self: center;
    color: #626262;
    display: inline-block;
    margin-right: 1.5rem;
    font-family: Metropolis, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.25em;
    line-height: 13px;
    text-transform: uppercase;
}

/* Nav Links */
.navigation-item a {
    color:#626262;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

/* Active & Hover State */
.navigation-item.nav-current a,
.navigation-item a:hover {
    color:#701129;
}

.navigation-item.nav-current a {
    border-bottom-color:#701129;
    padding-bottom: 0.5em;
}
.navbar > ul {
    visibility: hidden; /* Hides default navigation initially */
}

/* Mobile Header */
.mobile-header {
    width: 100%;
    height: 88px;
    background: black;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;
}

.hamburger-menu img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}


.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: black;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column; /* Ensure items stack vertically */
    align-items: center;
    padding-top: 50px;
    z-index: 1000;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack nav items vertically */
    align-items: center;
    width: 100%;
}


.mobile-nav ul li {
    margin: 20px 0; /* Adds spacing between nav items */
    width: 100%; /* Ensures items take full width */
    text-align: center;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block; /* Ensures clickable area covers full width */
    padding: 10px 0; /* Adds vertical spacing */
}

.close-menu img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}
@media (max-width: 768px) {
    .desktop-header{
    display:none;
}
    .mobile-header {
        display: flex;
    }
} 

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.hero .image {
    position: absolute;
    width: 100%;
    height: 700px;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1; /* Ensures it's behind the content */
}
/* Overlay Image */
.label.sculpting-african {
    position: absolute; /* Ensures it stays on top */
    width: 950px;
    height: 221px;
    top: 80px; /* Adjust this as needed */
    left: 50%; /* Centering */
    transform: translateX(-50%); /* Perfect centering */
    object-fit: cover;
    z-index: 1; /* Ensures it appears above the hero background */
}
.label.mobile-sculpting-african {display:none}
.label .drawing-inspiration {
    margin-top: 46px;
    margin-bottom: 46px;
    top: 0;
    left: 0;
    font-family: "Metropolis-Thin", Helvetica;
    font-weight: 100;
    color: #e45200;
    font-size: 32px;
    text-align: center;
    letter-spacing: 0;
    line-height: 30px;
    }
    
    .image {
        display: flex;
        justify-content: center; /* Centers image horizontally */
        align-items: center; /* Centers image vertically (if needed) */
        margin-bottom: 20px; /* Adds 16px spacing below */
    }
    
    .jiwestudios-color {
        width: 170px;
        height: 65px;
        object-fit: cover;
    }
    .label-games {
    display: flex;
    justify-content: center; /* Centers image horizontally */
    align-items: center; /* Centers image vertically (if needed) */
    margin-bottom: 30px; /* Adds 16px spacing below */
}
    .text-wrapper {
        width: 245px;
        font-family: "Metropolis-Medium", Helvetica;
        font-weight: 500;
        color: #ffffff;
        font-size: 40px;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;
        white-space: nowrap;
    } 

    /* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        height: 397px;
        position: relative;
        overflow:hidden;
    }

    .hero .image {
        position:absolute;
        height: 397px;
        width: 100%;
        top: 0;
        left: 0;
         object-fit: cover;
        z-index: -1;
    }

    .label.mobile-sculpting-african {
        width: 340px;
        height: 170px;
        margin-top: 43px;
        margin-bottom: 93px;
        position: absolute; /* Ensures it stays on top */
        top: 20px; /* Adjust this as needed */
        left: 50%; /* Centering */
        transform: translateX(-50%); /* Perfect centering */
        object-fit: fill;
        z-index: 1;
        display:block;
    }
    .label.sculpting-african {display:none}
    .label .drawing-inspiration {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: 100;
        line-height: 30px;
        color: #E45200;
        top: 0;
        left: 0;
        font-family: "Metropolis-Thin", Helvetica;
        text-align: center;
        letter-spacing: 0;
    }

    .jiwestudios-color {
        width: 139.09px;
        height: 52.60px;
        margin-bottom:20px;
        object-fit: cover;
    }

    .label-games {
        margin-bottom: 16px;
        display: flex;
        justify-content: center; /* Centers image horizontally */
        align-items: center;
    }

    .text-wrapper {
        font-size: 32px;
        width: 200px;
        font-family: "Metropolis-Medium";
        font-weight: 400;
        color: #ffffff;
        text-align: center;
        letter-spacing: 0;
        line-height: normal;
        white-space: nowrap;
    }
}

    /* Games Cards Section */
    .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        gap: 12px; /* Spacing between cards */
        row-gap: 30px;
        max-width: 1260px; /* Ensures it fits within a standard container */
        margin: 0 auto; /* Center align */
        padding: 80px 0; /* Space around the section */
    }
    
    .card {
        border-radius: 10px; /* Slight rounded corners */
        overflow: hidden;
    }
    /* Card Styling */
.card-usawa {
    width: 380px;
    height: 462px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay Gradient */
.card-usawa::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(40, 30, 3, 0.28) 28%, rgba(40, 30, 3, 1) 100%);
}

/* Text Container */
.label-usawa {
    position: absolute;
    top: 330px; /* Position from top of the card */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Game Title */
.usawa-the-game {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 22px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

/* Genre Text */
.usawa-genre {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
    margin-top: 6.5px; 
    margin-bottom: 10.5px;
}

/* Icons Row */
.usawa-icons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between icons */
    margin-top: 16px;
}

.card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #281E03 28%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* Ensuring text stays on top */
.card p {
    position: relative;
    z-index: 2;
}   
    
/* Usoni Card Styling */
.card-usoni {
    width: 380px;
    height: 462px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay Gradient */
.card-usoni::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(40, 30, 3, 0.28) 28%, rgba(40, 30, 3, 1) 100%);
}

/* Text Container */
.label-usoni {
    position: absolute;
    top: 330px; /* Position from top of the card */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Game Title */
.usoni-the-game {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 22px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

/* Genre Text */
.usoni-genre {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
    margin-top: 4.5px;
}

/* Icons Row */
.usoni-icons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between icons */
    margin-top: 16px;
}

/* Bunce Island Card Styling */
.card-bunce-island {
    width: 380px;
    height: 462px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay Gradient */
.card-bunce-island::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(40, 30, 3, 0.28) 28%, rgba(40, 30, 3, 1) 100%);
}

/* Text Container */
.label-bunce-island {
    position: absolute;
    top: 365px; /* Position from top of the card */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Game Title */
.bunce-island-the-game {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 22px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

/* Genre Text */
.bunce-island-genre {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
    margin-top: 6.5px;
}

/* Computer Icon */
.bunce-computer-icon {
    width: 20px; /* Adjust size */
    height: auto;
    margin-top: 6.5px;
}

/* General Card Styling */
.card {
    width: 380px;
    height: 462px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}
.card:hover {
    transform: scale(1.05);
}

/* Overlay Gradient */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(40, 30, 3, 0.28) 28%, rgba(40, 30, 3, 1) 100%);
}

/* Text Container */
.label-kura-yako,
.label-colonial-rule,
.label-nights-zanzibar,
.label-greenprint,
.label-wangari {
    position: absolute;
    top: 365px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Title Styling */
.kura-yako-title,
.colonial-rule-title,
.nights-zanzibar-title,
.greenprint-title,
.wangari-title {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 22px;
    white-space: nowrap;
}

/* Genre Styling */
.kura-yako-genre,
.colonial-rule-genre,
.nights-zanzibar-genre,
.greenprint-genre,
.wangari-genre {
    font-family: "Metropolis-Medium", Helvetica;
    font-weight: 500;
    color: #ffb905;
    font-size: 15px;
    white-space: nowrap;
    margin-top: 6.5px;
}
/*links*/
.usawa-the-game a, 
.usoni-the-game a, 
.bunce-island-the-game a, 
.kura-yako-title a, 
.colonial-rule-title a,
.nights-zanzibar-title a,
.greenprint-title a
{
    text-decoration: underline;
    color: #ffb905; /* Underline color */
    font-weight: bold;
}

.usawa-the-game a:hover, 
.usoni-the-game a:hover, 
.bunce-island-the-game a:hover, 
.kura-yako-title a:hover
.colonial-rule-title a:hover,
.nights-zanzibar-title a:hover,
.greenprint-title a:hover
{
    color: #ffffff; /* Slightly lighter orange on hover */
}

/* Icon Styling */
.icon {
    width: 73px;
    height: 29.31px;
    margin-top: 6.5px;
}
.icon-greenprint{
    width: 115px;
    height: 30px;
    margin-top: 4.5px;
}
.icon-wangari{
    width: 109px;
    height: 23.6px;
    margin-top: 5.5px;
}
.icon-colonial{
    width: 22px;
    height: 20.8px;
    margin-top: 4.5px;
}
.icon-internet{
    width: 22px;
    height: 20.8px;
}
.icon-plane{
    width: 22px;
    height: 20.8px;
}

/* Special Layout for Kura Yako (Two Icons) */
.icons-container {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 6.0px;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: #ffb905;
}

/* Cursor Shake */


/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
.cards-container {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout */
    gap: 16px; /* Spacing between cards */
    max-width: 305px; /* Ensures it fits within mobile screens */
    margin: 0 auto; /* Center align */
    padding: 40px 0; /* Adjusted padding for smaller screens */
}
.card {
    width: 305.56px;
    height: 275px;
    margin: 0 auto;
}
.label-usoni, .label-bunce-island,
.label-kura-yako, .label-colonial-rule,
.label-nights-zanzibar, .label-greenprint,
.label-wangari {
    font-size: 14px;
    top: 170px;
    left: 50%;
}
.usawa-genre, .usoni-genre, .bunce-island-genre,
.kura-yako-genre, .colonial-rule-genre,
.nights-zanzibar-genre, .greenprint-genre,
.wangari-genre {
    font-size: 10px;
   
}

.icons-container {
    margin-top: 10px;
}
.icon,
.icon-greenprint,
.icon-wangari,
.icon-colonial,
.icon-internet,
.icon-plane,
.bunce-computer-icon,
.smartphone-icon,
.computer-icon {
    margin-top: 10px;
}
.divider,
.icon-divider {
    margin-top: 8px;
}
.usawa-icons {
    gap: 10px; /* Reduce spacing between icons */
}
.usawa-icons a:nth-child(1) img {
    width: 23px;
    height: 24px;
}

/* Target the second, third, and fourth images */
.usawa-icons a:nth-child(2) img,
.usawa-icons a:nth-child(3) img,
.usawa-icons a:nth-child(4) img {
    width: 64px;
    height: 24px;
}
.usoni-icons a:nth-child(2) img{
    height:35px;
}
.label-usawa {
    font-size: 14px;
    top: 170px;
    left: 50%;}
}

@keyframes cursorTap {
    0% { transform: translateY(0); }   /* Start position */
    25% { transform: translateY(8px); } /* Move down slightly */
    50% { transform: translateY(0); }   /* Move back up */
    75% { transform: translateY(8px); } /* Move down again */
    100% { transform: translateY(0); }  /* Return to normal */
}


.usawa-icons a:hover, .usoni-icons a:hover{
    animation: cursorTap 0.15s ease-in-out; /* Smooth tap effect */
}

/*Buttons*/
.jiwe-esports-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Space between Jiwe IO and Esports */
    text-align: center;
    margin: 50px auto;
    margin-bottom: 90px;
}
@media (max-width: 768px) {
    .jiwe-esports-section {
        display: flex;
        flex-direction: column; /* Stack elements in one column */
        gap: 40px; /* Adjust spacing for better mobile layout */
        margin: 30px auto; /* Reduce margins for better fit */
        margin-bottom: 60px;
    }  
.jiwe-logo{
    width: 168px; 
    height: 40px;
    object-fit: contain; /* Ensures logos maintain aspect ratio */
    margin-bottom: 20px; /* Adds space between the logo and button */
}
.esports-logo{
    width: 68px; 
    height: 57px;
    object-fit: contain; /* Ensures logos maintain aspect ratio */
    margin-bottom: 20px;    
    }

    .jiwe-button, .esports-button {
        width: 80%; /* Makes button width more responsive */
        max-width: 280px;
        height: 57px;
        padding: 6px;
        text-align: center;
    }

    .jiwe-button span, .esports-button span {
        color: black;
        font-size: 12px; 
        font-family: Metropolis, sans-serif;
        font-weight: 200;
        line-height: 12px;
        white-space: normal; /* Allow text wrapping */
        word-wrap: break-word;
    }
}

.jiwe-box, .esports-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 556px; /* Ensures both containers are the same width */
}

.jiwe-logo, .esports-logo {
    max-height: 150px; /* Ensures both logos have the same height */
    object-fit: contain; /* Ensures logos maintain aspect ratio */
    margin-bottom: 20px; /* Adds space between the logo and button */
}

.jiwe-button, .esports-button {
    width: 334px;
    height: 64px;
    background: #E45200;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.jiwe-button{
    margin-top: 22px;
}
.jiwe-button span, .esports-button span {
    color: black;
    font-size: 23px;
    font-family: Metropolis, sans-serif;
    font-weight: 400;
    line-height: 30px;
    padding: 2px;
    word-wrap: break-word;
}

/*What We Do Section*/
.what-we-do {
    background-color: #000000;
    width: 1280px;
    height: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    padding-top:35px;
    margin: auto;
    z-index: 1;
}

  
.section-title {
    color: white;
    font-size: 40px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    text-transform: capitalize;
    word-wrap: break-word;
    text-align: center;
    margin-bottom: 80px;
}

.first-row, .second-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}
.second-row{
    margin-top: 160px;
}

.first-row-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
    text-align: center;
    flex: 1;
}

.first-row-item img {
    width: 182px;
    height: 182px;
}

.first-row-item h3 {
    color: white;
    font-size: 24px;
    font-family: Metropolis, sans-serif;
    font-weight: 300;
    word-wrap: break-word;
}

.learn-more {
    width: 198px;
    height: 43px;
    background: #E45200;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-family: Metropolis, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    border: none;
    cursor: pointer;
}

.learn-more-link {
    display: inline-block; 
    width: 198px; 
}

.learn-more { 
    padding: 12px 20px; 
    font-size: 16px; 
}

.second-row-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 90px;
    text-align: center;
    flex: 1;
}

.second-row-item h3 {
    color: #928D8D;
    font-size: 24px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    text-transform: capitalize;
    word-wrap: break-word;
}

.partners-grid, .worked-grid, .media-grid {
    display: grid;
    gap: 20px;
}

.partners-grid {
    grid-template-columns: repeat(4, auto);
    grid-template-rows: repeat(4, auto);
}

.worked-grid, .media-grid {
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
}

.partners-grid img, .worked-grid img, .media-grid img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .what-we-do {
        width: 380px; /* Full width on mobile */
        height: auto; /* Allow flexible height */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .what-we-do {
        padding-top: 10px;
    }
    .section-title {
        font-size: 32px;
        margin-bottom: 20px; /* Removes all margins */
        padding-top: 10px; /* Ensures no unwanted padding */
        text-align: center; /* Keeps it centered */
    }

    .first-row, .second-row {
        flex-direction: column; /* Stack items in one column */
        align-items: center;
        gap: 50px; /* Add spacing between sections */
        width: 100%;
        max-width: 600px; /* Restrict width for better readability */
    }

    .second-row {
        margin-top: 80px; /* Reduce top margin */
    }

    .first-row-item, .second-row-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px; /* Adjust spacing for better mobile view */
    }

    .first-row-item img {
        width: 140px; /* Reduce image size for mobile */
        height: 140px;
    }

    .first-row-item h3 {
        font-size: 20px; /* Reduce text size for readability */
    }

    .learn-more {
        width: 90%; /* Make button responsive */
        max-width: 250px;
        height: 45px;
        font-size: 14px;
    }

    .second-row-item {
        gap: 40px; /* Adjust spacing */
    }

    .second-row-item h3 {
        font-size: 20px;
    }

    /* Responsive Grids */
    .partners-grid, .worked-grid, .media-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Two columns for better stacking */
        gap: 15px;
        justify-content: center;
    }

    .partners-grid img, .worked-grid img, .media-grid img {
        max-width: 100px; /* Ensure images fit well */
        height: auto;
    }
}


/* Our Stories Section Styling */
.our-stories {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
}

/* Title Styling */
.our-stories-title {
  color: white;
  font-size: 40px;
  font-family: Metropolis, sans-serif;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
}

/* Story Container - Flexbox Layout */
.stories-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
        gap: 20px; /* Space between cards */
        row-gap: 36px;
        max-width: 1280px;
        width: 100%;
        margin: 0 auto;
        margin-top: 26px;
      }

/* Story Card */
.story-card {
  width: 400px;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  background: #180A02;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}
.story-card:hover {
    transform: scale(1.05);
}
/* Feature Image */
.story-image {
  width: 400px;
  height: 489px;
  object-fit: cover;
}

/* Story Content */
.story-content {
  width: 400px;
  height: 370px;
  background: #180A02;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Post Title */
.story-title a {
  color: #E45200;
  font-size: 16px;
  font-family: Metropolis, sans-serif;
  font-weight: 500;
  line-height: 25px;
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

/* Post Date */
.story-date {
  color: white;
  font-size: 15px;
  font-family: Metropolis, sans-serif;
  font-weight: 500;
}

/* Post Excerpt */
.story-excerpt p {
  color: white;
  font-size: 13px;
  font-family: Metropolis, sans-serif;
  font-weight: 200;
  line-height: 25px;
}

.read-more-container {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
  }
  
.read-more {
    color: #FFB905;
    font-size: 12px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px; /* Provides spacing between text and icon */
  }
  

/* VIEW ALL OUR STORIES Button */
.view-all-button {
    margin-top: 80px;
  }
  
  .view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 334px;
    height: 64px;
    border-radius: 30px;
    border: 1px solid #E45200;
    color: #E45200;
    font-size: 20px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    line-height: 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
  }
  .arrow-icon {
    width: 18px; /* Adjust size as needed */
    height: 24px;
    color: #E45200;
    margin-left: 8px;
  }
  
  /* Hover Effect */
  .view-all-link:hover {
    background: #E45200;
    color: white;
  }
  .view-all-link:hover .arrow-icon {
    filter: brightness(0) invert(1); /* Change arrow color to white on hover */
  }

  @media (max-width: 768px) {
    .our-stories {
      height: auto; /* Adjust height to fit content dynamically */
      padding: 30px 15px; /* Adjust padding for better spacing */
    }
  
    /* Title Styling */
    .our-stories-title {
      font-size: 32px; /* Reduce size for mobile readability */
      margin-bottom: 30px;
    }
  
    /* Story Container - Single Column */
    .stories-container {
      display: flex;
      flex-direction: column; /* Stack items in one column */
      align-items: center;
      row-gap: 50px; /* Reduce gap between story cards */
      max-width: 100%; /* Ensure full width */
    }
  
    /* Story Card - Full Width */
    .story-card {
      width: 90%; /* Make it responsive */
      max-width: 370px; /* Keep a max width to avoid stretching */
      height: auto; /* Allow height to adjust */
    }
  
    /* Feature Image */
    .story-image {
      width: 100%; /* Make image responsive */
      height: auto; /* Maintain aspect ratio */
    }
  
    /* Story Content */
    .story-content {
      width: 100%;
      padding: 15px;
    }
  
    /* Story Title */
    .story-title a {
      font-size: 14px; /* Slightly reduce font size */
    }
  
    /* Story Date */
    .story-date {
      font-size: 13px;
    }
  
    /* Post Excerpt */
    .story-excerpt p {
      font-size: 12px;
      line-height: 22px;
    }
  
    /* Read More */
    .read-more {
      font-size: 12px;
    }
  
    /* "View All Stories" Button */
    .view-all-button {
      margin-top: 50px; /* Reduce margin for better fit */
    }
  
    .view-all-link {
      max-width: 250px; /* Adjust width for smaller screens */
      height: 50px; /* Reduce height */
      font-size: 12px;
    }
  }
  

  /*Team Section Styling */
.team-section {
    position: relative;
    height: 790px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.container {
    text-align: center;
}
.team-title {
    color: white;
    font-size: 40px;
    font-family: Metropolis;
    font-weight: 500;
    word-wrap: break-word;
    margin-bottom: 10px;
}
.team-description {
    color: white;
    font-size: 20px;
    font-family: Metropolis;
    font-weight: 200;
    line-height: 30px;
    word-wrap: break-word;
    margin-top: 20px;
    margin-bottom: 40px;
    margin-right: 10px;
    margin-left: 10px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.team-card {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 10px;
    padding: 20px;
}
.team-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}
.top-text {
    color: white;
    font-size: 20px;
    font-family: Metropolis;
    font-weight: 400;
    word-wrap: break-word;
    margin-top: 10px;
}
.bottom-text {
    color: white;
    font-size: 14px;
    font-family: Metropolis;
    font-weight: 200;
    word-wrap: break-word;
    margin-top: 5px;
}
@media (max-width: 768px) {
    .team-section {
      height: auto; /* Adjust height for content */
      padding: 30px 15px; /* Adjust padding for spacing */
    }
  
    /* Team Grid - Two Columns */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Two columns */
      gap: 16px;
      justify-content: center;
      max-width: 90%;
      margin: 0 auto;
    }
  
    /* Team Card */
    .team-card {
      height: auto;
      padding: 15px;
      text-align: center;
    }
  
    /* Team Member Image */
    .team-icon {
      width: 80px; /* Adjust size for mobile */
      height: 80px;
    }
  
    /* Name */
    .top-text {
      font-size: 18px; /* Slightly smaller for mobile */
    }
  
    /* Role */
    .bottom-text {
      font-size: 12px;
    }
  
    /* Adjust Title & Description */
    .team-title {
      font-size: 32px;
    }
  
    .team-description {
      font-size: 18px;
      line-height: 26px;
      margin-left: auto;
      margin-right: auto;
      max-width: 90%;
    }
  }  

/*Why We Build Section Styling */
.why-we-build {
    background: linear-gradient(180deg, #420111 51%, #000000 51%);
    height: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.why-we-build-container h2 {
    color: white;
    font-size: 40px;
    font-family: Metropolis;
    font-weight: 500;
}
.form-container p {
    color: white;
    font-size: 40px;
    font-family: Metropolis;
    font-weight: 500;
    margin-top: 116px;
}
.input-fields {
    margin-top: 124px;
}
.input-line {
    width: 757px;
    height: 0px;
    border: 1px rgba(255, 255, 255, 0.40) solid;
    margin-bottom: 110px;
}
.send-feedback {
    margin-bottom: 24px;
    width: 262px;
    height: 68.22px;
    background: #E45200;
    border-radius: 30px;
    color: black;
    font-size: 16px;
    font-family: Metropolis;
    font-weight: 500;
    text-transform: uppercase;
    display: block; /* Ensures consistent rendering */
    text-align: center;
}
@media (max-width: 768px) {
    /* Main Section */
    .why-we-build-form {
        height: 800px; /* Allow height to adjust based on content */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Heading */
    .why-we-build-container h2 {
        font-size: 28px; /* Adjust font size for mobile */
        line-height: 1.4; /* Improve readability */
    }

    /* Form Container */
    .form-container {
        margin-top: 40px; /* Reduce margin for better fit */
        width: 100%; /* Make form responsive */
        max-width: 360px; /* Limit max width */
        height: 400px; /* Adjust height dynamically */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: auto
    }

    /* Form Heading */
    .form-container p {
        font-size: 28px; /* Reduce font size for better fit */
        margin-top: 20px; /* Reduce margin */
        line-height: 1.4; /* Improve spacing */
        font-weight: 200;
    }
    
    /* Input Fields */
    .input-fields {
        margin-top: 40px; /* Reduce gap */
        width: 100%; /* Ensure inputs are responsive */
    }

    /* Input Line */
    .input-line {
        width: 100%; /* Make the input line responsive */
        max-width: 300px; /* Limit maximum width */
        margin-bottom: 80px; /* Reduce space below input line */
    }

    /* Submit Button */
    .send-feedback {
        width: 100%; /* Full-width button */
        max-width: 265px; /* Limit button size */
        height: 50px; /* Adjust height */
        margin-bottom: 24px; /* Keep consistent spacing */
        border-radius: 30px;
        background: #E45200;
        color: black;
        font-size: 14px; /* Slightly smaller font for mobile */
        text-transform: uppercase;
    }
}

.why-we-build-form {
    background: #420111;
    height: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.form-section-title {
    color: white;
    font-size: 40px;
    font-family: Metropolis;
    font-weight: 500;
    word-wrap: break-word;
    margin-top: 100px;
}
.form-container {
    background: #000000;
    height: 718px;
    width: 1300px;
    margin-top: 61px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.form-title {
    color: white;
    font-size: 18px;
    font-family: Metropolis;
    font-weight: 200;
    margin-bottom: 100px;
    word-wrap: break-word;
}

.input-line {
    width: 757px;
    height: 20px;
    border: none;
    border-bottom: 2px rgba(255, 255, 255, 0.40) solid;
    margin-top: 2px;
    background: transparent;
    color: #928D8D;
    font-size: 14px;
    font-family: Metropolis;
    font-weight: 100;
    padding: 6px;
    text-align: center;
}
/*JavasCript Form Styling*/
.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(40, 30, 3, 0.28) 28%, rgba(40, 30, 3, 1) 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-family: Metropolis, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}
@media (max-width: 480px) {
    .custom-alert {
        width: 90%;
        font-size: 14px; /* Adjust font size for smaller screens */
        padding: 12px 15px;
    }
}


/* Footer Styling */
.footer-container {
    width: 1300px;
    margin-top: 200px; /* Keep the largest margin-top value */
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-left img {
    margin-right: 10px;
}

.footer-text, 
.footer-left span {
    color: #928D8D;
    font-size: 12px;
    font-family: Metropolis;
    font-weight: 500;
    word-wrap: break-word;
}

.footer-right a {
    margin-right: 28px; /* Standardized to match previous margin */
}

.footer-right img {
    width: 34px;
    height: 34px;
}

.custom-section {
    height: 100px;
    width: 100%;
    background-color: #111111;
}
/* Mobile Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        margin-top: 80px; /* Reduce margin for smaller screens */
    }

    .footer-left {
        flex-direction: row; /* Stack logo and text */
        align-items: center;
        margin-bottom: 20px; /* Add spacing */
    }

    .footer-right {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px; /* Space between social icons */
    }

    .footer-right a {
        margin: 0; /* Remove extra margin */
    }

    .footer-right img {
        width: 28px; /* Slightly smaller icons */
        height: 28px;
    }

    .custom-section {
        height: 60px; /* Reduce height for mobile */
    }
}

/*--------------------------------------GAMIFICATION PAGE--------------------------------------*/
.gamification-section {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .background {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  
  .gamification-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #430313 22%, rgba(66.94, 2.51, 18.79, 0) 100%);
  }
  
  .gamification-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
  }
  
  .trophy {
    position: absolute;
    left: 70px;
    margin-top: 85px;
    margin-bottom: 85px;
  }
  
  .gamification-icon {
    position: absolute;
    right: 170px;
    margin-top: 167px;
    margin-bottom: 151px;
  }

  /* Mobile Responsive */
@media (max-width: 768px) {
    .gamification-content {
        display: flex;
        justify-content: center; /* Centers horizontally */
        align-items: center;
        flex-direction: column;
    }

    .gamification-icon {
        position: relative;
        right: auto;
        margin-top: 2px;
        width: 370px;
        height: 50px;
    }
    .gamification-section{
        height:300px;
    }
    
  .gamification-background-image {
    width: 100%;
    height: 300;
    object-fit: cover;
  }
  
}

  /*Text Section*/
  .enterprise-gamification {
    width: 1200px;
    height: 750px;
    margin: auto;
    background: linear-gradient(#000000, #000000 0%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.enterprise-container {
    width: 80%;
    text-align: center;
}

.enterprise-title {
    color: #FFB905;
    font-size: 40px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    padding-top: 0;
}

.enterprise-description {
    color: white;
    font-size: 20px;
    font-family: Metropolis, sans-serif;
    font-weight: 300;
    line-height: 25px;
    word-wrap: break-word;
    margin-top: 33px;
}

.enterprise-subtitle {
    color: #FFB905;
    font-size: 40px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin-top: 71px;
}

@media screen and (max-width: 768px) {
    .enterprise-gamification {
        width: 370px;
        height: 1000px;
        margin:auto;
    }
    .enterprise-description{
        font-size: 12px;
    }
    .enterprise-title,
    .enterprise-subtitle {
        font-size: 16px;
    }
}

.use-cases { 
    background: linear-gradient(#420111 51%, #430313 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
}

.cases-container {
    width: 85%;
    text-align: center;
}

.cases-section-title {
    color: #FFB905;
    font-size: 40px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    margin-bottom: 50px;
}

.use-case-row {
    display: flex;
    flex-direction: column; /* Make the whole row stack vertically */
    align-items: flex-start; /* Align elements to the left */
    gap: 5px; /* Add gap between the rows */
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
}

.use-case-row > .use-case-top {
    display: flex;
    align-items: center; /* Ensures everything is centered vertically */
    gap: 20px; /* Space between icon, line, and text */
    width: 100%;
}

.cases-icon {
    width: 100px; /* Reduced size */
    height: 100px;
    flex-shrink: 0;
}

.cases-line {
    flex-grow: 3;
    height: 2px; /* Line thickness */
    background-color: #E45200; /* Orange color to match */
    margin: 0 10px;
}

.use-case-text {
    color: #E45200;
    font-size: 24px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    text-transform: capitalize;
    white-space: nowrap;
}

.use-case-description {
    color: white;
    font-size: 16px;
    font-family: Metropolis, sans-serif;
    font-weight: 200;
    line-height: 24px;
    max-width: 700px;
    margin: auto;
    position: relative;
}
@media screen and (max-width: 768px) {
    .cases-section-title {
        font-size: 20px; /* Adjusted for mobile */
    }

    .use-case-text {
        font-size: 16.5px; /* Adjusted for mobile */
        white-space: break-spaces; 
    }

    .use-case-description {
        font-size: 14px; /* Adjusted for mobile */
        max-width: 350px; /* Centered on background */
        text-align: center;
        margin-top:10px;
    }

    .cases-icon {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .cases-line {
        width: 100%; 
        flex-grow: 1;
        max-width: 120px;
    }

    .use-case-row > .use-case-top {
        max-width: 370px;
    }
}



/*Newsletter Section*/
.satisfied-customers {
    background: #000000 41%;
    width: 1200px;
    text-align: center;
    padding: 50px 0;
    margin:auto;
}
.universal-satisfied-customers{
    width: 1200px;
    text-align: center;
    padding: 50px 0;
    margin:auto;}

.customers-container {
    width: 1200px;
    margin: auto;
}

.customers-title {
    color: #FFB905;
    font-size: 40px;
    font-family: Metropolis, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    text-align: center;
    margin-bottom: 40px;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-bottom: 50px;
}

.logos-row img {
    max-width: 150px;
}
@media screen and (max-width: 768px)  {
    .customers-title {
        font-size: 28px;
        margin-top: 10px;
        word-wrap: break-word;
        text-align: center;
    }

    .customers-container {
        width: 380px;
    }
    .satisfied-customers {
        width: 380px;
        padding: 16px;
        margin:auto;
    }
    .logos-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


.newsletter-container {
    width: 1150px;
    height: 431px;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin:auto;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 3, 19, 0.96);
    border-radius: 10px;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.newsletter-left {
    max-width: 600px;
}

.newsletter-text {
    color: white;
    font-size: 20px;
    font-family: Metropolis, sans-serif;
    font-weight: 400;
    line-height: 40px;
    word-wrap: break-word;
    text-align:center;
}

.email-address {
    font-weight: 100;
}


.input-box {
    width: 526px;
    height: 50.12px;
    margin-top: 30px;
    background: #0C0C0C;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
    margin-left:40px;
}

.input-box input {
    width: 100%;
    background: transparent;
    border: none;
    color: #727272;
    font-size: 16px;
    font-weight: 300;
}

.input-box input::placeholder {
    color: #727272;
    text-align:center;
}

.subscribe-button {
    width: 394px;
    height: 47.11px;
    margin-left: 100px;
    margin-right: 680px;
    background: #E45200;
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 14px;
    font-family: Metropolis, sans-serif;
    font-weight: 300;
    line-height: 40px;
    margin-top: 29px;
    cursor: pointer;
}

.newsletter-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-logo {
    width: 377px;
    height: 164px;
    margin-right:60px;
}
/* Mobile Responsive Version */
  @media (max-width: 768px) {
    .newsletter-mobile-container {
        width: 350px;
        height: 600px;
        position: relative;
        background-size: cover;
        background-position: center;
        border-radius: 10px;
        margin: auto;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .newsletter-mobile-overlay {
        position: absolute;
        top: 0;
        left: 0;
        margin:auto;
        width: 100%;
        height: 100%;
        background: rgba(67, 3, 19, 0.96);
        border-radius: 10px;
    }

    .newsletter-mobile-content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        z-index: 2;
    }

    .newsletter-mobile-logo img {
        width: 319px;
        height: 142px;
        margin-bottom: 30px;
    }

    .newsletter-mobile-text {
        color: white;
        font-size: 16px;
        font-family: Metropolis, sans-serif;
        font-weight: 400;
        line-height: 24px;
        word-wrap: break-word;
        margin-bottom: 30px;   
    }

    .newsletter-mobile-input-box {
        width: 313px;
        height: 45px;
        background: #0C0C0C;
        border-radius: 10px;
        display: flex;
        align-items: center;
        padding: 10px;
    }

    .newsletter-mobile-input-box input {
        width: 100%;
        background: transparent;
        border: none;
        color: #727272;
        font-size: 16px;
        font-weight: 300;
    }

    .newsletter-mobile-input-box input::placeholder {
        color: #727272;
    }

    .newsletter-mobile-subscribe-button {
        width: 235px;
        height: 42px;
        background: #E45200;
        border-radius: 8px;
        border: none;
        color: white;
        font-size: 12px;
        font-family: Metropolis, sans-serif;
        font-weight: 300;
        line-height: 40px;
        cursor: pointer;
    }
} 
@media (min-width: 769px) {
    .newsletter-mobile-container {
        display: none;
    }
}
@media (max-width: 768px) {
    .newsletter-container {
        display: none;
    }
}

/*Universal Footer*/
.universal-footer-container {
    width: 100%;
    height: 162px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111111;
}

.universal-footer-left {
    display: flex;
    align-items: center;
    margin-left: 80px;
}
.universal-footer-right{
    margin-right: 50px;
}

.universal-footer-left img {
    margin-right: 10px;
}

.universal-footer-text, 
.universal-footer-left span {
    color: #928D8D;
    font-size: 12px;
    font-family: Metropolis;
    font-weight: 500;
    word-wrap: break-word;
}

.universal-footer-right a {
    margin-right: 28px; /* Standardized to match previous margin */
}

.universal-footer-right img {
    width: 34px;
    height: 34px;
}

/* Mobile layout */
@media screen and (max-width: 767px) {
    .universal-footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .universal-footer-left {
        margin-left: 0;
        flex-direction: row;
        align-items: center;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .universal-footer-left img {
        margin-right: 8;
    }

    .universal-footer-right {
        margin-right: 0;
    }

    .universal-footer-right a {
        display: inline-block;
        margin: 0 10px; /* Adjust spacing for touch-friendly buttons */
    }
}

/*-------------------------------------------Our Stories--------------------------------------------*/

.featured-stories-container {
    width:100%;
    height: auto;
    margin: auto;
    background: linear-gradient(#000000, #000000 0%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.enterprise-title-stories {
    color: #FFB905;
    font-size: 40px;
    font-family: Metropolis, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
.featured-stories-container {
    width: 380px;
    margin:auto;
}
}

.pagination a {
    background-color: #E4520A;
    border-radius: 2em;
    color: #fff;
    margin-top: 20px;
    padding: 0.5em 1em;
    text-decoration: none;
  }
  .pagination-margin {
    margin-top: 40px;
  }

/*-------------------------------------------SINGLE POST PAGE--------------------------------------------*/
.single-post-header {
    height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0px;
}
.featured-image {
    max-width: 1200px;
    height: 470px;
    border-radius: 10px;
}
.post-meta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 50px;
    color: white;
}
.post-date {
    font-size: 18px;
    font-style: italic;
    font-weight: 200;
    margin-left: 10px;
}
.author-meta {
    display: flex;
    align-items: center;
}
.author-meta-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.author-meta-profile-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}
.author-meta-name {
    font-size: 18px;
    font-weight: bold;
}
.primary-tags ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 10px;
}
.primary-tag-item a {
    color: white;
    text-decoration: none;
}
.primary-tag-item a:hover {
    text-decoration: underline;
    color: #FFB905;
}
.content-container {
    display: flex;
    max-width: 1300px;
    margin: auto;
    background: black;
    padding: 20px;
    padding-left: 35px;
}
.post-content-area {
    width: 980px;
    color: white;
}
.post-title {
    color: white;
    color: white;
    font-size: 96px;
    font-family: Metropolis;
    font-weight: 500;
    text-align:center;
    text-transform: capitalize;
}
.title-divider {
    width: 485px;
    height: 0px;
    border: 1px rgba(255, 255, 255, 0.81) solid;
    margin: 20px auto 40px auto;
}
.post-body-wrapper__sidebar {
    width: 30%;
    margin-left: 50px;
}
.post-body-wrapper__sidebar li {
    list-style: none;
}
.post-body-wrapper__sidebar a {
    color: #FFB905;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    padding-bottom: 2px;
}
.post-body-wrapper__sidebar a:hover {
    border-color: rgba(255, 255, 255, 0.75);
}
.sidebar__section-title {
    color: #FFB905;
    font-family: Metropolis;
    font-style: normal;
    font-weight: 900;
    font-size: 0.8em;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 100;
    margin-bottom: 10px;

}
.sidebar__categories li {
    font-family: Metropolis;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    list-style: disc;
    margin-left: 1em;
    margin-bottom: 0.5em;
}
.ghost-content p {
    color: white;
    font-size: 18px;
    font-family: Metropolis, sans-serif;
    font-weight: 400;
    line-height: 30px;
    word-wrap: break-word;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .ghost-content figure {
    margin-top: 30px;
    width: 983px; 
    max-width: 100%;
  }
  .ghost-content iframe {
    margin-top: 30px;
    width: 983px; 
    max-width: 100%;
    height: 432px;
  }
  
  .ghost-content figcaption {
    color: #A5A5A5;
    font-size: 16px;
    font-family: Metropolis, sans-serif;
    font-style: italic;
    font-weight: 200;
    margin-bottom: 40px;
    margin-top: 10px;
  }
  /* Mobile styles */
@media screen and (max-width: 768px) {
    .single-post-header {
      height: 500px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
  
    .featured-image {
      width: 330px;
      height: 280px;
    }
  
    /* Adjust post meta section - single column layout */
    .post-meta-section {
      flex-direction: column;
      width: 100%;
      text-align: center;
      margin-top: 20px;
    }
  
    /* Profile image and author details in a stacked layout */
    .author-meta {
      flex-direction: column;
      align-items: center;
    }
  
    .author-meta-profile-photo {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
    }
  
    .author-meta-name {
      font-size: 16px;
      font-weight: bold;
    }
  
    .post-date {
      font-size: 14px;
      margin-top: 5px;
    }
  
    /* Primary tags below the author meta */
    .primary-tags {
      margin-top: 20px;
    }
  
    .primary-tags ul {
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .primary-tag-item a {
      font-size: 14px;
    }
  
    /* Adjust the content container */
    .content-container {
      flex-direction: column;
      width: 371px;
      max-width: 100%;
      padding: 15px;
      margin:auto;
    }

    /* Adjust post content area */
    .post-content-area {
      width: 325px;
      margin:auto;
    }
  
    /* Reduce font sizes for mobile */
    .post-title {
      font-size: 36px;
      text-align: center;
    }
  
    .title-divider {
      width: 250px;
      margin: 15px auto 30px;
    }
  
    .ghost-content p {
      font-size: 16px;
      line-height: 26px;
      margin-top: 40px;
      margin-bottom: 40px;
    }
  
    .ghost-content figure {
        width: 100% !important; 
        max-width: 325px !important;
        margin: 0 auto;
      }
      .ghost-content iframe {
        width: 100% !important; 
        max-width: 325px !important;
        margin: 0 auto;
      }
      .ghost-content img {
        width: 100% !important; 
        height: auto !important; 
        max-width: 325px !important;
      }
      .ghost-content figcaption {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 30px;
      }
    
      /* Move sidebar below all content */
      .post-body-wrapper__sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
      }
    
      .sidebar__section-title {
        font-size: 14px;
        text-align: center;
      }
    
      .sidebar__categories li {
        font-size: 16px;
      }
    }
  
    
  
/*-------------------------------------------TAGS PAGE--------------------------------------------*/
.tag-section { background:#0C0C0C; 
    max-width: 1300px;
    margin: auto; /* Center the section */
    padding: 40px 40px;
    margin-top:40px;
    height: auto;
}
.tag-header {
    text-align: center;
}

.page-title {
    color: white;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: bold;
}


/*----------------------------------------------- GAMIFY PAGE--------------------------------------------*/
.community-enterprise-gamification {
    width: 1200px;
    height: 300px;
    margin: auto;
    background: linear-gradient(#000000, #000000 0%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.community-gamification-icon {
    position: absolute;
    right: 170px;
    margin-top: 167px;
    margin-bottom: 151px;
  }

.community-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.image-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.full-width img {
    width: 100%;
    height: 390px;
    object-fit: contain;
    display:block;
}

.two-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.two-columns img {
    width: 550px;
    height: 391px;
    object-fit: cover;
}
.mobilepic1 {
    display:none !important; /* Hide mobile image on desktop */
}

@media screen and (max-width: 768px) {
    .community-enterprise-gamification {
        width: 370px;
        height: 550px;
        margin:auto;
    }
    .community-gamification-icon{
        position: relative;
        margin-bottom: 50px;
        margin-top: 15px;
        width: 320px;
        height: 200px;
        right: auto;
        margin-top: 2px;
    }
    .community-trophy {
        position: relative;
        left: auto;
        margin-top: 20px;
        width: 180px;
        height: 180px;
    }
    .gamification-section{
        height:400px;
    }
    .community-gallery {
        row-gap: 15px;
    }
    .two-columns img {
        width: 360px;
        height: 390px;
        margin:auto;
    }
    div.mobilepic1 {
        width: 360px;
        height: 390px;
        margin:auto;
        display: block !important;
    }
    .full-width {display:none}
    .two-columns {
        flex-direction: column;
        align-items: center;
    }
    
}
/*----------------------------------------------- COMMUNITY PAGE--------------------------------------------*/
.community-page{
    width: 1200px;
    height: 200px;
    margin: auto;
    background: linear-gradient(#000000, #000000 0%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.community-icon {
    position: absolute;
    right: 170px;
    margin-top: 167px;
    margin-bottom: 151px;
  }
.gamify-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 15px;
}

.gamify-image {
    width: 350px;
    height: 350px;
    object-fit: cover;
}

.gamify-description {
    flex: 1;
    color: white;
    font-size: 16px;
    font-family: Metropolis, sans-serif;
    font-weight: 200;
    line-height: 24px;
    max-width: 700px;
    margin: auto;
    text-align:center;
}
@media screen and (max-width: 768px) {
    .community-icon{ 
        position: relative;
        margin-bottom: 50px;
        margin-top: 15px;
        width: 320px;
        height: 120px;
        right:auto;
    } 
        .community-page{
            width: 370px;
            height: 150px;
            margin:auto;
        }
        .cases-section-title {
            font-size: 20px; /* Adjusted for mobile */
        }
    
        .use-case-text {
            font-size: 15.5px; /* Adjusted for mobile */
            white-space: break-spaces; 
        }
        .gamify-description {
            font-size: 13px; /* Adjusted for mobile */
            max-width: 350px; /* Centered on background */
            text-align: center;
            margin-top:10px;
        }
        .gamify-wrapper {
            flex-direction: column;
            text-align: center;
            gap: 30px;
        }
    
        .gamify-image {
            width: 320px;
            height: 320px;
            margin: 0 auto; /* Center the image */
        }
    
        .gamify-description {
            text-align: center;
        }
}
