/*==================================
            RESET
==================================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Cairo',sans-serif;
background:#070b10;
color:#fff;
overflow-x:hidden;
}

.container{
width:min(92%,1280px);
margin:auto;
}

/*==================================
            NAVBAR
==================================*/

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:999;
background:rgba(7,11,16,.82);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,.06);
}

.navbar{
height:90px;
display:flex;
justify-content:space-between;
align-items:center;
width:min(92%,1280px);
margin:auto;
}

.logo img{
width:170px;
}

.navbar ul{
display:flex;
gap:35px;
list-style:none;
}

.navbar ul li a{
color:#fff;
text-decoration:none;
font-weight:700;
transition:.3s;
}

.navbar ul li a:hover{
color:#00ff88;
}

.nav-btn{
padding:14px 34px;
background:#00ff88;
color:#000;
text-decoration:none;
font-weight:800;
border-radius:50px;
transition:.35s;
}

.nav-btn:hover{
transform:translateY(-5px);
box-shadow:0 15px 40px rgba(0,255,136,.35);
}

/*==================================
            HERO
==================================*/

.hero{

position:relative;

min-height:100vh;

display:flex;

align-items:center;

padding:120px 0;

overflow:hidden;

background:
linear-gradient(rgba(5,8,12,.85),rgba(5,8,12,.92)),
url(event/evhero.jpeg);

background-size:cover;

background-position:center;

}

.hero::before{

content:"";

position:absolute;

width:700px;

height:700px;

background:radial-gradient(circle,#00ff8835,transparent);

right:-250px;

top:-250px;

filter:blur(70px);

}

.hero-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

position:relative;

z-index:2;

}

.hero-badge{

display:inline-block;

padding:10px 24px;

background:#00ff8820;

color:#00ff88;

border-radius:50px;

font-weight:700;

margin-bottom:25px;

}

.hero h1{

font-size:68px;

margin-bottom:25px;

font-weight:900;

}

.hero p{

font-size:20px;

line-height:2;

color:#d0d0d0;

margin-bottom:35px;

}

.hero-buttons{

display:flex;

gap:18px;

}

.btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:17px 40px;

background:#00ff88;

color:#000;

font-weight:800;

text-decoration:none;

border-radius:50px;

transition:.35s;

}

.btn:hover{

transform:translateY(-6px);

box-shadow:0 20px 45px rgba(0,255,136,.35);

}

.btn-outline{

display:inline-flex;

align-items:center;

justify-content:center;

padding:17px 40px;

border:2px solid #00ff88;

border-radius:50px;

color:#fff;

text-decoration:none;

transition:.35s;

}

.btn-outline:hover{

background:#00ff88;

color:#000;

}

.hero-image{

display:flex;

justify-content:center;

}

.hero-image img{

width:100%;

max-width:520px;

border-radius:30px;

box-shadow:0 30px 80px rgba(0,0,0,.35);

animation:float 5s ease-in-out infinite;

}

@keyframes float{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

}

/*==================================
          FILTER
==================================*/

.filter{

padding:80px 0 40px;

}

.filter-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.filter-buttons button{

padding:15px 35px;

background:#141b24;

border:1px solid rgba(255,255,255,.08);

color:#fff;

border-radius:50px;

cursor:pointer;

font-size:17px;

font-weight:700;

transition:.35s;

}

.filter-buttons button:hover,

.filter-buttons button.active{

background:#00ff88;

color:#000;

border-color:#00ff88;

}
/*==================================
          SECTION TITLE
==================================*/

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title span{

display:inline-block;

padding:10px 24px;

background:#00ff8820;

color:#00ff88;

border-radius:50px;

font-weight:700;

margin-bottom:20px;

}

.section-title h2{

font-size:52px;

margin-bottom:20px;

}

.section-title p{

max-width:800px;

margin:auto;

font-size:18px;

line-height:2;

color:#cfcfcf;

}

/*==================================
            EVENTS
==================================*/

.events{

padding:120px 0;

background:#0d131b;

}

.events-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:35px;

margin-top:60px;

}

.event-card{

background:#141b24;

border-radius:28px;

overflow:hidden;

border:1px solid rgba(255,255,255,.06);

transition:.4s;

}

.event-card:hover{

transform:translateY(-12px);

border-color:#00ff88;

box-shadow:0 25px 70px rgba(0,255,136,.18);

}

.event-card img{

width:100%;

height:260px;

object-fit:cover;

transition:.45s;

}

.event-card:hover img{

transform:scale(1.05);

}

.event-content{

padding:30px;

}

.event-type{

display:inline-block;

padding:8px 18px;

background:#00ff8820;

color:#00ff88;

border-radius:40px;

font-size:14px;

font-weight:700;

margin-bottom:18px;

}

