﻿/* === GLOBAL === */
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eaeaea;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*ALL HEADINGS*/
/*cartoon, quote, trending now heading*/
.page-home .left-section-header {
    background-color: #d10202;
    color: white;
    font-size: 1.3vw;
    font-weight: 700;
    padding: 0.5vw 0 0.5vw 1vw;
    border-top-left-radius: 0.5vw;
    border-top-right-radius: 0.5vw;
}


/*Latest Story heading*/
.page-home .story-title {
    white-space: nowrap;
    font-size: 1.3vw;
    font-weight: 700;
}

/*nation, international, about heading*/
.page-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px !important;
    color: rgb(160,0,0);
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    display: inline-block;
}

@media(max-width:1000px) {
    .page-title {
        font-size: 1.75rem;
    }
}

/*ALL HEADINGS*/

.site-wrapper {
    max-width: 1400px;
    /*    width: 1400px;*/
    /*        min-width: 1400px;*/
    margin: 0 auto;
    /*    padding: 0px 15px;*/
}

.responsive {
    max-width: 100%;
}

.spacing-20 {
    margin: 20px;
}

/* === TOP BAR === */

.outer-header {
    background-color: white;
}

.top-bar {
    border-radius: 0px 0px 10px 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    height: 110px;
    padding: 0 20px;
}

    .top-bar a img {
        height: 70px;
        width: auto;
        object-fit: contain;
        border-radius: 20px;
    }

.center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1;
}

.title {
    font-size: 100px;
    font-weight: 900;
    color: #ffc900;
    margin: 21px 0 0 0;
}

.subtitle {
    font-size: 16px;
    color: #184baf;
    margin-top: 4px;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* center text perfectly */

    margin: 0;
    white-space: nowrap;
}

.subtitle-social {
    position: relative;
    display: flex;
    justify-content: flex-end; /* push icons to the right */
    align-items: center;
    padding: 0 0px;
    height: 60px; /* adjust as needed */
}
/* === SOCIAL MEDIA BAR === */
.top-social-bar {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
    gap: 12px;
    height: 40px;
}

    .top-social-bar a img {
        width: 22px;
        height: 22px;
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    .top-social-bar a:hover img {
        transform: scale(1.2);
    }

.navbar {
    background-color: #c90907;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 13px;
}

    .navbar a {
        color: white !important;
        font-weight: bold;
        text-decoration: none;
        font-size: 24px;
        transition: background 0.3s ease;
        margin: 5px 10px;
    }

        .navbar a:first-child {
            margin-left: 40px;
        }

        .navbar a:last-child {
            margin-right: 40px;
        }

        .navbar a:hover {
            background-color: #3e0bbd;
            border-radius: 8px;
        }

.main-container {
    /* display: flex; */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    background-color: white;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

.container {
    width: 90%;
    margin: 0 auto;
    transform: scale(1);
    background-color: white;
}

.advert-section {
    border: 2px solid #5d0fff;
    margin: 30px auto;
    width: 90%;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
}

    .advert-section h2 {
        font-size: 36px;
        font-weight: bold;
        color: black;
    }

.coming-soon-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    margin-top: 30px;
    background-color: #e9f3f9;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
}

.coming-soon-image {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .coming-soon-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 0 10px #aaa;
        object-fit: cover;
    }

.coming-soon-text {
    flex: 0 0 60%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .coming-soon-text h2 {
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .coming-soon-text ul {
        list-style: disc;
        padding-left: 20px;
        color: #333;
    }

    .coming-soon-text p {
        margin-top: 15px;
        color: #444;
    }

.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 25px;
    padding: 30px;
    margin-top: 20px;
}

.grid-box {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    transition: background 0.3s, transform 0.3s;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .grid-box:hover {
        background-color: #f0f8ff;
        transform: scale(1.03);
    }

.full-width-section {
    width: 70%;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #3e0976;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

    .about-text p {
        margin-bottom: 15px;
    }

.about-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    font-weight: bold;
    color: #555;
    text-align: left;
}

@media (max-width: 768px) {
    .about-footer {
        text-align: center;
    }

    .section-title {
        font-size: 24px;
    }
}

.qr-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ccc;
    display: block;
    margin: 0 auto;
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    font-style: italic;
}

.form-label {
    font-weight: 600;
    color: #333;
}

input[type="text"].form-control:read-only {
    background-color: #f1f1f1;
    cursor: not-allowed;
}

input[type="file"].form-control {
    padding: 8px;
}

button[type="submit"] {
    font-size: 16px;
    font-weight: bold;
}

/* ✅ Responsive Improvements */
@media (max-width: 768px) {
    .qr-img {
        max-width: 200px;
    }

    .btn {
        font-size: 15px;
    }
}
/* === CONTACT US PAGE === */

.full-width-section {
    width: 100%;
    background-color: #fdfdfd;
}

.form-container.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.contact-form h2.section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: #3e0976;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: #444;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 16px;
        box-sizing: border-box;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #3e0976;
            outline: none;
        }

button[type="submit"] {
    background-color: #3e0976;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

    button[type="submit"]:hover {
        background-color: #520fa8;
    }

#feedbackMessage {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    color: green;
    font-size: 16px;
}

/* === FOOTER === */
footer {
    width: 100%;
    background-color: #fff;
    font-family: "Arial", sans-serif;
    color: #222;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-address {
    background-color: #c90907;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 15px 30px;
    gap: 40px;
    overflow-x: auto;
    background-color: #fff;
}

.footer-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

    .footer-banner img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        max-height: 300px;
        border-top: 4px solid #800000;
    }

