/** {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }
}*/

 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --purple: #4527a0;
  --red: #7b0000;
  --accent: #ff9f1c;
  --text: #333;
  --muted: #f2f2f7;
}

/* ====== MOBILE TOP BAR ====== */
.mobile-top-bar {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 8px 15px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-logo {
  height: 25px;
  width: auto;
  object-fit: contain;
}

.mobile-logo-text {
  color: #7b0000;
  font-size: 11px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 5px;
  }
  
  
  .mobile-org-name {
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  }
  
  
  .mobile-college-name {
  font-weight: 600;
  font-size: 9px;
  white-space: nowrap;
  opacity: 0.9;
  }

/* Mobile styles */
@media (max-width: 768px) {
  .mobile-top-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px 15px;
    height: 50px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
  }
  
  /* Push content down to account for fixed header */
  #home {
    padding-top: 60px;
  }
  
  .header {
    margin-top: 0;
    padding: 0 15px;
    height: auto;
  }
  
  /* Hide all logos in header on mobile */
  .logo-container,
  .logo-top,
  .logo-bottom {
    display: none !important;
  }
  
  /* Adjust header inner for mobile */
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  /* Center the content */
  .content-wrap {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  
  .title-wrap {
    width: 100%;
    padding: 0 10px;
  }
  
  /* Hide desktop hamburger */
  .nav .hamburger {
    display: none;
  }
}

/* ====== HEADER / HOME SECTION ====== */



#home {
  width: 100%;
}

.header {
  width: 100%;
  background: #fff;
  padding: 20px 2% 20px 1%;
  height: auto; /* grow with content for larger title */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
}

.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-left: 0;
  padding-right: 0;
}

/* Logos and text */
.logo-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 40px;
}
.logo-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.logo-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
}
.logo-container img {
  width: 70px;
  height: auto;
  padding: 0;
  margin: 0;
}

.logo-text {
  font-size: 16px;
  font-weight: 500;
  color: rgb(79, 9, 9);
  text-align: left;
}
.logo-text strong {
  font-weight: 800 !important;
  text-align: center;
  white-space: nowrap; /* keep in one line */
  word-break: keep-all;
}

/* Title and content */
.content-wrap {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-left: 0;
}
.title-wrap {
  flex: 1;
  text-align: left;
  max-width: 880px;
  margin-top: 20px;
  margin-left: 0;
  margin-right: 0;
}
.conf-title {
  font-size: 29px;
  color: var(--red);
  font-weight: 700;
  line-height: 1.2;
}
.date-place {
  font-size: 19px;
  color: #444;
}

/* Contact info */
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-left: 0;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-left: 0;
}
.contact-row i {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 14px;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .mobile-top-bar { /* visible on mobile */
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #ffffff;
    padding: 10px 15px;
    height: 50px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
  }
  #home { padding-top: 60px; }
  .header {
    margin-top: 0;
    padding: 0 15px;
    height: auto;
  }
  .logo-container, .logo-top, .logo-bottom { display: none !important; } /* hide desktop logos on mobile */
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .content-wrap {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .title-wrap { width: 100%; padding: 0 10px; }
  .nav .hamburger { display: none; }
}

/* Tablet/laptop adjustments */
@media screen and (max-width: 1024px) {
  .header {
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto;
    padding: 30px 5% 30px 3%;
  }
}

/* Smaller Nest Hub

#home {
  width: 100%;
}

.header {
  width: 100%;
  background: #fff;
  padding: 20px 2% 20px 1%;
  height: 30vh; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
}

.header-inner {
  display: flex;
  flex-direction: row;      
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-left: 0;
  padding-right: 0;
}


.logo-container {
  margin-left:25px;
  display: flex;
  flex-direction: column;  
  gap: 5px;
  margin-top:25px;
}

.logo-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.logo-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
}
.logo-container img {
  width: 70px;
  height: auto;
  padding: 0;
  margin: 0;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: rgb(79, 9, 9);
  text-align: center;
}

.logo-text strong {
  font-weight: 800 !important;
  text-align: center;
}

.content-wrap {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-left: 0;
}


.title-wrap {
  flex:1;
  text-align:left;
  max-width: 760px;
  margin-top:20px;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 1025px) {
  .title-wrap {
    margin-left: 20px; /* Shift the entire title block to the right 
    max-width: 720px; 
  
  .conf-title {
    padding-left: 10px; /* Add some padding to the title 
  }
  
  .date-place {
    padding-left: 10px; /* Align with the title 
  }
}

.conf-title {
  font-size: 25px;
  color: var(--red);
  font-weight: 700;
  line-height: 1.2;
}
.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
}
.date-place {
  font-size: 19px;
  color: #444;
}

/* Conta
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  margin-top:12px;
  padding-left: 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-left: 0;
}

.contact-row i {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 14px;
}
*/
/* NAVIGATION BAR */
.nav {
  width: 100%;
  background: var(--red);
}

.nav .nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.nav .nav-menu li {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav .nav-menu li a {
  display: block;
  padding: 12px 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative; /* Added for pseudo-element positioning */
}

.nav .nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 2px;
  left: 50%;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav .nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.nav .nav-menu li a:hover::after {
  width: 80%;
  left: 10%;
}
.nav .register{
          transform:translateY(6px);
}
        .highlight-button {
            background-color: rgba(86, 0, 0, 1) !important;
            padding: 5px 15px !important;
            border-radius: 6px !important;
            font-weight: 600 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .highlight-button:hover {
            background-color: rgba(60, 0, 0, 1) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
        }

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  margin: 0;
  position: relative;
  top: 0;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background-color: #eba298;
  border-radius: 2px;
  transition: 0.3s;
  display: block;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
/* ANNOUNCEMENTS */
/* ANNOUNCEMENTS CAROUSEL */
.announcements-wrapper {
  width: 100%;
  background: #efeff6;
  overflow: hidden;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.announcements-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 40px;
  overflow: hidden;
}

.announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #670909;
  font-weight: 500;
  font-size: 17px;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
}

.announcement-slide i {
  color: #670909;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .announcement-slide {
    font-size: 13px;
    padding: 0 15px;
    text-align: center;
    flex-wrap: wrap;
  }
  
  .announcements-carousel {
    height: auto;
    min-height: 40px;
  }
}

/* ANNOUNCEMENTS CAROUSEL - OLD */
.announce-carousel-container {
  width: 100%;
  background: #efeff6;
  overflow: hidden;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.announce-carousel {
  width: 100%;
  margin: 0 auto;
}

.announce-item {
  width: 100%;
  text-align: center;
  padding: 12px 15px;
  background: #efeff6;
}

.announce-item .item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  color: #670909;
  font-weight: 500;
  font-size: 17px;
  margin: 0 auto;
  max-width: 1200px;
}

.announce-item i {
  color: #670909;
  flex-shrink: 0;
}

/* Slick overrides */
.slick-slide {
  outline: none;
}

.slick-track {
  display: flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .announce-item {
    padding: 10px 15px;
  }
  
  .announce-item .item {
    font-size: 12px;
    white-space: normal;
    text-align: center;
    padding: 0 10px;
  }
}
/* Responsive adjustments for Nest Hub and smaller devices */
/* For Nest Hub (≤1024px width) */
@media screen and (max-width: 1024px) {
  .header {
    margin-top: 20px;    /* space above */
    margin-bottom: 20px; /* space below */
    height: auto;        /* let content define height */
    padding: 30px 5% 30px 3%;    /* reduce left padding */
  }
}

/* For smaller portrait Nest Hub (~700px or less) */
@media screen and (max-width: 700px) {
  .header {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 25px 5% 25px 3%;
  }
}

@media screen and (max-width: 1024px) {
  .conf-title {
    font-size: 20px;  /* was 30px */
  }

  .date-place {
    font-size: 20px;  /* was 23px */
  }

  .logo-text {
    font-size: 10px;  /* smaller logo text */
  }

  .logo-container img {
    width: 55px;  /* was 70px */
  }

  .contact-row {
    font-size: 13px;  /* was 17px */
  }

  .contact-row i {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .header-inner {
    gap: 20px;
    margin-left: 60px; /* pull in slightly */
  }
}

/* For smaller portrait Nest Hub (~700px or less) */
@media screen and (max-width: 700px) {
  .conf-title {
    font-size: 16px;
  }

  .date-place {
    font-size: 14px;
  }

  .logo-text {
    font-size: 11px;
  }

  .logo-container img {
    width: 45px;
  }

  .contact-row {
    font-size: 12px;
  }
}
/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
  .nav {
    position: relative;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--red);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav .nav-menu.active {
    right: 0;
  }
  
  .nav .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5px 0;
  }
  
  .nav .nav-menu li a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    font-size: 16px;
  }
  
  .nav .nav-menu li a::after {
    display: none; /* Hide underline effect on mobile */
  }
  
  .nav .register {
    transform: none;
    margin-top: 20px;
  }
  
  .nav .register a {
    margin: 10px;
    border-radius: 8px;
  }
}