.event-content h3{

font-size:30px;

margin-bottom:18px;

}

.event-info{

margin-bottom:20px;

}

.event-info p{

display:flex;

align-items:center;

gap:10px;

margin-bottom:12px;

color:#cfcfcf;

}

.event-info i{

color:#00ff88;

width:18px;

}

.status{

display:inline-block;

padding:10px 18px;

border-radius:40px;

font-size:15px;

font-weight:700;

margin-bottom:25px;

}

.status.open{

background:#00ff8820;

color:#00ff88;

}

.status.closed{

background:#ff3b3020;

color:#ff4b4b;

}

.event-content .btn,

.event-content .btn-outline{

width:100%;

justify-content:center;

}
/*==================================
        UPCOMING EVENT
==================================*/

.upcoming{

padding:120px 0;

background:#070b10;

}

.upcoming-box{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

background:#141b24;

padding:40px;

border-radius:35px;

border:1px solid rgba(255,255,255,.08);

overflow:hidden;

}

.upcoming-image img{

width:100%;

border-radius:25px;

transition:.5s;

}

.upcoming-image img:hover{

transform:scale(1.04);

}

.section-tag{

display:inline-block;

padding:10px 22px;

background:#00ff8820;

color:#00ff88;

border-radius:50px;

font-weight:700;

margin-bottom:20px;

}

.upcoming-content h2{

font-size:48px;

margin-bottom:20px;

}

.upcoming-content p{

line-height:2;

color:#cfcfcf;

margin-bottom:35px;

font-size:18px;

}

/*==================================
        COUNTDOWN
==================================*/

.countdown{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

margin-bottom:35px;

}

.countdown div{

background:#0d131b;

padding:25px;

border-radius:20px;

text-align:center;

border:1px solid rgba(255,255,255,.06);

transition:.35s;

}

.countdown div:hover{

transform:translateY(-6px);

border-color:#00ff88;

}

.countdown h3{

font-size:42px;

color:#00ff88;

margin-bottom:8px;

font-weight:900;

}

.countdown span{

color:#bbb;

font-size:16px;

}

/*==================================
        STATISTICS
==================================*/

