body {
    margin: 0;
    background: linear-gradient(180deg, #021326, #041f3d);
    font-family: 'Poppins', sans-serif;
  	overflow-x:hidden;
}

.topbar {
    position: relative;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 35px;

    background: linear-gradient(180deg, #061726, #020c18);

    /* border-radius: 40px; */
    border: 1px solid rgba(255,215,0,0.5);

    box-shadow:
        0 0 15px rgba(255,215,0,0.2),
        inset 0 0 10px rgba(255,215,0,0.1);
}

.topbar::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, gold, orange, gold);
    border-radius: 40px;
}

.logo-img {
    width: 38px;
}

/* LOGO LINK */
.logo-link{
    text-decoration: none;
}

/* LOGO SECTION */
.logo-section{
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LOGO CIRCLE */
.logo-circle{
    width: 52px;
    height: 52px;

    border-radius: 50%;

    overflow: hidden;

    border: 2px solid gold;

    box-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.logo-circle img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* KANNADA TEXT */
.logo-text{

    color: gold;

    font-size: 28px;

    font-family: "Nudi 16 e", sans-serif;

    font-weight: bold;

    text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* RIGHT CONTROLS */
.right-controls{
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ZOOM BUTTON */
.zoom-btn{

    padding: 10px 18px;

    border-radius: 10px;

    border: 2px solid gold;

    background: rgba(0,0,0,0.35);

    color: gold;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.zoom-btn:hover{

    background: gold;
    color: black;

    box-shadow: 0 0 14px gold;
}

/* SEARCH CONTAINER */
.search-container{
    position: relative;
}

/* SEARCH PANEL */
.search-panel{

    position: absolute;

    top: 60px;
    right: 0;

    width: 340px;

    background: #02142c;

    border: 2px solid gold;

    border-radius: 14px;

    padding: 14px;

    display: none;

    z-index: 9999;

    box-shadow: 0 0 15px rgba(255,215,0,0.3);
}

/* ACTIVE */
.search-panel.active{
    display: block;
}

/* INPUT */
.search-panel input{

    width: 100%;

    padding: 14px;

    border-radius: 12px;

    border: 2px solid gold;

    background: #031a35;

    color: white;

    outline: none;

    font-size: 16px;

    box-sizing: border-box;
}

/* RESULTS */
#searchResults{

    width: 100%;

    margin-top: 14px;

    max-height: 280px;

    overflow-y: auto;

    box-sizing: border-box;
}

/* RESULT ITEM */
.result-item{

    width: 100%;

    padding: 14px;

    margin-bottom: 10px;

    background: rgba(255,255,255,0.05);

    border-radius: 10px;

    cursor: pointer;

    color: white;

    transition: 0.3s;

    box-sizing: border-box;
}

/* HOVER */
.result-item:hover{

    background: gold;

    color: black;
}

/* HERO BACKGROUND */
.hero-bg {
    width: 100%;

    aspect-ratio: 16 / 6;

    background: url("images/hero-bg.png") no-repeat center center;

    background-size: cover;

    overflow: hidden;

    position: relative;
}

/* LOGO */
/* LOGO CONTAINER */
.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CIRCULAR LOGO */
.logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;

    background: radial-gradient(circle, #1a1a1a, #000);
    border: 2px solid gold;

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

    box-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* LOGO IMAGE */
.logo-circle img {
    width: 110%;
    height: 110%;
    object-fit: contain;
}

/* TEXT */
.logo-text {
    font-size: 20px;
    font-weight: 600;

    background: linear-gradient(90deg, gold, orange);
    -webkit-background-clip: text;
    color: transparent;

    letter-spacing: 0.5px;
}

/* NAV */
.nav-links a {
    margin: 0 16px;
    color: #cbd5e1;
    font-size: 15px;
    text-decoration: none;
}

.nav-links a:hover {
    color: gold;
}

.nav-links .active {
    color: gold;
    border-bottom: 2px solid gold;
    padding-bottom: 3px;
}

/* SEARCH */
.search-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid gold;

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

    color: gold;
    font-size: 14px;

    background: rgba(255,215,0,0.05);

    box-shadow: 0 0 8px rgba(255,215,0,0.4);
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 50px;
    transform: translateX(120px);
}

/* TITLE */
.hero-title {
	position: absolute;
  	top: 40px;
  	left: 38%;
	width: 800px;
}

/* TAGLINE */
.hero-tagline {
  	position: absolute;
  	top: 230px;
  	left: 41%;
  	transform: translateX(-10%);
	width: 700px;
}

/* FEATURES */
.hero-features {
  	position: absolute;
  	top: 380px;
  	left: 42%;
  	transform: translateX(-10%);
	width: 650px;
}

/* TEXT STYLING */
.hero-content h3 {
    color: #90ee90;
    font-size: 22px;
}

.hero-content h1 {
    font-size: 90px;
    background: linear-gradient(gold, orange);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.hero-top .line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, gold, orange);
}

.hero-top h3 {
    color: #7fffd4;
    font-size: 22px;
}

/* MAIN TITLE (GOLD + RED LIKE IMAGE) */
.main-title {
    font-size: 90px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* LEFT (GOLD 3D) */
.title-yellow {
    background: linear-gradient(
        180deg,
        #fff176 0%,
        #ffd700 40%,
        #ffb300 70%,
        #ff8f00 100%
    );

    -webkit-background-clip: text;
    color: transparent;

    text-shadow:
        0 2px 0 #cc9a00,
        0 4px 0 #b38600,
        0 6px 8px rgba(0,0,0,0.6);
}

/* RIGHT (RED + GOLD EDGE 3D) */
.title-red {
    background: linear-gradient(
        180deg,
        #ff6a00 0%,
        #ff0000 40%,
        #cc0000 70%,
        #990000 100%
    );

    -webkit-background-clip: text;
    color: transparent;

    text-shadow:
        0 2px 0 #b30000,
        0 4px 0 #800000,
        0 6px 10px rgba(0,0,0,0.7);
}

/* GOLD OUTLINE EFFECT */
.main-title span {
    -webkit-text-stroke: 1px #ffcc00;
}

/* MAIN RIBBON */
/* HERO */
.hero-bg {
    position: relative;
    height: 600px;
    background: url("images/hero-bg.png") no-repeat center/cover;
    overflow: hidden;
}

/* TITLE */

/* SUBSCRIBE */
/* CLICKABLE LINK */
.subscribe-link {

    position: absolute;

    bottom: 40px;

    left: 55%;

    width: 100%;

    display: flex;

    justify-content: center;

    z-index: 5;
}

/* IMAGE */
.subscribe-img {

    width: 600px;

    max-width: 90%;

    height: auto;

    cursor: pointer;

    transition: transform 0.3s ease;
}

/* HOVER EFFECT */
.subscribe-img:hover {
    transform: scale(1.05);
}

/* RIGHT TEXT */
.notify-section {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 13px;
}

/* SECTION */
.category-section {
    margin: 40px auto;
    width: 100%;
  	padding:0 20px;
}

/* GRID */

.category-grid > *{
    min-width:0;
}

.category-grid{
    display:grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:20px;

    width:100%;
}

.category-card{
    padding:20px;

    border-radius:18px;

    text-align:center;

    transition:0.3s;

    background:#fce7c7;

    min-width:0;

    overflow:hidden;
}

/* TOP SECTION (ICON + TEXT SIDE BY SIDE) */
.card-top{
    display:flex;

    align-items:center;

    gap:15px;

    min-width:0;
}

/* ICON CIRCLE */
.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;

    background: #f8dca0;

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

    font-size: 45px;
}

.card-text{
    flex:1;
    min-width:0;
}

/* TEXT */
.card-text h3{
    font-size:32px;

    overflow-wrap:break-word;
}

.card-text p {
    margin: 5px 0 0;
    font-size: 23px;
    color: #555;
}

/* BUTTON */
.category-card button {
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #333;
    background: transparent;
    cursor: pointer;
}

.category-btn {

    margin-top: 28px;

    align-self: center;

    padding: 11px 26px;

    border-radius: 30px;

    border: 1.5px solid #333;

    background: transparent;

    font-size: 16px;

    text-decoration: none;

    color: #000;

    transition: 0.3s;

    display: inline-block;
}

.category-btn:hover {

    background: #111;

    color: white;
}

/* SECTION */
.subjects-section {
    width: 95%;
    margin: 60px auto;
}

/* HEADER */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    position: relative;
}

/* TITLE */
.section-header h2 {
    color: white;
    font-size: 32px;
    margin: 0;
}

/* GOLD LINES */
.line {
    width: 120px;
    height: 2px;
    background: gold;
}

/* VIEW BUTTON */
.view-all-btn {
    position: absolute;
    right: 0;

    text-decoration: none;
    color: gold;

    border: 1px solid gold;
    padding: 10px 20px;
    border-radius: 30px;

    transition: 0.3s;
}

.view-all-btn:hover {
    background: gold;
    color: black;
}

/* GRID */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.subject-card {
    background: #f5f2eb;
    border-radius: 18px;
    overflow: hidden;

    transition: 0.3s;
}

.subject-card:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.subject-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* CONTENT */
.subject-content {
    padding: 20px;
    text-align: center;
}

/* TITLE */
.subject-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: black;
}

/* PDF BUTTON */
.pdf-btn {
    border: none;
    padding: 12px 20px;
    border-radius: 10px;

    color: white;
    font-weight: 600;

    cursor: pointer;
}

/* COLORS */
.pdf-btn.green {
    background-color: #168c3b;
}

.pdf-btn.blue {
    background-color: #0b57c2;
}

.pdf-btn.orange {
    background-color: #d97a00;
}

.pdf-btn.purple {
    background-color: #8a35b8;
}

@media (max-width: 1000px) {

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .subject-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px){

    .hero-bg{

        aspect-ratio: 16 / 10;
    }
}

/* BLOG SECTION */
.blog-section {
    width: 95%;
    margin: 70px auto;
}

/* BLOG GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.blog-card {
    display: flex;
    gap: 18px;

    background: #f5f2eb;

    padding: 15px;
    border-radius: 18px;

    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.blog-img {
    width: 180px;
    height: 180px;

    object-fit: cover;
    border-radius: 12px;
}

/* CONTENT */
.blog-content {
    flex: 1;
}

/* TITLE */
.blog-content h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #111;
}

