body {
    color: #333;
    
}
.navigation-section {
    width: 100%;
    background-color: #f8f9fa;
    
}

.navbar {
    background: #f8f9fa;
}
.nav-logo {
    height: 60px;  /* Adjust based on your logo */
    width: auto;
}

.nav-link {
    white-space: nowrap;
  }

/* Conference Hero Section */
.conference-hero {
    text-align: center;
    /*padding: 100px 20px;*/
    background: url('../images/background.jpg') no-repeat center center/cover;
    color: rgb(56, 55, 55);
}

/* Hero Content */
.hero h1 {
    font-size: 4rem;
    font-weight: bold;
}

.hero h2 {
    font-size: 2rem;
}

.hero p {
    font-size: 1.2rem;
    font-weight: bold;
}*/

/*<!-- Hero Grid End --> and * === SECTION WRAPPER === */
.hero-grid-section {
  padding: 05px 05px;         /* slightly tighter */
  background: #f8f9fa;
}

/* === GRID LAYOUT (DESKTOP) === */
.hero-grid-container {
  display: grid;
  grid-template-areas:
    "main  dates"
    "main  themes";
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 200px);   /* height already reduced */
  gap: 10px;
}

/* === BLOCKS === */
.hero-main       { grid-area: main;   }
.hero-box.dates  { grid-area: dates;  }
.hero-box.themes { grid-area: themes; }

.hero-main,
.hero-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

/* background images */
.hero-main         { background:url('../images/figa-slider/1.jpg') center/cover no-repeat; }
.hero-box.dates    { background:url('../images/back1.jpg') center/cover no-repeat; }
.hero-box.themes   { background:url('../images/back1.jpg') center/cover no-repeat; }

/* text overlay */
.overlay {
  width: 100%;
  /*background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%); */
  padding: 5px;
  /*border-radius: 6px;*/
}


hero-box .overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

