/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #0e121b;
    background-color: #ffffff;
    overflow-x: hidden;
}
.top-green-ribbon {
    position: relative;
    background: rgb(5, 113, 5);
    color: #ffffff;
    text-align: center;
    max-height: 500px; /* Set this higher than your ribbon's actual height */
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.4s ease-out, margin 0.4s ease-out;
}

.top-green-ribbon.collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.top-green-ribbon a{
    font-family: 'DM Sans', sans-serif;
    display: block;
    padding: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}
.green-ribbon-arrow{
    font-size: 20px;
}

.text-purple{
    color: #653391;
}

img {
    max-width: 100%;
    height: auto;
}
.nav-container{
    display: flex;
    gap: 3rem;
}

/* Layout components */
.container {
    width: 100%;
    max-width: 1202px;
    margin: 0 auto;
    padding: 0 16px;
}
.w-100{
    width: 100%;
}

.hero-section {
    background: linear-gradient(0deg, #0b080e 0%, #4b1c75 50%, #000000 100%);
    /* background-image: url('/assets/img_mono_ai_ai_saas_template_1.png'); */
    background-size: cover;
    background-position: center;
    min-height: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.bg-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 10;
    background: #0f091b;
    padding: 15px;
    border-radius: 50px;
}
.fixed-dark-nav-container{
    background: #0f091b;
    position: fixed;
    z-index: 12;
}

.nav-logo {
    width: 94px;
    height: 32px;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    background-color: #0a0516;
    padding: 0 20px;
    border-radius: 8px;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    max-height: 600px;
    padding: 20px;
    opacity: 1;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
}

.nav-auth-desktop {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Hide mobile auth buttons by default */
.nav-auth-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Dropdown Arrow */
.nav-dropdown .nav-link::after {
    content: '>';
    font-size: 1rem;
    margin-left: 0.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
    transform: rotate(90deg);
    color: #b0b0b0;
}
.nav-menu.mobile-open .nav-auth-mobile {
    display: flex;
}
/* Rotate arrow when dropdown is open */
.nav-dropdown:hover .nav-link::after {
    transform: rotate(-90deg);
}

/* Dropdown Menu */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #16213e;
  min-width: 180px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  overflow: hidden;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Menu Items */
.nav-dropdown-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.nav-dropdown-menu a:hover {
  background-color: #0f3460;
  color: #00bfff;
}

.nav-dropdown-menu a:first-child {
  padding-top: 1rem;
}

.nav-dropdown-menu a:last-child {
  padding-bottom: 1rem;
}

.section-title{
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    text-align: center;
    margin: 70px 0 20px 0;
}
.section-description{
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    max-width: 630px;
    margin: 0 auto;
}

.flexbox-container{
    margin: 60px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.flexbox{
    background: #c0c0c0;
    padding: 30px;
    border-radius: 10px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
}
.flexbox .flexbox-header{
    color:rgba(14, 18, 27, 1);
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 10px;
}
.flexbox .flexbox-description{
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color:rgba(14, 18, 27, 1);
    max-width: 490px;
    margin-bottom: 24px;
    flex-grow: 1;
}
.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.btn-primary {
    background-color: #ffffff;
    color: #0e121b;
    border: 1px solid #ffffff;
}

.hero-content .btn-secondary, .gritbox-section .btn-secondary{
    background-color: rgba(222, 233, 72, 1);
    color: rgba(14, 18, 27, 1);
    border: 1px solid rgba(222, 233, 72, 1);
    width: 178px;
    height: 52px;
    border-radius: 50px;
    line-height: 28px;
    font-size: 16px;
}
.gritbox-section .btn-primary{
    background-color: rgba(255, 255, 255, 1);
    color: rgba(14, 18, 27, 1);
    border: 1px solid rgba(255, 255, 255, 1);
    width: 149px;
    height: 52px;
    border-radius: 50px;
    line-height: 28px;
    font-size: 16px;
}

.hero-content .btn-primary{
    background-color: rgba(255, 255, 255, 1);
    color: rgba(14, 18, 27, 1);
    border: 1px solid rgba(255, 255, 255, 1);
    width: 208px;
    height: 52px;
    border-radius: 50px;
    line-height: 28px;
    font-size: 16px;
}

.btn-purple {
    background-color: #653391;
    color: #ffffff;
    border: 1px solid #653391;
}

.btn-purple-border{
    color: rgba(101, 51, 145, 1);
    width: 142px;
    border: 2px solid rgba(101, 51, 145, 1);
    height: 52px;
    line-height: 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
}
.community-section .btn-purple{
    background-color: rgba(101, 51, 145, 1);
    width: 181px;
    height: 52px;
    font-size: 16px;
    line-height: 28px;
}
.community-section .btn-primary{
    width: 206px;
    height: 52px;
    background: rgba(255, 255, 255, 1);
    border: solid 1px rgba(225, 228, 234, 1);
    font-size: 16px;
    line-height: 28px;
}

.hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 11;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 0;
}

/* Hamburger animation when menu is open */
.hamburger.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Hero content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
    margin-top: 224px;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}
.hero-text{
    max-width: 1050px;
    text-align: center;
}

.platform-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    padding: 12px;
    width: 100%;
    max-width: 640px;
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.tab-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.tab-selector:not(:last-child){
    border-right: solid 1px rgba(255, 255, 255, 0.12);
}

.tab-selector.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.tab-icon {
    width: 24px;
    height: 24px;
}

.hero-title {
    font-family: 'PolySans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
    color: #ffffff;
    max-width: 90%;
    margin-bottom: 48px;
    margin: 0 auto;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Platform section */
.platform-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.platform-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0e121b;
    margin-bottom: 24px;
}

.platform-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    color: #0e121b;
    margin-bottom: 48px;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.platform-card {
    background-color: #f5f7fa;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.platform-card .icon-wrapper{
    margin-bottom: 15px;
}
.platform-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 32px;
}

