/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background-color: #fff;
  color: #222;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  h1 {
    font-size: 1.8rem;
    text-align: center;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  p {
    font-size: 1rem;
  }
}

/* Section Padding */
section {
  padding: 60px 0;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

/* Heading Margins */
h1, h2, h3 {
  margin-bottom: 20px;
  font-weight: bold;
}

/* Lists */
ul, ol {
  padding-left: 20px;
}
li {
  margin-bottom: 10px;
}

/* Navbar */
.default-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  padding: 0.8rem 1rem;
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.navbar-nav li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.3s ease;
}
.navbar-nav li a:hover {
  color: #007bff;
}

/* Collapse behavior */
.navbar-toggler {
  border: none;
  background: none;
}
.navbar-toggler-icon {
  width: 25px;
  height: 3px;
  background-color: #333;
  display: block;
  margin: 6px 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-collapse {
    background-color: #fff;
    padding: 1rem;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Footer */
.footer-area {
  background: #222;
  padding: 40px 0;
  text-align: center;
}

.footer-text {
  color: #aaa;
  font-size: 14px;
}

.footer-text a {
  color: #ddd;
  text-decoration: underline;
}

/* General Box Styles */
.boxes,
.boxes3,
.boxes1,
.card-panel {
  background-color: #f9f9ff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Fix excessive padding on small screens */
@media (max-width: 768px) {
  .boxes,
  .boxes3,
  .boxes1,
  .card-panel {
    padding: 1.2rem;
  }
}

/* Layout for Jury Cards */
.col {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.col .boxes {
  flex: 1 1 30%;
  text-align: center;
}

.col .boxes img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 15px;
}

/* Responsive image resizing */
img {
  max-width: 100%;
  height: auto;
}

/* Headings */
h1, h2, h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Text */
p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Adjust font size on smaller screens */
@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 18px;
  }
  p {
    font-size: 15px;
  }
}

/* Table Styles */
.table1 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 16px;
}

.table1 thead {
  background-color: #333;
  color: #fff;
}

.table1 th, .table1 td {
  padding: 0.8rem;
  text-align: left;
  border: 1px solid #ccc;
}

.table1 td span {
  white-space: nowrap;
}

/* Mobile Table Scroll */
@media (max-width: 768px) {
  .table1 {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* RCM Group Subtitles */
.boxes3 h3 {
  font-size: 18px;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Small hint paragraph under titles */
.boxes3 p {
  font-size: 16px;
  color: #555;
  margin-bottom: 1rem;
}

/* Nested bullet lists */
.boxes3 ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.boxes3 ul li {
  font-size: 16px;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

/* Sub-lists like '◎' periods */
.boxes3 ul ul {
  list-style-type: '◎ ';
  padding-left: 1.5em;
  margin-top: 0.5rem;
}

/* Make guidelines lists more readable on small screens */
@media (max-width: 768px) {
  .boxes3 h3 {
    font-size: 16px;
  }

  .boxes3 ul li {
    font-size: 15px;
  }

  .boxes3 ul ul {
    font-size: 14px;
  }
}

/* ========== Footer Area ========== */
.footer-area {
  background-color: #222;
  padding: 40px 0;
  text-align: center;
}

.footer-text {
  font-size: 14px;
  color: #fff;
}

.footer-text a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* ========== Buttons ========== */
button,
input[type="submit"] {
  background-color: #333;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background-color: #555;
}

/* ========== Responsive Images & Parallax Banners ========== */
.banner-area {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.banner-content {
  padding: 3rem 1rem;
}

.banner-content h1 {
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 1.8rem;
  }
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
  .boxes1, .boxes3, .boxes4, .boxes {
    width: 100% !important;
    padding: 1.5rem;
    box-sizing: border-box;
  }

  .sample-text-area {
    padding: 60px 10px;
  }

  .card-panel {
    padding: 20px;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav li {
    margin-bottom: 10px;
  }

  .banner-content {
    text-align: center;
  }

  .form-card h1 {
    font-size: 22px;
    text-align: center;
  }

  .form-card input,
  .form-card textarea,
  .form-card select {
    width: 100%;
    font-size: 16px;
  }
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.logo-img {
  height: 40px;
  max-height: 8vh;
  width: auto;
  display: block;
}

.banner-content h1.section-title-large {
  font-size: 80px !important;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .banner-content h1.section-title-large {
    font-size: 48px !important;
  }
}

.homepage-title {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.2;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  text-align: left;
}

@media (max-width: 768px) {
  .homepage-title {
    font-size: 42px;
    text-align: center;
  }
}

.jury-img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 15px;
}