.statistics{

padding:120px 0;

background:#0d131b;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.stat-card{

background:#141b24;

padding:45px;

border-radius:25px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.stat-card:hover{

transform:translateY(-10px);

border-color:#00ff88;

box-shadow:0 20px 55px rgba(0,255,136,.18);

}

.stat-card h2{

font-size:56px;

color:#00ff88;

margin-bottom:10px;

}

.stat-card p{

font-size:18px;

color:#d0d0d0;

}

/*==================================
              CTA
==================================*/

.cta{

padding:140px 0;

text-align:center;

background:

linear-gradient(rgba(5,8,12,.88),rgba(5,8,12,.94)),

url(images/events-cta.jpg);

background-size:cover;

background-position:center;

position:relative;

}

.cta::before{

content:"";

position:absolute;

width:600px;

height:600px;

background:radial-gradient(circle,#00ff8820,transparent);

left:-200px;

top:-200px;

filter:blur(70px);

}

.cta .container{

position:relative;

z-index:2;

}

.cta h2{

font-size:56px;

margin-bottom:25px;

}

.cta p{

max-width:800px;

margin:auto;

line-height:2;

font-size:20px;

color:#d0d0d0;

margin-bottom:40px;

}

.cta-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}
/*==================================
        UPCOMING EVENT
==================================*/

.upcoming{

padding:120px 0;

background:#070b10;

}

.upcoming-box{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

background:#141b24;

padding:40px;

border-radius:35px;

border:1px solid rgba(255,255,255,.08);

overflow:hidden;

}

.upcoming-image img{

width:100%;

border-radius:25px;

transition:.5s;

}

.upcoming-image img:hover{

transform:scale(1.04);

}

.section-tag{

display:inline-block;

padding:10px 22px;

background:#00ff8820;

color:#00ff88;

border-radius:50px;

font-weight:700;

margin-bottom:20px;

}

.upcoming-content h2{

font-size:48px;

margin-bottom:20px;

}

.upcoming-content p{

line-height:2;

color:#cfcfcf;

margin-bottom:35px;

font-size:18px;

}

/*==================================
        COUNTDOWN
==================================*/

.countdown{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;

margin-bottom:35px;

}

.countdown div{

background:#0d131b;

padding:25px;

border-radius:20px;

text-align:center;

border:1px solid rgba(255,255,255,.06);

transition:.35s;

}

.countdown div:hover{

transform:translateY(-6px);

border-color:#00ff88;

}

.countdown h3{

font-size:42px;

color:#00ff88;

margin-bottom:8px;

font-weight:900;

}

.countdown span{

color:#bbb;

font-size:16px;

}

/*==================================
        STATISTICS
==================================*/

.statistics{

padding:120px 0;

background:#0d131b;

}

.stats-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.stat-card{

background:#141b24;

padding:45px;

border-radius:25px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.stat-card:hover{

transform:translateY(-10px);

border-color:#00ff88;

box-shadow:0 20px 55px rgba(0,255,136,.18);

}

.stat-card h2{

font-size:56px;

color:#00ff88;

margin-bottom:10px;

}

.stat-card p{

font-size:18px;

color:#d0d0d0;

}

/*==================================
              CTA
==================================*/

.cta{

padding:140px 0;

text-align:center;

background:

linear-gradient(rgba(5,8,12,.88),rgba(5,8,12,.94)),

url(images/events-cta.jpg);

background-size:cover;

background-position:center;

position:relative;

}

.cta::before{

content:"";

position:absolute;

width:600px;

height:600px;

background:radial-gradient(circle,#00ff8820,transparent);

left:-200px;

top:-200px;

filter:blur(70px);

}

.cta .container{

position:relative;

z-index:2;

}

.cta h2{

font-size:56px;

margin-bottom:25px;

}

.cta p{

max-width:800px;

margin:auto;

line-height:2;

font-size:20px;

color:#d0d0d0;

margin-bottom:40px;

}

.cta-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}
/* ===== FIX ===== */

.hero{
    min-height:auto !important;
    padding:170px 0 90px !important;
}

.hero .container{
    position:relative;
    z-index:5;
}

section{
    position:relative;
    display:block;
    width:100%;
    overflow:hidden;
}

.events,
.upcoming,
.statistics,
.contact,
footer{
    display:block;
    clear:both;
}

.container{
    max-width:1280px;
    width:92%;
    margin:auto;
}

img{
    display:block;
    max-width:100%;
}

.hero-image img{
    max-width:480px;
    margin:auto;
}

@media(max-width:768px){

.hero{
    padding:120px 20px 60px !important;
}

.hero-grid{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.hero h1{
    font-size:42px;
}

.hero p{
    font-size:17px;
}

.hero-image img{
    max-width:280px;
}

.events-grid,
.stats-grid,
.contact-grid{
    grid-template-columns:1fr !important;
}

.upcoming-box{
    grid-template-columns:1fr !important;
}

.countdown{
    grid-template-columns:repeat(2,1fr);
}

.navbar{
    flex-wrap:wrap;
}

.navbar ul{
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
}

}
.hero{
    min-height:100vh !important;
    height:auto !important;
    padding:150px 0 100px !important;
}

.events,
.filter,
.upcoming,
.statistics,
.contact,
.cta{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    overflow:visible !important;
}

body{
    overflow-x:hidden;
    overflow-y:auto;
}
/* ================= FORCE FIX ================= */

.contact,
footer{
all:unset;
display:block !important;
width:100% !important;
box-sizing:border-box;
font-family:'Cairo',sans-serif;
background:#070b10 !important;
color:#fff !important;
}

/* CONTACT */

.contact{

padding:100px 40px !important;

border-top:1px solid rgba(255,255,255,.08);

}

.contact .container{

max-width:1200px;

margin:auto;

}

.contact h2{

font-size:52px;

text-align:center;

margin-bottom:60px;

font-weight:900;

}

.contact-grid{

display:grid !important;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.contact-card{

background:#111923 !important;

padding:40px 30px !important;

border-radius:22px !important;

text-align:center;

border:1px solid rgba(255,255,255,.06);

transition:.35s;

}

.contact-card:hover{

transform:translateY(-8px);

border-color:#00ff88;

box-shadow:0 15px 40px rgba(0,255,136,.18);

}

.contact-card i{

font-size:42px;

color:#00ff88;

margin-bottom:20px;

}

.contact-card h3{

font-size:26px;

margin-bottom:15px;

}

.contact-card p{

line-height:2;

font-size:17px;

color:#d7d7d7;

}

/* FOOTER */

footer{

padding:60px 20px 30px !important;

border-top:1px solid rgba(255,255,255,.08);

text-align:center;

margin-top:0 !important;

}

footer img{

width:170px;

margin-bottom:20px;

}

footer h3{

font-size:34px;

margin-bottom:10px;

}

footer p{

color:#bfbfbf;

margin-bottom:25px;

}

.footer-social{

display:flex !important;

justify-content:center;

gap:15px;

margin-bottom:25px;

}

.footer-social a{

width:50px;

height:50px;

display:flex;

align-items:center;

justify-content:center;

background:#111923;

border-radius:50%;

color:#fff;

text-decoration:none;

font-size:20px;

transition:.3s;

}

.footer-social a:hover{

background:#00ff88;

color:#000;

transform:translateY(-5px);

}

.copyright{

border-top:1px solid rgba(255,255,255,.08);

padding-top:20px;

color:#888;

font-size:15px;

}

/* MOBILE */

@media(max-width:768px){

.contact{

padding:70px 20px !important;

}

.contact h2{

font-size:36px;

}

.contact-grid{

grid-template-columns:1fr !important;

}

footer h3{

font-size:28px;

}

}
/*========== Past Events ==========*/

.past-events{

margin-top:120px;

}

.past-events .event-card{

opacity:.75;

filter:grayscale(.35);

transition:.3s;

}

.past-events .event-card:hover{

opacity:1;

filter:none;

transform:translateY(-8px);

}

.status.closed{

background:#444;

color:#fff;

}
html{
    scroll-behavior:smooth;
}
/* ===== Events Grid ===== */

.events-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

align-items:stretch;

}

.event-card{

display:flex;

flex-direction:column;

height:100%;

background:#1a212d;

border-radius:22px;

overflow:hidden;

}

.event-card img{

width:100%;

height:220px;

object-fit:cover;

}

.event-content{

padding:25px;

display:flex;

flex-direction:column;

flex:1;

}

.event-content h3{

font-size:36px;

margin:20px 0;

min-height:90px;

}

.event-info{

margin-bottom:20px;

}

.event-card .btn,
.event-card .btn-outline{

margin-top:auto;

width:100%;

}

/* Tablet */

@media (max-width:992px){

.events-grid{

grid-template-columns:repeat(2,1fr);

}

}

/* Mobile */

@media (max-width:768px){

.events-grid{

grid-template-columns:1fr;

}

}
/* ===========================
   FORCE EVENTS LAYOUT
   =========================== */

.events-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(320px,1fr)) !important;
    gap:30px !important;
    align-items:stretch !important;
}

.event-card{
    display:flex !important;
    flex-direction:column !important;
    background:#161f2b !important;
    border-radius:24px !important;
    overflow:hidden !important;
    height:100% !important;
    min-height:640px !important;
    border:1px solid rgba(255,255,255,.08) !important;
}

.event-card img{
    width:100% !important;
    height:220px !important;
    object-fit:cover !important;
    display:block !important;
}

.event-content{
    display:flex !important;
    flex-direction:column !important;
    flex:1 !important;
    padding:25px !important;
}

.event-type{
    align-self:flex-start !important;
    padding:8px 18px !important;
    border-radius:30px !important;
    margin-bottom:18px !important;
}

.event-content h3{
    font-size:32px !important;
    line-height:1.3 !important;
    margin:15px 0 20px !important;
    min-height:90px !important;
}

.event-info{
    margin-bottom:20px !important;
}

.event-info p{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:10px !important;
    margin-bottom:10px !important;
}

.status{
    display:inline-block !important;
    width:fit-content !important;
    margin-bottom:22px !important;
}

.event-card .btn,
.event-card .btn-outline{
    margin-top:auto !important;
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

/* Desktop */
@media (min-width:1200px){
.events-grid{
grid-template-columns:repeat(3,1fr) !important;
}
}

/* Tablet */
@media (max-width:992px){
.events-grid{
grid-template-columns:repeat(2,1fr) !important;
}
}

/* Mobile */
@media (max-width:768px){
.events-grid{
grid-template-columns:1fr !important;
}

.event-card{
min-height:auto !important;
}

.event-content h3{
font-size:26px !important;
min-height:auto !important;
}
}
/*==========================
        CONTACT FINAL
==========================*/

.contact{
    padding:120px 0;
    background:#0b1118;
}

.contact .section-title{
    text-align:center;
    margin-bottom:60px;
}

.contact-box{
    max-width:950px;
    margin:auto;
    background:#1a212d;
    border-radius:30px;
    padding:50px;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    text-align:center;
}

.contact-item{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin:22px 0;
    font-size:22px;
    color:#fff;
    flex-wrap:wrap;
}

.contact-item i{
    color:#00ff88;
    font-size:22px;
}

.contact-item a{
    color:#fff;
    text-decoration:none;
}

.contact-item a:hover{
    color:#00ff88;
}

.social-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:45px;
}

.social-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:170px;
    height:60px;
    background:#00ff88;
    color:#000;
    border-radius:50px;
    font-weight:800;
    text-decoration:none;
    transition:.3s;
}