.platform-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    color: #31312f;
    margin-bottom: 12px;
}

.platform-card-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #31312f;
}

.access-control-demo{
    text-align: center;
}
/* Enterprise section */
.enterprise-section {
    padding: 80px 0;
    background-color: #ffffff;
    scroll-margin-top: 100px;
}

.enterprise-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    color: #0e121b;
    margin-bottom: 20px;
}

.enterprise-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #222530;
    margin-bottom: 56px;
    max-width: 780px;
    margin: 30px auto;
}

.feature-grid, .feature-grid-col-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    background-color: #f2f5f8;
    border: 1px solid #e1e4ea;
    border-radius: 12px;
    padding: 24px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    color: #0e121b;
    margin-bottom: 8px;
}

.feature-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #2b303b;
    margin-bottom: 24px;
    max-width: 520px;
}

/* Competitions section */
.competitions-section {
    padding: 96px 0;
    background-color: #ffffff;
    scroll-margin-top: 100px;
    margin-bottom: 180px;
}
.competition-slider {
    background-color: rgb(245, 247, 250);
    padding: 96px 0px;
    overflow: hidden;
}
.competition-slider-content{
    display: flex;
    gap: 24px;
}
.competitions-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0e121b;
    margin-bottom: 16px;
}

.competitions-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #222530;
    margin-bottom: 56px;
    max-width: 630px;
}

.competition-layout {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 56px;
    flex-wrap: wrap;
    padding: 45px;
    border-radius: 20px;
    background: linear-gradient(90deg, #fdf8ff, transparent);
    border: solid 2px #fbf0ff;
    box-shadow: 0px 2px 12px rgba(14, 18, 27, 0.1);
    transition: opacity 0.4s ease-in-out;
}
.competition-layout .box-cobtainer{
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    font-size: 16px;
    font-weight: 500;
}
.competition-layout .box{
    border-right: solid 2px #dbdbdb;
    padding: 10px;
    text-align: center;
}
.competition-layout .box:last-child{
    border-right: none;
}

.competition-content {
    flex: 1;
    max-width: 346px;
    display: flex;
    flex-direction: column;
}
.competition-feature {
    display: flex;
    gap: 33px;
    flex-direction: column;
}
.competition-feature span{
    max-width: 268px;
}
.competition-image-list {
    flex: 1;
    min-width: 300px;
    position: relative;
}
.action-demo, .model-selector{
    text-align: center;
}
.model-content-box{
    background: #fff;
    border-radius: 6px;
    box-shadow: 0px 2px 12px rgba(14, 18, 27, 0.1);
    margin: -32px 32px 0 30px;
    padding: 16px;
    zoom: 74%;
}
.model-content-box h4{
    font-weight: 500;
}
.model-content-box .btn-purple{
    padding: 8px 10px;
    border-radius: 4px;
    width: 100%;
    margin: 5px 0;
}
.model-content-box .btn-border-purple{
    border: solid 2px #653391;
    padding: 8px 10px;
    border-radius: 4px;
    width: 100%;
    background: #ffffff;
    margin: 5px 0;
}

.competition-details {
    flex: 1;
}

.competition-meta {
    font-size: 8px;
    font-weight: 400;
    line-height: 11px;
    color: #717784;
    margin-bottom: 8px;
}

.competition-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #0e121b;
    margin-bottom: 8px;
}

.competition-description {
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
    color: #2b303b;
    margin-bottom: 16px;
}

.competition-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.tag {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 4px 10px;
    font-size: 8px;
    font-weight: 400;
    line-height: 11px;
    color: #717784;
}