/* ===== MOBILE & TABLET ===== */
@media (max-width: 900px) {
  /* Ensure predictable widths */
  html, body, .header, .header-inner, .logo-container, 
  .content-wrap, .title-wrap, .contact {
      box-sizing: border-box;
      width: 100%;
      margin: 0;
      padding: 0;
  }
  html, body {
      overflow-x: hidden;
  }

  /* Header */
  .header {
      height: auto;
      padding: 15px 5px;      /* small padding left/right */
      gap: 10px;
      display: flex;
      flex-direction: column;
      width: 100%;
  }

  /* Header inner content */
 .header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;      /* left align horizontally */
    justify-content: flex-start; /* keep vertical stacking */
    width: 100%;
    gap: 15px;
}

  /* Logo container */
  .logo-container, .logo-top, .logo-bottom {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;; /* move logos to the left */
      align-items: center;
      gap: 10px;
      width: 100%;
  }

  .logo-container img {
      max-width: 80px;  /* allow scaling */
      height: auto;
      flex-shrink: 1;
  }

  /* Content and title */
  .content-wrap, .title-wrap {
      width: auto;
      text-align: left;  /* left align text */          
    justify-content: flex-start;  /* left align horizontally */
      padding-left: 0;
      padding-right: 0;
  }

  .conf-title {
      font-size: 24px;
      line-height: 1.3;
      word-wrap: break-word;
  }

  .date-place {
      font-size: 14px;
      line-height: 1.4;
  }

  /* Contact section */
  .contact {
      width: 100%;
      text-align: left;
      margin-top: 10px;
  }

  .contact-row {
      display: flex;
      flex-wrap: wrap;         /* wrap on small screens */
      justify-content: left; /* left align items */
      gap: 5px;
      margin-left:0px;
  }

  .contact-row i {
      width: 28px;
      height: 28px;
      font-size: 14px;
      text-align: center;
      line-height: 28px;
      flex-shrink: 0;
  }

  .announce {
      font-size: 11.5px;
  }

  /* Fix container & row padding for Bootstrap or general grids */
  .container, .row {
      padding-left: 5px !important;
      padding-right: 5px !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
  }
}

/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 520px) {
  .conf-title {
      font-size: 20px;
      line-height: 1.2;
  }

  .date-place {
      font-size: 12px;
  }

  .logo-container img {
      max-width: 50px;
      height: auto;
  }

  .contact-row i {
      width: 24px;
      height: 24px;
      font-size: 12px;
      line-height: 24px;
  }

  .content-wrap, .title-wrap, .logo-container, .contact {
      padding-left: 5px;
      padding-right: 5px;
  }
}


/* About Section */
.about-section {
  min-height:100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  gap: 60px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  background-image: url(chemcon.png);
}

.about-text {
  flex: 1;
  min-width: 320px;
  max-width: 700px;
  box-sizing: border-box;
}

.about-box {
  background-color: #f9f1f1;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  opacity:0.9;
}

.about-text h2 {
  font-family: "Poltawski Nowy", serif;
  color: #7b0000;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-text p {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  width: 100%;
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
}

.as-h3 {
  display: block;       /* make it act like <h3> */
  font-size: 18px;     /* adjust size like h3 */
  font-weight: bold;
}


.about-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  align-items: center;
  flex-shrink: 0;
  min-width: 300px;
}

.about-images img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
  margin: 0;
}

.about-images img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.about-images .img-2 {
  margin-top: 20px;
}

.circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #7b0000;
  color: white;
  padding: 20px;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(123, 0, 0, 0.3);
  z-index: 10;
}

/* Large Desktop - 1400px and above */
@media (min-width: 1400px) {
  .about-section {
    padding: 80px 40px;
    gap: 80px;
    max-width: 1600px;
  }
  
  .about-images img {
    width: 320px;
    height: 230px;
  }
  
  .circle-text {
    width: 180px;
    height: 180px;
    font-size: 15px;
    padding: 25px;
  }
  
  .about-text {
    max-width: 800px;
  }
}

/* Desktop - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .about-section {
    padding: 70px 30px;
    gap: 70px;
    max-width: 1300px;
  }
  
  .about-images img {
    width: 300px;
    height: 215px;
  }
  
  .circle-text {
    width: 170px;
    height: 170px;
    font-size: 14px;
  }
  
  .about-text {
    max-width: 750px;
  }
}

/* Tablet Landscape - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .about-section {
    padding: 60px 25px;
    gap: 50px;
  }
  
  .about-images {
    min-width: 280px;
  }
  
  .about-images img {
    width: 260px;
    height: 185px;
  }
  
  .circle-text {
    width: 150px;
    height: 150px;
    font-size: 13px;
    padding: 18px;
  }
  
  .about-text {
    max-width: 600px;
  }
}

/* Tablet Portrait - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .about-section {
    padding: 50px 20px;
    gap: 40px;
  }
  
  .about-images {
    min-width: 250px;
  }
  
  .about-images img {
    width: 240px;
    height: 170px;
  }
  
  .about-images .img-2 {
    margin-top: 15px;
  }
  
  .circle-text {
    width: 140px;
    height: 140px;
    font-size: 12px;
    padding: 15px;
  }
  
  .about-text {
    max-width: 500px;
  }
  
  .about-text h2 {
    margin-bottom: 20px;
  }
  
  .about-text p {
    line-height: 1.7;
  }
}

/* Mobile Large - 480px to 767px */
@media (min-width: 480px) and (max-width: 767px) {
  .about-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 35px;
    text-align: center;
  }
  
  .about-images {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    min-width: auto;
    width: 100%;
    height:auto;
  }
  
  .about-images img {
    width: auto;
    height: 130px;
  }
  
  .about-images .img-2 {
    margin-top: 0;
  }
  
  .circle-text {
    width: 130px;
    height: 130px;
    font-size: 11px;
    padding: 12px;
  }
  
  .about-text {
    text-align: left;
    min-width: auto;
    max-width: 100%;
  }
  
  .about-text h2 {
    text-align: center;
    margin-bottom: 20px;
  }
}

/* Mobile Small - 320px to 479px */
@media (min-width: 320px) and (max-width: 479px) {
  .about-section {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
    text-align: center;
  }
  
  .about-images {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    min-width: auto;
    width: 100%;
  }
  
  .about-images img {
    width: 140px;
    height: 100px;
    border-radius: 6px;
  }
  
  .about-images .img-2 {
    margin-top: 0;
  }
  
  .circle-text {
    width: 110px;
    height: 110px;
    font-size: 10px;
    padding: 10px;
    line-height: 1.1;
  }
  
  .about-text {
    text-align: left;
    min-width: auto;
    max-width: 100%;
  }
  
  .about-text h2 {
    text-align: center;
    margin-bottom: 18px;
  }
  
  .about-text p {
    line-height: 1.6;
  }
}