.social-btn i{
    font-size:20px;
}

.social-btn:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 30px rgba(0,255,136,.35);
}

@media(max-width:768px){

.contact-box{
padding:30px 20px;
}

.contact-item{
font-size:18px;
}

.social-btn{
width:100%;
min-width:unset;
}

}




/* ================= FOOTER ================= */

.footer{

padding:100px 20px;

background:#0b1017;

}

.footer-box{

max-width:950px;

margin:auto;

background:#1b222d;

padding:60px 40px;

border-radius:30px;

border:1px solid rgba(255,255,255,.08);

text-align:center;

box-shadow:0 20px 60px rgba(0,0,0,.35);

}

.footer-logo{

width:90px;

margin-bottom:25px;

}

.footer h2{

font-size:55px;

color:#fff;

margin-bottom:45px;

font-weight:900;

}

.contact-list{

display:flex;

flex-direction:column;

gap:22px;

margin-bottom:45px;

}

.contact-item{

display:flex;

justify-content:center;

align-items:center;

gap:12px;

font-size:22px;

color:#ddd;

flex-wrap:wrap;

}

.contact-item i{

color:#19e66e;

font-size:22px;

}

.contact-item a{

color:#fff;

text-decoration:none;

transition:.3s;

}

.contact-item a:hover{

color:#19e66e;

}