.competition-prize {
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    color: #0e121b;
}

.competition-layout-developer{
    gap: 30px;
    /* background: linear-gradient(287.45deg, #DAEFED 14.4%, #FAFAFA 91.66%); */
    display: flex;
    flex-wrap: wrap;
    padding: 45px;
    border-radius: 20px;
    background: linear-gradient(90deg, #fdf8ff, transparent);
    border: solid 2px #fbf0ff;
    box-shadow: 0px 2px 12px rgba(14, 18, 27, 0.1);
    display: none;
    transition: opacity 0.4s ease-in-out;
    margin-bottom: 56px;
}
.competition-list{
    max-width: 540px;
}
.competition-layout-developer p{
    color:rgba(38, 38, 38, 1);
    font-size: 18px;
}

.dev-features ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 32px;
}

.dev-features ul li {
  padding-left: 30px;
  background-image: url('./assets/green-check.svg');
  background-repeat: no-repeat;
  background-position: left;
  background-position-y: 2px;
  background-size: 20px 20px; /* Adjust size as needed */
  margin-bottom: 15px;
}
.dev-features ul li.launch-competition{
    background-image: url('./assets/img_group_1.svg');
    background-position-y: 7px;
}
.dev-features ul li.global-network{
    background-image: url('./assets/img_group_purple_800_24x24.svg');
    background-position-y: 7px;
}
.dev-features ul li.submit-solutions{
    background-image: url('./assets/img_group_purple_800.png');
    background-position-y: 7px;
}
.dev-features ul li.API-Deploy{
    background-image: url('./assets/img_group_24x24.svg');
    background-position-y: 7px;
}
.community-deveoper{
    border-radius: 10px;
    padding: 20px;
    background: #ffffff;
    margin-top: 40px;
    box-shadow: 0px 2px 12px rgba(14, 18, 27, 0.1);
}
.community-deveoper p{
    font-size: 16px;
    color: rgba(10, 10, 10, 1);
    padding-bottom: 20px;
}
.community-dev-info{
    display: flex;
    gap: 12px;
}
.community-dev-info img{
    width: 40px;
    height: 40px;;
}
.community-dev-info{
    font-size: 14px;
}

.slider-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.rotate-180{
    transform: rotate(180deg);
}
.connect-domain-link{
    color: #653391;
    text-decoration: underline;
    font-size: 12px;
}
.btn-dep-on-prem{
    background: #653391;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
}

/* GritBox section */
.gritbox-section {
    background: radial-gradient(118.36% 105.73% at 50% 105.73%, #653391 0%, #653391 24.49%, #311852 100%);
    border-radius: 16px;
    margin: 0 auto;
    padding: 56px 24px;
    color: #ffffff;
    max-width: 1202px;
    scroll-margin-top: 150px;
}

.gritbox-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 15px;
}
.gritbox-left-part{
    max-width: 507px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.gritbox-title {
    font-family: 'PolySans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
}

.gritbox-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    margin: 24px 0;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'SF Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

.feature-icon {
    width: 20px;
    height: 20px;
}

/* Community section */
.community-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.community-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0e121b;
    margin-bottom: 16px;
}

.community-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #222530;
    margin: 10px auto 32px;
    max-width: 554px;
}
.developer-community{
    margin: 54px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'SF Pro', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 50px;
    color: #653391;
    margin-bottom: 16px;
}

.stat-label {
    font-family: 'SF Pro', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: #0e121b;
}

/* Dataset section */
.dataset-section {
    padding: 80px 40px;
    background:url('./assets/dataset-section-back.png') no-repeat center;
    background-size: cover;
    border-radius: 10px;
}
.dataset-section .btn-purple{
    height: 52px;
    width: 193px;
    line-height: 28px;
}

.dataset-section .container {
    position: relative;
    z-index: 1;
}

.dataset-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    color: #0e121b;
    margin-bottom: 8px;
}

.dataset-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: #222530;
    max-width: 748px;
    margin: 15px auto 40px;
}

.dataset-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
}

.dataset-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0px 2px 6px rgba(101, 51, 145, 0.1);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 336px;
}

.dataset-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    padding: 6px;
    flex-shrink: 0;
}

.dataset-content {
    flex: 1;
}

.dataset-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #171a1f;
    margin-bottom: 2px;
}

.dataset-type {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 17px;
    color: rgba(23, 26, 31, 1);
}
.dataset-bottom{
    background: #fff;
    height: 100px;
    position: relative;
    margin-top: -34px;
    box-shadow: 0 -21px 31px rgba(255, 255, 255, 0.8);
}

/* ModelHub section */
.modelhub-section {
    padding: 68px 0;
    background-color: #ffffff;
    scroll-margin-top: 100px;
}

