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

/* Basic Resets & Variables */
:root {
    --primary-color: #002147;      /* Navy Blue */
    --primary-dark: #001229;       /* Deep Navy */
    --accent-color: #F39C12;       /* Warm Yellow/Gold */
    --accent-hover: #D68910;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #F4F6F9;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, button, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    width: 100% !important;
    max-width: 1360px !important; /* Premium spacious PC widescreen layout */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* TOP HEADER BAR */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-socials {
    display: flex;
    gap: 15px;
}

.top-bar-socials a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.top-bar-socials a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* MAIN NAVIGATION BAR */
.main-nav {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-color);
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-search {
    cursor: pointer;
    font-size: 18px;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-search:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* HERO BANNER */
.hero-banner {
    background-image: linear-gradient(135deg, rgba(0, 18, 41, 0.45) 0%, rgba(0, 20, 45, 0.3) 100%), url('../images/hero-banner.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: var(--white);
    padding: 75px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 50%, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-banner .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-subtitle span {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-gujarati {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-sm);
}

.hero-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    animation: zoomIn 0.8s ease-out;
}

.hero-img-wrapper {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-lg);
}

.hero-img-wrapper img {
    border-radius: 12px;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
}

/* QUICK ACTIONS / CATEGORY CARDS */
.quick-categories {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.quick-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.02);
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--white);
}

/* Colors from screenshot */
.quick-card.notes .quick-icon { background-color: #6C5CE7; }
.quick-card.material .quick-icon { background-color: #2ECC71; }
.quick-card.quiz .quick-icon { background-color: #E67E22; }
.quick-card.gk .quick-icon { background-color: #E84393; }
.quick-card.computer .quick-icon { background-color: #0984E3; }

.quick-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.quick-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.quick-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.quick-card:hover .quick-arrow {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* MAIN BODY GRID LAYOUT */
.main-content-layout {
    display: grid;
    grid-template-columns: 2.1fr 0.9fr;
    gap: 30px;
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.view-all-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    color: var(--accent-color);
}

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

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-img {
    transform: scale(1.05);
}

.post-category-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.post-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: auto;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* SIDEBAR WIDGETS */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

/* Widget: About Me */
.about-me-widget {
    text-align: center;
}

.about-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
    padding: 3px;
    background-color: var(--white);
}

.about-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.about-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Widget: Popular Posts */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.popular-thumb {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-info {
    display: flex;
    flex-direction: column;
}

.popular-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-title:hover {
    color: var(--accent-color);
}

.popular-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Widget: Categories */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.category-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-name:hover {
    color: var(--accent-color);
}

.category-count {
    color: var(--text-muted);
    font-weight: 400;
}

/* NEWSLETTER NEWS BAR */
.newsletter-bar {
    background: linear-gradient(135deg, #001f42 0%, #002d62 100%);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
    box-shadow: var(--shadow-md);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 30px;
}

.newsletter-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    font-size: 36px;
    color: var(--accent-color);
    background: rgba(255,255,255,0.08);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    background-color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* FOOTER SECTION */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 70px 0 20px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 50px;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col.about p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-socials a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.8);
}

.footer-contact-item i {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* OTHER INNER PAGES GENERAL STYLES */
.page-header {
    background: linear-gradient(135deg, #001f42 0%, #002d62 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.page-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

/* Contact Page Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-section h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-card-icon {
    font-size: 20px;
    color: var(--primary-color);
    background-color: rgba(0, 33, 71, 0.08);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-section {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--white);
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* SINGLE BLOG POST STYLES */
.post-detail-header {
    margin-bottom: 30px;
}

.post-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.post-detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-detail-img {
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.post-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}

.post-detail-content p {
    margin-bottom: 20px;
}

.post-detail-content h2,
.post-detail-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-weight: 700;
}

.post-detail-content ul,
.post-detail-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-detail-content li {
    margin-bottom: 8px;
}

/* INTERACTIVE QUIZ STYLES */
.quiz-container {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 40px 0;
    border: 1px solid var(--border-color);
}

.quiz-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-header h3 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.quiz-score-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.quiz-question-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.quiz-question-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.quiz-question-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.quiz-options-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.quiz-option {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-option:hover {
    background-color: #E2E8F0;
    border-color: #CBD5E1;
}

.quiz-option.correct {
    background-color: #D4EDDA !important;
    border-color: #C3E6CB !important;
    color: #155724 !important;
    font-weight: 600;
}

.quiz-option.incorrect {
    background-color: #F8D7DA !important;
    border-color: #F5C6CB !important;
    color: #721C24 !important;
    font-weight: 600;
}

.quiz-explain {
    background-color: #EBF8FF;
    border-left: 4px solid #3182CE;
    padding: 15px;
    border-radius: 0 6px 6px 0;
    margin-top: 15px;
    font-size: 14px;
    color: #2B6CB0;
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .quick-card:nth-child(4),
    .quick-card:nth-child(5) {
        grid-column: span 1.5;
    }
}

@media (max-width: 991px) {
    .main-content-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .newsletter-grid {
        grid-template-columns: 1fr;
    }
    .hero-banner .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-img-container {
        display: none; /* Hide standard layout container on mobile, style simpler */
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
    .nav-links a::after {
        display: none;
    }
    .hero-title {
        font-size: 32px;
    }
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-card:nth-child(5) {
        grid-column: span 2;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-info {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .page-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .quick-grid {
        grid-template-columns: 1fr;
    }
    .quick-card:nth-child(5) {
        grid-column: span 1;
    }
}

/* Animated Glowing Footer Credit */
.glow-link {
    color: #F39C12 !important; /* Gold */
    font-weight: 700;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(243, 156, 18, 0.05);
    border: 1px solid rgba(243, 156, 18, 0.15);
    transition: all 0.3s ease;
    animation: glowPulse 2s infinite alternate;
}

.glow-link:hover {
    color: #ffffff !important;
    background-color: #F39C12;
    box-shadow: 0 0 15px #F39C12, 0 0 30px #F39C12;
    transform: translateY(-2px) scale(1.05);
    border-color: #F39C12;
}

.glow-link i {
    font-size: 11px;
    animation: rocketFloat 1.5s infinite alternate ease-in-out;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(243, 156, 18, 0.2);
        border-color: rgba(243, 156, 18, 0.2);
    }
    100% {
        box-shadow: 0 0 15px rgba(243, 156, 18, 0.6), 0 0 5px rgba(243, 156, 18, 0.3);
        border-color: rgba(243, 156, 18, 0.7);
    }
}

@keyframes rocketFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-2px) rotate(5deg);
    }
}

/* ==========================================
   CINEMATIC SPLASH SCREEN & SIDEBAR BANNER WIDGETS
   ========================================== */

/* Cinematic 3D Splash Screen Overlay */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f6f9 100%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 1;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 90%;
}

.splash-logo {
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 33, 71, 0.15);
    background-color: var(--white);
    padding: 10px;
    transform: scale(0.85);
    opacity: 0;
    animation: splashZoomIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.2s;
}

.splash-title-wrapper {
    overflow: hidden;
}

.splash-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: splashSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.8s;
}

.splash-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: splashSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 1.1s;
}

.splash-loader {
    width: 60px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 1.3s;
}

.splash-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    animation: splashLoadProgress 1.4s ease-in-out forwards;
    animation-delay: 1.3s;
}

/* Splash Exit Classes */
.splash-overlay.fade-out {
    opacity: 0;
    transform: scale(1.05) translateY(-30px);
    pointer-events: none;
}

/* Splash Animations */
@keyframes splashZoomIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes splashSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes splashLoadProgress {
    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Custom Sidebar Premium Animated Widgets */
.sidebar-banner-widget {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-banner-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sidebar-banner-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* WhatsApp Widget Card */
.whatsapp-banner-card {
    background: linear-gradient(135deg, #E8F8F0 0%, #FFFFFF 100%);
    border: 2px solid #25D366;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.whatsapp-banner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateGlow 6s linear infinite;
}

.whatsapp-icon-box {
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    animation: iconPulse 2s infinite;
    flex-shrink: 0;
}

.whatsapp-text-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.whatsapp-title {
    font-size: 18px;
    font-weight: 800;
    color: #128C7E;
}

.whatsapp-btn-badge {
    background-color: #128C7E;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(18, 140, 126, 0.2);
}

/* YouTube Widget Card */
.youtube-banner-card {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFFFFF 100%);
    border: 2px solid #FF0000;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.youtube-logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: #000;
}

.youtube-logo-box i {
    color: #FF0000;
    font-size: 32px;
    animation: ytPulse 1.5s infinite alternate;
}

.youtube-subscribe-btn {
    background-color: #FF0000;
    color: var(--white);
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.2);
}

.youtube-banner-card:hover .youtube-subscribe-btn {
    background-color: #CC0000;
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.3);
}

/* Telegram Widget Card */
.telegram-banner-card {
    background: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 100%);
    border: 2px solid #0088cc;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.telegram-icon-box {
    width: 50px;
    height: 50px;
    background: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
    flex-shrink: 0;
}

.telegram-text-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.telegram-title {
    font-size: 16px;
    font-weight: 800;
    color: #0088cc;
}

.telegram-btn-badge {
    background-color: #0088cc;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
}

/* Feedback Widget Card */
.feedback-banner-card {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    border: 2px solid #E53E3E;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #C53030;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(229, 62, 62, 0.15);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feedback-banner-card:hover {
    background-color: #E53E3E;
    color: var(--white);
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(229, 62, 62, 0.3);
}

/* Animations */
@keyframes iconPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes ytPulse {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Premium Social Sharing Section */
.post-share-section {
    margin-top: 45px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #fcfdfd 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.share-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.share-title i {
    color: var(--accent-color);
    animation: shareIconPulse 2s infinite alternate;
}

.share-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white) !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    color: var(--white) !important;
}

