/*==========================================
        GOVT EXAM PREP
        ECONOMICS NOTES
==========================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

--primary:#800000;

--primary-dark:#5d0000;

--gold:#D4AF37;

--gold-light:#F8E7B3;

--white:#ffffff;

--bg:#f6f8fc;

--text:#333;

--light:#666;

--border:#ececec;

--shadow:0 15px 40px rgba(0,0,0,.08);

--radius:22px;

--transition:.35s ease;

}

*{

margin:0;

padding:0;

box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;

background:var(--bg);

color:var(--text);

line-height:1.8;

}

a{

text-decoration:none;

color:inherit;

}

img{

max-width:100%;

display:block;

}

.container{

width:min(1200px,92%);

margin:auto;

}



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

.hero{

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

padding:120px 0;

position:relative;

overflow:hidden;

text-align:center;

}

.hero::before{

content:"";

position:absolute;

width:350px;

height:350px;

border-radius:50%;

background:rgba(212,175,55,.08);

right:-120px;

top:-120px;

}

.hero::after{

content:"";

position:absolute;

width:220px;

height:220px;

border-radius:50%;

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

left:-70px;

bottom:-70px;

}

.hero-content{

position:relative;

z-index:2;

width:min(900px,92%);

margin:auto;

color:#fff;

}

.hero-tag{

display:inline-block;

padding:10px 28px;

background:var(--gold);

color:var(--primary);

border-radius:40px;

font-weight:700;

margin-bottom:25px;

}

.hero h1{

font-size:4rem;

font-weight:800;

margin-bottom:20px;

}

.hero p{

font-size:1.08rem;

max-width:760px;

margin:auto;

color:rgba(255,255,255,.92);

}



/*==================================
        SECTION TITLE
==================================*/

.chapter-section{

padding:90px 0;

}

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title h2{

font-size:2.7rem;

color:var(--primary);

margin-bottom:15px;

}

.section-title p{

color:var(--light);

font-size:1.05rem;

}
/*==================================
        CHAPTER GRID
==================================*/

.chapter-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

}



/*==================================
        CHAPTER BUTTON
==================================*/

.chapter-btn{

display:flex;

align-items:center;

gap:18px;

background:#fff;

padding:22px 25px;

border-radius:20px;

font-size:1.05rem;

font-weight:600;

color:var(--primary);

border:2px solid transparent;

box-shadow:var(--shadow);

transition:var(--transition);

position:relative;

overflow:hidden;

}



/* Gold Line */

.chapter-btn::before{

content:"";

position:absolute;

left:0;

top:0;

width:6px;

height:100%;

background:var(--gold);

transition:.35s;

}



/* Hover */

.chapter-btn:hover{

transform:translateY(-8px);

border-color:var(--gold);

box-shadow:0 20px 40px rgba(128,0,0,.15);

}



.chapter-btn:hover::before{

width:100%;

opacity:.08;

}



/*==================================
            ICON
==================================*/

.chapter-btn i{

width:55px;

height:55px;

border-radius:16px;

display:flex;

justify-content:center;

align-items:center;

font-size:1.3rem;

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

color:#fff;

transition:.35s;

flex-shrink:0;

}