.button-grid {
  position: absolute;
  bottom: 10px; /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.hero-button-link {
  display: inline-block;
  background: rgba(0,0,0,0.6); /* optional for better contrast */
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}





/* badges & headings */
/*.category      { background:#007bff; font-size:12px; padding:2px 8px; border-radius:4px; display:inline-block; margin-bottom:8px; }*/
.hero-main h2  { font-size:1.5rem; margin:10px 0; }
.hero-main p   { font-size:1rem;  margin-bottom:10px; }
.author        { font-size:.9rem;  color:#e0e0e0; }
.hero-box h3   { font-size:.95rem; margin-top:5px; }

/* Grid layout for consistent sizing and spacing */
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 10px;
}

.category-link {
  background: #007bff;
  color: #fff;
  font-size: 13px;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.category-link:hover {
  background: #0056b3;
}

.hero-box .overlay {
  
  align-items: center;
  justify-content: center;
  height: 100%;
}


/* === MOBILE STACKING === */
@media (max-width: 768px) {

  .hero-grid-container {
    grid-template-areas:
      "main"
      "dates"
      "themes";
    grid-template-columns: 1fr;            /* single column */
    grid-template-rows: auto;              /* natural heights */
  }

  /* shorter blocks on phones */
  .hero-main,
  .hero-box {
    height: 220px;                         /* tweak if needed */
    padding: 15px;
  }

  .hero-main h2 { font-size:1.35rem; }
  .hero-box h3  { font-size:.9rem;  }
}



/* Sidebar Container */
.side-menu {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Individual Menu Item */
.side-menu a {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0e4f95, #0a3d73);
  color: #fff;
  width: 50px; /* icon-only default */
  height: 50px;
  border-radius: 0 30px 30px 0;
  text-decoration: none;
  font-size: 14px;
  padding: 0 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.3s ease;
}

/* Expand on Hover */
.side-menu a:hover {
  width: 180px; /* enough for text */
  background: linear-gradient(145deg, #022d5c, #011d3a);
}

/* Icon */
.side-menu a i {
  font-size: 18px;
  margin-right: 10px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

/* Text (span) hidden initially */
.side-menu a span {
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show text on hover */
.side-menu a:hover span {
  opacity: 1;
}



/* Bottom Menu */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; /* Full width */
    background: rgba(0, 0, 0, 0.9); /* Full black background */
    z-index: 1050; /* must be higher than overlapping elements */
    padding: 15px;
    display: flex;
   /* justify-content: center;*/
    justify-content: space-around;
    gap: 20px;
   /* border-radius: 0; /* No rounded edges */
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}


/* Bottom Menu Items */
.bottom-menu a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    position: relative;
}

.white-bg-section {
    padding-bottom: 50px; /* or more if needed */
}

/* Tooltip Hover Text Above Icons */
.bottom-menu a span {
    display: none;
    position: absolute;
    top: -30px; /* Position above the icon */
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.bottom-menu a:hover span {
    display: block;
    opacity: 1;
}

/* Icons */
.bottom-menu a i {
    font-size: 24px;
}

/* FLASH Updates */

/* Full-width background */
 .flash-container-fluid {
    background-color: #e6e6fd;
    color: rgb(241, 15, 7);
    padding: 10px 0;
}
/* Flash updates container */
.flash-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flash-title {
    font-size: 16px;
    font-weight: bold;
}

.update-container {
    height: 30px;
    overflow: hidden;
    width: 70%;
}
.update-text {
    position: relative;
    animation: scrollText 4s linear infinite;
}
.update-text a {
    color: rgb(2, 1, 53);
    text-decoration: none;
}
.update-text a:hover {
    text-decoration: underline;
}
@keyframes scrollText {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}



/*About Section */
.white-bg-section {
    background-color: white;
    padding: 40px 0;
}

/*Background Section */
.background-bg-section {
    background-color: white;
    padding: 40px 0;
}

.content-box {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  height: 600px; /* Default mobile height */
  overflow: hidden;
}

/* Decrease height on desktop */
@media (min-width: 768px) {
  .content-box {
    height: 320px; /* or whatever smaller height you want */
  }
}

/* Image Slider */
.carousel-inner img {
    height: 350px; /* Adjust image height */
    object-fit: cover;
    border-radius: 5px;
}

/* Important Updates List */
.update-list {
    list-style-type: none;
    padding: 0;

}

.update-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.update-list a {
    text-decoration: none;
    color: #000000;
   
    
}

.update-list a:hover {
   
    color: #061424;
}

.update-list i {
    margin-right: 8px;
    color: #000000;
}
.update-container {
    transition: opacity 0.5s ease-in-out;
}


/* SPONERS, */

.image-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.image-box img {
    width: 60%;  /* Adjust for uniform size */
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.image-box img:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-box img {
        width: 50%; /* Smaller images for mobile */
    }
}


/*Footer*/
.footer {
    background-color: #222;  /* Dark background */
    color: #fff;
    padding: 15px 0;
    font-size: 14px;
    text-align: center;
}

.footer img {
    width: 20px;
    margin: 0 5px;
    transition: transform 0.3s ease-in-out;
}

.footer img:hover {
    transform: scale(1.1);
}

.footer-menu a {
  color: white;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline; /* Optional: shows underline on hover */
}

#goTopBtn {
  background-color: #0e4f95;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  display: none;
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
}

/*.innerpage {
    height: 100vh;
}*/


/* Hide Side Menu for Mobile */
@media (max-width: 768px) {
    .side-menu {
        display: none;
    }

    .bottom-menu {
        display: flex;
    }
}




/* Contact Us CSS is here */
    .contact-section {
      max-width: 1200px;
      margin: auto;
    }

    .contact-title {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 20px;
      color: #003366;
    }

    .contact-boxes {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }

    .box {
      flex: 1;
      min-width: 250px;
      background: #1976d2;
      color: white;
      padding: 20px;
      border-radius: 4px;
      position: relative;
    }

    .box i {
      font-size: 24px;
      margin-right: 10px;
    }

    .box h3 {
      margin: 0 0 10px;
      font-size: 20px;
    }

    .box p {
      margin: 5px 0;
    }

    .urgent-contact {
      margin: 20px 0;
      font-weight: bold;
      color: #222;
    }

    .urgent-contact span {
      font-weight: normal;
      color: #000;
    }

    form {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    form input, form textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #aaa;
      border-radius: 2px;
    }

    form textarea {
      grid-column: span 2;
      height: 120px;
      resize: vertical;
    }

    .submit-btn {
      grid-column: span 2;
      background-color: #d32f2f;
      color: white;
      padding: 12px;
      border: none;
      font-weight: bold;
      cursor: pointer;
    }

    .submit-btn:hover {
      background-color: #b71c1c;
    }
	
/* Themes CSS */
    .accordion-item {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: white;
  }

  .accordion-header {
    background-color: #0e4f95;
    color: white;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .accordion-header:hover {
    background-color: #0056b3;
  }

  .accordion-content {
    display: none;
    padding: 15px;
  }

  .accordion-content img {
    max-width: 150px;
    float: right;
    margin-left: 15px;
  }