.share-btn i {
    font-size: 16px;
}

/* Brand Specific Vibrant Linear Gradients & Glowing Shadows */
.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}
.share-btn.whatsapp:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #37AEE2 0%, #1E82B6 100%);
    box-shadow: 0 4px 10px rgba(55, 174, 226, 0.25);
}
.share-btn.telegram:hover {
    box-shadow: 0 8px 20px rgba(55, 174, 226, 0.45);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #4267B2 0%, #29487D 100%);
    box-shadow: 0 4px 10px rgba(66, 103, 178, 0.25);
}
.share-btn.facebook:hover {
    box-shadow: 0 8px 20px rgba(66, 103, 178, 0.45);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #2C2C2C 0%, #000000 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.share-btn.twitter:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005987 100%);
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.25);
}
.share-btn.linkedin:hover {
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.45);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, #002147 0%, #001124 100%);
    box-shadow: 0 4px 10px rgba(0, 33, 71, 0.25);
}
.share-btn.copy-link:hover {
    box-shadow: 0 8px 20px rgba(0, 33, 71, 0.45);
}

.share-btn.copy-link.copied {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%) !important;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.45) !important;
}

@keyframes shareIconPulse {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

/* YOUTUBE LATEST VIDEOS TAB STYLES */
.latest-videos-section {
    margin-top: 40px;
}

.latest-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-date {
    font-size: 12px;
    color: var(--text-muted);
}