.footer-social{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

margin-top:35px;

}

.footer-social a{

width:150px;

height:60px;

background:#19e66e;

border-radius:50px;

display:flex;

align-items:center;

justify-content:center;

gap:10px;

text-decoration:none;

color:#000;

font-weight:700;

font-size:18px;

transition:.35s;

}

.footer-social a:hover{

transform:translateY(-5px);

box-shadow:0 10px 25px rgba(25,230,110,.35);

}

.footer-social i{

font-size:22px;

}

.copyright{

margin-top:50px;

padding-top:25px;

border-top:1px solid rgba(255,255,255,.08);

color:#8f98a8;

font-size:15px;

}

@media(max-width:768px){

.footer h2{

font-size:42px;

}

.contact-item{

font-size:18px;

}

.footer-social a{

width:100%;

max-width:260px;

}

}
/*==============================
        EVENT CARD NEW STYLE
==============================*/

.events-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:35px;
    margin-top:60px;
}

.event-card{
    background:#181e26;
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    overflow:hidden;
    transition:.4s;
    position:relative;
}

.event-card:hover{
    transform:translateY(-10px);
    border-color:#18e67b;
    box-shadow:0 20px 45px rgba(24,230,123,.18);
}

.event-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    transition:.5s;
}

.event-card:hover img{
    transform:scale(1.05);
}

.event-content{
    padding:28px;
}

.event-content h3{
    font-size:32px;
    color:#fff;
    margin-bottom:15px;
    line-height:1.3;
}

.event-desc{
    color:#bfc5cf;
    line-height:1.9;
    font-size:16px;
    margin-bottom:25px;
    min-height:65px;
}

.event-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    padding-bottom:18px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.event-meta div{
    display:flex;
    align-items:center;
    gap:8px;
    color:#d8d8d8;
    font-size:15px;
}

.event-meta i{
    color:#18e67b;
}

.status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 20px;
    border-radius:40px;
    font-size:14px;
    font-weight:700;
    margin-bottom:22px;
}

.status.closed{
    background:#3f4652;
    color:#fff;
}

.status.open{
    background:#18e67b;
    color:#111;
}

.event-card .btn,
.event-card .btn-outline{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:15px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.event-card .btn{
    background:#18e67b;
    color:#111;
}

.event-card .btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(24,230,123,.35);
}

.event-card .btn-outline{
    border:2px solid #18e67b;
    color:#18e67b;
}

.event-card .btn-outline:hover{
    background:#18e67b;
    color:#111;
}

/* Mobile */

@media(max-width:768px){

.events-grid{
    grid-template-columns:1fr;
}

.event-content{
    padding:22px;
}

.event-content h3{
    font-size:26px;
}

.event-meta{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
}

}
/* ===========================
   CARD HOVER EFFECT
=========================== */

.event-card{
    transition:all .4s ease;
    transform:translateY(0) scale(1);
    cursor:pointer;
}

.event-card:hover{

    transform:translateY(-15px) scale(1.04);

    box-shadow:
    0 25px 60px rgba(0,255,136,.25),
    0 0 30px rgba(0,255,136,.18);

    border-color:#19e66a;

    z-index:10;

}
/* ===== Event Image Fix ===== */

.event-card{
    overflow: hidden;
}

.event-card img{
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 4;
    object-fit: contain !important;
    object-position: center;
    display: block;
    background: #fff;
    padding: 0;
}
.event-card{

overflow:hidden;

border-radius:25px;

background:#161b22;

border:1px solid rgba(255,255,255,.08);

transition:.4s;

}

