/* /* STYLE_features.CSS */ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#e9e9e9;
    padding-top:75px;
}

/* HEADER */

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    background:#1200ff;
    box-shadow:0 3px 15px rgba(0,0,0,.15);
}

.header-container{
    max-width:1275px;
    margin:auto;
    padding:10px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-area h2{
    color:#fff;
    font-size:27px;
    font-weight:700;
    margin:0;
}

.logo-area p{
    color:#fff;
    font-size:15px;
    margin-top:4px;
}

.main-nav ul{
    display:flex;
    list-style:none;
    gap:40px;
    margin:0;
    padding:0;
}

.main-nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    position:relative;
}

.main-nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#fff;
    transition:.3s;
}

.main-nav a:hover::after{
    width:100%;
}


/* Features */
.features{
    max-width:1275px;
    margin:40px auto;
    padding:0 20px;
}

.section-title{
    text-align:center;
    margin-bottom:30px;
}

.section-title h2{
    color:#1200ff;
    font-size:36px;
    margin-bottom:10px;
}

.section-title p{
    color:#444;
    font-size:18px;
}
.feature{
    position:relative;
    padding:20px;
    border-radius:16px;
    overflow:hidden;
    min-height:120px;
    cursor:pointer;
    transition:all .4s ease;
    color:#fff;
}
.feature:nth-child(1){background:linear-gradient(135deg,#667eea,#764ba2);}
.feature:nth-child(2){background:linear-gradient(135deg,#f093fb,#f5576c);}
.feature:nth-child(3){background:linear-gradient(135deg,#4facfe,#00f2fe);}
.feature:nth-child(4){background:linear-gradient(135deg,#43e97b,#38f9d7);}
.feature:nth-child(5){background:linear-gradient(135deg,#fa709a,#fee140);}
.feature:nth-child(6){background:linear-gradient(135deg,#30cfd0,#330867);}
.feature:nth-child(7){background:linear-gradient(135deg,#a18cd1,#fbc2eb);}
.feature:nth-child(8){background:linear-gradient(135deg,#ff9a9e,#fad0c4);}
.feature:nth-child(9){background:linear-gradient(135deg,#f6d365,#fda085);}
.feature:nth-child(10){background:linear-gradient(135deg,#84fab0,#8fd3f4);}
.feature:nth-child(11){background:linear-gradient(135deg,#fccb90,#d57eeb);}
.feature:nth-child(12){background:linear-gradient(135deg,#5ee7df,#b490ca);}
.feature:nth-child(13){background:linear-gradient(135deg,#c471f5,#fa71cd);}
.feature:nth-child(14){background:linear-gradient(135deg,#48c6ef,#6f86d6);}
.feature:nth-child(15){background:linear-gradient(135deg,#ff758c,#ff7eb3);}
.feature:nth-child(16){background:linear-gradient(135deg,#11998e,#38ef7d);}
.feature:nth-child(17){background:linear-gradient(135deg,#fc6076,#ff9a44);}
.feature:nth-child(18){background:linear-gradient(135deg,#00cdac,#8ddad5);}
.feature:nth-child(19){background:linear-gradient(135deg,#7f7fd5,#86a8e7);}
.feature:nth-child(20){background:linear-gradient(135deg,#f77062,#fe5196);}
.feature:nth-child(21){background:linear-gradient(135deg,#ff9966,#ff5e62);}
.feature:nth-child(22){background:linear-gradient(135deg,#56ab2f,#a8e063);}
.feature:nth-child(23){background:linear-gradient(135deg,#614385,#516395);}
.feature:nth-child(24){background:linear-gradient(135deg,#02aab0,#00cdac);}
.feature:nth-child(25){background:linear-gradient(135deg,#ff6a00,#ee0979);}
.feature:nth-child(26){background:linear-gradient(135deg,#fc6076,#ff9a44);}
.feature:nth-child(27){background:linear-gradient(135deg,#00cdac,#8ddad5);}
.feature:nth-child(28){background:linear-gradient(135deg,#7f7fd5,#86a8e7);}
.feature:nth-child(29){background:linear-gradient(135deg,#f77062,#fe5196);}
.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}



.feature{
    position:relative;
    background:#FEEE87;
    padding:20px;
    border-radius:12px;
    overflow:hidden;
    min-height:100px;
    cursor:pointer;
    transition:all .35s ease;
}

.feature:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

/* Hover Overlay */

.feature-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,#1200ff,#0066ff);
    color:#fff;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:20px;
    text-align:center;

    opacity:0;
    transform:translateY(100%);
    transition:.4s ease;
}

.feature-overlay{
    position:absolute;
    inset:0;

    background:rgba(0,0,0,.75);
    backdrop-filter:blur(12px);

    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding:25px;

    opacity:0;
    transform:scale(.8);
    transition:.45s ease;
}

.feature:hover .feature-overlay{
    opacity:1;
    transform:scale(1);
}

.feature:hover{
    transform:translateY(-12px) scale(1.04);
    box-shadow:
        0 25px 50px rgba(0,0,0,.25),
        0 0 25px rgba(255,255,255,.2);
}


.feature h4{
    color:#111;
    font-size:18px;
    font-weight:700;
    margin-bottom:10px;
}

.feature p{
    color:#444;
}

.feature p{
    color:rgba(255,255,255,.95);
}

/* Popup Button */

.feature::after{
    
    background:#fff;
    color:#1200ff;
    padding:10px 20px;
    border-radius:30px;
    font-weight:bold;
    transition:.35s;
    opacity:0;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.feature:hover::after{
    bottom:5px;
    opacity:1;
}



/* Footer */

footer{
    background:#0d6efd;
    color:white;
    text-align:center;
    padding:30px;
}

@media(max-width:768px){

.hero h1{
    font-size:36px;
}

.navbar{
    flex-direction:column;
    gap:15px;
}

.navbar ul{
    flex-wrap:wrap;
    justify-content:center;
}
}
