@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #E4DFDA;
  color: #333333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5em;
}

/* Container for responsive content */
.responsive-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header with background image space */
header {
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('nav_image_last.png');
  background-size: cover;
  background-position: center;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: #910b1b;
}

header img {
  height: 120px;
  margin: 0 30px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

header img:hover {
  transform: scale(1.05);
}

.header-title1, .header-title2 {
  display: flex;
  flex-direction: column;
  font-size: 32px;
  font-weight: bold;
  color: #910b1b;
  padding: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header-title1 {
  text-align: right;
  margin-right: 20px;
}

.header-title2 {
  text-align: left;
  margin-left: 20px;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to right, #151651 85%, #0c0c3d);
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 20px;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding: 8px 0;
  display: inline-block;
  transition: all 0.3s ease;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #48A9A6;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #48A9A6;
  transform: translateY(-2px);
}

nav a:hover:after {
  width: 100%;
}

/* Main content container */
.container {
  display: flex;
  gap: 40px;
  margin: 60px auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  border-top: 4px solid #48A9A6;
}

.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.featured-news-link{
    text-decoration:none;
    color:inherit;
}

.featured-news{

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 12px 25px rgba(0,0,0,.12);

    transition:.3s;

    border-top:4px solid #48A9A6;
}

.featured-news:hover{

    transform:translateY(-6px);

    box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.featured-news h2{

    padding:20px 20px 10px;

    color:#151651;

    text-align:center;
}

.featured-news-text{

    padding:0 20px 20px;

    font-size:18px;

    text-align:center;

    color:#444;

    line-height:1.6;
}

.featured-images{

    display:flex;

    gap:12px;

    padding:0 20px 20px;
}

.featured-images img{

    width:50%;

    height:240px;

    object-fit:cover;

    border-radius:10px;

    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

.featured-button{

    background:linear-gradient(90deg,#48A9A6,#151651);

    color:white;

    text-align:center;

    padding:16px;

    font-weight:600;

    transition:.3s;
}

.featured-news:hover .featured-button{

    background:linear-gradient(90deg,#151651,#910b1b);
}
/* Poster Styles with improved hover effects */
.poster {
  width: 100%;
  aspect-ratio: 7 / 10;
  background: url("program.png") no-repeat center center / cover;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  background-size: 100%;
}

.poster:hover {
  transform: scale(1.03) rotate(1deg);
}

.poster::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(145, 11, 27, 0.7) 0%, rgba(21, 22, 81, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
}

.poster:hover::before {
  opacity: 0.8;
}

.poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  transform: translateY(20px);
  z-index: 2;
}

.poster:hover .poster-overlay {
  opacity: 1;
  transform: translateY(0);
}

.view-poster-button {
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  background-color: #E4DFDA;
  color: #910b1b;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.view-poster-button:hover {
  background-color: #D4B483;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Registration Section with improved styling */
.register-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #ffffff, #E4DFDA);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #910b1b;
  z-index: 1000;
}

.responsive-heading {
  font-size: 36px;
  color: #151651;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.responsive-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333333;
  font-style: italic;
}

.btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.btn-container p {
  margin: 15px 0 5px;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  margin: 10px 0;
  background: linear-gradient(90deg, #910b1b, #700a15);
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.btn:hover {
  transform: translateY(-5px);
  background: linear-gradient(90deg, #700a15, #910b1b);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animated pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
}

.btn:hover {
  animation: pulse 1.5s infinite;
}

/* New Section with improved layout */
.new-section {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #E4DFDA);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
  overflow: hidden;
}

.new-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.new-section h2 {
  color: #151651;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.new-section h2:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: #D4B483;
  bottom: -10px;
  left: 25%;
  border-radius: 2%;
}

.new-section p {
  color: #333333;
  font-size: 16px;
  margin-bottom: 15px;
}

.new-section.bordered-section {
  padding: 20px;
  background: #ffffff;
  border: 2px solid #E4DFDA;
  margin: 0;
  width: auto;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
  justify-content: space-between; /* Ensures equal spacing between columns */
}

.info-column {
  flex: 1 1 calc(50% - 30px); /* Flexbox with responsive width calculation */
  text-align: left;
  background: #E4DFDA;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow-x: auto;
}

.info-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-column h3 {
  color: #151651;
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #D4B483;
}

.info-column ul {
  list-style: none;
  padding: 0;
}

.info-column li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  font-size: 15px;
}

.info-column li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #48A9A6;
  font-size: 18px;
}


.read-more-btn {
  background: linear-gradient(90deg, #48A9A6, #151651);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.read-more-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #151651, #48A9A6);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Article Section with improved styling */
.article-section {
  width: 85%;
  margin: 60px auto;
  text-align: center;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  border-top: 4px solid #48A9A6;
}

.article-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.article-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.responsive-video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.article-section p {
  font-size: 16px;
  color: #333333;
  margin: 15px 0;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #48A9A6;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.read-more:hover {
  transform: translateY(-3px);
  background: #151651;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Modal styles with improved design */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.poster-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  aspect-ratio: 7 / 10;
  background: url("program.png") no-repeat center center / contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .poster-modal-content {
  transform: scale(1);
}

.rules-modal-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .rules-modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #E4DFDA;
  color: #910b1b;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 3000;
}

.close-modal:hover {
  background-color: #D4B483;
  color: #151651;
  transform: rotate(90deg);
}

.rules-content {
  text-align: left;
}

.rules-content section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E4DFDA;
}

.rules-content section:last-child {
  border-bottom: none;
}

.rules-content h3 {
  color: #151651;
  margin-bottom: 15px;
  font-size: 20px;
}

.rules-content ul {
  padding-left: 20px;
}

.rules-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contacts {
  background: #E4DFDA;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  border-left: 4px solid #48A9A6;
}

/* Footer styling */
footer {
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  margin-top: auto;
  background: linear-gradient(to right, #151651 85%, #0c0c3d);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer-sponsors {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-sponsors a {
  margin: 10px 20px;
  text-decoration: none;
  color: #E4DFDA;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-sponsors a:hover {
  color: #D4B483;
}

.footer-sponsors img {
  max-width: 200px; 
  max-height: 200px; 

}

.footer-sponsors a:hover {
  transform: translateY(-5px);
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.footer-socials a {
  margin: 0 15px;
  transition: transform 0.3s ease-in-out;
}

.footer-socials img {
  height: 25px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-5px);
}

.footer-socials a:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .left-column, .right-column {
    width: 100%;
  }

  .poster {
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .info-grid {
    grid-template-columns: 100%;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px 10px;
  }

  .header-title1, .header-title2 {
    text-align: center;
    font-size: 24px;
    margin: 10px 0;
  }

  nav {
    padding: 10px 0;
  }

  nav a {
    margin: 0 10px;
    font-size: 16px;
  }

  .responsive-heading {
    font-size: 28px;
  }

  .responsive-text {
    font-size: 16px;
  }

  .btn-container p {
    font-size: 14px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 16px;
    min-width: 180px;
  }

  .article-section {
    width: 95%;
    padding: 20px;
  }

  .rules-modal-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 10px;
    margin: 30px auto;
  }

  .new-section h2 {
    font-size: 24px;
  }

  .info-column h3 {
    font-size: 18px;
  }

  .info-column li {
    font-size: 14px;
  }

  .read-more-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .responsive-heading {
    font-size: 24px;
  }

  .btn {
    padding: 10px 15px;
    font-size: 14px;
  }

  .article-section {
    padding: 15px;
  }

  .read-more {
    padding: 8px 16px;
    font-size: 14px;
  }

  .rules-content h3 {
    font-size: 18px;
  }

  .rules-content li {
    font-size: 14px;
  }
}

/* Cool animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Trophy Section Styles */
.poster-stopmotion-1 {
  background-image: url('water_kingdom_poster.png');
  background-color: rgba(212, 180, 131, 0.2);
}

.poster-stopmotion-2 {
  background-image: url('the_kingdom_of_elements_poster.png');
  background-color: rgba(72, 169, 166, 0.2);
}
.trophy-section {

  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
  border-top: 4px solid #48A9A6;
  
  width: 100%;
  max-width: 1400px;
 margin: 60px auto;
  padding: 0px;
  

}

.trophy-section.fade-in {
  opacity: 1;
  transform: translateY(0);
  
  width: 100%;
  max-width: 1400px;
 margin: 60px auto;
  padding:40px;
}

.trophy-title {
  color: #151651;
  font-size: 32px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.trophy-title:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: #D4B483;
  bottom: -12px;
  left: 20%;
  border-radius: 2px;
}

.trophy-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.trophy-item {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: linear-gradient(to bottom, #ffffff, #E4DFDA);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.trophy-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.trophy-image {
  width: 120px;
  height: 150px;
  margin-bottom: 20px;
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.trophy-item:hover .trophy-image {
  transform: scale(1.1) rotate(5deg);
}


.trophy-number {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #910b1b;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.trophy-item h3 {
  font-size: 20px;
  color: #333333;
  margin-bottom: 15px;
  text-align: center;
}

.view-trailer-btn {
  padding: 12px 24px;
  background: linear-gradient(90deg, #48A9A6, #151651);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration:none;
}

.view-trailer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #151651, #910b1b);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .trophy-container {
    flex-direction: column;
    align-items: center;
  }
  
  .trophy-item {
    width: 100%;
    max-width: 250px;
  }
  
  .trophy-title {
    font-size: 26px;
  }
}

/* Fix modal close button positioning */
.close-modal {
  position: sticky;
  top: 20px;
  right: 20px;
  z-index: 3500;
  background-color: #E4DFDA;
  color: #910b1b;
  width: 50px;
  height: 50px;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Make poster modal content display properly */
.poster-modal-content {
  width: 80%;
  max-width: 600px;
  height: 100vh;
  background-size: contain !important;
}



/* Add subtle decorative shapes */
.container::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(145, 11, 27, 0.1), rgba(21, 22, 81, 0.1));}

/* Reduce empty space */
.container {
  margin: 40px auto;
}

.trophy-section, .article-section {
  margin: 40px auto;
}

/* Improve positioning for relative elements */
.container, .trophy-section, .article-section {
  position: relative;
}

/* Enhance modal appearance */
.modal.active {
  backdrop-filter: blur(5px);
}

/* Add subtle film strip decoration to header */
/* Add decorative circles */
.circle-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  transition: all 0.5s ease;
}

.circle-1 {
  top: -100px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(145, 11, 27, 0.1), rgba(21, 22, 81, 0.1));
}

.circle-2 {
  bottom: -80px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: linear-gradient(45deg, rgba(21, 22, 81, 0.1), rgba(145, 11, 27, 0.1));
}

.circle-3 {
  top: 40%;
  right: -40px;
  width: 150px;
  height: 150px;
  background: linear-gradient(225deg, rgba(145, 11, 27, 0.08), rgba(21, 22, 81, 0.08));
}

.circle-4 {
  top: 30%;
  left: -60px;
  width: 120px;
  height: 120px;
  background: linear-gradient(315deg, rgba(21, 22, 81, 0.07), rgba(145, 11, 27, 0.07));
}

.circle-5 {
  bottom: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(90deg, rgba(145, 11, 27, 0.05), rgba(21, 22, 81, 0.05));
}

/* Add hover effects to circles */
.container:hover .circle-1 {
  transform: scale(1.1) rotate(10deg);
}

.trophy-section:hover .circle-2 {
  transform: scale(1.1) translateY(-10px);
}

.article-section:hover .circle-3 {
  transform: scale(1.1) rotate(-10deg);
}

/* Add additional decorative elements */
.decoration-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #910b1b;
  opacity: 0.2;
}

.dot-pattern {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: -1;
}

.dot-pattern-1 {
  top: 20%;
  right: 10%;
}

.dot-pattern-2 {
  bottom: 15%;
  left: 5%;
}

/*NEWS PAGE STYLES   -> been swaped with schedule !!!!!*/

/*SCHEDULE STYLES*/


/* Container */
.schedule-container {
  width: 80%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Section Styling */
.bordered-section {
  background-color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  padding-left:40px;
}

.bordered-section h2 {
  border-bottom: 2px solid #bdc3c7;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.bordered-section li{
    padding-bottom:10px;
}

.bordered-section p{
    padding-bottom:10px;
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table td {
  padding: 12px;
  border: 1px solid #bdc3c7;
  text-align: left;
}

.schedule-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.schedule-table td:first-child {
  font-weight: bold;
}

/* Requirements Content */
.requirements-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.categories-list{
    padding-left:20px;
}
.categories-list, .requirements-list {
  width: 48%;
}

.categories-list li, .requirements-list li {
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .schedule-container {
    width: 95%;
  }

  .requirements-content {
    flex-direction: column;
  }

  .categories-list, .requirements-list {
    width: 100%;
  }
}

/*LIBRARY STYLES*/

.news-container {
  margin: 30px auto;
  padding: 40px 20px;
  max-width: 900px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.news-container h1 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}

.news-container h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}
.news-container p {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
}

/*REWARDS STYLES*/

.rewards-container {
  margin: 60px auto;
  max-width: 900px;
  padding: 40px 30px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.rewards-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
}

.rewards-section {
  margin-bottom: 50px;
  border-left: 4px solid #48A9A6;
  padding-left: 25px;
  background-color: #ffffff;
  border-radius: 6px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.rewards-date {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

.rewards-categories h3,
.ceremony-details h3 {
  margin-top: 20px;
  color: #2b2b2b;
  font-weight: bold;
}

.rewards-categories ul,
.ceremony-details ol {
  margin-left: 25px;
  margin-top: 10px;
}

.rewards-categories ul li,
.program-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/*CONTACTS STYLES*/


.contact-container {
  margin: 40px auto;
  max-width: 800px;
  padding: 30px;
  background-color: #f9f9f9;
  border: 2px solid #48A9A6;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(72, 169, 166, 0.2);
}

.contact-title {
  color: #333;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 2px dashed #48A9A6;
  padding-bottom: 10px;
}

.contact-list {
  list-style-type: disc;
  padding-left: 40px;
  font-size: 1.1rem;
  color: #222;
}

.contact-sublist {
  list-style-type: circle;
  margin-top: 10px;
  padding-left: 20px;
  color: #555;
}

/*FOOTER STYLES*/

.footer-section{
    padding-bottom:40px;
}

.footer-credits {
  margin-top: 40px;
  text-align: center;
  color: #E4DFDA;
  background: rgba(72, 169, 166, 0.1);
  padding: 20px;
  border-top: 2px solid #48A9A6;
  border-radius: 12px;
}

/* Footer Heading */
.footer-credits h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #D4B483;
  text-shadow: 0 0 5px #000;
}

/* Developer Cards Section */
.dev-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Individual Developer Card Styling */
.dev-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #48A9A6;
  border-radius: 16px;
  padding: 20px;
  width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dev-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Developer Image Styling */
.dev-img {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  object-fit: cover;
  border: 2px solid #fff;
  position: relative; /* Make sure the message bubble can position relative to the image */
}

/* Developer Name Styling */
.dev-card p {
  font-weight: 600;
  margin: 10px 0;
  color: #fff;
}

/* Social Icons */
.dev-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.dev-socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
  border-radius: 4px;
}

.dev-socials img:hover {
  transform: scale(1.3);
  filter: brightness(1) sepia(1) hue-rotate(180deg) saturate(200%);
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
}

/* Role Tooltip */
.role-tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
  color: #dbe9f4 !important;
  font-size: 0.9rem;
  margin-top: 5px;
  padding-bottom: 20px;
}

/* Tooltip Text */
.tooltip-text {
  visibility: hidden;
  width: 240px;
  background-color: #2c3e50; /* Dark background for the tooltip */
  color: #dbe9f4 !important; /* Light text color */
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the link */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
  white-space: normal;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.3); /* Subtle shadow to help text visibility */
}

.role-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Role Button (Optional, if any) */
.tooltip-text,
.role-button {
  color: #f1f1f1;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Message Bubble Styling */
.dev-message {
  position: absolute;
  bottom: 100%; /* Position above the developer's image */
  left: 50%;
  transform: translateX(-50%);
  background-color: #48A9A6;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  max-width: 200px;
  display: none; /* Hidden by default */
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.dev-img {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  object-fit: cover;
  border: 2px solid #fff;
  position: relative; /* Make sure the message bubble can position relative to the image */
}

.dev-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #48A9A6;
  border-radius: 16px;
  padding: 20px;
  width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dev-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/*ADDITIONAL SPONSORS STYLES*/
.partners-sponsors{
    padding-bottom:30px;
}
.partners-sponsors h1 {
  font-size: 2.5em;
  margin-top: 40px;
  color: #910b1b;
  text-align: center;
}

.partner-section,
.sponsor-section {
  margin-top: 30px;
}

.partner-section p,
.sponsor p {
  margin-bottom: 20px;
}

.video-container {
  margin-top: 15px;
  max-width: 100%;
  aspect-ratio: 16/9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.sponsor {
  background-color: #f4f1ec;
  padding: 15px 20px;

  border-left: 5px solid #910b1b;
  border-radius: 5px;
  padding-left:30px;
}

.sponsor h3 {
  margin-bottom: 10px;
  color: #333;
}

.fb-link {
  margin-top: 40px;
  text-align: center;
}

.fb-link a {
  font-weight: bold;
  color: #910b1b;
  text-decoration: none;
  border: 2px solid #910b1b;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.3s;
}

.fb-link a:hover {
  background-color: #910b1b;
  color: white;
}

/*youtube video styles*/

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: 30px 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px; /* Adjust radius as needed */
  overflow: hidden;
}

}
 /*news and video styles*/
 
 .news-item {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 4px solid #910b1b;
  border-radius: 6px;
}

.news-item h2 {
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #910b1b;
}

.news-item p {
  margin-bottom: 20px;
  font-size: 1em;
  color: #333;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*REGLAMENT STYLES*/

.bordered-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.bordered-section h2 {
  margin-bottom: 10px;
  color: #222;
}

/* Responsive badge layout for categories A, B, C */
.categories-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.categories-badges span {
  background: #eee;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Requirements list */
.requirements-list {
  list-style: none;
  padding: 0 0 0 0; /* No side padding */
  margin: 0;
  padding-top: 30px;
  width: 100%;              /* Ensure full width */
  box-sizing: border-box;   /* Respect padding in width */
  display: block;           /* Prevent inline behavior */
}
.requirements-list li {
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
  line-height: 1.5;
}

.requirements-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #555;
  font-size: 1.2em;
}

/* Subsections (optional usage) */
.subsection {
  margin-bottom: 40px;
}

.subsection h3 {
  font-size: 1.2em;
  color: #444;
  margin-bottom: 10px;
  border-left: 4px solid #ccc;
  padding-left: 10px;
}

/* Responsive behavior on smaller screens */
@media (max-width: 600px) {
  .categories-badges span {
    font-size: 0.9rem;
    padding: 5px 10px;
  }

  .bordered-section {
    padding: 15px;
  }

  .requirements-list li {
    font-size: 0.95rem;
  }
}

/* ADDITIONAL FANCY STYLES*/

.email-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  color: #1d3557;
  background-color: #f1f6fb;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #cce1f5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.email-display:hover {
  background-color: #e2f0fc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.email-display i {
  color: #457b9d;
  font-size: 1rem;
}



/* Targeting sections inside .sponsors-content */
div.sponsors-content section {
    padding: 40px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: #f4f4f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

div.sponsors-content section h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

div.sponsors-content section h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

div.sponsors-content section p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

div.sponsors-content section ul {
    list-style: none;

}

div.sponsors-content section ul li {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

div.sponsors-content section a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
}

div.sponsors-content section a:hover {
    text-decoration: underline;
}

/* Section Specific Styles */
div.sponsors-content #sdorsb {
    background-color: #e7f3f7;
    border-left: 5px solid #007bb5;
}

div.sponsors-content #superhosting {
    background-color: #f4f8fc;
    border-left: 5px solid #6c757d;
}

div.sponsors-content #postbank {
    background-color: #f9f9f9;
    border-left: 5px solid #28a745;
}

div.sponsors-content #photosynthesis {
    background-color: #f3f9f7;
    border-left: 5px solid #ff7f50;
}

/* Add padding and margins for better spacing */
div.sponsors-content section h2, div.sponsors-content section h3 {
    margin-top: 0;
}

div.sponsors-content section ul {
    margin-left: 20px;
}

div.sponsors-content section a {
    display: inline-block;
    margin-top: 10px;
}


.partner-section{

    padding-left:30px;
}

.sponsor{
    padding-left:30px;
}

/* Apply left padding to all sections inside the partners-sponsors container */
.responsive-container.partners-sponsors section {
    padding-left: 20px; /* Adjust the value as needed */
}

/* Optional: Apply left padding to .sponsor divs as well */
.responsive-container.partners-sponsors .sponsor {
    padding-left: 20px; /* Adjust as needed */
}

.partner-section {
    padding: 3rem 1rem; /* Adjust as needed for top/bottom and side padding */
    border-bottom: 1px solid #ccc; /* Optional: visual separation between sections */
}

.sponsor ul{
    padding-left:20px;
}


.sponsor-logo-inline {
  max-width: 200px;
  max-width: 200px;
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-left:0.5em;
  
}

/* news bs*/
.festival-sponsors-container {
    margin-top: 40px;
    text-align: center;
}

.festival-sponsors-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.festival-sponsors-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.festival-sponsor-item {
    background: linear-gradient(135deg, #48A9A6, #56c1b6);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.festival-sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.festival-sponsor-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}
.festival-sponsors-container {
    margin-top: 40px;
    margin-bottom: 40px; /* Adds margin below sponsors */
    text-align: center;
}

.festival-sponsors-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.festival-sponsors-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* spacing between items */
}

.festival-sponsor-item {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    padding: 15px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.festival-sponsor-item:hover {
    background-color: #e3f7f6;
    border-color: #48A9A6;
    transform: translateY(-4px);
}

.festival-sponsor-name {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
}


