/* IJPD Responsive Modern Stylesheet */

/* ===== GLOBAL STYLES ===== */
:root {
  /* Color palette */
  --primary-blue: #006699;
  --dark-blue: #004466;
  --light-blue: #e6f2f8;
  --accent-blue: #0088cc;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #888888;
  --bg-light: #f5f9fc;
  --white: #ffffff;
  
  /* SDG colors */
  --sdg-4: #006699;
  --sdg-5: #ff3a21;
  --sdg-8: #a21942;
  --sdg-10: #dd1367;
  --sdg-16: #00689d;
  --sdg-17: #19486a;
  --sdg-1: #e5243b;
}

html {
  scroll-behavior: smooth;
}

sdg-4 {
	color: var(--text-dark);
}

body {
  font-family: 'Montserrat', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.green, h1.green, h2.green, h3.green, h4.green {
  color: var(--primary-blue) !important;
  font-weight: 700;
  position: relative;
}

h1.green:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-blue);
  margin-top: 15px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  padding: 0 20px;
}

.block {
  padding: 4rem 0;
  position: relative;
}

.block:nth-child(even) {
  background-color: var(--bg-light);
}

/* Add spacing to page content */
#page-content {
  min-height: 500px;
  padding-bottom: 4rem;
}

/* ===== NAVIGATION ===== */
.navigation-wrapper {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  background-color: var(--dark-blue);
}

.secondary-navigation-wrapper {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.primary-navigation-wrapper {
  background-color: var(--white);
  color: var(--text-dark);
}

.navbar {
  margin-bottom: 0;
  border: none;
  padding: 15px 0;
  transition: all 0.3s ease;
}

  .header-branding {
    display: flex;
    align-items: center;
    max-width: 100%;
  }
  
  .header-logo {
    display: flex;
    align-items: center;
  }
  
  .header-text {
    margin-left: 110px;
    line-height: 1.3;
  }
  
  .journal-name {
    font-size: 32px;
    font-weight: 700;
    color: #006699;
    margin: 0;
  }
  
  .journal-tagline {
    font-size: 18px;
    color: red;
	font-weight: bold;
    margin-left: 200px;
  }
  
  @media (max-width: 991px) {
    .journal-name {
      font-size: 18px;
    }
    
    .journal-tagline {
      font-size: 12px;
    }
  }
  
  @media (max-width: 767px) {
    .header-branding {
      width: 80%;
    }
    
    .header-text {
      margin-left: 10px;
    }
    
    .journal-name {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .header-logo img {
      width: 70px;
    }
    
    .journal-name {
      font-size: 14px;
    }
    
    .journal-tagline {
      font-size: 10px;
    }
  }
.navbar-brand img {
  max-height: 60px;
  transition: all 0.3s ease;
}

.navbar-nav > li > a {
  padding: 15px 12px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: var(--primary-blue);
  background-color: transparent;
}

.navbar-nav > li.active > a {
  color: var(--primary-blue);
  background-color: transparent;
  font-weight: 700;
}

.navbar-toggle {
  border-color: var(--primary-blue);
}

.navbar-toggle .icon-bar {
  background-color: var(--primary-blue);
}

/* Sticky navigation */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky .navbar {
  padding: 5px 0;
}

.sticky .navbar-brand img {
  max-height: 50px;
}

/* ===== HERO/SLIDER ===== */
#homepage-carousel {
  background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
  padding: 3rem 0;
}

.homepage-carousel-wrapper {
  position: relative;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  padding: 30px;
}

.image-carousel img {
  border-radius: 5px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.slider-content {
  padding: 20px 0 20px 20px;
  color: black
}

.slider-content h1 {
  margin-top: 0;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn:hover, 
.btn:focus {
  background-color: var(--accent-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 153, 0.3);
}

/* ===== CARDS & FOCUS AREAS ===== */
.focus-area {
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
  padding: 20px;
  margin-bottom: 30px;
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.focus-area:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.focus-area h3 {
  margin-top: 0;
  color: var(--primary-blue);
  font-size: 1.4rem;
  font-weight: 700;
}

.focus-area img {
  border-radius: 5px;
  margin-bottom: 15px;
  width: 100%;
}

/* SDG color variations */
.focus-area h3.sdg-4 {
  color: var(--sdg-4) !important;
}
.focus-area h3.sdg-16 {
  color: var(--sdg-16) !important;
}
.focus-area h3.sdg-17 {
  color: var(--sdg-17) !important;
}

/* Panels for editorial board */
.panel {
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.panel-heading {
  border-radius: 8px 8px 0 0;
  padding: 15px 20px;
}

.panel-body {
  padding: 20px;
}

/* ===== IMAGES ===== */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-circle {
  border-radius: 50%;
  border: 3px solid var(--light-blue);
}

.add-margin {
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
footer#page-footer {
  position: relative;
  color: var(--white);
}

#footer-content {
  background-color: var(--dark-blue);
  padding: 60px 0 40px;
}

#footer-bottom {
  background-color: #003355;
  padding: 20px 0;
  font-size: 0.9rem;
}

footer h4 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

footer h4:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-blue);
  margin-top: 10px;
}

footer ul.list-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul.list-links li {
  margin-bottom: 10px;
}

footer ul.list-links li a {
  color: var(--white);
  opacity: 0.8;
  transition: all 0.3s ease;
}

footer ul.list-links li a:hover {
  opacity: 1;
  color: var(--white);
  text-decoration: none;
  padding-left: 5px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== FORMS ===== */
form {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.1);
}

input[type="submit"] {
  background-color: var(--primary-blue);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  background-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 153, 0.3);
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--text-medium);
}

/* ===== TABLES ===== */
.table {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: var(--bg-light);
}

.table > thead > tr > th {
  border-bottom: 2px solid var(--primary-blue);
  background-color: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
  padding: 12px 15px;
}

.table > tbody > tr > td {
  padding: 12px 15px;
  border-top: 1px solid #eeeeee;
  vertical-align: middle;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.alert-info {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  border-left: 5px solid var(--primary-blue);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .slider-content {
    padding-top: 30px;
    padding-left: 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .block {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .navbar-nav > li > a {
    padding: 10px;
  }
  
  .navbar-brand img {
    max-height: 50px;
  }
  
  .image-carousel {
    margin-bottom: 20px;
  }
  
  .slider-content {
    text-align: center;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h1.green:after {
    margin-left: auto;
    margin-right: auto;
  }
  
  .block {
    padding: 2rem 0;
  }
  
  .focus-area {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .homepage-carousel-wrapper {
    padding: 15px;
  }
  
  .navbar-brand {
    padding: 10px 15px;
  }
  
  .navbar-brand img {
    max-height: 40px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add animation classes to elements */
.slider-content h1,
.slider-content p {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

.slider-content h1 {
  animation-delay: 0.3s;
}

.slider-content p {
  animation-delay: 0.6s;
}

.slider-content .btn {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
  animation-delay: 0.9s;
}

/* ===== ADDITIONAL UI ELEMENTS ===== */

/* Badges */
.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 5px;
}

.badge-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Breadcrumbs */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 30px;
}

.breadcrumb > li + li:before {
  content: ">";
  color: var(--text-light);
}

.breadcrumb li a {
  color: var(--text-medium);
}

.breadcrumb li.active {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-blue);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

#back-to-top.visible {
  opacity: 1;
}

#back-to-top:hover {
  background-color: var(--accent-blue);
  transform: translateY(-3px);
}