/* Very Small Mobile - below 320px */
@media (max-width: 319px) {
  .about-section {
    padding: 25px 10px;
    gap: 25px;
  }
  
  .about-images {
    flex-direction: column;
    gap: 8px;
  }
  
  .about-images img {
    width: 120px;
    height: 85px;
  }
  
  .about-images .img-2 {
    margin-top: 5px;
  }
  
  .circle-text {
    width: 100px;
    height: 100px;
    font-size: 9px;
    padding: 8px;
  }
  
  .about-text h2 {
    margin-bottom: 15px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .about-images img {
    transition: none;
  }
  
  .about-images img:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .about-text h2 {
    color: #000;
  }
  
  .about-text p {
    color: #000;
  }
  
  .circle-text {
    background-color: #000;
    border: 2px solid #fff;
  }
}

/* Enhanced text justification */
@supports (text-align-last: justify) {
  .about-text p {
    text-align-last: left;
  }
}

/* Key Areas */
.key-areas {
  padding: 60px 40px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.key-areas h2 {
  color: #7b0000;
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: "Poltawski Nowy", serif;
}

.key-areas p {
  margin-bottom: 40px;
  color: #333;
  font-size: 1.2em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.topics-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(21, auto);
  grid-auto-columns: 1fr;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  column-gap: 30px;
}

.topic-item, .topic-item1 {
  background-color: #7b0000;
  color: white;
  padding: 12px 8px;
  min-height: 80px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  font-size: 1.1em;
  border-radius: 4px;
  font-weight: 500;
  transition: transform 0.2s ease;
  margin: 2px 0;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}

/* Removed duplicate .topic-item1 styles since they're now combined with .topic-item */

@media (max-width: 768px) {
  .key-areas {
    padding: 40px 20px;
  }

  .topics-grid {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Container Sections */
.container {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 80px 0;
  background: linear-gradient(135deg, #f8e8e8 0%, #f0d8d8 100%);
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Background Pattern Overlay */
.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=1200&width=1200");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

/* Hexagonal chemistry pattern overlay */
.container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23881b31' fill-opacity='0.03'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 2;
}

.section {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;

  width: 100%;
  max-width: 1400px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
  gap: 60px;
  position: relative;
  z-index: 3;
  min-height: 400px;
  box-sizing: border-box;
}

.section:last-child {
  margin-bottom: 0;
}

.section img {
  width: 100%;
  max-width: 1000px;
  min-width: 300px;
  border-radius: 15px;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.section img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.text {
  flex: 1;
  min-width: 320px;
  max-width: 700px;
  box-sizing: border-box;
}

.text h2 {
  color: #881b31;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  font-family: "Poltawski Nowy", serif;
  font-weight: 700;
  line-height: 1.2;
}

.text p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.8;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  width: 100%;
  max-width: 100%;
}

/* Specific styling for About College and Chemistry Department sections */
.section.about-college {
  flex-direction: row;
}

.section.about-chemistry {
  flex-direction: row-reverse;
}
/* Responsive layout for Nest Hub (and tablets/smaller devices) */
@media screen and (max-width: 1024px) {
  .section {
    flex-direction: column;
    align-items: center;
    gap: 30px; /* smaller spacing */
    padding: 0 10px;
    min-height: auto;
  }

  .section img {
    max-width: 90%;
    height: auto; /* let image adapt */
    min-width: unset;
    padding: 0;
    margin: 0;
  }

  .text {
    max-width: 90%;
    text-align: center; /* better readability */
  }

  .text p {
    text-align: justify; /* still justified */
    font-size: 1rem; /* scale slightly for readability */
  }
}
@media screen and (max-width: 700px) {
  .text h2 {
    font-size: 1.5rem;
  }
  .text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
/* Large Desktop - 1400px and above */
@media (min-width: 1400px) {
  .container {
    padding: 100px 0;
  }
  
  .section {
    max-width: 1600px;
    gap: 80px;
    margin-bottom: 120px;
    padding: 0 40px;
  }
  
  .section img {
    max-width: 550px;
    height: 450px;
  }
  
  .text {
    max-width: 800px;
  }
}

/* Desktop - 1200px to 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    padding: 80px 0;
  }
  
  .section {
    max-width: 1200px;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 30px;
  }
  
  .section img {
    max-width: 450px;
    height: 400px;
  }
  
  .text {
    max-width: 650px;
  }
}

/* Tablet Landscape - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    padding: 70px 0;
  }
  
  .section {
    max-width: 100%;
    gap: 50px;
    margin-bottom: 70px;
    padding: 0 30px;
    min-height: 350px;
  }
  
  .section img {
    max-width: 400px;
    min-width: 280px;
    height: 350px;
  }
  
  .text {
    min-width: 300px;
    max-width: 500px;
  }
}

/* Tablet Portrait - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding: 60px 0;
  }
  
  .section {
    gap: 40px;
    margin-bottom: 60px;
    padding: 0 25px;
    min-height: 300px;
  }
  
  .section img {
    max-width: 350px;
    min-width: 250px;
    height: 300px;
  }
  
  .text {
    min-width: 280px;
    max-width: 400px;
  }
  
  .text h2 {
    margin-bottom: 25px;
  }
  
  .text p {
    line-height: 1.7;
  }
}

/* Mobile Large - 480px to 767px */
@media (min-width: 480px) and (max-width: 767px) {
  .container {
    padding: 50px 0;
  }
  
  .section {
    flex-direction: column !important;
    text-align: center;
    gap: 35px;
    margin-bottom: 50px;
    padding: 0 20px;
    min-height: auto;
  }
  
  .section img {
    order: 1;
    max-width: 100%;
    min-width: 280px;
    height: 280px;
  }
  
  .text {
    order: 2;
    min-width: auto;
    max-width: 100%;
    padding: 0;
    text-align: left;
  }
  
  .text h2 {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .text p {
    line-height: 1.6;
  }
  
  /* Ensure proper order on mobile for both sections */
  .about-chemistry .text {
    order: 2;
  }
  .about-chemistry img {
    order: 1;
  }
}

/* Mobile Small - 320px to 479px */
@media (max-width: 479px) {
  .container {
    padding: 40px 0;
  }
  
  .section {
    flex-direction: column !important;
    text-align: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 15px;
    min-height: auto;
  }
  
  .section img {
    order: 1;
    max-width: 100%;
    min-width: 250px;
    height: 250px;
    border-radius: 12px;
  }
  
  .text {
    order: 2;
    min-width: auto;
    max-width: 100%;
    padding: 0;
    text-align: left;
  }
  
  .text h2 {
    margin-bottom: 18px;
    text-align: left;
    line-height: 1.3;
  }
  
  .text p {
    line-height: 1.6;
  }
  
  /* Ensure proper order on mobile for both sections */
  .about-chemistry .text {
    order: 2;
  }
  .about-chemistry img {
    order: 1;
  }
}

/* Very Small Mobile - below 320px */
@media (max-width: 319px) {
  .container {
    padding: 30px 0;
  }
  
  .section {
    padding: 0 10px;
    gap: 25px;
    margin-bottom: 35px;
  }
  
  .section img {
    min-width: 200px;
    height: 200px;
  }
  
  .text h2 {
    margin-bottom: 15px;
  }
}

/* Enhanced text justification for better readability */
@supports (text-align-last: justify) {
  .text p {
    text-align-last: left;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .section img {
    transition: none;
  }
  
  .section img:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .text h2 {
    color: #000;
  }
  
  .text p {
    color: #000;
  }
}
/* Committee Sections */
.committee-title {
  text-align: center;
  color: #881b31;
  margin-top: 80px;
}

.committee-title h2 {
  font-family: "Poltawski Nowy", serif;
  font-size: 2rem;
}

.committee-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.chairman-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  text-align: center;
}

@media (max-width: 768px) {
  .chairman-section {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .chairman-section > div {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
.council-member1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.council-member1 img {
  width: 200px;
  height: auto;
}

.council-member1 div[style*="max-width"] {
  margin: 0 auto;
  max-width: 100% !important;
}

.committee-img {
  width: 120px;
  height: 120px;
  background-color: #fcfcfc;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  overflow: hidden;
}
.committee-img img{
   width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  object-position:center 20%;
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.committee-card {
  background-color: #881b31;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: "inter",sans-serif;
  border-radius: 8px;
  transition: transform 0.2s ease;
}



.committee-role {
  font-weight: bold;
  font-family: "Poltawski Nowy", serif;
  margin: 10px 0;
  color: #881b31;
  text-align: center;
  background-color: white;
  padding: 8px;
  border-radius: 4px;
}

/* Committee Section */
.committee-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.committee-section h2 {
  font-family: "Poltawski Nowy", serif;
  color: #7b0000;
  font-size: 2rem;
  margin-bottom: 30px;
}

.committee-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.committee-box {
  background-color: #f9f1f1;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.committee-box h3 {
  background-color: #7b0000;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
}

.committee-box ul {
  list-style: none;
  padding-left: 0;
  color: #333;
}

.committee-box ul li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
}

.committee-box1 {
  background-color: #f9f1f1;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  max-width: 600px;       /* limits width */
  margin: 0 auto;         /* centers the box */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* optional for a nice look */
  margin-bottom:40px;
}

.committee-box1 ul li {
  padding: 8px 0;                /* top & bottom spacing for each line */
  border-bottom: 1px solid #eee; /* divider line */
  font-size: 1.2em;
  font-family: "Inter", sans-serif;
  line-height: 1.6;              /* even spacing within the line */
}

.committee-box1 ul {
  list-style: none;   /* removes bullet points */
  padding-left: 0;    /* removes left indentation */
  margin: 0;          /* optional: removes top/bottom gap */
}
.council-circle {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  background-image: url("./chairman.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto 15px;
  overflow: hidden;
}

.council-circle + div {
  text-align: center;
  color: #7b0000;
  margin-bottom: 20px;
}

.council-circle + div span {
  display: block;
  color: #333;
  font-size: 1.3em;
  margin-top: 5px;
  font-family: "Poltawski Nowy", serif;
}

.council-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  justify-content: center;
}

.council-member {
  text-align: center;
  color: #7b0000;
  position: relative;
  padding-top: 100px;
}

.council-member::before {
  content: "";
  display: block;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
  width: 120px;
  height: 120px;
  background-image: url("./Frame 200.png");
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.council-member span {
  display: block;
  color: #333;
  font-size: 1.2em;
  font-family: "Poltawski Nowy", serif;
}

/* Responsive adjustments for all sections */
@media (max-width: 768px) {
  .committee-boxes,
  .council-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
  }
  
  /* Stack only the first two committee members (principal and chairman) */
  .committee-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .committee-grid > div:first-child,
  .committee-grid > div:nth-child(2) {
    grid-column: 1 / -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .committee-section {
    padding: 40px 20px;
  }

  .committee-section h2 {
    font-size: 1.5rem;
  }

  .council-circle {
    width: 140px;
    height: 140px;
    padding: 20px;
  }
}

/* Honorary Editors */
.honorary-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.honorary-section h2 {
  font-family: "Poltawski Nowy", serif;
  color: #7b0000;
  font-size: 2rem;
  margin-bottom: 40px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 0 auto 60px;
}

.editor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7b0000;
  background-color: #f9f1f1;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}


.editor-item::before {
  content: "";
  font-size: 2rem;
  display: block;
  width: 120px;
  height: 120px;
  background-image: url("./Frame 200.png"); /* or your actual image */
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin-bottom: 10px;
}

.editor-item .name {
  background-color: #7b0000;
  color: white;
  padding: 10px;
  font-weight: bold;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 10px;
}

.editor-item .field {
  font-size: 1.05em;
  font-family: "inter",sans-serif;
  color: #333;
  text-align: center;
}

/* HQ Section */
.hq-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hq-section h2 {
  font-family: "Poltawski Nowy", serif;
  color: #7b0000;
  font-size: 2rem;
  margin-bottom: 40px;
}

.hq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.hq-box {
  background-color: #f9f1f1;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  transition: transform 0.2s ease;
}


.hq-box h3 {
  background-color: #7b0000;
  color: white;
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.hq-box ul {
  list-style: none;
  padding-left: 0;
  color: #333;
}

.hq-box ul li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.05em;
  font-family: "inter",sans-serif;
}

/* Advisors */
.advisors,
.scientists {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.advisors h2,
.scientists h2 {
  font-family: "Poltawski Nowy", serif;
  color: #881b31;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  justify-content: center;
}

.advisor-card {
  background-color: #881b31;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  font-family: "inter",sans-serif;
  text-align: center;
  transition: transform 0.2s ease;
}


.scientist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-content: center;
}

.scientist-card {
  background-color: #f9f1f1;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease;
}


.scientist-card h3 {
  background-color: #881b31;
  color: white;
  font-size: 16px;
  padding: 10px;
  margin: 0 0 15px 0;
  border-radius: 6px;
  text-align: center;
}

.scientist-card p {
  margin: 10px 0;
  font-size: 1.1em;
  font-family: "inter",sans-serif;
  color: #333;
}

/* Advisory Members */
.advisory-section {
   display: flex;
  align-items: stretch; /* makes all columns equal height */
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.column {
   flex: 1;
  min-width: 300px;
  background-color: #f9f1f1;
  padding: 30px;
  border-radius: 10px;
  /* height: 780px; */ /* Remove this */
}

.column h2 {
  font-size: 1.5rem;
  color: #7b0000;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Poltawski Nowy", serif;
}

.column p {
  font-size: 1.1em;
  font-family: "inter",sans-serif;
  line-height: 1.6;
  margin: 6px 0;
  color: #333;
  text-align: left;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .advisory-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .column {
    width: 100%;
    min-width: auto;
    height: 780px;
  }

  .column h2 {
    font-size: 1.3rem;
  }

  .column p {
    font-size: 14px;
    text-align: left;
  }
}

/* Abstract Section */
.abstract-section {
  background-color: #f2dede;
  text-align: center;
  padding: 60px 20px;
}

.abstract-section h2 {
  color: #881b31;
  font-size: 28px;
  margin-bottom: 10px;
  font-family: "Poltawski Nowy", serif;
}

.abstract-section p {
  font-size: 1.2em;
  font-family: "inter",sans-serif;
  margin: 5px 0 20px;
  color: #333;
}

.deadline {
  background-color: #881b31;
  color: white;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  gap: 10px; /* Space between icon and text */
}

.deadline img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}


.qrcode-wrapper {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.qrcode-box {
  text-align: center;
}

.qrcode-box img {
  width: 150px;
  height: 150px;
  border: 4px solid #000;
  border-radius: 8px;
}

.qrcode-box p {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto 0;
  max-width: 900px;
  padding: 0 20px;
}

.card {
  background-color: #bc4a4a;
  color: #ffffff;
  border-radius: 20px;
  text-align: left;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  flex: 0 1 350px;
  min-height: 150px;
  padding: 0 15px 15px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-header {
  background-color:#d67676;
  padding: 12px 15px;
  border-radius: 12px;
  margin: 15px 0 8px;
  width: 100%;
  text-align: left;
}

.card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 10px;
  color: #fff;
  line-height: 1.4;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  padding: 10px 0;
}

.card-body p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 10px;
  text-align: left;
  color: #ffffff;
  margin-bottom: 10px;
}

.card-body .note {
  font-weight: 600;
}

/* Tablets (landscape & portrait: 768px to 1024px) */
@media (max-width: 1024px) {
  .card {
    min-height: 100px;
    padding: 0 18px 18px;
  }

  .card h3 {
    font-size: 20px;
  }

  .card-body p {
    font-size: 15px;
  }
}

/* Mobile (phones <768px) */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 100px;
    padding: 0 16px 16px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card-body p {
    font-size: 14px;
  }
}

/*
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 60px auto 0;
  max-width: 1200px;
  padding: 0 20px;
}

.card {
  background-color: rgba(163, 36, 36, 1);
  color: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  } /* Ensures all cards are the same height */


/*.card h3 {
  background-color: #BF6161;
  border-radius: 10px;
  padding: 15px;
  margin: 0 auto 15px;
  font-size: 18px;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.card p {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  display: flex;
  flex-grow: 1;
}
*/
/* Registration Section */
.registration {
  text-align: center;
  margin:0px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.registration h2 {
  color: #881b31;
  font-size: 28px;
  font-family: "Poltawski Nowy", serif;
}

.registration p {
  margin-top: 5px;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
  font-weight: 700;
  color: #383838;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 60px auto 40px;
  max-width: 1000px;
}

.step {
  text-align: left;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
  padding: 20px;
  background-color: #f9f1f1;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.step-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  grid-column: 1 / -1; /* span across the entire row */
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .step-wrapper {
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center items */
  }
}

.steps .step:nth-last-child(2),
.steps .step:nth-last-child(1) {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step::before {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.steps > .step:nth-child(1)::before {
  content: "📄";
}
.steps > .step:nth-child(3)::before {
  content: "💳";
}
.steps > .step:nth-child(4)::before {
  content: "📁";
}
.steps > .step:nth-child(2)::before {
  content: "📝";
}
/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  font-size: 15px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

th,
td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
}

th {
  background-color: #881b31;
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f5f5f5;
}

a {
  color: #881b31;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .qrcode-wrapper {
    gap: 40px;
  }

  .qrcode-box img {
    width: 120px;
    height: 120px;
  }

  table {
    font-size: 12px;
  }

  th,
  td {
    padding: 8px 4px;
    font-size: 1.2em;
    font-family: "inter",sans-serif;
  }
}
/* Responsive Tables - ONLY for registration table */
.registration .table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.registration table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background-color: white;
  min-width: 600px; /* Minimum width to maintain readability */
}

.registration th,
.registration td {
  border: 1px solid #ddd;
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
}

.registration th {
  background-color: #881b31;
  color: white;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 10;
}

.registration tr:nth-child(even) {
  background-color: #f9f9f9;
}

.registration tr:hover {
  background-color: #f5f5f5;
}

.imp-date{
  text-align:left;
  font-size:20px;
}

.imp-date p{
  color:rgb(136, 2, 2)
}

.date-box{
  background-color: #d09292;
  color: white;
  padding: 2rem;
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
  border-radius: 1rem;
  font-size: 1.2em;
  font-family: "Inter", sans-serif;
}

.link{
  text-align:right;
  transform: translateY(-200px);
}
.link .move-left {
  margin-right: 60px !important;
}
  .link-box {
      display: inline-block;       /* make it like a box */
      padding: 15px 15px;           /* space inside the box */
      background-color: #f0f0f0;   /* box background */
      border: 1px solid #333232;      /* border like a textbox */
      border-radius: 40px;         /* rounded corners */
      text-decoration: none;       /* remove underline */
      color: #333;                 /* text color */
      font-size: 30px;             /* font size */
      transition: 0.3s;            /* smooth hover effect */
    }

    .link-box:hover {
      background-color: #e0e0e0;   /* change color when hovered */
      border-color: #888;          /* border highlight */
    }
  
@media (max-width: 768px) {
  .date-box {
    max-width: 100%;          /* full width */
    transform: translateY(0); /* reset shift */
    padding: 1.5rem;
    font-size: 1em;           /* smaller text */
  }

  .imp-date {
    font-size: 16px;          /* smaller dates text */
  }

  .link {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: 0;
    padding: 15px 0;
    background: white;
  }

  .link .move-left {
    margin-right: 0 !important; /* reset margin */
    font-size: 22px;            /* smaller heading */
  }

  .link-box {
    font-size: 18px;         /* smaller button */
    padding: 10px 20px;
    border-radius: 25px;
  }
}

/* Mobile-first responsive table - ONLY for registration */
@media (max-width: 768px) {
  .registration .table-wrapper {
    margin: 20px 0; /* Remove negative margin */
    border-radius: 8px;
    padding: 0 10px;
  }

  .registration table {
    font-size: 12px;
    min-width: 700px; /* Ensure horizontal scroll on very small screens */
  }

  .registration th,
  .registration td {
    padding: 8px 4px;
    font-size: 11px;
    line-height: 1.3;
  }

  /* Stack long content */
  .registration td br {
    display: block;
  }
}

/* Alternative: Card-style table for very small screens - ONLY for registration */
@media (max-width: 480px) {
  .registration-table-mobile {
    display: block;
  }

  .registration-table-desktop {
    display: none;
  }

  .mobile-table-card {
    background: white;
    border-radius: 8px;
    margin: 15px 0;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #881b31;
  }

  .mobile-table-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-table-row:last-child {
    border-bottom: none;
  }

  .mobile-table-label {
    font-weight: bold;
    color: #333;
    flex: 1;
  }

  .mobile-table-value {
    flex: 1;
    text-align: right;
    color: #881b31;
    font-weight: 500;
  }
}

@media (min-width: 481px) {
  .registration-table-mobile {
    display: none;
  }

  .registration-table-desktop {
    display: block;
  }
}

/* Keep your original table styles for other tables (like sponsorship) */
table {
  width: 75%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
}

th {
  background-color: #881b31;
  color: white;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Sponsorship table specific styles */
.table-container {
  background: linear-gradient(to bottom right, #a90000, #a90000);
  background-color: #a90000;
  margin-top: 50px;
  padding: 30px;
  border-radius: 20px;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
}

.table-container th {
  background-color: #881b31;
  color: white;
  padding: 14px;
  font-weight: bold;
  text-align: center;
}

.table-container td {
  padding: 14px;
  text-align: center;
}

.table-container tr:nth-child(even) {
  background-color: #f7f7f7;
}

.table-container tr:nth-child(odd) td {
  background-color: #d16b6b;
  color: white;
}

@media (max-width: 768px) {
  .table-container table,
  .table-container th,
  .table-container td {
    font-size: 14px;
  }
}

/* Sponsorship Section */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.qr-container {
  margin-top: 40px;
  margin-left:100px;
}

.qr-img {
  width: 50px !important;     /* make QR only 50px wide */
  max-width: 50px !important; /* prevent any stretching */
  height: auto !important;    /* keep proportions */
  display: inline-block;
}

.link1{
  transform: translateY(-250px);
  margin-right:100px;
  text-align:right;
}

  .link-box {
      display: inline-block;       /* make it like a box */
      padding: 15px 15px;           /* space inside the box */
      background-color: #f0f0f0;   /* box background */
      border: 1px solid #333232;      /* border like a textbox */
      border-radius: 40px;         /* rounded corners */
      text-decoration: none;       /* remove underline */
      color: #333;                 /* text color */
      font-size: 30px;             /* font size */
      transition: 0.3s;            /* smooth hover effect */
    }
    
.date-box1{
  background-color: #ddb4b4;
  color: white;
  padding: 1rem;
  border-radius: 2rem;
  width: 100%;
  max-width: 1000px;
  height: 450px;
  margin: 0 ;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
}

@media (max-width: 768px) {
  .date-box1 {
    max-width: 100%;       /* full width */
    height: auto;          /* auto height for stacking */
    padding: 1.5rem;
    text-align: center;    /* center everything inside */
  }

  .qr-container {
    margin: 0 auto;        /* center QR */
    margin-top: 10px;
  }

  .qr-img {
    width: 80px !important;   /* make QR a bit bigger for mobile */
    max-width: 80px !important;
  }

  .qr-container p {
    margin-left: 0 !important;  /* reset offset */
    margin-top: 10px;
    font-size: 18px;            /* smaller text */
    color: rgb(230, 224, 224);
  }

  .link1 {
    transform: translateY(0);   /* reset shift */
    margin: 20px 0 0 0;         /* space above */
    text-align: center;         /* center align */
  }

  .link1 p {
    margin: 10px 0;
    font-size: 20px !important;
    color: rgb(136, 2, 2);
  }

  .link-box {
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 25px;
  }
}
/*.step1 {
  text-align: center;
  font-size: 0.9em;              
  font-family: "inter", sans-serif;
  padding: 10px;                 
  background-color: #f9f1f1;
  border: 2px solid black;
  border-radius: 10px;        
}

.step1 img {
  max-width: 100px;   
  height: auto;       
  display: block;
  margin: 0 auto;
}

.qrcode-box1 {
  text-align: center;
}*/



/* Section Header - Perfectly Centered */
.section-header {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.section-header h2 {
    color: #881b31;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: "Poltawski Nowy", serif;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #444;
    line-height: 1.7;
    text-align: justify;
    text-align-last: center;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    hyphens: auto;
    word-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
        text-align-last: center;
    }
}

/* Table Container */
.table-container {
    background: linear-gradient(135deg, #e1a8a8 0%, #a14343 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    width: 100%;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

thead th {
    background-color: #881b31;
    color: white;
    padding: 18px 16px;
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

tbody td {
    padding: 16px;
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

/* Alternating Row Colors */
tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

tbody tr:nth-child(odd) {
    background-color: #d16b6b;
    color: white;
}

tbody tr:nth-child(odd) td {
    background-color: #a90000;
    color: white;
}


/* Media Partner Section - Same Width as Table Container */
/* Animated Carousel CSS */
.carousel-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.carousel-container {
    background-color: #8B1538;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
}

.partner-title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.carousel-logos-container {
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    padding: 48px 32px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: calc(200%);
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-logo {
    flex: 0 0 auto;
    margin: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.carousel-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 140px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .carousel-container {
        padding: 32px 20px;
    }

    .carousel-logos-container {
        padding: 32px 20px;
    }

    .carousel-logo {
        height: 50px;
        margin: 0 20px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .partner-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .carousel-logo {
        height: 40px;
        margin: 0 16px;
        min-width: 80px;
    }
}

/* Awards Section */
.awards-section {
  text-align: center;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.lifetime-awards-title,
.endowment-awards-title {
  font-size: 26px;
  color: #881b31;
  margin-bottom: 30px;
  font-family: "Poltawski Nowy", serif;
}

.lifetime-awards-grid,
.endowment-awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 0 auto 60px;
  justify-items: center;
}

.lifetime-award-card,
.endowment-award-card {
  background-color: #f8e6e6;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 300px;
}

.lifetime-award-circle,
.endowment-award-circle {
  width: 120px;
  height: 120px;
  background-color: white;
  border-radius: 50%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #881b31;
  overflow: hidden;
}

.lifetime-award-circle img,
.endowment-award-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.lifetime-award-card p,
.endowment-award-card p {
  margin: 2px 0;
  font-size: 1em;
  font-family: "inter",sans-serif;
  line-height: 1.4;
  color: #333;
  text-align: center;
}

.lifetime-award-card strong,
.endowment-award-card strong {
  font-weight: bold;
  color: #881b31;
}

/* Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .lifetime-awards-grid,
  .endowment-awards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .lifetime-awards-title,
  .endowment-awards-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .lifetime-awards-grid,
  .endowment-awards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
  
  .lifetime-awards-title,
  .endowment-awards-title {
    font-size: 28px;
  }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .awards-section {
    padding: 40px 15px;
  }
  
  .lifetime-awards-grid,
  .endowment-awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .lifetime-awards-title,
  .endowment-awards-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .lifetime-award-card,
  .endowment-award-card {
    padding: 18px;
    max-width: 280px;
  }
  
  .lifetime-award-circle,
  .endowment-award-circle {
    width: 90px;
    height: 90px;
    margin-bottom: 18px;
  }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .awards-section {
    padding: 30px 15px;
  }
  
  .lifetime-awards-grid,
  .endowment-awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .lifetime-awards-title,
  .endowment-awards-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .lifetime-award-card,
  .endowment-award-card {
    padding: 15px;
    max-width: 250px;
  }
  
  .lifetime-award-circle,
  .endowment-award-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  
  .lifetime-award-card p,
  .endowment-award-card p {
    font-size: 13px;
  }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
  .awards-section {
    padding: 25px 10px;
  }
  
  .lifetime-awards-grid,
  .endowment-awards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0 auto 40px;
  }
  
  .lifetime-awards-title,
  .endowment-awards-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .lifetime-award-card,
  .endowment-award-card {
    padding: 15px;
    max-width: 280px;
  }
  
  .lifetime-award-circle,
  .endowment-award-circle {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  
  .lifetime-award-card p,
  .endowment-award-card p {
    font-size: 12px;
    margin: 3px 0;
  }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .awards-section {
    padding: 20px 8px;
  }
  
  .lifetime-awards-title,
  .endowment-awards-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .lifetime-award-card,
  .endowment-award-card {
    padding: 12px;
    max-width: 260px;
  }
  
  .lifetime-award-circle,
  .endowment-award-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }
  
  .lifetime-award-card p,
  .endowment-award-card p {
    font-size: 11px;
    margin: 2px 0;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .lifetime-award-card,
  .endowment-award-card {
    transition: none;
  }
  
  .lifetime-award-card:hover,
  .endowment-award-card:hover {
    transform: none;
  }
}
/* Conference Address */
.conference-address {
  text-align: center;
  margin: 4rem auto;
  padding: 0 20px;
}

.conference-address h2 {
  color: #881b31;
  font-family: "Poltawski Nowy", serif;
  margin-bottom: 30px;
  font-size: 32px;
}

.address-box {
  background-color: #b35454;
  color: white;
  padding: 2rem;
  border-radius: 2rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2em;
  font-family: "inter",sans-serif;
  line-height: 1.6;
}

.address-box span img{
  max-height: 35px;
  margin-top: 5px;
  max-width: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .spot-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 1.5rem;
    padding: 0 15px;
  }
  
  .spot-card h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .spot-container {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 10px;
  }
  
  .spot-card {
    max-width: 100%;
  }
}

.spot-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.spot-card:hover {
  transform: translateY(-5px);
}

.spot-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.spot-card .details {
  padding: 15px;
}

.spot-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #8B0000;
}

.spot-card p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

/* Footer Styles */
/* Footer Styles */
.mcc-footer {
  background-color: #5b0000;/* Matches website's dark red theme */
  color: #ebebeb;
  padding: 3rem 0 1rem 0;
  margin-left: 0;
  padding-left: 0;
}

/* Ensure all footer text uses the same font and size */
.mcc-footer,
.mcc-footer h4,
.mcc-footer p,
.mcc-footer a,
.mcc-footer li,
.mcc-footer span,
.footer-col,
.footer-col * {
  font-family: 'Inter', sans-serif !important;
  color: #ebebeb!important;
}
/* Footer Styles */
.mcc-footer {
  background-color: #5b0000;/* Matches website's dark red theme */
  color: #ebebeb;
  padding: 3rem 0 1rem 0;
  margin-left: 0;
  padding-left: 0;
}

/* Ensure all footer text uses the same font and size */
.mcc-footer,
.mcc-footer h4,
.mcc-footer p,
.mcc-footer a,
.mcc-footer li,
.mcc-footer span,
.footer-col,
.footer-col * {
  font-family: 'Inter', sans-serif !important;
  color: #ebebeb!important;
}

/* Reset any heading sizes in footer */
.mcc-footer h4 {
  font-size: 1.1em !important;
  margin-bottom: 15px;
  color: #ebebeb !important;
}

/* Ensure links have consistent hover state */
.mcc-footer a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.5fr 320px; /* Adjusted column ratios */
  gap: 0.5rem;
  margin: 0 0 2rem 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Map Column Styles */
.map-column {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  padding-left: 25px; /* Increased from 15px to 25px */
  margin-right: -10px; /* Added negative margin to pull to the right */
  box-sizing: border-box;
}

.map-iframe-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 5px 0 15px 0;
  background: #f5f5f5;
  /* Default aspect ratio for desktop */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.map-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-link {
  display: block;
  text-align: center;
  margin-top: 8px;
  text-decoration: none;
}

.map-text {
  display: inline-block;
  font-size: 0.85rem;
  color: #ccc;
  transition: color 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.map-link:hover .map-text {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Brand Column Styling */
.footer-brand {
  padding-right: 1rem;
}

.brand-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.footer-logo {
  width: max-content;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: -10px;
}

.brand-text h3 {
  font-size: 1.3rem;
  font-weight: bold;
  font-family:"Playfair Display", serif;
  line-height: 1.1;
  margin-top: 13px;
}

.autonomous {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.9;
}

.contact-info {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0.3rem 0;
  font-weight: bold;
}

.contact-item .icon {
  font-size: 1rem;
}

.contact-item .label {
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

address {
  font-family: "Inter", sans-serif;
  font-size: 1.2em;
  font-style: normal;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.phone-numbers,
.email-addresses {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 1.2em;
}

/* Other Columns Styling */
.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #ebebeb;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.25rem;
}

.footer-col a {
  color: #ebebeb;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Inter", sans-serif;
  font-size: 1em;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

/* Contact Us Column - Desktop */
.contact-us /* Contact details styling for mobile first */
.contact-details {
    width: 100%;
    padding: 0 ;
    box-sizing: border-box;
}

.contact-details {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.contact-details p {
  flex:0 0 50%;
    margin: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-sizing: border-box;
    line-height: 1.4;
    word-wrap: break-word;
    margin-right:10px;
}

/* Desktop styles - remove boxes */
@media (min-width: 768px) {
    .contact-details {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 20px;
    }
    
    .contact-details p {
        flex: 0 0 calc(50% - 10px);
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
        text-align: left;
        font-size:13px;
    }
    
    /* Only apply text alignment changes to desktop */
    .contact-details p span {
        text-align: left;
        display: block;
    }
}

.contact-details p span {
    display: block;
    margin-bottom: 5px;
}

.contact-details p span:last-child {
    margin-bottom: 0;
}

.contact-details p span {
    display: block;
    margin: 2px 0;
    padding: 0;
    width: 100%;
    white-space: normal;
    font-size:16px;
} 

.contact-us .contact-details strong {
    font-weight: bold;
    color: #fff;
    margin: 0 auto 12px auto;
    display: block;
    font-size: 1.2em;
    text-align: left;
    width: 100%;
}

.contact-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    word-break:break-word;
}

/* Label with icon */
.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item .icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Values inside column */
.contact-values {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    word-break: break-word;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-us .contact-details {
        padding: 0 15px 0 30px; /* Added left padding */
        margin-left: 30px; /* Force right shift */
    }

    .contact-us .contact-details strong {
      text-align: center;
      display: block;
      width: 100%;
    }
    
    .contact-details {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 10px 0 !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .contact-info {
        width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    address {
        width: 100% !important;
        margin: 0.5rem 0 !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    .contact-details p {
        width: 100%;
        min-width: 100%;
        padding: 15px;
        margin: 0;
    }
    
    .contact-columns {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-item {
        margin-bottom: 10px;
    }
}
/* Footer Bottom */
.footer-bottom {
  position: relative;
  text-align: center;
  padding: 2rem 0 1rem 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
  width: 100vw;
  left: 50%;
  transform: translateX(-55%);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-bottom a {
  color: wrgb(201, 201, 201)hite;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-columns {
    grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
    gap: 1.5rem;
  }

  .footer-container {
    padding: 0 1.5rem;
  }
}

/* Tablet Layout (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .map-column {
    max-width: 100%;
    padding: 0 15px;
    margin: 20px 0;
    grid-column: 1 / -1; /* Make map span full width */
  }
  
  .map-iframe-container {
    margin: 10px 0;
    padding-bottom: 50%; /* Slightly wider aspect ratio for tablets */
    max-width: 700px; /* Limit max width for better readability */
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
  }
}

/* Desktop Layout (1200px and up) */
@media (min-width: 1200px) {
  .footer-columns {
    grid-template-columns: 1.8fr 0.9fr 1.3fr 280px;
    gap: 0.5rem;
  }
  
  .map-column {
    max-width: 280px;
    padding-left: 60px;  /* Increased from 40px to 60px */
    margin-right: -5px;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 15px;
  }
  
  .map-column {
    grid-column: 1;
    margin: 15px 0 25px 0;
    max-width: 100%;
    padding: 0;
    width: 100%;
  }
  
  .map-iframe-container {
    margin: 10px 0;
    padding-bottom: 75%; /* Slightly taller aspect ratio for mobile */
    border-radius: 6px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .brand-header {
    justify-content: center;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  address,
  .phone-numbers,
  .email-addresses {
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Position the link after the date box in registration */
  #registration {
    position: relative;
    min-height: 100px; /* Ensure there's space for the absolutely positioned link */
  }
  
  #registration .date-box {
    margin-bottom: 80px; /* Make space for the link below the date box */
  }
  
  #registration .link {
    position: absolute;
    top: 101%;
    left: 0;
    right: 0;
    margin: 10px 0 30px;
    padding: 15px 0;
    text-align: center;
    width: 100%;
    background: transparent;
  }
  
  #registration .link p.move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0;
    color: rgb(136, 2, 2);
  }
  
  #registration .link-box {
    display: inline-block;
    padding: 8px 20px;
    background-color: white;
    color: #131313;
    text-decoration: none;
    border: 1px solid #000000;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  #registration .link-box:hover {
    background-color: #7b0000;
    color: white;
  }
  
  .mcc-footer {
    padding: 2rem 0 1rem 0;
  }

  .footer-container {
    width: 100% !important;
  .footer-columns {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .footer-col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  
  /* Footer bottom mobile styles */
  .footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem 1rem !important;
    margin: 0 auto !important;
    left: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  
  .footer-bottom p, .footer-copyright {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.5rem auto !important;
    padding: 0 1rem !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .footer-brand {
    grid-column: 1;
  }

  .brand-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-logo {
    width: 70px;
    height: 70px;
  }

  .brand-text h3 {
    font-size: 1.2rem;
  }

  .contact-item {
    justify-content: center;
    margin: 0.8rem 0 0.2rem 0;
  }

  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .contact-us .contact-details p {
    text-align: center;
  }

}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 0.5rem;
  }

  .footer-columns {
    gap: 1.5rem;
  }

  .brand-text h3 {
    font-size: 1.1rem;
  }

  .autonomous {
    font-size: 0.9rem;
  }

  .contact-info,
  .footer-col a,
  .contact-us .contact-details p {
    font-size: 0.9rem;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 1.5rem;
  }
}


/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
button:focus,
a:focus {
  outline: 2px solid #ff3b30;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header {
    position: static;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 300px;
  }
}

/* iPad Pro (11-inch) */
@media only screen 
  and (min-device-width: 834px) 
  and (max-device-width: 1194px)
  and (-webkit-min-device-pixel-ratio: 2) {
    /* General adjustments */
    .container {
      padding: 40px 20px;
    }
    
    /* Adjust header and navigation */
    .header {
      padding: 15px 5%;
    }
    
    /* Adjust content sections */
    .section {
      padding: 40px 5%;
    }
    
    /* Adjust font sizes */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    p, li { font-size: 1rem; }
}

/* iPad Pro (12.9-inch) */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 2) {
    /* Similar to 11-inch but with larger spacing */
    .container {
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .section {
      padding: 50px 8%;
    }
}

/* iPad Mini */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
    /* Adjust link positioning for iPad Mini */
    #registration .link {
      position: relative;
      top: 0px !important;
      margin-top: 0 !important;
      text-align: left !important;
      margin-left:10px;
    }
    .link1 {
      text-align:center;
    }
  }

/* iPad Air and Pro - Specific Fixes */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: portrait), 
  only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: landscape) {
    /* Reset and force important styles */
    * {
      box-sizing: border-box !important;
    }
    
    body, html {
      width: 100%;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
    }
    /* ===== FORCEFUL FOOTER FIXES ===== */
    body #mcc-footer.mcc-footer,
    body .mcc-footer,
    body footer#mcc-footer,
    body footer.mcc-footer {
      width: 100% !important;
      max-width: 100% !important;
      padding: 2.5rem 5% !important;
      margin: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: none !important;
    }
    
    .footer-container {
      max-width: 1200px !important;
      margin: 0 auto !important;
      padding: 0 2% !important;
    }
    
    .footer-columns {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 2.5rem !important;
      width: 100% !important;
      margin: 0 auto !important;
      padding: 0 1rem !important;
    }
    
    .footer-brand {
      grid-column: 1 / -1 !important;
      text-align: center !important;
      margin-bottom: 2rem !important;
      padding-bottom: 1.5rem !important;
      border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    /* ===== IMPORTANT DATES & LINK BOX ===== */
    #event-date {
      width: 90% !important;
      max-width: 1000px !important;
      margin: 3rem auto !important;
      padding: 0 !important;
      position: relative;
    }
    
    .date-box {
      width: 100% !important;
      margin: 0 auto 2rem !important;
      padding: 2rem !important;
      position: relative !important;
      transform: none !important;
      left: auto !important;
      right: auto !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      border-radius: 8px;
      background: white;
    }
    
    /* Force link box below dates with !important */
    #event-date .date-box + .link,
    #event-date .date-box + a,
    #registration .date-box + .link,
    #registration .date-box + a {
      display: block !important;
      width: fit-content !important;
      margin: 0 auto 3rem !important;
      padding: 12px 28px !important;
      background: #7b0000 !important;
      color: white !important;
      text-decoration: none !important;
      border-radius: 6px !important;
      font-weight: 500 !important;
      text-align: center !important;
      transition: all 0.3s ease !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
    }
    
    .date-box + .link:hover,
    .date-box + a:hover {
      background: #5a0000 !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    }
    
    /* ===== FORCEFUL ADVISORY SECTION FIXES ===== */
    body .advisory-section,
    #advisory .advisory-section,
    section.advisory-section {
      width: 90% !important;
      max-width: 1200px !important;
      margin: 3rem auto !important;
      padding: 2.5rem 4% !important;
      background: #ffffff !important;
      border-radius: 12px !important;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
      border: 1px solid #eee !important;
    }
    
    .advisory-section .column {
      width: 100% !important;
      max-width: 100% !important;
      padding: 0 !important;
      margin: 0 !important;
    }
    
    .advisory-section h2 {
      font-size: 2rem !important;
      color: #7b0000 !important;
      margin: 0 0 2rem 0 !important;
      padding-bottom: 1rem !important;
      border-bottom: 2px solid #f0f0f0 !important;
      font-weight: 600 !important;
    }
    
    .advisory-section p {
      font-size: 1.1rem !important;
      line-height: 1.8 !important;
      margin: 0 0 1.5rem 0 !important;
      color: #333 !important;
      padding: 0.5rem 0 !important;
    }
    
    /* Ensure no text overflows */
    .advisory-section .column {
      word-wrap: break-word !important;
      overflow-wrap: break-word !important;
      hyphens: auto !important;
    }
    
    .advisory-section .column {
      flex: 1 1 300px;
      max-width: 100%;
      padding: 15px;
      box-sizing: border-box;
    }
    
    .advisory-section h2 {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }
    
    .advisory-section p {
      margin: 8px 0;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    
    .advisory-section {
      margin-bottom: 40px; /* Add margin to the bottom of the section */
    }
    /* Navigation bar fixes for iPad Air */
    /* Navigation bar fixes for iPad Air */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .nav {
    padding: 0 5px; /* reduce padding */
    overflow-x: hidden; /* no scrolling */
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    text-align: center;
  }
  
  .nav-menu {
    display: flex !important;       /* use flexbox */
    justify-content: center;        /* center items */
    flex-wrap: nowrap;              /* prevent wrapping */
    padding: 0;
    margin: 0 auto;
    list-style: none;
    width: 100%;
    max-width: 100%;
  }
  
  .nav-menu li {
    display: inline-block;
    float: none;
    margin: 0;
    padding: 0 2px; /* tighter spacing */
  }
  
  .nav-menu li a {
    padding: 8px 5px !important;  /* smaller padding */
    font-size: 10px !important;   /* smaller font */
    white-space: nowrap;
    display: inline-block;
  }
  
  .nav-menu li.register {
    margin-left: 5px;
  }
  
  .nav-menu li.register a {
    padding: 6px 10px !important; /* reduced */
    font-size: 10px !important;
    white-space: nowrap;
    margin: 0;
    display: inline-block;
    background: #fff;
    color: #7b0000 !important;
    border-radius: 4px;
  }
  
  .nav-menu li.register a:hover {
    background: #f0f0f0 !important;
  }
}
    /* Link and Link1 styles for iPad */
    .link {
      margin: 10px 0 0 0;
      text-align: left;
      transform: none !important;
      padding: 0 20px;
      position: relative;
      left: 0;
      right: auto;
      width: auto;
      background: transparent;
    }
    
    /* Adjust date box spacing for iPad Air/Pro */
    .date-box {
      margin-bottom: 20px !important; /* Increased bottom margin for better spacing */
    }
    
    /* Add extra spacing after date box for iPad Air/Pro */
    .date-box + .link {
      margin-top: 90px !important;
      position: relative !important;
      top: 10px !important;
      transform: translateY(10px) !important;
      -webkit-transform: translateY(10px) !important;
    }
    
    /* More specific iPad targeting */
    @media only screen 
      and (min-device-width: 768px) 
      and (max-device-width: 1024px) 
      and (-webkit-min-device-pixel-ratio: 2) {
        section#event-date .date-box + .link {
          margin-top: 50px !important;
          display: block !important;
          position: relative !important;
          top: 20px !important;
        }
    }
    
    .link1 {
      text-align: right;
      margin: 30px 45px 20px 0; /* Increased top margin from 20px to 40px */
      max-width: none;
      position: relative;
      left: 0;
      right: auto;
      width: auto;
      background: transparent;
    }
  
  
    
    .link-box {
      font-size: 15px !important;
      padding: 7px 14px !important;
      border-radius: 30px !important;
      display: inline-block;
      background-color: #f0f0f0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      text-decoration: none;
      color: #333;
      transition: all 0.3s ease;
    }
    
    .link-box:hover {
      background-color: #e0e0e0;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    /* sponser_img */
    .sponser_img
    {
      width: 100%;
      height: auto;
      max-width: 100%;
      border-radius: 20px;
    }
    /* Registration section image fix */
    .registration-table-desktop img {
      width: 100%;
      height: auto;
      max-width: 100%;
      border-radius: 8px;
    }
    
    .registration .table-wrapper {
      margin: 20px 0;
      padding: 0 10px;
    }
    
    .registration table {
      font-size: 13px;
    }
    /* More compact layout for smaller iPads */
    .container {
      padding: 30px 15px;
    }
    
    /* Adjust grid layouts */
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    
    /* Adjust typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    /* Adjust padding/margins */
    .section {
      padding: 30px 4%;
    }
}

/* Landscape orientation adjustments */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px)
  and (orientation: landscape) {
    .header {
      padding: 10px 3%;
    }
    
    /* Adjust content for landscape */
    .hero-content {
      padding: 30px 5%;
    }
}

/* Nest Hub specific styles */
@media (width: 1024px) and (height: 600px) {
  .link {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;  
    padding-right: 20px;    
  }

  .link p {
    font-size: 24px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link .move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link-box {
    font-size: 18px !important;
    border-radius: 30px !important;
  }
  }
}
    
    /* More specific iPad targeting */
    @media only screen 
      and (min-device-width: 768px) 
      and (max-device-width: 1024px) 
      and (-webkit-min-device-pixel-ratio: 2) {
        section#event-date .date-box + .link {
          margin-top: 50px !important;
          display: block !important;
          position: relative !important;
          top: 20px !important;
        }
    }
    
    .link1 {
      text-align: right;
      margin: 30px 45px 20px 0; /* Increased top margin from 20px to 40px */
      max-width: none;
      position: relative;
      left: 0;
      right: auto;
      width: auto;
      background: transparent;
    }
  
  
    
    .link-box {
      font-size: 15px !important;
      padding: 7px 14px !important;
      border-radius: 30px !important;
      display: inline-block;
      background-color: #f0f0f0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      text-decoration: none;
      color: #333;
      transition: all 0.3s ease;
    }
    
    .link-box:hover {
      background-color: #e0e0e0;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    /* Registration section image fix */
    .registration-table-desktop img {
      width: 100%;
      height: auto;
      max-width: 100%;
      border-radius: 8px;
    }
    
    .registration .table-wrapper {
      margin: 20px 0;
      padding: 0 10px;
    }
    
    .registration table {
      font-size: 13px;
    }
    /* More compact layout for smaller iPads */
    .container {
      padding: 30px 15px;
    }
    
    /* Adjust grid layouts */
    .grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    
    /* Adjust typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    /* Adjust padding/margins */
    .section {
      padding: 30px 4%;
    }


/* Landscape orientation adjustments */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px)
  and (orientation: landscape) {
    .header {
      padding: 10px 3%;
    }
    
    /* Adjust content for landscape */
    .hero-content {
      padding: 30px 5%;
    }
}

/* Nest Hub specific styles */
@media (width: 1024px) and (height: 600px) {
  .link {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;  
    padding-right: 20px;    
  }

  .link p {
    font-size: 24px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link .move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link-box {
    font-size: 18px !important;
    border-radius: 30px !important;
  }
  }

/* Nest Hub specific styles */
@media (width: 1024px) and (height: 600px) {
  .link {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;  
    padding-right: 20px;    
  }

  .link p {
    font-size: 24px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link .move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link-box {
    font-size: 18px !important;
    border-radius: 30px !important;
  }
  }

  
  .link .move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link-box {
    font-size: 18px !important;
    border-radius: 30px !important;
  }
  
  .link .move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link-box {
    font-size: 18px !important;
    border-radius: 30px !important;
  }
  .link p {
    font-size: 24px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link .move-left {
    font-size: 22px !important;
    margin: 0 0 8px 0 !important;
    text-align: right;      
  }
  
  .link-box {
    font-size: 18px !important;
    border-radius: 30px !important;
  }
/* ====== iPad Air Specific Fixes ====== */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  /* Ensure address in footer is left-aligned on iPad Air */
  .footer-brand address,
  .footer-brand .contact-info,
  .footer-brand .contact-item {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  
  .footer-brand {
    text-align: left !important;
  }
  /* ===== ADVISORY SECTION - TWO COLUMN LAYOUT ===== */
  .advisory-section {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 2rem !important;
      width: 95% !important;
      max-width: 1400px !important;
      margin: 2rem auto !important;
      padding: 2rem !important;
      background: transparent !important;
      border: none !important;
  }
  
  .advisory-section .column {
      background: white !important;
      padding: 2rem !important;
      border-radius: 8px !important;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
      margin: 0 !important;
      width: 100% !important;
      box-sizing: border-box !important;
  }
  
  /* Style for the advisory section headings */
  .advisory-section h2 {
      font-size: 1.5rem !important;
      color: #7b0000 !important;
      margin: 0 0 1.5rem 0 !important;
      padding-bottom: 1rem !important;
      border-bottom: 2px solid #f0f0f0 !important;
  }
  
  /* Style for the member entries */
  .advisory-section p {
      font-size: 1rem !important;
      line-height: 1.6 !important;
      margin: 0 0 1rem 0 !important;
      padding: 0.5rem 0 !important;
      border-bottom: 1px dashed #eee !important;
  }
  
  .advisory-section p:last-child {
      border-bottom: none !important;
  }
  
  /* Responsive adjustments */
  @media (max-width: 900px) {
      .advisory-section {
          grid-template-columns: 1fr !important;
          gap: 1.5rem !important;
      }
  }
  
  .advisory-section .column {
      width: 100% !important;
      max-width: 100% !important;
      padding: 0 !important;
      margin: 0 !important;
  }
  
  .advisory-section p {
      margin: 0.5rem 0 !important;
      line-height: 1.5 !important;
      font-size: 0.95rem !important;
  }
  #event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .date-box {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .link {
    order: 2;
    width: 100%;
    margin: 0;
    text-align: center;
    transform: translateY(10px);
    display: block;
  }
  
  .move-left {
    text-align: center !important;
  }
  
  /* Footer Fixes */
  .mcc-footer {
      width: 100% !important;
      max-width: 100% !important;
      padding: 2.5rem 0 !important;
      margin: 0 !important;
      box-sizing: border-box !important;
  }

  .footer-container {
      max-width: 1200px !important;
      margin: 0 auto !important;
      padding: 0 2% !important;
  }

  .footer-columns {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 2rem !important;
      width: 100% !important;
      margin: 0 auto !important;
      padding: 0 1rem !important;
  }

  .footer-brand {
      grid-column: 1 / -1 !important;
      text-align: center !important;
  }

  /* International Advisory Section with Peach Theme */
  body .advisory-section,
  #advisory .advisory-section,
  section.advisory-section {
      width: 95% !important;
      max-width: 1200px !important;
      margin: 2rem auto !important;
      padding: 0 1rem 2rem !important;
      box-sizing: border-box !important;
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 1.5rem !important;
  }

  .advisory-section .column {
      flex: 1 1 45% !important;
      min-width: 300px !important;
      background: #FFF5F0 !important;
      border: 1px solid #FFD9C8 !important;
      border-radius: 8px !important;
      padding: 1.25rem !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
      transition: all 0.3s ease !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
  }
  
  .advisory-section .column:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  }
  
  .advisory-section h2 {
      color: #7b0000 !important;
      font-size: 1.3rem !important;
      margin: 0 0 1rem 0 !important;
      padding-bottom: 0.75rem !important;
      border-bottom: 2px solid #FFD9C8 !important;
      line-height: 1.3 !important;
  }
  
  .advisory-section p {
      color: #333 !important;
      font-size: 0.95rem !important;
      line-height: 1.5 !important;
      margin: 0 0 0.5rem 0 !important;
      padding: 0.5rem 0 !important;
      border-bottom: 1px dashed #FFD9C8 !important;
      word-break: break-word !important;
  }
  
  .advisory-section p:last-child {
      border-bottom: none !important;
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
  }
  
  @media (max-width: 900px) {
      .advisory-section {
          flex-direction: column !important;
          padding: 0 0.5rem 1.5rem !important;
      }
      
      .advisory-section .column {
          width: 100% !important;
          flex: 1 1 auto !important;
          min-width: 100% !important;
      }
  }
}