.chapter-btn:hover i{

background:linear-gradient(135deg,var(--gold),#f6dd82);

color:var(--primary);

transform:rotate(-8deg) scale(1.08);

}



/*==================================
        BUTTON TEXT
==================================*/

.chapter-btn span{

flex:1;

}



.chapter-btn:hover{

color:var(--primary-dark);

}



/*==================================
        BUTTON ARROW
==================================*/

.chapter-btn::after{

content:"\f054";

font-family:"Font Awesome 6 Free";

font-weight:900;

margin-left:auto;

color:#bbb;

transition:.35s;

}



.chapter-btn:hover::after{

color:var(--primary);

transform:translateX(6px);

}



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

.chapter-btn{

animation:fadeUp .6s ease;

}



@keyframes fadeUp{

from{

opacity:0;

transform:translateY(25px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/*==================================
        REPORT SECTION
==================================*/

.feedback-section{

padding:90px 0;

background:#ffffff;

}



.feedback-card{

max-width:900px;

margin:auto;

background:#fff;

padding:50px;

text-align:center;

border-radius:28px;

box-shadow:0 20px 45px rgba(0,0,0,.08);

border-top:6px solid var(--gold);

position:relative;

overflow:hidden;

}



.feedback-card::before{

content:"";

position:absolute;

width:180px;

height:180px;

border-radius:50%;

background:rgba(212,175,55,.08);

right:-70px;

top:-70px;

}



.feedback-icon{

width:90px;

height:90px;

margin:auto;

margin-bottom:25px;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

background:linear-gradient(

135deg,

var(--primary),

var(--primary-dark)

);

color:#fff;

font-size:2.2rem;

}



.feedback-card h2{

font-size:2.2rem;

color:var(--primary);

margin-bottom:18px;

}



.feedback-card p{

color:#666;

max-width:700px;

margin:0 auto 35px;

}



/*==================================
        CONTACT BUTTON
==================================*/

.contact-btn{

display:inline-flex;

align-items:center;

justify-content:center;

gap:12px;

padding:16px 38px;

border-radius:50px;

background:linear-gradient(

135deg,

var(--primary),

var(--primary-dark)

);

color:#fff;

font-weight:600;

transition:.35s;

box-shadow:0 12px 25px rgba(128,0,0,.20);

}



.contact-btn:hover{

background:linear-gradient(

135deg,

var(--gold),

#f6dd82

);

color:var(--primary);

transform:translateY(-5px);

}



/*==================================
            FOOTER
==================================*/

.footer{

background:linear-gradient(

135deg,

var(--primary),

var(--primary-dark)

);

padding:70px 0 35px;

color:#fff;

text-align:center;

}



.footer-content{

max-width:800px;

margin:auto;

}



.footer h2{

font-size:2.3rem;

font-weight:800;

margin-bottom:15px;

}



.footer p{

color:rgba(255,255,255,.88);

line-height:1.9;

}



.footer-divider{

width:120px;

height:4px;

background:var(--gold);

margin:30px auto;

border-radius:50px;

}



.copyright{

color:#f7df8d;

font-size:.95rem;

}



/*==================================
        SCROLLBAR
==================================*/

::-webkit-scrollbar{

width:12px;

}



::-webkit-scrollbar-track{

background:#ececec;

}



::-webkit-scrollbar-thumb{

background:linear-gradient(

var(--primary),

var(--primary-dark)

);

border-radius:50px;

}



::-webkit-scrollbar-thumb:hover{

background:var(--gold);

}



/*==================================
        TEXT SELECTION
==================================*/

::selection{

background:var(--gold);

color:var(--primary);

}



/*==================================
        RESPONSIVE
==================================*/

@media(max-width:992px){

.hero h1{

font-size:3rem;

}

}



@media(max-width:768px){

.hero{

padding:90px 0;

}



.hero h1{

font-size:2.4rem;

}



.section-title h2{

font-size:2rem;

}



.feedback-card{

padding:35px 25px;

}



.feedback-card h2{

font-size:1.8rem;

}



.contact-btn{

width:100%;

max-width:320px;

}



.chapter-grid{

grid-template-columns:1fr;

}

}



@media(max-width:480px){

.hero h1{

font-size:2rem;

}



.hero p{

font-size:.95rem;

}



.feedback-icon{

width:70px;

height:70px;

font-size:1.8rem;

}



.footer h2{

font-size:1.8rem;

}

}



/*==================================
        OPTIONAL DARK MODE
==================================*/

body.dark{

background:#111;

color:#fff;

}



body.dark .chapter-section,

body.dark .feedback-section{

background:#111;

}



body.dark .chapter-btn,

body.dark .feedback-card{

background:#1e1e1e;

border-color:#333;

}



body.dark .chapter-btn{

color:#fff;

}



body.dark .feedback-card h2{

color:#fff;

}



body.dark .feedback-card p{

color:#d5d5d5;

}