/* ====================== */
/* MAIN WRAPPER CONTAINER */
/* ====================== */
.main-wrapper {
  width: 1100px;
  margin: 0 auto;
}

/* ====================== */
/* GENERAL LAYOUT STYLES  */
/* ====================== */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  min-width: 1100px;
}

/* Main container for header elements */
.header-container {
  width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* ====================== */
/* HEADER STYLES          */
/* ====================== */
header.container {
  width: 1100px;
  margin: 20px auto;
  padding: 0;
  background-color: #f5f5f5;
  border-bottom: 2px solid #82BF86;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Optional: Make header full-width to match menu, carousel, and footer */
/*
header.container {
  width: 100%;
  margin: 20px 0;
  padding: 0;
  background-color: #f5f5f5;
  border-bottom: 2px solid #82BF86;
  border-radius: 0;
  box-shadow: none;
}
*/

.logo-container {
  width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 15px;
}

.logo-container img {
  width: auto;
  height: 100px;
  max-width: 200px;
  object-fit: contain;
  margin-right: 20px;
}

.institute-name {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.2;
}

.logo-container .text-muted {
  font-size: 16px;
  color: #666;
  margin: 5px 0 0;
}

/* ====================== */
/* BANNER STYLES          */
/* ====================== */
#baner {
  width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden; /* Prevent overflow from image */
  max-height: 230px; /* Reduced height to 150px */
}

#baner img {
  width: 100%; /* Ensure image scales to container width */
  height: auto; /* Maintain aspect ratio */
  max-width: 1100px; /* Cap image width to match container */
  display: block; /* Remove any inline spacing issues */
}

/* ====================== */
/* NAVIGATION CONTAINER   */
/* ====================== */
#bgnav {
  background: linear-gradient(to right, #6A9F6E, #82BF86);
  height: auto;
  width: 100%;
  padding: 5px 0;
}

#navigate {
  background: linear-gradient(to right, #6A9F6E, #82BF86);
  height: auto;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

/* Center navigation content */
.nav-container {
  display: flex;
  align-items: center;
  width: 1100px;
  margin: 0 auto;
}

/* ====================== */
/* NAVIGATION BAR         */
/* ====================== */
.nav-container nav {
  width: 100%;
}

.nav-container nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.search-item {
  margin-right: 15px;
  padding: 5px 10px;
}

.search-item h1 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

.search-btn {
  display: block;
  transition: transform 0.2s;
}

.search-btn:hover {
  transform: scale(1.05);
}

.nav-container nav > ul > li {
  position: relative;
}

.nav-container nav > ul > li > a {
  display: block;
  color: #930;
  padding: 12px 15px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 1.3;
}

.nav-container nav > ul > li > a:hover {
  background-color: #6A9F6E;
  color: white;
}

/* ====================== */
/* DROPDOWN MENUS         */
/* ====================== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f8f8f8;
  min-width: 220px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  border: 1px solid #ddd;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: #333;
  padding: 8px 15px;
  display: block;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 16px;
  line-height: 1.4;
}

.dropdown-menu li a:hover {
  background-color: #e0e0e0;
  color: #006600;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 1px;
}

/* ====================== */
/* CAROUSEL STYLES        */
/* ====================== */
.carousel-container {
  width: 100%;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background-color: #f8f8f8;
  
}

.carousel-wrapper {
  width: 1100px;
  margin: 0 auto;
  max-height: 200px; /* Reduced height to 150px */
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 25%;
  width: 275px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.2s;
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* ====================== */
/* MAIN CONTENT AREA      */
/* ====================== */
#content {
  background-color: #FFF;
  height: auto;
  width: 900px;
  margin: 10px auto;
  padding: 0px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

#main {
  margin: auto;
  height: auto;
  width: 100%;
}

#message {
  margin: auto;
  height: 300px;
  width: 900px;
  background-repeat: no-repeat;
  background-position: center center;
}

/* ====================== */
/* MESSAGE CARD STYLES    */
/* ====================== */
.message-card {
  display: flex;
  width: 900px;
  height: 350px;
  margin: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 15px;
  position: relative;
}

.message-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.1;
  z-index: 0;
}

.message-card > * {
  position: relative;
  z-index: 1;
}

.director-profile {
  flex: 0 0 165px;
  text-align: center;
  padding: 5px;
  border-right: 1px solid #eee;
}