.modelhub-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    color: #0e121b;
    margin-bottom: 16px;
}

.modelhub-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: #222530;
}

.modelhub-hero {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.modelhub-hero-image {
    width: 100%;
    margin: 0 auto 40px;
}
.model-features-container{
    display: flex; gap: 18px; 
    justify-content: center; 
    margin-bottom: 56px; 
    flex-wrap: wrap;
}
.model-feature{
    background-color: #f2f5f8; 
    border-radius: 12px; 
    
    display: flex; gap: 16px; 
    align-items: flex-start; flex: 1; 
    min-width: 200px;
}
.model-feature span{
    font-size: 17px;
    line-height: 22px;
    color: #0e121b;
    font-weight: 300;
    padding: 10px 10px 0 0;
}
.model-feature .image-container{
    background: #653391;
    padding: 16px 18px;
    border-radius: 6px;
}
.model-feature .image-container img{
    background: #ffffff;
    border-radius: 100%;
    padding: 2px 4px;
    height: 26px;
}
.model-showcase {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.model-showcase-title{
    cursor: pointer;
}
.model-showcase-description-active{
    display: block;
}
.model-showcase-description{
    display: none;
}

.model-cards {
    flex: 1;
    position: relative;
    min-width: 300px;
    background: url('./assets/model-showcase-back.jpg'); 
    border-radius: 16px; padding: 40px 24px;
    background-size: cover;
    padding: 12px;
    max-width: 520px;
    max-height:480px;
}
.model-cards img{
    /* add transition */
    transition: opacity 0.5s ease;
}
.fade-out {
  opacity: 0;
}

.model-card {
    border-top: 1px solid rgba(225, 228, 234, 1);
   /* border-top: 1px solid #653391;  */
   padding: 20px 0; 
   margin-bottom: 25px; 
}
.model-card h4{
    font-size: 20px; 
    font-weight: 600; 
    line-height: 25px; 
    /* color: #653391;  */
    color:rgba(14, 18, 27, 1);
    margin-bottom: 4px;
    margin-top: 15px;
    margin-bottom: 10px;
}
.model-card p{
    font-size: 18px; 
    line-height: 28px; 
    color: #653391; 
    font-weight: 300;
}

.model-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.model-how-it-works {
    flex: 1;
    min-width: 300px;
    max-height: 510px;
}

/* Industries section */
.industries{
    padding: 80px 0;
    scroll-margin-top: 100px;
}
.industries-section {
    padding: 30px 25px;
    background: #F5F7FA;
    border: 1px solid rgba(225, 228, 234, 1);
    border-radius: 16px;
}

.industries-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    color: #0e121b;
    margin-bottom: 42px;
}

.industry-tabs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.industry-tab {
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: 1px solid #e1e4ea;
    color: #0e121b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.industry-tab.active {
    background-color: #e9dbf9;
    border-color: #a56ce0;
    color: #381457;
}

.industry-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.industry-info {
    flex: 1;
    min-width: 300px;
}

.industry-info h2 {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
    color: #0e121b;
    margin-bottom: 16px;
}

.industry-info p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #222530;
}

.industry-demo {
    position: relative;
    max-width:570px;
    margin-top: -60px;
}

.chat-interface {
    background: linear-gradient(202deg, #653391 0%, #b84dfa 50%, #d7bff3 100%);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 30px;
}

.chat-header {
    display: flex;
    gap: 8px;
    align-items: center;
    background: linear-gradient(177deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-radius: 8px;
    padding: 18px 16px;
    margin-bottom: 30px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: linear-gradient(177deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 100%);
    padding: 4px;
}

.chat-info h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    color: #ffffff;
}

.chat-info p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: rgba(255, 255, 255, 0.8);
}

.chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
    top: 312px;
    left: 76px;
    max-width: 446px;
    zoom: 90%;
    height: 128px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-top: -10px;
}

