 /* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#fff;
    color:#081C3A;
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

:root{
    --navy:#081C3A;
    --navy2:#102B5C;
    --dark:#061427;
    --white:#ffffff;
    --light:#F5F7FA;
    --red:#B91C1C;
    --text:#6B7280;
}

:root{
    --navy:#0a1f44;
    --red:#b3001b;
}



/* NAVBAR */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    z-index:9999;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.nav-inner {
    max-width: 1280px;
    margin: auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* LEFT MENU */
.nav-left,
.nav-right{
    display:flex;
    align-items:center;
    gap:30px;
    flex:1;
}

.nav-right{
    justify-content:flex-end;
}

/* LOGO */
.logo{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
}

.logo img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:50%;
}

/* LINKS */
.nav-left a,
.nav-right a,
.mobile-drawer a{
    text-decoration:none;
    color:var(--navy);
    font-weight:600;
    transition:.3s;
}

.nav-left a:hover,
.nav-right a:hover,
.mobile-drawer a:hover{
    color:var(--red);
}

/* BUTTON */
.nav-btn{
    background:linear-gradient(135deg,var(--navy),var(--red));
    color:#fff !important;
    padding:12px 22px;
    border-radius:8px;
}

/* TOGGLE */
.menu-toggle{
    display:none;
    font-size:32px;
    cursor:pointer;
    color:var(--navy);
}

/* MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background:#fff;
    padding: 30px 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    z-index: 99999;
}

.mobile-drawer.active{
    right:0;
}

.mobile-drawer hr{
    border:none;
    border-top:1px solid #ddd;
    margin:10px 0;
}

/* MOBILE */
@media(max-width:992px){

    .nav-left,
    .nav-right{
        display:none;
    }

    .nav-inner{
        justify-content:space-between;
    }

    .logo{
        position:static;
        transform:none;
    }

    .menu-toggle{
        display:block;
    }
}
/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    background: linear-gradient(
    rgba(2,10,29,.42),
    rgba(8,28,50,.68)
    ),

    url('images/handshake-img.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.hero-content h1 {
    color: white;
    font-size: 54px;
    line-height: 1.2;
    margin-bottom: 28px;
    font-family: 'Merriweather',serif;
}

.hero-content h1 span{
    color:#dbeafe;
}

.hero-content p{
    color:#d1d5db;
    font-size:18px;
    line-height:1.9;
    margin-bottom:38px;
    max-width:650px;
}
.hero-buttons{
    display:flex;
    gap:20px;
}

.primary-btn,
.secondary-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:220px; 
    padding:18px 32px;
    border-radius:16px;
    text-decoration:none;
}

.primary-btn{
    color:white;
    font-weight:700;
    background:linear-gradient(
        135deg,
        var(--navy),
        var(--red)
    );
    transition:.4s;
}

.secondary-btn{
    color:white;
    font-weight:600;
    border:1px solid rgba(255,255,255,0.2);
    transition:.4s;
}

.secondary-btn:hover{
    background:white;
    color:var(--navy);
}

/* =========================
   SEARCH BOX
========================= */

.search-box{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    backdrop-filter:blur(12px);
    border-radius:28px;
    padding:45px;
}

.search-box h3{
    color:white;
    font-size:30px;
    margin-bottom:25px;
}

.search-input{
    display:flex;
    overflow:hidden;
    border-radius:18px;
    background:white;
    margin-bottom:20px;
}

.search-input input{
    flex:1;
    border:none;
    padding:20px;
    outline:none;
    font-size:16px;
}

.search-input button{
    width:85px;
    border:none;
    background:var(--navy);
    color:white;
    cursor:pointer;
    font-size:22px;
}

