/* ---------------------------
   General Styles
--------------------------- */


.hero-text-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 70vh;
  background: linear-gradient(135deg, #003366, #005fa3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.slides {
  display: flex;
  width: 400%;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 16px;
  text-decoration: none;
  margin: 5px;
  transition: 0.3s;
}

.btn-primary {
  background: #ffffff;
  color: #003366;
  font-weight: 600;
}

.btn-primary:hover {
  background: #e6e6e6;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 500;
}

.btn-secondary:hover {
  background: #fff;
  color: #003366;
}

/* Navigation Arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}

.nav:hover {
  background: #fff;
  color: #003366;
}

.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dots button {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.dots button.active {
  background: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  h1 { font-size: 32px; }
  p { font-size: 16px; }
}

@media (max-width: 768px) {
  .hero-text-slider { height: 60vh; }
  h1 { font-size: 26px; }
  p { font-size: 15px; }
  .btn-primary, .btn-secondary { padding: 10px 22px; font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-text-slider { height: 55vh; }
  h1 { font-size: 22px; }
  p { font-size: 14px; }
  .nav { font-size: 22px; padding: 6px 10px; }
}



html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Logo */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}



/* ---------------------------
   Hero / Banner
--------------------------- */
.hero {
    background: url('../images/banner.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin: 0;
}

.hero p {
    font-size: 18px;
}

/* ---------------------------
   Sections
--------------------------- */
section {
    padding: 60px 0;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #003366;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* ---------------------------
   Forms
--------------------------- */

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

form button {
    padding: 10px 20px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background: #0055aa;
}

/* ---------------------------
   Tables
--------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #003366;
    color: white;
}

/* ---------------------------
   Footer
--------------------------- */
.footer {
    background-color: #002b5c;
    color: #ffffff;
    padding: 40px 20px 10px;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 300px;
    margin: 10px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-section p,
.footer-section a,
.footer-section li {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

.footer-section a:hover {
    color: #ffcc00;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.social-icons img {
    margin-right: 8px;
    transition: transform 0.2s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-size: 13px;
    color: #ccc;
}

.footer-bottom a {
    color: #ffcc00;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ---------------------------
   Responsive Media Queries
--------------------------- */
@media screen and (max-width: 1024px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
}

@media screen and (max-width: 768px) {

    /* Footer responsive */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero { height: 250px; }
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 14px; }
    form input, form select, form textarea { font-size: 13px; }
}

/* Call-to-Action Buttons */
.cta-button {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0055aa;
}

#current, #past {
    padding: 40px 0;
}

#past ul {
    list-style: disc;
    padding-left: 20px;
}

#past li {
    margin-bottom: 10px;
}

section {
    padding: 50px 0;
}

section h2 {
    color: #003366;
    margin-bottom: 20px;
}

section p {
    font-size: 16px;
    line-height: 1.6;
}

.editorial-members {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.editorial-member {
    flex: 1 1 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.editorial-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.editorial-member h3 {
    color: #003366;
    margin: 10px 0 5px;
}

.editorial-member p {
    font-size: 14px;
    margin: 3px 0;
}

@media screen and (max-width: 768px) {
    .editorial-members {
        flex-direction: column;
        align-items: center;
    }
}

#contact-form input, 
#contact-form textarea, 
#contact-form button {
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
}

#contact-form button {
    background: #003366;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contact-form button:hover {
    background: #0055aa;
}

#register input, 
#register button {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#register button {
    background: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#register button:hover {
    background: #0055aa;
}

#login input, 
#login button {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#login button {
    background: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#login button:hover {
    background: #0055aa;
}

#submission input, 
#submission select, 
#submission textarea, 
#submission button {
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#submission button {
    background: #003366;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#submission button:hover {
    background: #0055aa;
}

#admin-dashboard table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#admin-dashboard th, #admin-dashboard td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

#admin-dashboard th {
    background: #003366;
    color: #fff;
}

#admin-dashboard a {
    color: #003366;
    text-decoration: none;
    margin: 0 2px;
}

#admin-dashboard a:hover {
    text-decoration: underline;
}

.card-body{
    margin-bottom:50px;
    border:#003366 2px solid;
    padding:10px;
    background:#003366;
    color:#fff;
}

.card-body>h5{
    margin-bottom:-5px;
}

/* Style for the image to float right and be responsive */
.wbp-float-right-image {
    /* Floats the image to the right of the surrounding text content */
    float: right; 
    
    /* Makes the image responsive: it will scale down, but never get wider than its original size or the parent's width */
    max-width: 100%;
    height: auto; 
    
    /* Controls the size the image will take up next to the text on large screens */
    width: 500px; /* Adjust this value as needed for your desired size */
    
    /* Adds some space between the image and the wrapping text */
    margin: 0 0 15px 25px; 
}

/* Clear the float after the content-with-image div to prevent layout issues */
.content-with-image::after {
    content: "";
    display: table;
    clear: both;
}

/* Optional: Use a media query to stack the image and text on small screens (like mobile) */
@media (max-width: 768px) {
    .wbp-float-right-image {
        /* Remove the float on smaller screens */
        float: none; 
        /* Make the image full width of the container on small screens */
        width: 100%;
        /* Center the image and add padding/margin */
        display: block;
        margin: 15px 0; 
    }
    
    .slides {
  display: flex;
  width: 100%;
  transition: transform 1s ease-in-out;
}
}



.wbp-float-left-image {
    /* Floats the image to the left, allowing text to wrap around it */
    float: left; 
    
    /* Makes the image responsive (scales down, but not up past its maximum size) */
    max-width: 100%;
    height: auto; 
    
    /* Set a width for desktop view (adjust as needed) */
    width: 500px; 
    
    /* Adds margin to the right for spacing between the image and the text */
    margin: 0 25px 15px 0; /* Top Right Bottom Left */
}

/* **Clearfix** to ensure the container wraps around the floated image */
#latest-issue .container::after {
    content: "";
    display: table;
    clear: both;
}

/* Optional: Use a media query to stack the image and text on small screens (e.g., mobile devices) */
@media (max-width: 768px) {
    .wbp-float-left-image {
        /* Remove the float on smaller screens */
        float: none; 
        /* Make the image full width on small screens */
        width: 100%;
        /* Center the block image and add vertical margin */
        display: block;
        margin: 15px auto; 
    }
}