.message-content {
    flex: 1;
}
.author{
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.message-author {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #0e121b;
    margin-bottom: 6px;
}
.author-post{
    color: rgba(113, 119, 132, 1);
    font-weight: 300;
    font-size: 14px;
}

.message-text {
    background-color: #f5f7fa;
    border-radius: 6px;
    padding: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #0e121b;
    min-height: 45px;
    height: auto;
}

.chat-input {
    background-color: #ffffff;
    border: 1px solid #e1e4ea;
    border-radius: 8px;
    padding: 10px;
}

.input-field {
    width: 100%;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 15px;
    color: #0e121b;
    margin-bottom: 16px;
}

.input-tools {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tool-tag {
    background-color: #f2f5f8;
    border: 1px solid #e1e4ea;
    border-radius: 14px;
    padding: 6px;
    font-size: 11px;
    font-weight: 400;
    line-height: 15px;
    color: #0e121b;
    display: flex;
    gap: 4px;
    align-items: center;
}

/* Contact section */
.contact-section {
    padding: 80px 20px;
    background-color: #ffffff;
    scroll-margin-top: 100px;
}
.contact-bitgrit-logo{
    margin-bottom: 20px;
}

.contact-wrapper {
    background-color: #653391;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
    max-width: 1202px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    color: #ffffff;
    min-width: 300px;
}

.contact-info h2 {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 24px;
    text-align: left;
}

.contact-info p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 15px;
}
.contact-item a{
    text-decoration: none;
    color: #fff;
}
.contact-item .office-country{
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 4px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}
.contact-item .office-address{
    font-weight: 300;
    font-size: 15px;
    margin-bottom: 4px;
}
.contact-icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.contact-form {
    flex: 1;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 22px;
    min-width: 300px;
}

.form-title {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #0e121b;
    margin-bottom: 8px;
    justify-content: left;
}

.form-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 21px;
    color: #0e121b;
    margin-bottom: 32px;
}
.footer-bottom .japan-flag {
    background: radial-gradient(circle at center, #BC002D 35%, #f3f3f3 35%);
    border: 2px solid #ebebeb;
}
.footer-bottom .flag-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
}
.footer-bottom .uae-flag {
    background-image: url('../assets/UAE-Flag.svg');
    background-repeat: no-repeat;
}
.footer-bottom .us-flag {
    background-image: url('../assets/us-flag.png');
    background-repeat: no-repeat;
}
.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    margin-bottom: 24px;
    min-width: 120px;
}

.form-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: #0e121b;
    margin-bottom: 6px;
    display: block;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: #0e121b;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: #0e121b;
    background-color: #ffffff;
    min-height: 120px;
    resize: vertical;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}

.checkbox-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
}

.checkbox {
    width: 16px;
    height: 16px;
}

.checkbox-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #0e121b;
}

/* Footer */
.footer {
    background-color: #311852;
    padding: 88px 24px;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
    color: rgba(250, 250, 250, 0.5);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    color: #fafafa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dee948;
}

.footer-bottom {
    border-top: 1px solid rgba(225, 229, 234, 0.17);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}
.footer-bottom .contact-details{
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    color: rgba(250, 250, 250, 1);
    gap: 18px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 24px;
}

.footer-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #fafafa;
    margin-bottom: 42px;
}
.first-row{
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-bottom: 32px;
    justify-content: space-between;
    font-size: 20px;
    color: #ffffff;
    font-weight: 300;
}
.tagline-bold{
    font-weight: 600;
}

.contact-info-footer {
    margin-bottom: 32px;
}

.office-info {
    margin-bottom: 32px;
}

.office-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    color: #fafafa;
    margin-bottom: 8px;
}

.office-details {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #fafafa;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-left: -8px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.newsletter {
    flex: 1;
    min-width: 300px;
}

.newsletter-title,.footer-heading {
    font-size: 20px;
    font-weight: 700;
    line-height: 27px;
    color: rgba(250, 250, 250, 0.5);
    margin-bottom: 16px;
}

.newsletter-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #fafafa;
    margin-bottom: 32px;
}

.newsletter-form {
    margin-bottom: 32px;
}
.newsletter-form .btn-secondary{
    width: 100%;
    height: 52px;
    background-color: rgba(101, 51, 145, 1);
    font-size: 16px;
    line-height: 28px;
    color: #fff;
    font-weight: 500;
}

.newsletter-input {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid rgba(225, 229, 234, 0.25);
    border-radius: 28px;
    background: transparent;
    color: rgba(255, 255, 255, 0.83);
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    margin-bottom: 16px;
}

.newsletter-disclaimer {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #d7bff3;
}

/* Typography */
h1 {
    font-family: 'PolySans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
}

h2 {
    font-family: 'PolySans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
}

h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}

/* Interactive states */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
.competition-slider-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.btn:active {
    transform: translateY(0);
}

.tab-selector:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.competition-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.model-card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.calendly-section{
    padding: 30px 15px;
    background: #F5F7FA;
    border: 1px solid rgba(225, 228, 234, 1);
    scroll-margin-top: 100px;
}
.calendly-title{
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 40px;
}
.calendly-description{
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #222530;
    text-align: center;
}

.competition-header{
    display: grid;
    grid-auto-flow: column;
}
.competition-toggle-buttons{
    gap: 20px; 
    margin-bottom: 16px; 
    text-align: end;
}
.btn-join-comp{
    text-align: center;
    margin-top: 24px;
}
/* Responsive media queries */