.footer-copyright {
    background-color: #c90907;
    color: white;
    text-align: center;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 0 0 7px 7px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
    }

    .coming-soon-section {
        flex-direction: column;
    }

    .coming-soon-image,
    .coming-soon-text {
        flex: 1 1 100%;
        text-align: center;
    }

    .grid-section {
        grid-template-columns: repeat(1, 1fr);
    }
}

.page-content {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.login-left {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .login-left img {
        max-width: 100%;
        height: auto;
    }

.login-right {
    flex: 1;
    padding: 40px 30px;
}

    .login-right h3 {
        font-weight: 700;
        margin-bottom: 30px;
    }

.input-group {
    margin-bottom: 20px;
}

    .input-group .form-control {
        border-radius: 6px;
        padding-left: 40px;
    }

    .input-group .input-group-prepend {
        position: absolute;
        z-index: 10;
        height: 100%;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #888;
    }

.btn-login {
    background-color: #5caeff;
    color: white;
    font-weight: 600;
    width: 100%;
    border-radius: 6px;
}

.alert {
    margin-bottom: 20px;
}

.member-row {
    margin: 25px auto;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

    .member-row:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        background: #f9f7ff;
    }

.profile-img {
    max-width: 150px;
    transition: transform 0.3s ease-in-out;
}

.member-row:hover .profile-img {
    transform: scale(1.1);
}

.member-row h4,
.member-row h3 {
    font-weight: 600;
    color: #2c3e50;
}

.member-row p {
    color: #555;
    margin: 5px 0 0;
    line-height: 1.6;
}

.issue-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

.issue-section {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.issue-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.issue-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    transition: all 0.3s ease;
}

.short-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expanded {
    display: block !important;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
}

.read-more-toggle {
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
    cursor: pointer;
    color: #0d6efd;
    text-decoration: underline;
}
/*logo BHARATI NEWS */
#logo {
    color: #c90907;
    font-weight: 800;
    font-size: 64px;
    letter-spacing: -3px;
}

@media (min-width:1000px) {
    .hide-res-social {
        display: none;
    }

    .language-switch-dv {
        display: none !important;
    }

    .current-page-name {
        display: none;
    }

    .site-wrapper {
        width: 1400px;
    }
}

/* media query for mobile view */
@media (max-width: 1000px) {
    .site-wrapper {
        padding: 0;
    }

    #logo {
        /*        display: none;*/
        font-size: 52px;
    }

    .logo-parent {
        width: 100%;
    }

    #nav-res {
        background: white !important;
        width: 100vw;
    }

    .subtitle-social {
        justify-content: flex-start;
    }

    .top-social-bar {
        padding: 0;
    }

    .hide-social {
        display: none;
    }

    .container-fluid {
        width: 190px !important;
        margin-right: 0 !important;
        margin-left: 12px !important;
        background: rgb(201, 9, 6);
        height: 38px;
        border-radius: 4px;
    }

    .logo-left {
        display: none;
    }

    .language-switch-mv {
        display: none !important;
    }
}

.center-text {
    text-align: center;
    margin: 20px 0;
}

    .center-text .logo-img {
        max-width: 426px;
        height: auto;
        display: inline-block;
    }

/*current page*/
.current-page-name {
    position: absolute;
    left: 57px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    width: 132px;
    /* align-content: center; */
    top: 2px;
    /* letter-spacing: -3px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    height: 32px;
    letter-spacing: -0.5px;
}

#sandwitch-menu {
    color: black;
    font-weight: 900;
    background: white;
    padding: 8px;
    border: 1px solid black;
    border-radius: 4px;
    width: 55px;
    display: inline-block;
}

.navbar a:hover {
    background: rgb(59, 56, 55);
    color: white;
}
/* Container Styling: Creates the side-by-side box */
#language-switcher {
    display: flex; /* Use Flexbox to align children */
    width: fit-content;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    user-select: none; /* Prevents selecting the text */
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 10px; /* Example spacing */
}