.search-box p{
    color:#d1d5db;
    line-height:1.8;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2 {
    font-size: 54px;
    color: var(--navy);
    font-family: 'Merriweather',serif;
}

.section-title h2::after{
    content:'';
    width:90px;
    height:4px;
    background:var(--red);
    display:block;
    margin:18px auto 0;
    border-radius:50px;
}

.section-title p{
    margin-top:18px;
    color:var(--text);
    line-height:1.8;
}

/* =========================
   ABOUT
========================= */

.about {
    padding: 60px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about img{
    width:100%;
    border-radius:24px;
}

.about-content h3{
    font-size:40px;
    margin-bottom:22px;
    color:var(--navy);
}

.about-content p{
    color:var(--text);
    line-height:1.9;
    margin-bottom:22px;
}
/* =========================
   ABOUT INFO SECTION
========================= */

.about-info-section {
    padding: 60px 0;
    background: #F5F7FA;
}

/* TOP */

.about-top{
    text-align:center;
    max-width:900px;
    margin:auto;
    margin-bottom:80px;
}

.about-mini-title{
    color:#B91C1C;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.about-top h2 {
    font-size: 54px;
    color: #081C3A;
    margin: 20px 0;
    font-family: 'Merriweather',serif;
}

.about-top p{
    color:#6B7280;
    line-height:2;
    font-size:18px;
}

.about-primary-btn {
    color: white;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--red)
    );
    transition: .4s;
	text-decoration:none;

  
 
    min-width: 220px;
    padding: 18px 32px;
    border-radius: 16px;
    text-decoration: none;
	margin-top:15px;
}


/* GRID */

.about-cards-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* CARD */

.about-card{
    background:white;
    border-radius:30px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.about-card:hover{
    transform:translateY(-12px);
}

.about-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.about-card-content{
    padding:35px;
}

/* ICON */

.icon-circle{
    width:65px;
    height:65px;
    border-radius:50%;
    background:#EEF2FF;
    color:#B91C1C;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:25px;
    font-weight:700;
}

/* TITLE */

.about-card-content h3{
    font-size:34px;
    color:#081C3A;
    margin-bottom:18px;
    font-family:'Merriweather',serif;
}

/* TEXT */

.about-card-content p{
    color:#6B7280;
    line-height:2;
    font-size:16px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

.about-cards-grid{
    grid-template-columns:1fr;
}

.about-top h2{
    font-size:52px;
}

}

@media(max-width:768px){

.about-info-section{
    padding:90px 0;
}

.about-top h2{
    font-size:38px;
}

.about-card-content h3{
    font-size:28px;
}

.about-top p{
    font-size:16px;
}

}

/* =========================
   COMMUNITY SECTION
========================= */

.community-section {
    padding: 60px 0;
    background: #F8FAFC;
}

/* TOP HEADING */

.section-title{
    text-align:center;
    max-width:850px;
    margin:0 auto 70px;
}

.section-title span{
    color:#B91C1C;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-title h2{
    font-size:48px;
    color:#081C3A;
    margin:15px 0 20px;
    font-family:'Merriweather',serif;
}

.section-title p{
    color:#6B7280;
    line-height:1.9;
}

/* GRID */

.community-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

/* CONTENT */

.community-content h3{
    font-size:36px;
    color:#081C3A;
    margin-bottom:20px;
    font-family:'Merriweather',serif;
}



.community-content p{
    color:#6B7280;
    line-height:2;
    margin-bottom:20px;
    font-size:17px;
}

.community-primary-btn{
    display:inline-block;
    margin-top:15px;
    padding:18px 34px;
    border-radius:16px;
    text-decoration:none;
    color:white;
    font-weight:700;

    background:linear-gradient(
    135deg,
    #081C3A,
    #B91C1C
    );
}

/* IMAGE */

.community-image img{
    width:100%;
    border-radius:28px;
    display:block;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

/* RESPONSIVE */

@media(max-width:992px){

.community-grid{
    grid-template-columns:1fr;
}

.section-title h2{
    font-size:40px;
}

.community-content h3{
    font-size:30px;
}

}

@media(max-width:768px){

.community-section{
    padding:40px 0;
}

.section-title{
    margin-bottom:50px;
}

.section-title h2{
    font-size:32px;
}

.community-content h3{
    font-size:26px;
}

}
/* =========================
   REFUGEE SECTION
========================= */

.refugee-section {
    padding: 60px 0;
    background: #f5f7fa;
}
.refugee-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

/* LEFT */

.section-tag{
    display:inline-block;
    color:#B91C1C;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:18px;
    text-transform:uppercase;
}

.refugee-content h2{
    font-size:58px;
    line-height:1.2;
    color:#2F436A;
    margin-bottom:22px;
    font-family:'Merriweather',serif;
}

.red-line{
    width:90px;
    height:4px;
    background:#B91C1C;
    border-radius:50px;
    margin-bottom:30px;
}

.refugee-content p{
    color:#5B6475;
    line-height:2;
    margin-bottom:22px;
    font-size:17px;
}

.refugee-primary-btn {
    color: white;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--red)
    );
    transition: .4s;
	text-decoration:none;

  
 
    min-width: 220px;
    padding: 18px 32px;
    border-radius: 16px;
    text-decoration: none;
	margin-top:15px;
}