.director-image {
  width: 143px;
  height: 163px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.director-info {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.director-message {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.message-section {
  margin-bottom: 0px;
}

.message-section h2 {
  font-size: 22px;
  color: #333;
  margin: 0 0 5px;
  text-align: center;
}

.message-section h3 {
  font-size: 18px;
  color: #333;
  margin: 0 0 10px;
  text-align: center;
}

.message-section p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

.read-more {
  color: #006600;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.2s;
}

.read-more:hover {
  color: #930;
  text-decoration: underline;
}

.important-links {
  text-align: left;
  margin-top: 10px;
}

.phone-link {
  color: #333;
  font-size: 16px;
  font-style: italic;
  text-decoration: none;
  transition: color 0.2s;
}

.phone-link:hover {
  color: #006600;
  text-decoration: underline;
}

/* ====================== */
/* CONTACT CARD STYLES    */
/* ====================== */
.contact-card {
  width: 900px;
  margin: 20px auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-links-container {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.contact-info {
  flex: 1;
  order: 2;
}

.contact-details {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 72px;
  height: 60px;
  object-fit: contain;
}

.address {
  flex: 1;
}

.hindi-address,
.english-address,
.email {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 10px;
}

.hindi-address strong,
.english-address strong,
.email strong {
  color: #930;
}

.email a {
  color: #006600;
  text-decoration: none;
  font-size: 16px;
}

.email a:hover {
  color: #930;
  text-decoration: underline;
}

.map-link {
  display: inline-flex;
  align-items: center;
  color: #006600;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  font-size: 16px;
}

.map-icon {
  width: 25px;
  height: 25px;
  margin-right: 5px;
}

.map-link:hover {
  color: #930;
  text-decoration: underline;
}

.more-contacts {
  display: block;
  margin-top: 10px;
  color: #006600;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.more-contacts:hover {
  color: #930;
  text-decoration: underline;
}

.ministry-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  margin-bottom: 0px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image-wrapper {
  width: 188px;
  height: 203px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.profile .profile-image {
  width: 157px;
  height: 169px;
  object-fit: cover;
  border-radius: 5px;
}

.profile .nadda-image {
  width: 188px;
  height: 203px;
}

.profile p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  width: 100%;
}

.profile a {
  color: #006600;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.profile a:hover {
  color: #930;
  text-decoration: underline;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.link-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 5px;
}

.link-item .new-icon {
  width: 19px;
  height: 18px;
  vertical-align: middle;
}

.link-item p {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.link-item a {
  text-decoration: none;
}

.link-item a:hover img {
  transform: scale(1.05);
  transition: transform 0.2s;
}

.additional-links {
  flex: 1;
  order: 1;
}

.additional-links p {
  font-size: 16px;
  margin: 5px 0;
  color: #333;
}

.additional-links a {
  color: #006600;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.additional-links a:hover {
  color: #930;
  text-decoration: underline;
}

.additional-links .new-icon {
  width: 19px;
  height: 18px;
  vertical-align: middle;
}
/* ====================== */
/* FOOTER STYLES          */
/* ====================== */
#foot {
  background: linear-gradient(to right, #6A9F6E, #82BF86);
  width: 100%;
  padding: 15px 0; /* Reduced padding from 20px */
  color: white;
  text-align: center;
}

#footer {
  width: 1100px;
  margin: 0 auto;
  position: relative;
}

.footer-columns {
  display: grid; /* Changed to grid for even distribution */
  grid-template-columns: repeat(3, 1fr); /* Ensure three equal columns */
  gap: 15px; /* Reduced gap from 20px */
  margin-bottom: 10px; /* Reduced margin from 20px */
  padding: 0 10px; /* Added padding for better containment */
}

.footer-column {
  flex: 1;
  text-align: left;
}

.footer-column h5 {
  font-size: 16px; /* Reduced from 18px */
  margin: 0 0 10px; /* Reduced from 15px */
  color: #fff;
  font-weight: bold;
  text-transform: uppercase; /* Optional: for emphasis */
}

.footer-column .contact-details {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* Reduced from 15px */
}

.footer-column .contact-icon {
  width: 50px; /* Reduced from 72px */
  height: 40px; /* Reduced from 60px */
  object-fit: contain;
}

.footer-column .address {
  flex: 1;
}

.footer-column .hindi-address,
.footer-column .english-address,
.footer-column .email {
  font-size: 14px; /* Reduced from 16px */
  line-height: 1.4; /* Reduced from 1.6 for tighter spacing */
  color: #fff;
  margin: 0 0 5px; /* Reduced from 10px */
}

.footer-column .hindi-address strong,
.footer-column .english-address strong,
.footer-column .email strong {
  color: #e0e0e0;
}

.footer-column .email a {
  color: #fff;
  text-decoration: none;
  font-size: 14px; /* Reduced from 16px */
}

.footer-column .email a:hover {
  color: #e0e0e0;
  text-decoration: underline;
}

.footer-column .map-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  margin-top: 5px; /* Reduced from 10px */
  font-size: 14px; /* Reduced from 16px */
}

.footer-column .map-icon {
  width: 20px; /* Reduced from 25px */
  height: 20px; /* Reduced from 25px */
  margin-right: 5px;
}

.footer-column .map-link:hover {
  color: #e0e0e0;
  text-decoration: underline;
}

.footer-column .more-contacts {
  display: block;
  margin-top: 5px; /* Reduced from 10px */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px; /* Reduced from 16px */
}

.footer-column .more-contacts:hover {
  color: #e0e0e0;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px; /* Reduced from 14px */
  margin-bottom: 5px; /* Reduced from 8px */
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e0e0e0;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #6A9F6E;
  padding-top: 10px; /* Reduced from 15px */
  padding: 0 10px; /* Added padding for better containment */
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
  flex: 1;
}

.footer-bottom-left p,
.footer-bottom-center p {
  font-size: 12px; /* Reduced from 14px */
  margin: 0;
  color: #fff;
}

.footer-bottom-center {
  text-align: center;
}

.footer-bottom-right {
  text-align: right;
}

.footer-bottom-right a {
  color: #fff;
  text-decoration: none;
  font-size: 12px; /* Reduced from 14px */
  margin-left: 10px; /* Reduced from 15px */
  transition: color 0.2s;
}

.footer-bottom-right a:hover {
  color: #e0e0e0;
  text-decoration: underline;
}


/* ====================== */
/* NEWS SECTION STYLES    */
/* ====================== */
.news-section {
  width: 900px;
  margin: 20px auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  padding: 20px;
}

.news-section h2 {
  font-size: 24px;
  color: #333;
  margin: 0 0 15px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.news-section details {
  margin-bottom: 10px;
}

.news-section summary {
  font-size: 18px;
  font-weight: bold;
  color: #006600;
  padding: 10px;
  cursor: pointer;
  background-color: #f8f8f8;
  border-radius: 5px;
  transition: background-color 0.2s;
  display: flex; /* Ensure flex layout for alignment */
  align-items: center; /* Vertically center the icon and text */
}

.news-section summary:hover {
  background-color: #e0e0e0;
}

.news-section details[open] summary {
  background-color: #82BF86;
  color: #fff;
}

.news-section summary .new-icon {
  width: 35x; /* Matches the 18px font size of summary text */
  height: 35px; /* Matches the 18px font size of summary text */
  margin-right: 5px; /* Space between icon and text */
  vertical-align: middle; /* Align with text baseline */
  object-fit: contain; /* Ensure the GIF scales properly */
}

.news-list {
  list-style: none;
  padding: 10px 15px;
  margin: 0;
}

.news-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
  font-weight: normal;
}

.news-list li a {
  color: #006600;
  text-decoration: none;
  font-weight: bold;
}

.news-list li a:hover {
  color: #930;
  text-decoration: underline;
}

.news-list li a.highlight {
  color: #FF0000;
}

.news-list li a.highlight:hover {
  color: #930;
}

.news-list .new-icon {
  width: 19px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
}

/* ====================== */
/* QUICK LINKS SECTION    */
/* ====================== */
.quick-links-section {
  width: 1100px;
  margin: 20px auto;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.quick-links-section h2 {
  font-size: 24px;
  color: #333;
  margin: 0 0 15px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  text-align: center;
}

.link-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.link-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.link-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-item img.link-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 8px;
  transition: transform 0.2s;
}

.link-item img.new-icon {
  width: 19px;
  height: 18px;
  vertical-align: middle;
  margin-left: 5px;
}

.link-item p {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  margin: 0;
  font-family: Arial, sans-serif;
}

.link-item p span {
  font-size: 14px;
  color: #006600;
  font-weight: normal;
}

.link-item:hover img.link-icon {
  transform: scale(1.05);
}

/* ====================== */
/* RESPONSIVE ADJUSTMENTS */
/* ====================== */
@media (max-width: 1140px) {
  body {
    min-width: 100%;
  }
  
  .header-container,
  header.container,
  .nav-container,
  .carousel-wrapper,
  #content,
  #footer,
  .news-section,
  .message-card,
  .contact-card,
  .quick-links-section,
  .carousel-container,
  #baner {
    width: 100%;
    max-width: 100%;
  }
  
  #message {
    width: 100%;
  }
  
  .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .logo-container img {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .institute-name {
    font-size: 20px;
  }
  
  .logo-container .text-muted {
    font-size: 14px;
  }
  
  .nav-container nav > ul {
    flex-wrap: wrap;
  }
  
  .message-card {
    height: auto;
    padding: 10px;
  }

  .contact-card {
    padding: 15px;
  }

  .quick-links {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  .carousel-item {
    width: 25%;
    height: 100px;
  }

  #baner img {
    max-width: 100%; /* Ensure image scales down in responsive mode */
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }
  
  .search-item {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .search-item h1 {
    font-size: 14px;
  }
  
  .nav-container nav > ul > li > a {
    font-size: 14px;
  }
  
  .dropdown-menu li a {
    font-size: 14px;
  }
  
  .message-card {
    flex-direction: column;
    height: auto;
  }

  .director-profile {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .director-message {
    padding: 10px;
  }

  .message-section h2 {
    font-size: 20px;
  }

  .message-section h3 {
    font-size: 18px;
  }

  .message-section p {
    font-size: 14px;
  }

  .director-info,
  .read-more,
  .phone-link,
  .hindi-address,
  .english-address,
  .email,
  .email a,
  .map-link,
  .more-contacts,
  .profile p,
  .profile a,
  .link-item p,
  .additional-links p,
  .additional-links a {
    font-size: 14px;
  }

  .quick-links-section {
    padding: 15px;
  }

  .quick-links-section h2 {
    font-size: 20px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .link-item p {
    font-size: 14px;
  }

  .link-item p span {
    font-size: 12px;
  }

  .link-item img.link-icon {
    width: 80px;
    height: 80px;
  }

  .news-section {
    padding: 15px;
  }
  
  .news-section h2 {
    font-size: 20px;
  }
  
  .news-section summary {
    font-size: 16px;
    padding: 8px;
  }
  
  .news-list li {
    font-size: 14px;
  }
  
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-links-container {
    flex-direction: column;
  }

  .contact-info,
  .additional-links {
    order: initial;
  }

  .footer-columns {
    flex-direction: column;
    gap: 15px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h5 {
    font-size: 16px;
  }

  .footer-column .contact-details {
    align-items: center;
  }

  .footer-column .contact-icon {
    margin-bottom: 10px;
  }

  .footer-column .hindi-address,
  .footer-column .english-address,
  .footer-column .email,
  .footer-column .email a,
  .footer-column .map-link,
  .footer-column .more-contacts {
    font-size: 14px;
  }

  .footer-links a,
  .footer-bottom-left p,
  .footer-bottom-center p,
  .footer-bottom-right a {
    font-size: 13px;
  }

  .carousel-item {
    width: 100%;
    height: 150px;
  }

  .carousel-caption {
    font-size: 14px;
    padding: 8px 15px;
  }

  .carousel-prev,
  .carousel-next {
    font-size: 16px;
    padding: 8px;
  }

  header.container {
    padding: 10px;
  }

  .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-container img {
    height: 80px;
    max-width: 150px;
    margin-bottom: 10px;
  }

  .institute-name {
    font-size: 18px;
  }

  .logo-container .text-muted {
    font-size: 12px;
  }
}

/* ====================== */
/* TYPOGRAPHY STYLES      */
/* ====================== */
.alu {
  font-weight: bold;
}

/* ====================== */
/* LAYOUT FIXES FOR ALIGNMENT */
/* ====================== */
.main-wrapper {
  width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Fix all core sections to align uniformly */
header.container,
.nav-container,
.carousel-wrapper,
#content,
#message,
.message-card,
.contact-card,
.news-section,
.quick-links-section,
.carousel-container,
#baner,
#footer {
  width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Optional visual test: Uncomment to see alignment */
/*
header.container, .nav-container, .carousel-wrapper, #content, .message-card, .contact-card, .news-section, .quick-links-section, .carousel-container {
  border-right: 2px dashed red;
}
*/

/* Ensure gallery section aligns too if using div instead of table */
.gallery-wrapper {
  width: 1100px;
  margin: 10px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.gallery-wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ====================== */
/* GALLERY STYLING        */
/* ====================== */
.gallery-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 1100px;
  margin: 10px auto;
  gap: 10px;
}

.gallery-wrapper img {
  object-fit: cover;
  border: none;
  max-width: 100%;
  height: auto;
}