@media (min-width: 1000px){
    .hamburger {
        display: none;
    }
    .nav-menu {
        display: flex !important;
        position: static;
        background: transparent;
        padding: 0;
        margin: 0;
        max-height: none;
        opacity: 1;
        flex-direction: row;
    }
    .nav-menu.mobile-open {
        flex-direction: row;
        align-items: center;
    }
}
@media (max-width: 999px){
    /* Mobile specific styles */
    .nav-auth-desktop {
        display: none !important;
    }
    .nav-menu {
        display: flex;
    }
}

@media (max-width: 639px) {
    .hero-content{
        margin-top: 192px;
    }
    .contact-section {
        padding: 80px 0;
    }
    /* Contact section mobile fixes */
    .contact-wrapper {
        padding: 24px 16px;
        gap: 32px;
        flex-direction: column;
    }
    .contact-info h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .contact-info p {
        font-size: 16px;
        line-height: 24px;
    }
    .contact-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    .contact-icon {
        flex-shrink: 0;
    }
    .form-title {
        font-size: 24px;
        line-height: 32px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group {
        width: 100%;
        min-width: 100%;
    }
}

@media (min-width: 640px) {
    .contact-section {
        padding: 80px 0;
    }
    .nav-auth-mobile {
        display: none !important;
    }
    .nav-auth-desktop {
        display: flex !important;
    }

    .hero-title {
    font-size: 48px;
    line-height: 56px;
    }

    .hero-description {
    font-size: 18px;
    line-height: 28px;
    max-width: 70%;
    }

    .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    }

    .dataset-grid {
    grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
    flex-direction: row;
    }

    .form-group {
    margin-bottom: 24px;
    }

    .contact-wrapper {
    flex-direction: row;
    padding: 32px 42px;
    }

    .footer-content {
    flex-direction: row;
    }

    .footer-bottom {
    flex-direction: col;
    }

    .tab-list {
    flex-wrap: nowrap;
    }

    .tab-selector {
    font-size: 18px;
    }

    .hero-content {
    padding: 0 34px;
    }
}


@media (min-width: 768px) {
    .calendly-section{
        padding: 30px 15px 0 15px;
    }

    .hero-title {
    font-size: 64px;
    line-height: 72px;
    }

    .platform-title {
    font-size: 40px;
    line-height: 48px;
    }

    .enterprise-title {
    font-size: 40px;
    line-height: 48px;
    }

    .competitions-title {
    font-size: 40px;
    line-height: 48px;
    }

    .community-title {
    font-size: 40px;
    line-height: 48px;
    max-width: 660px;
    margin: 10px auto;
    }

    .dataset-title {
    font-size: 40px;
    line-height: 48px;
    }

    .modelhub-title {
    font-size: 40px;
    line-height: 48px;
    }

    .industries-title {
    font-size: 40px;
    line-height: 48px;
    }

    .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    }
    .feature-grid-col-2{
    grid-template-columns: repeat(2, 1fr);
    }

    .dataset-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1030px;
    margin: 0 auto;
    }

    .industry-content {
    flex-direction: row;
    }

    .model-showcase {
    flex-direction: row;
    }

    .stat-number {
    font-size: 64px;
    line-height: 77px;
    }

    .gritbox-section {
    margin: 0 auto 60px;
    padding: 56px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
    font-size: 72px;
    line-height: 80px;
    }

    .platform-title {
    font-size: 48px;
    line-height: 56px;
    }

    .enterprise-title {
    font-size: 48px;
    line-height: 58px;
    }

    .competitions-title {
    font-size: 48px;
    line-height: 58px;
    }

    .community-title {
    font-size: 48px;
    line-height: 56px;
    }

    .dataset-title {
    font-size: 48px;
    line-height: 58px;
    }

    .modelhub-title {
    font-size: 48px;
    line-height: 58px;
    }

    .industries-title {
    font-size: 48px;
    line-height: 56px;
    }

    .platform-grid {
    grid-template-columns: repeat(4, 1fr);
    }

    .gritbox-content {
    flex-direction: row;
    gap: 48px;
    }

    .industry-info h2 {
    font-size: 48px;
    line-height: 58px;
    }

    .contact-info h2 {
    font-size: 48px;
    line-height: 56px;
    }

    .form-title {
    font-size: 48px;
    line-height: 58px;
    }
}

