/* =========================================================
   Corporate Games — site overrides on top of Evenza custom.css
   Keep template look; only add what the brief needs.
   ========================================================= */

/* ---------- Header social icons ---------- */
#loading-icon img{
	width: 66px;
	height: 66px;
	object-fit: contain;
}
.header-btn{
	display: flex;
	align-items: center;
	gap: 20px;
}
.header-social-icons{
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.header-social-icons a{
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--dark-divider-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white-color);
	transition: all 0.3s ease-in-out;
}
.header-social-icons a:hover{
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: #fff;
}
.header-social-icons a:hover i,
.header-social-icons a:focus-visible i{
	color: #fff;
}
.main-menu ul li.nav-item.active > a{
	color: var(--accent-color);
}

/* ---------- Hero with background video ---------- */
.hero.hero-video{
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 200px 0 120px;
}
.hero.hero-video.has-photo-slider{
	background-image: none !important;
	background-color: #17132a;
}
.hero-bg-video{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.hero-slides,
.hero-slide{
	position: absolute;
	inset: 0;
}
.hero-slides{
	z-index: 0;
}
.hero-slide{
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 1s ease, transform 7s ease;
}
.hero-slide.is-active{
	opacity: 1;
	transform: scale(1);
}
.hero-slide-controls{
	position: absolute;
	bottom: 32px;
	left: 50%;
	z-index: 3;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}
.hero-slide-dot{
	width: 30px;
	height: 8px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 99px;
	background: transparent;
	cursor: pointer;
	transition: background .3s ease;
}
.hero-slide-dot.is-active,
.hero-slide-dot:hover,
.hero-slide-dot:focus-visible{
	background: #fff;
}
@media (prefers-reduced-motion: reduce){
	.hero-slide{ transition: none; transform: none; }
}
.hero.hero-video::before{
	opacity: 65%;
}
.hero .hero-title{
	text-transform: uppercase;
}
.hero-event-date{
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 20px;
	font-weight: 600;
	color: var(--white-color);
	margin-bottom: 30px;
}
.hero-event-date i{
	color: var(--accent-color);
}

/* ---------- Generic marquee (gallery strip + company logos) ---------- */
.cg-marquee{
	--gap: 30px;
	--duration: 60s;
	display: flex;
	gap: var(--gap);
	overflow: hidden;
	user-select: none;
}
.cg-marquee-track{
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: var(--gap);
	min-width: 100%;
	animation: cg-scroll-ltr var(--duration) linear infinite;
}
.cg-marquee.rtl .cg-marquee-track{
	animation-name: cg-scroll-rtl;
}
.cg-marquee:hover .cg-marquee-track{
	animation-play-state: paused;
}
@keyframes cg-scroll-ltr{
	from{ transform: translateX(calc(-100% - var(--gap))); }
	to{ transform: translateX(0); }
}
@keyframes cg-scroll-rtl{
	from{ transform: translateX(0); }
	to{ transform: translateX(calc(-100% - var(--gap))); }
}
@media (prefers-reduced-motion: reduce){
	.cg-marquee-track{ animation: none; }
}

/* Gallery strip */
.home-gallery-strip{
	padding: 100px 0;
	overflow: hidden;
}
.home-gallery-strip .section-row{
	margin-bottom: 50px;
}
.gallery-strip-item{
	width: 340px;
	flex-shrink: 0;
}
.gallery-strip-item a{
	display: block;
	border-radius: 20px;
	overflow: hidden;
	cursor: none;
}
.gallery-strip-item img{
	width: 100%;
	aspect-ratio: 1 / 0.75;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.gallery-strip-item a:hover img{
	transform: scale(1.06);
}

/* Companies logo wall */
.participating-companies{
	padding: 100px 0;
	background: var(--secondary-color);
}
.company-logo-item{
	width: 200px;
	height: 110px;
	flex-shrink: 0;
	background: var(--white-color);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 25px;
}
.company-logo-item img{
	max-width: 100%;
	max-height: 60px;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.8;
	transition: all 0.3s ease;
}
.company-logo-item:hover img{
	filter: none;
	opacity: 1;
}

/* ---------- Font Awesome icons inside Evenza icon boxes ---------- */
.icon-box > i{
	position: relative;
	z-index: 1;
	font-size: 22px;
	color: var(--white-color);
}
.benefits-item .icon-box > i{
	font-size: 26px;
}

/* ---------- Stats strip (intro section) ---------- */
.home-intro{
	padding: 100px 0 70px;
}
.home-intro .section-title p{
	font-size: 20px;
}
.stats-list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.stat-box{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 35px 30px;
	text-align: center;
	height: 100%;
}
.stat-box h3{
	font-size: 48px;
	font-weight: 700;
	color: var(--accent-color);
	margin-bottom: 10px;
}
.stat-box p{
	margin: 0;
	font-weight: 500;
	color: var(--primary-color);
}
.dark-section .stat-box{
	background: var(--dark-divider-color);
}
.dark-section .stat-box p{
	color: var(--white-color);
}

/* ---------- Sport cards ---------- */
.sport-category-block{
	margin-bottom: 60px;
}
.sport-category-block:last-child{
	margin-bottom: 0;
}
.sport-category-title{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid var(--divider-color);
	padding-bottom: 20px;
	margin-bottom: 30px;
}
.sport-category-title h2{
	font-size: 32px;
	margin: 0;
}
.sport-category-title span{
	color: var(--accent-color);
	font-weight: 600;
}
.sport-card{
	position: relative;
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 30px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	transition: all 0.3s ease;
}
.sport-card:hover{
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(22, 26, 45, 0.08);
}
.sport-card-header{
	display: flex;
	align-items: center;
	gap: 15px;
}
.sport-card .icon-box,
.sport-detail-sidebar .icon-box{
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sport-card h3{
	font-size: 22px;
	margin: 0;
}
.sport-card h3 a{
	color: inherit;
}
.sport-card-meta{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sport-card-meta li{
	display: flex;
	gap: 10px;
	font-size: 15px;
	line-height: 1.5em;
}
.sport-card-meta li i{
	color: var(--accent-color);
	width: 18px;
	margin-top: 4px;
}
.sport-gender-tags{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.sport-gender-tags span{
	font-size: 13px;
	font-weight: 600;
	padding: 3px 12px;
	border-radius: 30px;
	background: rgba(115, 75, 223, 0.1);
	color: var(--accent-color);
}
.sport-card .readmore-btn{
	margin-top: auto;
}
.dark-section .sport-card{
	background: var(--dark-divider-color);
}
.dark-section .sport-card h3,
.dark-section .sport-card-meta li{
	color: var(--white-color);
}
.sport-filter-nav{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 50px;
}
.sport-filter-nav a{
	padding: 10px 22px;
	border-radius: 30px;
	border: 1px solid var(--divider-color);
	color: var(--primary-color);
	font-weight: 500;
}
.sport-filter-nav a:hover,
.sport-filter-nav a.active{
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}

/* Sport detail */
.sport-detail{
	padding: 100px 0;
}
.sport-detail-sidebar{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 35px;
	position: sticky;
	top: 120px;
}
.sport-detail-sidebar .sport-card-meta li{
	padding: 12px 0;
	border-bottom: 1px solid var(--divider-color);
}
.sport-detail-sidebar .btn-default{
	margin-top: 25px;
	width: 100%;
	text-align: center;
}
.rich-text h2, .rich-text h3{
	margin: 30px 0 15px;
}
.rich-text ul, .rich-text ol{
	padding-left: 20px;
	margin-bottom: 20px;
}
.rich-text ul li{
	margin-bottom: 8px;
}

/* ---------- Road to the Games (steps) ---------- */
.road-to-games .interactive-process-item-title-wap h4{
	font-size: 40px;
	font-weight: 700;
	color: var(--accent-color);
}
.road-to-games-venue{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px 30px;
	margin-top: 20px;
	color: var(--white-color);
	font-weight: 500;
}
.road-to-games-venue i{
	color: var(--accent-color);
	margin-right: 8px;
}

/* ---------- Venue page ---------- */
.venue-experience{
	padding: 100px 0 70px;
}
.experience-item{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 35px 30px;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	transition: all 0.3s ease;
}
.experience-item:hover{
	background: var(--accent-color);
}
.experience-item:hover h3,
.experience-item:hover p{
	color: var(--white-color);
}
.experience-item:hover .icon-box{
	background: var(--white-color);
}
.experience-item:hover .icon-box i{
	color: var(--accent-color);
}
.experience-item .icon-box{
	width: 60px;
	height: 60px;
	border-radius: 12px;
	background: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
	transition: all 0.3s ease;
}
.experience-item h3{
	font-size: 22px;
	margin-bottom: 12px;
	transition: all 0.3s ease;
}
.experience-item p{
	margin: 0;
	transition: all 0.3s ease;
}
.satellite-venues{
	padding: 100px 0;
}
.satellite-venue-table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 12px;
}
.satellite-venue-table th{
	color: var(--white-color);
	font-weight: 600;
	padding: 0 25px 10px;
}
.satellite-venue-table td{
	background: var(--dark-divider-color);
	color: var(--white-color);
	padding: 20px 25px;
	vertical-align: middle;
}
.satellite-venue-table td:first-child{ border-radius: 15px 0 0 15px; }
.satellite-venue-table td:last-child{ border-radius: 0 15px 15px 0; text-align: right; }
.satellite-venue-table .venue-sports span{
	display: inline-block;
	font-size: 13px;
	padding: 3px 10px;
	border-radius: 20px;
	background: var(--accent-color);
	margin: 2px;
}
.satellite-venue-table a{
	color: var(--white-color);
	white-space: nowrap;
}
.satellite-venue-table a:hover{
	color: var(--accent-color);
}
.venue-map iframe,
.google-map-iframe iframe{
	width: 100%;
	height: 500px;
	border: 0;
	display: block;
}

/* ---------- History timeline ---------- */
.history-timeline{
	padding: 100px 0;
}
.timeline-item{
	display: flex;
	gap: 30px;
	align-items: center;
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 25px;
	margin-bottom: 30px;
}
.timeline-item figure{
	width: 260px;
	flex-shrink: 0;
	border-radius: 15px;
	overflow: hidden;
	margin: 0;
}
.timeline-item figure img{
	width: 100%;
	aspect-ratio: 1 / 0.7;
	object-fit: cover;
}
.timeline-year{
	font-size: 42px;
	font-weight: 700;
	color: var(--accent-color);
	line-height: 1;
}
.timeline-edition{
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 20px;
	background: var(--primary-color);
	color: var(--white-color);
	margin: 12px 0;
}
.timeline-item h3{
	font-size: 24px;
	margin-bottom: 10px;
}
.timeline-item p{
	margin: 0;
}

/* ---------- Gallery page ---------- */
.gallery-tabs{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}
.gallery-tabs a{
	padding: 10px 22px;
	border-radius: 30px;
	border: 1px solid var(--divider-color);
	color: var(--primary-color);
	font-weight: 500;
}
.gallery-tabs a.active,
.gallery-tabs a:hover{
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}
.photo-gallery figcaption{
	padding-top: 10px;
	font-size: 15px;
}
.video-gallery-item{
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 30px;
}
.video-gallery-item img{
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.video-gallery-item .video-play-button{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* ---------- CTA band in footer ---------- */
.cta-band .section-title h3{
	color: var(--accent-color);
}
.cta-band-btn .btn-default{
	display: inline-block;
}

/* ---------- Contact cards ---------- */
.contact-cards{
	padding: 100px 0 70px;
}
.contact-card{
	background: var(--secondary-color);
	border-radius: 20px;
	padding: 40px 35px;
	text-align: center;
	height: calc(100% - 30px);
	margin-bottom: 30px;
	transition: all 0.3s ease;
}
.contact-card .icon-box{
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
}
.contact-card .icon-box i{
	font-size: 28px;
}
.contact-card.whatsapp .icon-box{
	background: #25D366;
}
.contact-card h3{
	font-size: 22px;
	margin-bottom: 10px;
}
.contact-card p{
	margin-bottom: 0;
}
.contact-card a{
	color: var(--primary-color);
	font-weight: 600;
	word-break: break-word;
}
.contact-card:hover{
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(22, 26, 45, 0.08);
}

/* ---------- Forms ---------- */
.cg-form .form-control,
.cg-form .form-select{
	font-size: 16px;
	line-height: 1.5em;
	color: var(--primary-color);
	background: var(--secondary-color);
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 15px 20px;
	box-shadow: none;
}
.cg-form .form-control:focus{
	border-color: var(--accent-color);
}
.cg-form label{
	font-weight: 500;
	color: var(--primary-color);
	margin-bottom: 8px;
}
.cg-form .invalid-feedback{
	display: block;
}
.sport-checkbox-list{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sport-checkbox-list label{
	margin: 0;
	cursor: pointer;
}
.sport-checkbox-list input{
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.sport-checkbox-list span{
	display: inline-block;
	padding: 8px 18px;
	border-radius: 30px;
	border: 1px solid var(--divider-color);
	background: var(--white-color);
	font-size: 15px;
	font-weight: 500;
	transition: all 0.2s ease;
}
.sport-checkbox-list input:checked + span{
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}
.sport-checkbox-list input:focus-visible + span{
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}
.sport-checkbox-group h4{
	font-size: 16px;
	margin: 15px 0 10px;
}
.form-alert{
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 25px;
	font-weight: 500;
}
.form-alert-success{
	background: #e8f8ef;
	color: #1b7a44;
}
.form-alert-error{
	background: #fdecec;
	color: #b42318;
}
.register-page{
	padding: 100px 0;
}
.register-form-box{
	background: var(--white-color);
	border-radius: 20px;
	padding: 50px;
	box-shadow: 0 30px 60px rgba(22, 26, 45, 0.06);
}
.register-aside{
	position: sticky;
	top: 120px;
}
.register-aside ul{
	list-style: none;
	padding: 0;
	margin: 30px 0 0;
}
.register-aside ul li{
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
	font-weight: 500;
	color: var(--primary-color);
}
.register-aside ul li i{
	color: var(--accent-color);
	margin-top: 4px;
}

/* ---------- Pagination (Laravel) ---------- */
.page-pagination .pagination li span{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--secondary-color);
	color: var(--primary-color);
	font-weight: 600;
}
.page-pagination .pagination li.active span{
	background: var(--accent-color);
	color: var(--white-color);
}

/* ---------- Misc ---------- */
.post-item-meta ul li i{
	color: var(--accent-color);
	margin-right: 6px;
}
.empty-state{
	text-align: center;
	padding: 40px 0;
	color: var(--text-color);
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 1024px){
	.header-social-icons{ display: none; }
}
@media only screen and (max-width: 991px){
	.stats-list{ grid-template-columns: repeat(2, 1fr); }
	.stat-box h3{ font-size: 36px; }
	.register-form-box{ padding: 30px; }
	.timeline-item{ flex-direction: column; align-items: flex-start; }
	.timeline-item figure{ width: 100%; }
	.satellite-venue-table thead{ display: none; }
	.satellite-venue-table tr{ display: block; margin-bottom: 12px; }
	.satellite-venue-table td{ display: block; border-radius: 0 !important; text-align: left !important; padding: 12px 20px; }
	.satellite-venue-table td:first-child{ border-radius: 15px 15px 0 0 !important; }
	.satellite-venue-table td:last-child{ border-radius: 0 0 15px 15px !important; }
	.gallery-strip-item{ width: 260px; }
	.company-logo-item{ width: 160px; height: 90px; }
	.venue-map iframe, .google-map-iframe iframe{ height: 350px; }
}
@media only screen and (max-width: 575px){
	.stats-list{ grid-template-columns: 1fr 1fr; gap: 15px; }
	.stat-box{ padding: 25px 15px; }
	.stat-box h3{ font-size: 30px; }
	.hero-event-date{ font-size: 16px; }
}

/* ---------- RTL (Arabic, later) ---------- */
[dir="rtl"] .scrolling-content span img{ margin-right: 0; margin-left: 30px; }
[dir="rtl"] .sport-card-meta li i{ transform: scaleX(-1); }
[dir="rtl"] .road-to-games-venue i{ margin-right: 0; margin-left: 8px; }
[dir="rtl"] .satellite-venue-table td:first-child{ border-radius: 0 15px 15px 0; }
[dir="rtl"] .satellite-venue-table td:last-child{ border-radius: 15px 0 0 15px; text-align: left; }
[dir="rtl"] .rich-text ul, [dir="rtl"] .rich-text ol{ padding-left: 0; padding-right: 20px; }

/* ---------- Icon visibility on hover / active (Evenza turns the icon box white) ---------- */
.feature-item .icon-box > i,
.benefits-item .icon-box > i,
.about-us-item .icon-box > i{
	transition: color 0.4s ease-in-out;
}
.feature-item:hover .icon-box > i,
.feature-item.active .icon-box > i,
.benefits-item:hover .icon-box > i,
.about-us-item:hover .icon-box > i{
	color: var(--accent-color);
}

/* ---------- Home sports teaser: image + icon ---------- */
.feature-item.sport-feature-item{
	min-height: 0;
	padding: 20px 20px 30px;
	gap: 25px;
}
.sport-feature-image,
.sport-card-image{
	position: relative;
	display: block;
	z-index: 1;
	cursor: none;
}
.sport-feature-image figure,
.sport-card-image figure{
	display: block;
	border-radius: 14px;
	overflow: hidden;
	margin: 0;
}
.sport-feature-image img,
.sport-card-image img{
	width: 100%;
	aspect-ratio: 1 / 0.68;
	object-fit: cover;
}
.sport-feature-image .icon-box,
.sport-card-image .icon-box{
	position: absolute;
	left: 16px;
	bottom: -24px;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
	z-index: 2;
}
.sport-feature-item .feature-item-body{
	padding: 10px 10px 0;
}

/* ---------- Sports page cards: image + icon ---------- */
.sport-card{
	padding: 15px 15px 25px;
	gap: 0;
}
.sport-card-image .icon-box{
	background: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sport-card-body{
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex-grow: 1;
	padding: 38px 10px 0;
}

/* ---------- Contact cards (no form) ---------- */
a.contact-card{
	display: block;
	color: inherit;
}
.contact-card-text{
	font-size: 15px;
	line-height: 1.6em;
	margin-bottom: 15px !important;
	min-height: 48px;
}
.contact-card-value{
	display: inline-block;
	font-weight: 600;
	color: var(--accent-color);
	word-break: break-word;
}
.contact-card.whatsapp .contact-card-value{
	color: #1DA851;
}
.contact-address{
	text-align: center;
	margin: 20px 0 0;
}
.contact-address i{
	color: var(--accent-color);
	margin-right: 8px;
}
[dir="rtl"] .sport-feature-image .icon-box,
[dir="rtl"] .sport-card-image .icon-box{ left: auto; right: 16px; }
[dir="rtl"] .contact-address i{ margin-right: 0; margin-left: 8px; }
