/*==================================
        IQRANIX MADHHAB
==================================*/

:root{

--primary:#0B6E4F;
--primaryLight:#18A874;
--gold:#F7D774;

--background:#071614;
--surface:#102A27;

--text:#FFFFFF;
--textSecondary:#D7E7E2;

--border:rgba(255,255,255,.08);

--radius:24px;

--shadow:0 18px 45px rgba(0,0,0,.30);

}

/*==================================
            RESET
==================================*/

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:Poppins,sans-serif;

background:linear-gradient(
180deg,
#061311,
#0A1E1B,
#102A27
);

color:var(--text);

line-height:1.7;

}

/*==================================
            HERO
==================================*/

.hero{

padding:35px 20px;

text-align:center;

position:relative;

background:linear-gradient(
135deg,
#0B6E4F,
#18A874
);

border-bottom-left-radius:30px;

border-bottom-right-radius:30px;

box-shadow:var(--shadow);

}

.backButton{

position:absolute;

top:20px;

left:20px;

width:46px;

height:46px;

border-radius:15px;

display:flex;

justify-content:center;

align-items:center;

font-size:22px;

background:rgba(255,255,255,.15);

color:#FFF;

text-decoration:none;

transition:.3s;

}

.backButton:hover{

background:rgba(255,255,255,.28);

}

.heroLogo{

width:95px;

height:95px;

object-fit:contain;

margin-bottom:15px;

}

.hero h1{

font-size:34px;

color:var(--gold);

margin-bottom:10px;

}

.hero p{

max-width:520px;

margin:auto;

color:#F8F8F8;

}

/*==================================
        MAIN CONTENT
==================================*/

main{

max-width:900px;

margin:auto;

padding:20px;

}

.card{

background:rgba(255,255,255,.05);

border:1px solid var(--border);

border-radius:var(--radius);

padding:28px;

margin-bottom:25px;

box-shadow:var(--shadow);

backdrop-filter:blur(15px);

}

.card h2{

font-size:28px;

color:var(--gold);

margin-bottom:18px;

}

.description{

color:var(--textSecondary);

margin-bottom:25px;

}/*==================================
        MADHHAB CARDS
==================================*/

.madhhabList{

display:flex;

flex-direction:column;

gap:18px;

margin-bottom:30px;

}

.madhhabCard{

display:block;

cursor:pointer;

}

.madhhabCard input{

display:none;

}

.cardContent{

padding:22px;

border-radius:20px;

background:#173A35;

border:2px solid transparent;

transition:all .3s ease;

}

.cardContent:hover{

transform:translateY(-3px);

border-color:rgba(24,168,116,.35);

}

.madhhabCard input:checked + .cardContent{

border-color:var(--primaryLight);

background:rgba(24,168,116,.15);

box-shadow:0 0 20px rgba(24,168,116,.25);

}

.title{

font-size:22px;

font-weight:700;

color:var(--gold);

margin-bottom:8px;

}

.subtitle{

font-size:15px;

color:var(--textSecondary);

line-height:1.8;

}

/*==================================
        INFO BOXES
==================================*/

.infoBox{

padding:20px;

margin-top:18px;

border-radius:18px;

background:rgba(255,255,255,.04);

border-left:5px solid var(--primaryLight);

}

.infoBox h3{

color:var(--gold);

margin-bottom:10px;

font-size:20px;

}

.infoBox p{

color:var(--textSecondary);

line-height:1.8;

}

.noteBox{

margin-top:25px;

padding:18px;

border-radius:16px;

background:rgba(247,215,116,.10);

border:1px solid rgba(247,215,116,.25);

color:#FFF4CC;

line-height:1.8;

}

/*==================================
        SAVE BUTTON
==================================*/

.saveButton{

width:100%;

margin-top:30px;

padding:16px;

border:none;

border-radius:18px;

background:linear-gradient(
135deg,
var(--primary),
var(--primaryLight)
);

color:#FFFFFF;

font-size:17px;

font-weight:700;

font-family:inherit;

cursor:pointer;

transition:all .3s ease;

box-shadow:0 10px 25px rgba(11,110,79,.35);

}

.saveButton:hover{

transform:translateY(-2px);

box-shadow:0 14px 30px rgba(11,110,79,.45);

}

.saveButton:active{

transform:scale(.98);

}/*==================================
        RESPONSIVE DESIGN
==================================*/

@media (max-width:768px){

.hero{

padding:30px 18px;

border-bottom-left-radius:24px;

border-bottom-right-radius:24px;

}

.heroLogo{

width:80px;

height:80px;

}

.hero h1{

font-size:28px;

}

.hero p{

font-size:15px;

}

.backButton{

width:42px;

height:42px;

font-size:20px;

top:16px;

left:16px;

}

main{

padding:15px;

}

.card{

padding:22px;

border-radius:20px;

}

.card h2{

font-size:24px;

}

.title{

font-size:20px;

}

.subtitle{

font-size:14px;

}

.infoBox h3{

font-size:18px;

}

.saveButton{

font-size:16px;

padding:15px;

}

}

/*==================================
        SCROLL ANIMATION
==================================*/

.card{

opacity:0;

transform:translateY(30px);

animation:fadeUp .7s ease forwards;

}

.card:nth-child(1){

animation-delay:.15s;

}

.card:nth-child(2){

animation-delay:.30s;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(30px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/*==================================
        SMOOTH EFFECTS
==================================*/

button,
.madhhabCard,
.backButton{

transition:all .3s ease;

}

button:focus{

outline:none;

box-shadow:0 0 0 3px rgba(24,168,116,.25);

}

::selection{

background:var(--primaryLight);

color:#FFFFFF;

}