@media (min-width: 1280px) {
    .nav-menu {
    gap: 32px;
    }

    .platform-section {
    padding: 80px 0;
    }

    .enterprise-section {
    padding: 80px 0;
    }

    .competitions-section {
    padding: 80px 0 0 0;
    }

    .dataset-section {
    padding: 96px 40px 0 40px;
    border-radius: 10px;
    }

    .modelhub-section {
    padding: 80px 0 80px 0;
    }

    .industries-section {
    padding: 0 48px 50px;
    }

    .contact-section {
    padding: 96px 0;
    }

    .platform-tabs {
    max-width: 640px;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

/* Hide scrollbar but allow scrolling */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
@media (max-width: 769px) {
    .model-content-box{
        zoom: 54%;
    }
    .competition-feature {
        flex-wrap: wrap;
    }
    .competition-slider-content{
        flex-direction: column;
    }
    .model-showcase{
        flex-direction: column-reverse;
        align-items: center;
    }
    .footer-bottom .contact-details{
        flex-direction: column;
    }
    .nav-menu{
        top: 50px;
    }
}  

@media (max-width: 426px) {
    .model-cards{
        min-height: 390px;
        padding:4px;
    }
    .model-content-box{
        zoom: 70%;
    }
    .calendly-description{
        margin-bottom: 20px;
    }
    .chat-message{
        zoom:50%;
    }
    .contact-section {
        padding: 80px 0;
    }
    .footer-bottom .contact-details{
        flex-direction: column;
    }
    .contact-form{
        max-width: 100%;
        margin: 0 auto;
        min-width: 100%;
    }
    .contact-info{
        min-width: auto;
    }
    .enterprise-section, .platform-section, .competitions-section, 
    .competitions-section, .gritbox-section, .community-section, 
    .modelhub-section, .industries{
        padding: 40px 0;
    }
    .competitions-section{
        margin-bottom: 20px;
    }
    .competition-layout, .competition-layout-developer{
        padding: 20px;
    }
    .competition-layout .box-cobtainer{
        flex-wrap: wrap;
        gap: 2px;
        justify-content: flex-start;
    }
    .competition-layout .box{
        border-right: none;
        width: 100%;
        text-align: left;
    }
    .competition-header{
        grid-auto-flow: row;
    }
    .competitions-subtitle{
        margin-bottom: 26px;
    }
    .competition-toggle-buttons{
        gap: 20px; 
        margin-bottom: 25px; 
        text-align: center;
    }
}  

.cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background-color: #000;
  margin-left: 4px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 375px) {
    .model-cards{
        max-height: 322px;
    }
}



/* Scroll animation - single unified approach */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure header, footer, and navigation load immediately without animation */
header,
footer,
nav,
[data-include*="header"],
[data-include*="footer"],
[data-include*="nav"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Prevent animation on elements that shouldn't animate */
.no-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}



.clients-section {
  padding: 14px 20px 0 20px;
  overflow: hidden;
  max-width: 100%;
  background: #f9f9f9;
}
.supported-by .clients-section{
    background: #ffffff;
}

.clients-heading {
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
}

.clients-section .logos-carousel {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
  border-radius: 50px;
}

.clients-section .logos-carousel::before,
.clients-section .logos-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-section .logos-carousel::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9, transparent);
}

.clients-section .logos-carousel::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9, transparent);
}

.clients-section .logos-track {
  display: flex;
  flex-shrink: 0;
  gap: 60px;
  padding: 10px 40px;
  animation: scroll 30s linear infinite;
}

.clients-section .logos-carousel:hover .logos-track {
  animation-play-state: paused;
}

.clients-section .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 80px;
  flex-shrink: 0;
}

.clients-section .logo-item img {
  max-width: 150px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}
.supported-by .logos-carousel{
    background: #ffffff;
    border-radius: 0
}
.supported-by .logos-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.supported-by .logos-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
.supported-by .logo-item img{
    filter: grayscale(100%);
}

@keyframes scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .competition-layout, .competition-layout-developer{
        flex-direction: column-reverse;
    }
    .competition-list, .competition-image-list{
        max-width: 100%;
    }
  
  .clients-section .logos-track {
    gap: 40px;
  }
  
  .clients-section .logo-item {
    min-width: 120px;
    height: 60px;
  }
  
  .clients-section .logo-item img {
    max-width: 120px;
    max-height: 60px;
  }
  
  .clients-section .logos-carousel::before,
  .clients-section .logos-carousel::after {
    width: 50px;
  }
}

@media (min-width: 640px) {
  
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .clients-section .logos-track {
    animation: none;
  }
}





/* Competition Card Styles */
.competition-card {
    border: 1px solid #E2D7EC;
    border-radius: 10px;
    margin-bottom: 30px;
    background-color: #fff;
}

.competition-card a, 
.competition-card a:hover {
    color: #000;
    text-decoration: none;
}

.competition-card-banner {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 152px;
    object-fit: cover;
}

.w-100 {
    width: 100%;
}

.competition-card-body {
    padding: 16px;
}

.fix-height {
    height: 126px;
    overflow: hidden;
    margin-bottom: 10px;
}

.competition-card-body .title {
    color: #0e121b;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.mb-10 {
    margin-bottom: 10px;
}

.competition-card-body .subtitle {
    color: #2b303b;
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
}

.pull-left {
    float: left;
}

