/* ===================================== RESET ===================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans', sans-serif;
}

html {
	scroll-behavior: smooth;
}

/* ===================================== CONTAINER ===================================== */
.container {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}

/* ===================================== HEADER ===================================== */
.header {
	background: #ffffff;
	border-bottom: 1px solid #d0d0d0;
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.header.shrink {
	padding: 8px 0;
}

.header.shrink .logo img {
	height: 40px;
}

.nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ===================================== LOGO ===================================== */
.logo {
	display: flex;
	align-items: center;
}

.logo-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #0b2d5c, #3d6aa3);
	border-radius: 50%;
	margin-right: 10px;
}

.logo-text .title {
	font-weight: 700;
	font-size: 18px;
	color: #0b2d5c;
}

.logo-text .subtitle {
	font-size: 14px;
	color: #555;
}

.logo img {
	height: 55px;
	/* yahan se size control hoga */
	width: auto;
	/* proportion maintain rahe */
	display: block;
}

/* ===================================== NAVIGATION ===================================== */
.nav {
	margin-left: auto;
}

.nav ul {
	list-style: none;
	display: flex;
	gap: 30px;
}

.nav a {
	text-decoration: none;
	color: #0b2d5c;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
}

/* Hamburger */
.menu-toggle {
	display: none;
	font-size: 24px;
	background: none;
	border: none;
	cursor: pointer;
	color: #0b2d5c;
}

/* Dropdown */
.dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 35px;
	left: 0;
	background: #ffffff;
	border: 1px solid #ddd;
	display: none;
	min-width: 160px;
}

.dropdown-menu li {
	padding: 10px;
}

.dropdown-menu li a {
	color: #333;
	font-weight: 400;
	letter-spacing: 0;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

/* ===================================== HERO ===================================== */
.hero {
	background-image: linear-gradient(135deg, rgba(11, 45, 92, 0.7), rgba(61, 106, 163, 0.7)), url("https://images.unsplash.com/photo-1465101162946-4377e57745c3");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	padding: 120px 20px;
	text-align: center;
	color: #ffffff;
}

.hero h1 {
	font-size: 48px;
	font-weight: 300;
	margin-bottom: 20px;
}

.hero p {
	font-size: 20px;
	margin-bottom: 40px;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.hero-search {
	display: flex;
	justify-content: center;
	margin: 50px 0;
	font-family: Arial, sans-serif;
	width: 100%;
	/* hero full width */
}

#journal-search-form {
	display: flex;
	width: 100%;
	/* form bhi full width */
	max-width: 1200px;
	/* agar aapko max width chahiye to */
	gap: 10px;
}

#journal-select {
	padding: 12px 15px;
	border-radius: 8px;
	border: 1px solid #ccc;
	background-color: white;
	cursor: pointer;
	font-size: 16px;
	height: 60px;
	/* thoda aur bada height */
	flex: 0 0 200px;
	/* fixed width for dropdown */
}

.search-input-wrapper {
	position: relative;
	flex: 1;
	/* input field remaining space le */
}

#search-query {
	width: 100%;
	height: 60px;
	/* height match dropdown */
	padding: 12px 50px 12px 15px;
	border-radius: 8px;
	border: 1px solid #ccc;
	background-color: transparent;
	color: #ffffff;
	font-size: 16px;
	transition: background-color 0.3s, color 0.3s;
}

#search-query::placeholder {
	color: #ffffff;
	opacity: 0.7;
}

#search-query:focus {
	background-color: white;
	color: #000;
	outline: none;
}

.search-input-wrapper button {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background-color: #428ac8;
	color: white;
	padding: 20px 15px;
	border-radius: 0 8px 8px 0;
	cursor: pointer;
	transition: background-color 0.3s;
}

.search-input-wrapper button:hover {
	background-color: #2f6092;
}

.search-input-wrapper button i {
	font-size: 18px;
}

/* ===================================== BUTTONS ===================================== */
.btn {
	padding: 14px 28px;
	text-decoration: none;
	font-weight: 600;
	border-radius: 3px;
	transition: 0.3s ease;
}

.btn-green {
	background: #428ac8;
	color: white;
}

.btn-green:hover {
	background: #2f6092;
	border: 1px solid #fff;
}

.btn-outline {
	border: 2px solid #fff;
	color: white;
}

.btn-outline:hover {
	background: white;
	color: #2f5f9e;
}

.submit-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 18px;
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: 0.3s;
}

.submit-btn:hover {
	background: #fff;
	color: #000;
}

/* ===================================== ANNOUNCEMENTS ===================================== */
.announcements {
	background: #f2f2f2;
	padding: 50px 0;
}

.announcements .container {
	width: 95%;
	max-width: 1400px;
}

.heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.heading span {
	font-weight: 700;
	color: #0b2d5c;
	border-bottom: 5px solid #0b2d5c;
	padding-bottom: 4px;
	display: inline-block;
	/* line width = text width */
}