/* RIGHT IMAGE */

.refugee-image{
    position:relative;
}

.refugee-image img{
    width:100%;
    border-radius:28px;
    height:520px;
    object-fit:cover;
    box-shadow:0 20px 50px rgba(0,0,0,0.10);
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

.refugee-grid{
    grid-template-columns:1fr;
}

.refugee-content h2{
    font-size:42px;
}

}

@media(max-width:768px){

.refugee-section{
    padding:90px 0;
}

.refugee-content h2{
    font-size:34px;
}

.refugee-image img{
    height:auto;
}

.image-card{
    position:relative;
    left:0;
    bottom:0;
    margin-top:20px;
}

}

/* =========================
   EVENTS
========================= */

.events {
    padding: 60px 0;
}

.events-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.event-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    transition:.4s;
}

.event-card:hover{
    transform:translateY(-10px);
}

.event-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.event-content{
    padding:30px;
}

.event-content span{
    color:var(--red);
    font-weight:700;
}

.event-content h3{
    margin:16px 0;
    color:var(--navy);
}

.event-content p{
    color:var(--text);
    line-height:1.8;
    margin-bottom:22px;
}

.event-btn{
    display:inline-block;
    text-decoration:none;
    padding:14px 24px;
    border-radius:12px;
    background:var(--navy);
    color:white;
    transition:.3s;
}