.event-card:hover{

transform:translateY(-12px);

box-shadow:0 30px 70px rgba(0,255,136,.25);

}

.event-card img{

width:100%;
height:270px;

object-fit:cover;

transition:.6s;

}

.event-card:hover img{

transform:scale(1.08);

}
.status{

display:inline-flex;
align-items:center;
gap:8px;

padding:10px 18px;

border-radius:30px;

font-weight:bold;

background:#0f2f20;

color:#00ff88;

margin:20px 0;

}

.status::before{

content:"";

width:10px;
height:10px;

background:#00ff88;

border-radius:50%;

animation:pulse 1.5s infinite;

}

@keyframes pulse{

0%{
box-shadow:0 0 0 0 rgba(0,255,136,.6);
}

100%{
box-shadow:0 0 0 12px rgba(0,255,136,0);
}

}
/* تحسين المسافات فقط */

.event-content{
    padding:35px !important;
}

.event-content h3{
    margin-bottom:25px !important;
    line-height:1.4 !important;
}

.event-info{
    margin:25px 0 !important;
    gap:15px !important;
}

.event-info p{
    margin:0 !important;
    line-height:1.9 !important;
}

.event-description{
    margin:30px 0 !important;
    line-height:2 !important;
}

.status{
    margin-bottom:20px !important;
}

.btn{
    margin-top:25px !important;
}
/* ================= FINAL MOBILE EVENTS FIX ================= */

@media (max-width:768px){

header{
    position:fixed !important;
    top:0;
    left:0;
    width:100%;
    background:rgba(7,11,16,.96) !important;
    backdrop-filter:blur(18px);
    z-index:99999;
}

.navbar{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:12px !important;
    padding:15px !important;
    height:auto !important;
}

.logo img{
    width:110px !important;
}

.navbar ul{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    gap:12px !important;
    margin:0 !important;
    padding:0 !important;
}

.navbar ul li{
    list-style:none;
}

.navbar ul li a{
    font-size:15px !important;
}

.nav-btn{
    width:180px !important;
    padding:10px 18px !important;
    font-size:15px !important;
}

.hero{
    min-height:auto !important;
    padding:220px 20px 70px !important;
}

.hero-grid{
    display:flex !important;
    flex-direction:column-reverse !important;
    text-align:center !important;
    gap:30px !important;
}

.hero h1{
    font-size:42px !important;
    line-height:1.3 !important;
}

.hero p{
    font-size:17px !important;
    line-height:1.9 !important;
}

.hero-buttons{
    display:flex !important;
    flex-direction:column !important;
    gap:15px !important;
}

.hero-buttons .btn,
.hero-buttons .btn-outline{
    width:100% !important;
    max-width:240px !important;
    margin:auto !important;
}

.hero-image img{
    width:100% !important;
    max-width:280px !important;
    margin:auto !important;
}

.events-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:25px !important;
}

.event-card{
    min-height:auto !important;
}

.event-card img{
    height:220px !important;
    object-fit:cover !important;
}

.section-title h2{
    font-size:34px !important;
}

.countdown{
    grid-template-columns:repeat(2,1fr) !important;
}

.stats-grid{
    grid-template-columns:1fr !important;
}

.upcoming-box{
    display:flex !important;
    flex-direction:column !important;
}

}
/* ================= FORCE MOBILE FIX ================= */

@media screen and (max-width:768px){

html,
body{
    width:100% !important;
    overflow-x:hidden !important;
}

/* Header */

header{
    position:fixed !important;
    top:0;
    left:0;
    width:100%;
    background:#070b10 !important;
    z-index:999999;
}

/* Navbar */

.navbar{
    width:100% !important;
    padding:12px 15px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:12px !important;
    height:auto !important;
}

.logo img{
    width:90px !important;
}

.navbar ul{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    padding:0 !important;
    margin:0 !important;
}

.navbar li{
    list-style:none !important;
}

.navbar a{
    font-size:14px !important;
    white-space:nowrap !important;
}

.nav-btn{
    width:150px !important;
    padding:10px 15px !important;
    font-size:14px !important;
}

/* بداية الصفحة */

.hero{
    width:100% !important;
    min-height:auto !important;
    padding:190px 20px 70px !important;
}

.hero-grid{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    gap:30px !important;
}

.hero-content{
    width:100% !important;
}

.hero h1{
    font-size:34px !important;
    line-height:1.35 !important;
}

.hero p{
    font-size:16px !important;
    line-height:1.9 !important;
}

.hero-buttons{
    display:flex !important;
    flex-direction:column !important;
    gap:15px !important;
    width:100% !important;
}

.hero-buttons a{
    width:100% !important;
    max-width:220px !important;
    margin:auto !important;
}

.hero-image{
    display:none !important;
}

/* جميع الأقسام */

.container{
    width:92% !important;
    margin:auto !important;
}

.events-grid,
.stats-grid,
.contact-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
}