.heading h2 {
	font-size: 28px;
	font-weight: 300;
	color: #222;
}

.view-all {
	text-decoration: none;
	font-weight: 600;
	color: #0b2d5c;
}

.announcement-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.announcement-card {
	background: #ffffff;
	padding: 30px;
	border: 4px solid #2f5f9e;
}

.announcement-card .tag {
	color: #e96a0a;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1px;
	display: block;
	margin-bottom: 15px;
}

.announcement-card h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #222;
}

.announcement-card a {
	text-decoration: none;
	color: inherit;
	/* Heading ka same color rahe */
}

/*.announcement-card a:hover {
	text-decoration: none; REMOVED
}*/

.announcement-card p {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
}

/* ===================================== ARTICLES ===================================== */
.articles {
	background: #fff;
	padding: 50px 0;
}

.articles .container {
	width: 100%;
	max-width: 1400px;
	margin: auto;
}

.articles-wrapper {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.articles-left {
	flex: 3;
}

.articles-sidebar {
	flex: 1;
}

.article-item {
	background: #fff;
	padding: 25px 0;
	border-bottom: 1px solid #ddd;
}

.article-title {
	font-size: 18px;
	font-weight: 700;
	color: #0b2d5c;
	margin-bottom: 10px;
	line-height: 1.4;
}

/* ===================================== RSS ===================================== */
#rss-feed {
	list-style: none;
	padding: 0;
	margin: 0;
}

#rss-feed .rss-item {
	padding: 25px 0;
	border-bottom: 1px solid #ddd;
}

#rss-feed .rss-type {
	/*font-size: 12px;*/
	font-style: italic;
	color: #e96503;
	margin-bottom: 6px;
}

#rss-feed .rss-title a {
	font-size: 18px;
	font-weight: 700;
	color: #0b2d5c;
	text-decoration: none;
	transition: 0.3s ease;
	display: inline-block;
	line-height: 1.4;
}

#rss-feed .rss-title a:hover {
	color: #3d6aa3;
}

#rss-feed .rss-authors {
	font-size: 15px;
	color: #000;
	margin-top: 6px;
}

#rss-feed .rss-meta {
	font-size: 14px;
	color: #676767;
	margin-top: 4px;
}

/* Abstract Toggle Styling */
.rss-actions {
	margin-top: 8px;
}

.rss-actions a {
	font-size: 13px;
	font-weight: 600;
	color: #0b2d5c;
	text-decoration: none;
	cursor: pointer;
}

.rss-actions a:hover {
	color: #3d6aa3;
}

.rss-abstract {
	display: none;
	margin-top: 12px;
	padding: 12px;
	background: #f9f9f9;
	border-left: 3px solid #0b2d5c;
	font-size: 13px;
	color: #444;
	line-height: 1.6;
	text-align: justify;
}

/* ===================================== JOURNALS ===================================== */
.journal-highlight {
	padding: 50px 0;
	background: #f2f2f2;
}

.journal-highlight .container {
	width: 100%;
	max-width: 1400px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.journal-card {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	padding: 30px;
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	background: rgba(11, 45, 92, 0.85);
	color: #fff;
	transition: 0.4s ease;
	/*cursor: pointer;*/
	z-index: 1;
}

/* White light hover effect */
.journal-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
	opacity: 0;
	transition: 0.5s ease;
	pointer-events: none;
}

.journal-card:hover::before {
	opacity: 1;
}

.journal-left,
.journal-info {
	position: relative;
	z-index: 2;
}

.journal-card a {
	position: relative;
	z-index: 5;
	pointer-events: auto;
	text-decoration: none;
}

/* Layout */
.journal-left {
	display: flex;
	gap: 25px;
	flex: 2;
}

.journal-cover img {
	width: 120px;
	height: auto;
	border-radius: 6px;
}

.journal-label {
	font-size: 12px;
	opacity: 0.8;
}

.journal-info h2 {
	font-size: 28px;
	margin: 5px 0;
	font-weight: 600;
}

.journal-info p {
	font-size: 15px;
	line-height: 1.6;
	opacity: 0.9;
}

/* Right side */
.journal-right {
	flex: 1;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
	padding-left: 30px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.journal-stat span {
	font-size: 14px;
	opacity: 0.8;
	display: block;
}

.journal-stat strong {
	font-size: 16px;
	font-weight: 600;
}

.journal-link {
	text-decoration: none;
	/* underline remove */
	color: inherit;
	display: block;
}

.info-link {
	color: inherit;
	/* icon ka color same rahe */
	text-decoration: none;
	/* underline remove */
	display: inline-block;
	/* layout preserve ho */
	margin-left: 4px;
	/* thoda gap icon ke liye */
}

.info-link i {
	pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
	.journal-card {
		flex-direction: column;
	}

	.journal-right {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.3);
		padding-top: 20px;
	}
}