.event-btn:hover{
    background:var(--red);
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    padding: 60px 0;
    background: var(--light);
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.testimonial-card{
    background:white;
    padding:40px;
    border-radius:22px;
    border-left:5px solid var(--red);
}

.testimonial-card p{
    color:var(--text);
    line-height:1.9;
    margin-bottom:20px;
}

.testimonial-card h4{
    color:var(--navy);
}

/* =========================
   NEWSLETTER
========================= */

.newsletter{
    padding:120px 0;
    background:linear-gradient(
    135deg,
    var(--dark),
    var(--navy)
    );
}

.newsletter-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.newsletter-content h2{
    color:white;
    font-size:48px;
    margin-bottom:18px;
}

.newsletter-content p{
    color:#cbd5e1;
}

.newsletter-form{
    display:flex;
    overflow:hidden;
    border-radius:18px;
    background:white;
    min-width:480px;
}

.newsletter-form input{
    flex:1;
    border:none;
    padding:20px;
    outline:none;
}

.newsletter-form button{
    border:none;
    padding:20px 30px;
    background:var(--red);
    color:white;
    cursor:pointer;
    font-weight:700;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#061427;
    color:white;
    padding:60px 0px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
}

.footer-grid h3{
    margin-bottom:20px;
}

.footer-grid p,
.footer-grid a{
    color:#cbd5e1;
    line-height:2;
    text-decoration:none;
}

.copyright{
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:50px;
    padding-top:25px;
    text-align:center;
    color:#94a3b8;
}

/* =========================
   WELCOME LOGIN MODAL
========================= */

.welcome-modal{
    position:fixed;
    inset:0;

    background:
    linear-gradient(
        rgba(6,20,39,.85),
        rgba(8,28,58,.88)
    );

    backdrop-filter:blur(8px);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;
}

.welcome-box{

    width:90%;
    max-width:480px;

    background:#ffffff;

    border-radius:28px;

    padding:80px 40px 40px;

    position:relative;

    box-shadow:
    0 25px 80px rgba(0,0,0,.35);

    animation:popupShow .4s ease;
}

@keyframes popupShow{

    from{
        opacity:0;
        transform:translateY(30px) scale(.95);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* LOGO */

.modal-logo{

    width:120px;
    height:120px;

    object-fit:cover;

    border-radius:50%;

    position:absolute;

    top:-60px;
    left:50%;

    transform:translateX(-50%);

    background:#fff;

    border:6px solid #fff;

    box-shadow:
    0 15px 40px rgba(0,0,0,.25);
}

/* CLOSE */

.close-modal{

    position:absolute;

    right:18px;
    top:14px;

    font-size:32px;

    color:var(--navy);

    cursor:pointer;

    transition:.3s;
}

.close-modal:hover{

    color:var(--red);
    transform:rotate(90deg);
}

/* TITLE */

.welcome-box h1{

    text-align:center;

    color:var(--navy);

    font-size:38px;

    font-family:'Merriweather',serif;

    margin-bottom:8px;
}

.welcome-box h1::after{

    content:'';

    display:block;

    width:70px;
    height:4px;

    margin:14px auto 0;

    border-radius:10px;

    background:
    linear-gradient(
        90deg,
        var(--navy),
        var(--red)
    );
}

/* SUBTITLE */

.modal-subtitle{

    text-align:center;

    color:var(--text);

    margin-top:15px;
    margin-bottom:30px;

    font-size:15px;
}

/* FORM */

.login-form label{

    display:block;

    margin-bottom:8px;

    color:var(--navy);

    font-size:14px;

    font-weight:700;
}

.login-form input{

    width:100%;

    padding:16px 18px;

    border-radius:14px;

    border:1px solid #dbe2ea;

    background:#f8fafc;

    margin-bottom:18px;

    font-size:15px;

    transition:.3s;
}

.login-form input:focus{

    outline:none;

    border-color:var(--navy);

    background:#fff;

    box-shadow:
    0 0 0 4px rgba(8,28,58,.08);
}

/* BUTTON */

.login-form button{

    width:100%;

    padding:17px;

    border:none;

    border-radius:14px;

    font-size:16px;

    font-weight:700;

    color:white;

    cursor:pointer;

    background:
    linear-gradient(
        135deg,
        var(--navy),
        var(--red)
    );

    transition:.35s;
}

.login-form button:hover{

    transform:translateY(-3px);

    box-shadow:
    0 12px 30px rgba(8,28,58,.25);
}

/* EXTRA */

.modal-extra{

    margin-top:28px;

    text-align:center;
}

.modal-extra a{

    color:var(--text);

    text-decoration:none;

    font-size:14px;

    transition:.3s;
}

.modal-extra a:hover{

    color:var(--red);
}

.modal-extra hr{

    margin:25px 0;

    border:none;

    border-top:1px solid #e5e7eb;
}

/* CREATE ACCOUNT */

.modal-extra p{

    color:var(--red);

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.modal-extra p:hover{

    color:var(--navy);

    transform:translateY(-2px);
}

/* MOBILE */

@media(max-width:768px){

    .welcome-box{

        padding:75px 25px 30px;
    }

    .modal-logo{

        width:100px;
        height:100px;
        top:-50px;
    }

    .welcome-box h1{

        font-size:30px;
    }

    .modal-extra p{

        font-size:16px;
    }
}

/* MEMBER STATUS */

.member-status-section{
    padding:60px 0;
    background:#f8f8f8;
}

.status-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

.status-card{
    background:white;
    padding:40px 20px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.status-icon{
    font-size:45px;
    margin-bottom:15px;
}

.status-card h3{
    color:#081C3A;
    margin-bottom:10px;
}

.status-card span{
    font-size:28px;
    font-weight:700;
    color:#B91C1C;
}

@media(max-width:768px){

.status-grid{
    grid-template-columns:1fr;
}

}




/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

.hero-wrapper,
.about-grid,
.popup,
.newsletter-box{
    grid-template-columns:1fr;
    flex-direction:column;
}

.stats-grid,
.service-grid,
.events-grid,
.testimonial-grid{
    grid-template-columns:1fr 1fr;
}

.popup-left{
    display:none;
}

.newsletter-form{
    min-width:100%;
    width:100%;
}



.hero-content h1{
    font-size:52px;
}

}

@media(max-width:768px){

.stats-grid,
.service-grid,
.events-grid,
.testimonial-grid{
    grid-template-columns:1fr;
}

.hero-content h1{
    font-size:40px;
}

.hero-buttons{
    flex-direction:column;
}

.section-title h2,
.newsletter-content h2{
    font-size:36px;
}

.footer-grid{
    grid-template-columns:1fr;
}

}







.register-link{
    color:var(--red) !important;
    font-weight:700 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){


.hero-wrapper,
.about-grid,
.refugee-grid,
.newsletter-box,
.popup{
    grid-template-columns:1fr !important;
}

.events-grid,
.testimonial-grid,
.about-cards-grid{
    grid-template-columns:1fr !important;
}

.hero-content h1{
    font-size:42px;
}

.section-title h2{
    font-size:36px;
}

.newsletter-content h2{
    font-size:34px;
}

.popup-left{
    display:none;
}

.newsletter-form{
    min-width:100%;
    width:100%;
}

.about-top h2{
    font-size:42px;
}

.refugee-content h2{
    font-size:40px;
}

}

@media(max-width:768px){

.container{
    width:96%;
}

.logo img{
    width:50px;
    height:50px;
}

.logo h2{
    font-size:16px;
}

.hero{
    padding-top:120px;
}

.hero-content h1{
    font-size:34px;
}

.hero-content p{
    font-size:16px;
}

.hero-buttons{
    flex-direction:column;
}

.primary-btn,
.secondary-btn{
    width:100%;
    text-align:center;
}

.search-box {
    padding: 30px;
    margin-bottom: 20px;
}

.search-box h3{
    font-size:24px;
}

.search-input input{
    padding:16px;
}

.search-input button{
    width:70px;
}

.section-title h2{
    font-size:30px;
}

.about-content h3,
.about-card-content h3{
    font-size:28px;
}

.refugee-content h2{
    font-size:30px;
}

.newsletter{
    padding:80px 0;
}

.newsletter-content h2{
    font-size:28px;
}

.newsletter-form{
    flex-direction:column;
    border-radius:18px;
    overflow:hidden;
}

.newsletter-form input,
.newsletter-form button{
    width:100%;
}

.footer-grid{
    grid-template-columns:1fr;
}

.popup-right{
    padding:35px 25px;
}

.popup-right h3{
    font-size:28px;
}

}




/* =========================
WELCOME MODAL
========================= */

.welcome-modal{

display: none;

position: fixed;

top: 0;
left: 0;

width: 100%;
height: 100%;

background: rgba(0,0,0,0.7);

z-index: 99999;

justify-content: center;
align-items: center;

}

/* MODAL BOX */

.welcome-box{

width: 400px;

background: #fff;

padding: 40px;

border-radius: 20px;

position: relative;

text-align: center;

animation: popup .4s ease;

}

/* CLOSE BUTTON */

.close-modal{

position: absolute;

top: 15px;
right: 20px;

font-size: 30px;

cursor: pointer;

}

/* LOGO */

.modal-logo{

width: 90px;

margin-bottom: 20px;

}

/* INPUTS */

.login-form input{

width: 100%;

padding: 14px;

margin-top: 10px;
margin-bottom: 20px;

border: 1px solid #ccc;

border-radius: 10px;

font-size: 15px;

}

/* BUTTON */

.login-form button{

width: 100%;

padding: 14px;

border: none;

background: #5e1020;

color: white;

font-size: 16px;

border-radius: 10px;

cursor: pointer;

}

/* EXTRA */

.modal-extra{

margin-top: 20px;

}

.modal-extra a{

text-decoration: none;

color: #5e1020;

font-size: 14px;

}

.modal-extra p{

margin-top: 15px;

cursor: pointer;

color: #5e1020;

font-weight: 600;

}

/* POPUP ANIMATION */

@keyframes popup{

from{

transform: scale(0.7);
opacity: 0;

}

to{

transform: scale(1);
opacity: 1;

}

}

/* =========================
   MEMBER REGISTER SECTION
========================= */

.member-register-section{

    padding:60px 0;

    background:
    linear-gradient(rgba(6, 20, 39, .88), rgba(8, 28, 58, .92)), 
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1800");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.member-register-wrapper{

    max-width:850px;
    margin:auto;
}

.member-register-header{

    text-align:center;
    margin-bottom:50px;
}

.member-register-header span{

    color:#fff;

    font-weight:700;

    letter-spacing:2px;

    font-size:14px;
}

.member-register-header h2{

    color:white;

    font-size:52px;

    margin-top:10px;
    margin-bottom:15px;

    font-family:'Merriweather',serif;
}

.member-register-header p{

    color:#f1f1f1;

    max-width:650px;

    margin:auto;

    line-height:1.8;
}

.member-register-card{

    background:white;

    padding:50px;

    border-radius:30px;

    box-shadow:0 25px 50px rgba(0,0,0,.25);
}

.member-register-card input{

    width:100%;

    padding:18px 22px;

    margin-bottom:18px;

    border:1px solid #ddd;

    border-radius:15px;

    font-size:16px;

    transition:.3s;
}

.member-register-card input:focus{

    outline:none;

    border-color:#7a0018;

    box-shadow:0 0 0 4px rgba(122,0,24,.1);
}

.member-register-card button{

    width:100%;

    border:none;

    padding:18px;

    border-radius:15px;

    cursor:pointer;

    font-size:18px;

    font-weight:700;

    color:white;

    background:linear-gradient(135deg, var(--navy), var(--red));

    transition:.4s;
}

.member-register-card button:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 30px rgba(122,0,24,.3);
}

#msg{

    margin-top:15px;

    text-align:center;

    font-weight:600;
}

.success{

    color:#0f9d58;
}

.error{

    color:#d93025;
}

/* MOBILE */

@media(max-width:768px){

.member-register-section{

    padding:80px 20px;
}

.member-register-header h2{

    font-size:38px;
}

.member-register-card{

    padding:30px;
}

}


/* =========================
PREMIUM STATS SECTION
========================= */

.stats{

padding:60px 8%;

background:
linear-gradient(135deg, var(--dark), var(--navy));

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(240px,1fr));

gap:30px;

position:relative;

overflow:hidden;

}

.stats::before{

content:"";

position:absolute;

width:400px;
height:400px;

background:rgba(255,255,255,0.05);

border-radius:50%;

top:-150px;
left:-100px;

}

.stats::after{

content:"";

position:absolute;

width:350px;
height:350px;

background:rgba(255,255,255,0.04);

border-radius:50%;

bottom:-120px;
right:-120px;

}

.stat-box{

background:rgba(255,255,255,0.12);

border:1px solid rgba(255,255,255,0.15);

padding:40px 25px;

border-radius:25px;

text-align:center;

color:white;

cursor:pointer;

transition:0.4s ease;

position:relative;

overflow:hidden;

backdrop-filter:blur(12px);

z-index:2;

box-shadow:
0 10px 30px rgba(0,0,0,0.15);

}

.stat-box::before{

content:"";

position:absolute;

top:0;
left:-100%;

width:100%;
height:100%;

background:
linear-gradient(
90deg,
transparent,
rgba(255,255,255,0.15),
transparent
);

transition:0.6s;

}

.stat-box:hover::before{

left:100%;

}

.stat-box:hover{

transform:
translateY(-12px)
scale(1.03);

box-shadow:
0 15px 40px rgba(0,0,0,0.25);

}

.stat-icon{

font-size:55px;

margin-bottom:18px;

display:block;

}

.stat-box h3{

font-size:24px;

font-weight:600;

margin-bottom:12px;

}

.stat-box span{

font-size:46px;

font-weight:800;

display:block;

color:#ffd700;

letter-spacing:1px;

}

.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{
    background:#fff;
    width:90%;
    max-width:700px;
    padding:30px;
    border-radius:20px;
    max-height:80vh;
    overflow-y:auto;
}

.close-btn{
    font-size:30px;
    cursor:pointer;
    float:right;
}

.member-card{
    padding:15px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:10px;
}

/* Modal Overlay */
.welcome-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Box */
.welcome-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 24px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: modalFade .3s ease;
}

