/* ===== GLOBAL ===== */
body{
    margin:0;
    font-family:'Poppins', sans-serif;
    background: linear-gradient(135deg,#eef2ff,#dbeafe,#e0f2fe);
    overflow-x:hidden;
}

/* ===== SECTION ===== */
.newsletter-section{
    padding:80px 20px;
}

/* ===== TITLE ===== */
.page-title{
    text-align:center;
    font-size:48px;
    font-weight:700;
    background: linear-gradient(90deg,#0a2a66,#2563eb);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin-bottom:50px;
    position:relative;
}

.page-title::after{
    content:"";
    width:120px;
    height:5px;
    background:linear-gradient(90deg,#2563eb,#0ea5e9);
    display:block;
    margin:18px auto 0;
    border-radius:10px;
}

/* ===== SEARCH BAR ===== */
.search-wrapper{
    display:flex;
    justify-content:center;
    margin-bottom:60px;
}

.search-box{
    position:relative;
    width:100%;
    max-width:600px;
}

.search-box input{
    width:100%;
    padding:18px 60px;
    border-radius:50px;
    border:none;
    font-size:16px;
    background:rgba(255,255,255,0.6);
    backdrop-filter:blur(20px);
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    transition:0.4s;
}

.search-box input:focus{
    outline:none;
    background:white;
    box-shadow:0 15px 40px rgba(37,99,235,0.4);
    transform:scale(1.03);
}

.search-box i{
    position:absolute;
    left:22px;
    top:50%;
    transform:translateY(-50%);
    font-size:18px;
    color:#2563eb;
}

/* ===== GRID LAYOUT ===== */
.newsletter-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

/* ===== GLOSSY CARD BUTTON ===== */
.newsletter-btn{
    display:flex;
    align-items:center;
    gap:20px;
    padding:28px;
    border-radius:20px;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    color:#1e293b;

    background:rgba(255,255,255,0.55);
    backdrop-filter:blur(25px);
    border:1px solid rgba(255,255,255,0.4);

    box-shadow:0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    position:relative;
    overflow:hidden;
}

/* Gloss shine effect */
.newsletter-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,0.6),transparent);
    transition:0.8s;
}

.newsletter-btn:hover::before{
    left:100%;
}

/* ICON */
.newsletter-btn i{
    font-size:26px;
    color:#ef4444;
    transition:0.4s;
}

/* HOVER EFFECT */
.newsletter-btn:hover{
    transform:translateY(-10px) scale(1.05);
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:white;
    box-shadow:0 25px 50px rgba(37,99,235,0.5);
}

.newsletter-btn:hover i{
    color:white;
    transform:rotate(-8deg) scale(1.2);
}

/* ===== ENTRY ANIMATION ===== */
.newsletter-btn{
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp 0.7s ease forwards;
}

.newsletter-btn:nth-child(1){animation-delay:0.1s;}
.newsletter-btn:nth-child(2){animation-delay:0.2s;}
.newsletter-btn:nth-child(3){animation-delay:0.3s;}
.newsletter-btn:nth-child(4){animation-delay:0.4s;}
.newsletter-btn:nth-child(5){animation-delay:0.5s;}
.newsletter-btn:nth-child(6){animation-delay:0.6s;}

@keyframes fadeUp{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

    .page-title{
        font-size:30px;
    }

    .newsletter-btn{
        padding:20px;
        font-size:14px;
    }

    .search-box{
        width:95%;
    }
}