.upcoming-box{
    display:flex !important;
    flex-direction:column !important;
}

img{
    max-width:100% !important;
    height:auto !important;
}

section{
    overflow:hidden !important;
}

}
/* ===== MOBILE NAVBAR ===== */

@media (max-width:768px){

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:99999;
    background:#070b10;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px;
    padding:15px;
}

.logo{
    margin-bottom:5px;
}

.logo img{
    width:95px !important;
}

.nav-links{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    padding:0 !important;
    margin:0 !important;
    list-style:none;
}

.nav-links li{
    margin:0 !important;
}

.nav-links a{
    font-size:14px !important;
    font-weight:700;
    color:#fff;
    text-decoration:none;
}

.nav-btn{
    width:170px !important;
    height:45px !important;
    font-size:15px !important;
    border-radius:30px !important;
    margin-top:5px;
}

.hero{
    padding-top:180px !important;
}
}
/* ===================================================
        PREMIUM WEBSITE OVERRIDE
        ضع في آخر ملف CSS
===================================================*/

/* خلفية متحركة */

body{

background:
radial-gradient(circle at 20% 20%,rgba(0,255,136,.08),transparent 35%),
radial-gradient(circle at 80% 10%,rgba(0,255,255,.05),transparent 30%),
radial-gradient(circle at 50% 100%,rgba(0,255,136,.08),transparent 40%),
#070b10;

background-size:220% 220%;

animation:bgMove 18s linear infinite;

}

@keyframes bgMove{

0%{background-position:0% 50%;}

50%{background-position:100% 50%;}

100%{background-position:0% 50%;}

}

/* كل الأقسام */

section{

position:relative;

overflow:hidden;

}

section::before{

content:"";

position:absolute;

width:420px;

height:420px;

border-radius:50%;

background:radial-gradient(circle,rgba(0,255,136,.10),transparent 70%);

filter:blur(70px);

top:-120px;

right:-120px;

animation:glowMove 9s ease-in-out infinite;

pointer-events:none;

}

@keyframes glowMove{

0%,100%{

transform:translate(0,0);

}

50%{

transform:translate(-50px,40px);

}

}

/* الكروت */

.event-card,
.stat-card,
.contact-box,
.upcoming-box,
.footer-box{

background:rgba(18,24,32,.82)!important;

backdrop-filter:blur(18px)!important;

border:1px solid rgba(0,255,136,.18)!important;

box-shadow:

0 10px 30px rgba(0,0,0,.35),

0 0 0 rgba(0,255,136,0);

transition:.45s ease!important;

}

.event-card:hover,
.stat-card:hover,
.contact-box:hover,
.upcoming-box:hover,
.footer-box:hover{

transform:translateY(-10px) scale(1.02)!important;

box-shadow:

0 0 20px rgba(0,255,136,.45),

0 0 45px rgba(0,255,136,.20),

0 20px 60px rgba(0,0,0,.45);

}

/* الصور */

img{

transition:.6s;

}

.event-card:hover img,
.hero-image:hover img{

transform:scale(1.07);

filter:brightness(1.05);

}

/* العناوين */

h1,h2,h3{

transition:.4s;

}

h1:hover,
h2:hover,
h3:hover{

text-shadow:

0 0 8px #00ff88,

0 0 25px rgba(0,255,136,.5);

}

/* الأزرار */

.btn,
.btn-outline,
.nav-btn{

position:relative;

overflow:hidden;

}

.btn::before,
.btn-outline::before,
.nav-btn::before{

content:"";

position:absolute;

top:0;

left:-120%;

width:60%;

height:100%;

background:linear-gradient(90deg,
transparent,
rgba(255,255,255,.45),
transparent);

transform:skewX(-25deg);

transition:.7s;

}

.btn:hover::before,
.btn-outline:hover::before,
.nav-btn:hover::before{

left:160%;

}

.btn:hover,
.btn-outline:hover,
.nav-btn:hover{

box-shadow:

0 0 18px #00ff88,

0 0 35px rgba(0,255,136,.35);

}

/* الناف بار */

header{

box-shadow:

0 0 30px rgba(0,255,136,.12);

}

/* السكرول */

::-webkit-scrollbar{

width:9px;

}

::-webkit-scrollbar-track{

background:#0d1218;

}

::-webkit-scrollbar-thumb{

background:#00ff88;

border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

background:#00dd77;

}

/* ظهور العناصر */

section{

animation:fadeUp .9s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(45px);

}