/* ===================================== CONTACT SECTION ===================================== */
.contact-section {
	padding: 70px 0;
}

.contact-wrapper {
	display: flex;
	gap: 80px;
}

.contact-left,
.contact-right {
	flex: 1;
}

.contact-left h2,
.contact-right h2 {
	font-size: 28px;
	margin-bottom: 40px;
	font-weight: 600;
	color: #000;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 30px;
}

/* ðŸ”µ Blue tone circle */
.icon-circle {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background: rgba(61, 106, 163, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2f5f9e;
	font-size: 20px;
}

/* Headings */
.contact-item h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 6px;
	color: #000;
}

/* Blue email links */
.contact-item a {
	text-decoration: none;
	color: #2f5f9e;
	font-size: 15px;
}

.contact-item a:hover {
	color: #3d6aa3;
}

/* Address text */
.contact-item p {
	font-size: 15px;
	color: #333;
	line-height: 1.6;
}

/* Divider line between columns */
.contact-right {
	border-left: 1px solid #ddd;
	padding-left: 60px;
}

/* Responsive */
@media (max-width: 768px) {
	.contact-wrapper {
		flex-direction: column;
		gap: 40px;
	}

	.contact-right {
		border-left: none;
		padding-left: 0;
	}
}

/* ===================================== FOOTER ===================================== */
.custom-footer {
	background: #f2f2f2;
	padding: 20px 0;
	border-top: 1px solid #ddd;
	font-size: 14px;
	text-align: center;
}

.footer-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}

.footer-right a {
	text-decoration: none;
	color: #0b2d5c;
	font-weight: 600;
	margin: 0 8px;
	transition: 0.3s ease;
}

.footer-right a:hover {
	color: #3d6aa3;
}

.footer-right i {
	margin-right: 6px;
}

.divider {
	color: #999;
}

/* Responsive */
@media (max-width: 768px) {
	.footer-wrapper {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
}

.site-footer p {
	width: 100%;
	text-align: center;
	margin: 0;
	background: #f2f2f2;
}

/* ===================================== RESPONSIVE ===================================== */
@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.nav ul {
		flex-direction: column;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
		margin-top: 10px;
		gap: 0;
	}

	.nav ul.active {
		max-height: 500px;
	}

	.hero {
		background-image: none;
		background: linear-gradient(135deg, #0b2d5c, #3d6aa3);
		background-attachment: scroll;
		padding: 80px 20px;
	}

	.announcement-grid {
		grid-template-columns: 1fr;
	}

	.articles-wrapper {
		flex-direction: column;
	}
}

.journal-title-link {
	color: inherit;
	text-decoration: none;
}

.journal-title-link:hover {
	text-decoration: none;
}

.headings {
	background-image: linear-gradient(135deg, rgba(11, 45, 92, 0.7), rgba(61, 106, 163, 0.7));
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	padding: 30px 20px 20px 40px;
	color: #ffffff;
}

.headings h1 {
	font-size: 48px;
	font-weight: 300;
	margin-bottom: 20px;
}


/* ================= POLICIES PAGE ================= */

.policies-layout {
    display: flex;
    max-width: 1400px;
    margin: 50px auto;
    gap: 40px;
    padding: 0 20px;
    overflow: visible !important;
}

/* ===== SIDEBAR ===== */

.policies-sidebar {
    width: 280px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* box */
.sidebar-inner {
    background: #f2f2f2;
    border: 1px solid #ddd;
}

.sidebar-inner ul li a {
    display: block;            /* poora row clickable */
    text-decoration: none;     /* underline remove */
    color: inherit;            /* same text color */
    font-size: 14px;
    width: 100%;
}

/* hover effect SAME rahe */
.sidebar-inner ul li:hover {
    background: #e0e0e0;
}

.sidebar-inner ul li a:hover {
    color: inherit;
}

/* title */
.sidebar-title {
    font-weight: 700;
    padding: 15px;
    border-bottom: 1px solid #dcdcdc;
    background: #eeeeee;
}

/* list */
.sidebar-inner ul {
    list-style: none;
}

.sidebar-inner ul li {
    padding: 14px 15px;
    border-bottom: 1px solid #dcdcdc;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* hover */
.sidebar-inner ul li:hover {
    background: #e0e0e0;
}

/* ===== CONTENT ===== */
.policies-main {
    flex: 1;
    max-width: 900px;
}

.policies-main p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* green links */
.policies-links a {
    display: block;
    color: #0b2d5c;
    font-weight: 700;
    margin-bottom: 6px;
    text-decoration: none;
}

.policies-links a:hover {
    text-decoration: underline;
}

/* ===== CRITICAL FIXES ===== */


.policies-layout {
    overflow: visible !important;
}


body {
    overflow-x: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .policies-layout {
        flex-direction: column;
    }

    .policies-sidebar {
        position: relative;
        top: 0;
    }
}