/* DATE */
.blog-date {
    color: #c74f5d;
    font-size: 15px;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.blog-desc {
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* META */
.blog-meta {
    color: #9b7d5f;
    font-size: 14px;
    margin-bottom: 15px;
}

/* BUTTON */
.read-btn {
    display: inline-block;

    background: #06142c;
    color: gold;

    text-decoration: none;

    padding: 10px 20px;
    border-radius: 12px;

    transition: 0.3s;
}

.read-btn:hover {
    background: gold;
    color: black;
}

@media (max-width: 1100px) {

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-img {
        width: 100%;
        height: 250px;
    }

}

/* FEATURE STRIP */
.feature-strip {

    width: 100%;

    margin-top: 70px;

    border-top: 1px solid rgba(255,215,0,0.3);
    border-bottom: 1px solid rgba(255,215,0,0.3);

    padding: 30px 20px;
  	overflow:hidden;

    display: grid;
    grid-template-columns: repeat(4, 1fr);


}

/* EACH ITEM */
.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 0 10px;

    position: relative;

    min-width: 0;
}

/* VERTICAL DIVIDER */
.feature-item:not(:last-child)::after {

    content: "";

    position: absolute;
    right: 0;
    top: 10%;

    width: 1px;
    height: 80%;

    background: rgba(255,215,0,0.25);
}

/* ICON */
.feature-icon {

    font-size: 42px;
    color: gold;

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

    min-width: 60px;
}

/* TITLE */
.feature-text h3 {

    margin: 0 0 8px;
    color: gold;

    font-size: 20px;
}

/* DESCRIPTION */
.feature-text p {

    margin: 0;

    color: #ddd;

    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 1000px) {

    .feature-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

}

@media (max-width: 600px) {

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .feature-item::after {
        display: none;
    }

}

/* FOOTER */
.main-footer {

    padding-top: 50px;

    border-top: 1px solid rgba(255,215,0,0.2);
}

/* CONTAINER */
.footer-container {

    width: 90%;
    margin: auto;
  	overflow:hidden;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    align-items: center;
}

/* LEFT */
.footer-logo-section {

    display: flex;
    align-items: center;
    gap: 20px;
}

/* LOGO */
.footer-logo {

    width: 90px;
    height: 90px;

    object-fit: contain;
}

/* BRAND */
.footer-brand h2 {

    margin: 0;
    font-size: 48px;
}

/* COLORS */
.yellow-text {
    color: #ffd700;
}

.red-text {
    color: #ff3b2f;
}

/* SUBTEXT */
.footer-brand p {

    margin-top: 8px;

    color: #ddd;
    font-size: 18px;
}

/* LINKS */
.footer-links h3,
.footer-social h3 {

    color: gold;
    margin-bottom: 20px;
}

/* LIST */
.footer-links ul {

    list-style: none;
    padding: 0;
    margin: 0;
}

/* ITEMS */
.footer-links li {

    margin-bottom: 12px;
}

/* LINKS */
.footer-links a {

    text-decoration: none;
    color: #ddd;

    transition: 0.3s;
}

.footer-links a:hover {

    color: gold;
}

/* SOCIAL */
.social-icons {

    display: flex;
    gap: 15px;
}

/* ICONS */
.social-icons img {

    width: 42px;
    height: 42px;

    transition: 0.3s;
}

.social-icons img:hover {

    transform: scale(1.15);
}

/* COPYRIGHT */
.copyright {

    text-align: center;

    margin-top: 40px;

    padding: 20px 0;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: #ccc;
}

/* FOOTER CONTAINER */
.footer-container {

    width: 90%;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    align-items: center;
}

/* ADD VERTICAL LINES */
.footer-links,
.footer-social {

    border-left: 2px solid rgba(255,215,0,0.5);

    padding-left: 25px;
}

@media (max-width: 900px) {

    .footer-container {

        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-section {

        justify-content: center;
    }

    .social-icons {

        justify-content: center;
    }

}

/* HOVER */
.category-card:hover {
    transform: translateY(-5px);
}

/* COLORS */
.yellow { background: #fce7c7; }
.green  { background: #d4f5dc; }
.pink   { background: #f9d7e5; }
.blue   { background: #d7eaf9; }
.peach  { background: #f9e0d7; }

@media (max-width: 1100px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.post-card{
    background:#fff;
    padding:20px;
    margin-bottom:20px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    transition:0.3s;
}

.post-card:hover{
    transform:translateY(-5px);
}

.post-card h2{
    margin-bottom:10px;
}

.post-card a{
    text-decoration:none;
    color:#111;
}

.post-card p{
    color:#555;
}

.featured-image{
    width:100%;
    border-radius:12px;
    margin-bottom:20px;
}