to{

opacity:1;

transform:none;

}

}

/* الموبايل */

@media(max-width:768px){

.event-card:hover,
.stat-card:hover,
.contact-box:hover{

transform:translateY(-5px)!important;

}

h1{

font-size:34px!important;

}

h2{

font-size:28px!important;

}

}
/* ===== إزالة الفراغ بين Hero و Events ===== */

.hero{
    min-height:auto !important;
    height:auto !important;
    padding-bottom:30px !important;
    margin-bottom:0 !important;
}

.events{
    margin-top:0 !important;
    padding-top:40px !important;
}

.events .section-title{
    margin-top:0 !important;
    padding-top:0 !important;
}

section{
    margin-bottom:0 !important;
}
/* ==========================
   MOBILE NAVBAR FIX
========================== */
@media (max-width:768px){

header,
.navbar,
nav{
    padding:8px 10px !important;
    min-height:52px !important;
    height:auto !important;
}

header .container,
.navbar .container,
nav .container{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
}

header img,
.logo img,
.navbar img{
    width:40px !important;
    height:auto !important;
}

header ul,
nav ul,
.nav-links{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    scrollbar-width:none;
}

header ul::-webkit-scrollbar,
nav ul::-webkit-scrollbar,
.nav-links::-webkit-scrollbar{
    display:none;
}

header li,
nav li,
.nav-links li{
    flex:0 0 auto !important;
}

header a,
nav a,
.nav-links a{
    font-size:12px !important;
    font-weight:700 !important;
    padding:4px 2px !important;
    white-space:nowrap !important;
}

.hero{
    padding-top:70px !important;
}
}
/* ===========================
   PREMIUM EVENTS SECTION
=========================== */

.events{
    padding:80px 20px !important;
    background:linear-gradient(180deg,#090d14,#111c21);
    border-radius:40px;
}

.events .section-title{
    font-size:38px;
    font-weight:800;
    color:#fff;
    text-align:center;
    margin-bottom:15px;
}

.events .section-title span{
    color:#00ff99;
}

.events .section-subtitle{
    color:#cfd6dc;
    max-width:700px;
    margin:auto;
    line-height:1.9;
}

/* الكروت */

.event-card{
    background:#151d27;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.event-card:hover{
    transform:translateY(-8px);
    border-color:#00ff99;
    box-shadow:0 20px 45px rgba(0,255,153,.18);
}

.event-card img{
    width:100%;
    display:block;
    border-radius:20px;
    transition:.4s;
}

.event-card:hover img{
    transform:scale(1.04);
}

.event-card h3{
    color:#fff;
    font-size:24px;
    margin-top:18px;
}

.event-card p{
    color:#c7d0d8;
    line-height:1.8;
}

.event-card .btn{
    width:100%;
    border-radius:50px;
    padding:14px;
    font-weight:700;
    background:#00ff99;
    color:#000;
    transition:.3s;
}

.event-card .btn:hover{
    background:#fff;
}

@media(max-width:768px){

.events{
padding:60px 16px !important;
border-radius:25px;
}

.events .section-title{
font-size:30px;
}

.event-card{
border-radius:18px;
}

}
/* ===========================
   Language Switcher
=========================== */

.lang-switcher{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:20px;
}

.lang-btn{

    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#18222f;

    border:2px solid rgba(65,214,124,.25);

    color:#fff;
    font-size:15px;
    font-weight:800;

    transition:.35s;

    box-shadow:0 0 15px rgba(65,214,124,.12);

}

.lang-btn:hover{

    background:#19e66a;
    color:#000;

    transform:translateY(-4px);

    box-shadow:0 0 25px rgba(25,230,106,.45);

}

.lang-btn.active{

    background:#19e66a;
    color:#000;

    box-shadow:0 0 30px rgba(25,230,106,.45);

}

/* ===========================
      Mobile
=========================== */

@media(max-width:768px){

.navbar .container{

    display:flex !important;
    flex-direction:column !important;

}

.lang-switcher{

    order:-1;

    margin:8px 0 12px;

    justify-content:center;

}

.lang-btn{

    width:42px;
    height:42px;
    font-size:14px;

}

}
/* ===== Hero يبدأ بعد الـ Navbar مباشرة ===== */

header{
    height:80px;
}

.hero{
    min-height:calc(100vh - 80px);
    margin-top:80px;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Mobile */

@media (max-width:768px){

    header{
        height:120px;   /* عدلها حسب ارتفاع الناف بار عندك */
    }

    .hero{
        min-height:calc(100vh - 120px);
        margin-top:120px;
        padding:20px;
    }

    .hero-grid{
        min-height:calc(100vh - 160px);
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
    }
}