/* Option Styling: Applies to both English and Hindi text */
.lang-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    color: #555;
    background-color: #f9f9f9;
}

    /* Separator line between the options */
    .lang-option[data-lang="en"] {
        border-right: 1px solid #ccc;
    }

    /* Hover effect */
    .lang-option:hover:not(.active) {
        background-color: #e0e0e0;
    }

    /* Active State: Highlights the currently selected language */
    .lang-option.active {
        background-color: #c90907;
        color: white;
        font-weight: bold;
    }



body {
    top: 0px !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.toggle-container {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.toggle-label {
    position: relative;
    display: block;
    width: 90px;
    height: 40px;
    background: #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

    .toggle-label .toggle-inner {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        font-size: 14px;
        font-weight: bold;
        color: #555;
        transition: 0.3s;
        content: "EN";
    }

    .toggle-label::before {
        content: "EN";
        position: absolute;
        left: 12px;
        top: 9px;
        font-size: 14px;
        font-weight: bold;
        color: #333;
        transition: opacity 0.3s;
    }

    .toggle-label::after {
        content: "हिन्दी";
        position: absolute;
        right: 12px;
        top: 9px;
        font-size: 14px;
        font-weight: bold;
        color: #333;
        opacity: 0.3;
        transition: opacity 0.3s;
    }

.toggle-switch {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transition: left 0.3s;
}

#langToggle {
    display: none;
}

    #langToggle:checked + .toggle-label {
        background: linear-gradient(45deg, #ff6a00, #ee0979);
    }

        #langToggle:checked + .toggle-label::before {
            opacity: 0.3;
        }

        #langToggle:checked + .toggle-label::after {
            opacity: 1;
        }

        #langToggle:checked + .toggle-label .toggle-switch {
            left: 53px;
        }


/* ===========================
   LOGIN PAGE – SCOPED GLOBAL CSS
   Parent: .login-page
   =========================== */

.login-page .login-container {
    width: 100%;
    max-width: 500px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: auto;
    padding: 20px;
    height: 30vw;
    display: flex;
    align-items: center;
    background-color: #f5f0e6;
    border-radius: 12px;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
}


/* ===========================
   LEFT SIDE ILLUSTRATION
   =========================== */

.login-page .illustration-box img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   RIGHT SIDE FORM
   =========================== */

.login-page .login-form-box {
    padding: 0 40px;
}

/* ===========================
   SOCIAL LOGIN
   =========================== */

.login-page .social-login {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.login-page .social-circle {
    width: 40px;
    height: 40px;
    background-color: #3b5998;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

    .login-page .social-circle.twitter {
        background-color: #55acee;
    }

    .login-page .social-circle.linkedin {
        background-color: #0077b5;
    }

    .login-page .social-circle:hover {
        opacity: 0.8;
        color: #ffffff;
    }

/* ===========================
   DIVIDER ("OR")
   =========================== */

.login-page .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

    .login-page .divider::before,
    .login-page .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .login-page .divider:not(:empty)::before {
        margin-right: 0.5em;
    }

    .login-page .divider:not(:empty)::after {
        margin-left: 0.5em;
    }

/* ===========================
   INPUT STYLING
   =========================== */

.login-page .form-control-dark {
    border: 1px solid #495057;
    color: #050505;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
}

    .login-page .form-control-dark:focus {
        background-color: #32373c;
        border-color: #3b71ca;
        box-shadow: none;
        color: #ffffff;
    }

    .login-page .form-control-dark::placeholder {
        color: #adb5bd;
    }

/* ===========================
   OPTIONS ROW (CHECKBOX + LINK)
   =========================== */

.login-page .options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

    .login-page .options-row a {
        color: #ffffff;
        text-decoration: none;
    }

        .login-page .options-row a:hover {
            text-decoration: underline;
        }

/* ===========================
   LOGIN BUTTON
   =========================== */

.login-page .btn-login {
    background-color: #3b71ca;
    border: none;
    padding: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 5px;
    text-transform: uppercase;
}

    .login-page .btn-login:hover {
        background-color: #3061af;
    }

/* ===========================
   REGISTER TEXT
   =========================== */

.login-page .register-text {
    margin-top: 20px;
    font-size: 0.9rem;
}

    .login-page .register-text a {
        color: #f93154;
        font-weight: bold;
        text-decoration: none;
    }

/* ===========================
   LOGIN TEXT (TITLE)
   =========================== */

.login-page .login-text {
    color: red;
    font-size: 54px;
    font-weight: bolder;
}


/*Login responsive*/
@media (max-width:1000px) {
    .login-page .login-container {
        height: 100vw;
    }
}