/* Close Button */
.close-modal {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 30px;
    cursor: pointer;
    color: #0b2346;
    transition: .3s;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: #8b0a24;
}

/* Title */
.welcome-box h1 {
    text-align: center;
    color: #0b2346;
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}

.welcome-box h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #8b0a24;
    margin: 12px auto 0;
    border-radius: 20px;
}

/* Labels */
.welcome-box label {
    display: block;
    margin-bottom: 8px;
    margin-top: 20px;
    color: #0b2346;
    font-weight: 600;
    font-size: 14px;
}

/* Inputs */
.welcome-box input {
    width: 100%;
    height: 55px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    transition: .3s;
    box-sizing: border-box;
}

.welcome-box input:focus {
    border-color: #8b0a24;
    box-shadow: 0 0 0 4px rgba(139,10,36,.1);
}

/* Button */
.welcome-box button {
    width: 100%;
    height: 55px;
    margin-top: 25px;
    border: none;
    border-radius: 12px;
    background: #8b0a24;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.welcome-box button:hover {
    background: #6f081d;
    transform: translateY(-2px);
}

/* Message */
#loginMsg {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.success {
    color: green;
}

.error {
    color: red;
}

/* Extra Links */
.modal-extra {
    margin-top: 25px;
    text-align: center;
}

.modal-extra a {
    color: #8b0a24;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.modal-extra a:hover {
    text-decoration: underline;
}

.modal-extra hr {
    margin: 25px 0;
    border: none;
    border-top: 1px solid #eee;
}

.modal-extra p {
    color: #8b0a24;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.modal-extra p:hover {
    color: #0b2346;
}

/* Animation */
@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media(max-width:480px) {
    .welcome-box {
        width: 90%;
        padding: 30px 20px;
    }

    .welcome-box h1 {
        font-size: 36px;
    }
}

.login-subtitle{
    text-align:center;
    color:#777;
    margin-bottom:25px;
    font-size:14px;
}

.member-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.member-modal-content{
    background:#fff;
    width:90%;
    max-width:700px;
    max-height:80vh;
    overflow-y:auto;
    padding:30px;
    border-radius:15px;
    position:relative;
}

.member-modal-content h2{
    text-align:center;
    margin-bottom:20px;
}

#searchInput{
    width:100%;
    padding:12px;
    margin-bottom:20px;
}

.member-card{
    border:1px solid #ddd;
    padding:15px;
    margin-bottom:10px;
    border-radius:10px;
}