.font-12 {
    font-size: 12px;
}

.red-dot, .green-dot {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #2b303b;
}

.green-dot::before {
    background-color: green;
}

.red-dot::before, 
.green-dot::before {
    align-items: center;
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    margin-right: 8px;
}

.red-dot::before {
    background-color: red;
}

.pull-right {
    float: right;
}

.font-12 {
    font-size: 12px;
    font-weight: 500;
    color: #2b303b;
}

.gap-18 {
    height: 18px;
}

.competition-card-footer {
    border-top: 1px solid #E2D7EC;
    padding: 16px;
}

.text-center {
    text-align: center !important;
}

.h-60 {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.font-20 {
    font-size: 18px;
}

.text-bold {
    font-weight: 500;
    color: #0e121b;
}

/* Slider Styles */
.slider-content {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.competition-card {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .competition-card {
        min-width: 320px;
        max-width: 320px;
    }
}






/* Modal Container */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Modal Overlay */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

/* Modal Content Box */
.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.modal.active .modal-content {
  transform: scale(1);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: #333;
  transform: rotate(90deg);
}

/* Modal Title */
.modal-content h2 {
  margin: 0 0 12px 0;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
}

/* Modal Description */
.modal-description {
  margin: 0 0 30px 0;
  font-size: 16px;
  color: #666;
  text-align: center;
  line-height: 1.5;
}

/* Form Styles */
#waitlistForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

#emailInput {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

#emailInput:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

#emailInput.error {
  border-color: #e74c3c;
}

/* Error Message */
.error-message {
  display: block;
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}

/* Join Button */
.btn-join {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-join:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-join:active:not(:disabled) {
  transform: translateY(0);
}

.btn-join:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Button Loader */
.btn-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
  text-align: center;
  color: #27ae60;
  font-size: 16px;
  font-weight: 600;
  padding: 20px;
  background: #e8f8f5;
  border-radius: 8px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .modal-content {
    padding: 30px 20px;
    width: 95%;
  }
  
  .modal-content h2 {
    font-size: 24px;
  }
  
  .modal-description {
    font-size: 14px;
  }
  
  #emailInput {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  .btn-join {
    padding: 14px;
    font-size: 16px;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

.form-message-success, .newsletter-message-success{
    font-size: 16px;
    padding: 12px;
    color: #155724;
    border: 1px solid #c3e6cb;
    background: #d4edda;
    margin-top: 16px;
    text-align: center;
    border-radius: 4px;
}

.form-message-error, .newsletter-error-success{
    font-size: 16px;
    padding: 12px;
    color: #721c24;
    border: 1px solid #f5c6cb;
    background: #f8d7da;
    margin-top: 16px;
    text-align: center;
    border-radius: 4px;
}
.form-message, .newsletter-message{
    display:none;
}


.benefits-section {
  width: 100%;
  padding: 40px 20px;
}

.benefits-container {
  max-width: 1202px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  display: flex;
  align-items: stretch;
  background: #F5F5F7;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: solid 1px #dddddd;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  flex-shrink: 0;
  width: 88px;
  background: #653391;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 0 0 12px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}
.benefit-icon img{
    background: #fff;
    border-radius: 100%;
    border: solid 5px #fff;
    width: 32px;
    height: 30px;
}

.benefit-content {
  flex: 1;
  padding: 10px 18px;
  display: flex;
  align-items: center;
}

.benefit-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #1A1A1A;
}

/* Tablet view */
@media screen and (max-width: 992px) {
  .benefits-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .benefit-icon {
    width: 70px;
  }
  
  .benefit-content {
    padding: 20px;
  }
  
  .benefit-content h3 {
    font-size: 16px;
  }
}

/* Mobile view */
@media screen and (max-width: 768px) {
  .benefits-section {
    padding: 30px 16px;
  }
  
  .benefits-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .benefit-icon {
    width: 70px;
  }
  
  .benefit-content {
    padding: 20px;
  }
  
  .benefit-content h3 {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .benefit-icon {
    width: 60px;
  }
  
  .benefit-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .benefit-content {
    padding: 16px;
  }
  
  .benefit-content h3 {
    font-size: 15px;
  }
}


.model-card {
    position: relative;
    transition: border-top 0.3s ease;
    cursor: pointer;
    border-top: 2px solid rgba(225, 228, 234, 1);
    overflow: visible;
    padding-top: 0;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #653391;
    z-index: 20;
}

.model-card.active::before {
    animation: progressAnimation 3s linear forwards;
}

.progress-bar {
    display: none;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.model-card h4 {
    transition: color 0.3s ease;
}

.model-card p {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#model-card-img {
    transition: opacity 0.2s ease-in-out;
}

#model-card-img.fade-out {
    opacity: 0;
}

