body {
  background-color: black;
  font-family: 'Open Sans', sans-serif;
}

main,
section,
div,
img,
button {
  position: absolute;
}

main {
  width: 1920px;
  height: 1080px;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

section {
  width: 100%;
  height: 100%;
  display: none;
}

#screen1 {
  display: block;
}

.frame {
  left: 680px;
  top: 110px;
  display: none;
}

#frame1 {
  display: block;
}

/* .intro-container {
  left: 750px;
  top: 206px;
  width: 480px;
  height: 650px;
  padding: 35px 25px;
} */

.intro-container div,
.intro-container button {

  position: static;

}
#numberOne {
  left: 940px;
  width: 140px;
  top: 370px;
}

#numberTwo {
  left: 940px;
  width: 150px;
  top: 580px;
}

#numberThree {
  left: 940px;
  width: 150px;
  top: 770px;
}

.history-txt {
  background: linear-gradient(180deg, rgba(28, 119, 176, 0.7) 0%, rgba(14, 91, 145, 0.64) 100%);
  border-radius: 10px;
  padding: 24px 26px;
  line-height: 1.6;
  color: #fff;
  text-align: left;
  font-weight: 500;
  font-size: 23px;
  width: 480px;
  height: auto;
  margin-top: 400px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.learn-more-txt {
  font-size: 24px;
  color: #0075bf;
  font-weight: 600;
  margin-top: 50px;
}

button {
  background: none;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.to-screen-btn {
  width: 600px;
  height: 300px;
  display: flex;
  align-items: center;
  margin-top: 20px;
  overflow: hidden;
}

.to-screen-btn > div:first-child {
  font-size: 29px;
  font-weight: 600;
  color: #fff;
  padding: 10px;
 
}

#heading-S1 {
  width: 60%;
  top: 100px;
  left: 90px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
}

.boxText {
  width: 40%;
  top: 400px;
  left: 1000px;
}
#text-box2 {
  top: 600px;
}
#text-box3 {
  top: 800px;
}

/* .to-screen-btn > div:last-child {
  width: 60px;
  height: 80px;
  background-color: #0075bf;
  color: #fff;
  font-size: 52px;
  padding-top: 6px;
} */

#logo{
    top: 11%;
    left: 94.4%;
    transform: translate(-50%, -50%);
    width: 115px;
}

/* Screen 2 */
/* Screen 2 - Flip Card Version */
.flip-card {
  position: absolute;
  width: 250px;
  height: 200px; /* Adjust based on your content needs */
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

 .flip-card-back {
  position: absolute;
  width: 100%;
  height: 280px;
  backface-visibility: hidden;
  border: 13px solid #0075bf;

  padding: 15px;
  background-color: white;
}

.flip-card-front{
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;

  
}
.flip-card-back {
  transform: rotateY(180deg);
  color: #0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;

}

/* Position your flip cards using existing positions */
#lakepark {
  top: 370px;
  left:245px;
}

#killarneypark {
  top: 550px;
  left: 550px;
}

#bonecho {
  top: 660px;
  left: 865px;
}

#pointpeele {
  top: 772px;
  left: 1200px;
}

/* Keep your original heading styles */
#heading1, #heading2, #heading3, #heading4 {
  color: #0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 600;
  opacity: 0;
  position: absolute;
}

/* Adjust existing styles for flip card integration */
.instructions {
  /* Keep your existing styles */
  z-index: 1; /* Ensure instructions stay on top */
}

/* Add heading positions */
/* #heading1 { top: 368px; left: 150px; }
#heading2 { top: 510px; left: 568px; }
#heading3 { top: 626px; left: 865px; }
#heading4 { top: 740px; left: 1200px; } */

#mainHeading{
     color: transparent;
    background-color: #0075bf;
    padding: 20px;
    font-size: 45px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    text-align: center;
    font-weight: 700;
    left: 50%;
    top: 8%;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

#text-placeholder {
  width: 30%;
  left: 1250px;
  top: 70px;
}
#discription-screen2{
  color: #0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  left: 80%;
  top: 19%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.instructions{
  text-align: center;
  border-radius: 50px;
  border: 10px solid #0075bf  ;
  color: #0075bf;
  background-color: #fff;
  padding: 10px;
  left: 82%;
  top: 38%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.instructions>p{
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
/* 
#lakepark{
  width: 250px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  top: 408px;
  left: 150px;
  background-color: white; 
  padding: 15px;                          
  border-radius: 8px;                      
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #0075bf;              
  color: #0075bf;
  opacity: 0;
  text-align: justify;
} */

/* #killarneypark {
  width: 250px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  padding-top: 250px;
  padding-right: 50px;
  background-color: white; 
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #0075bf;
  color: #0075bf;
  opacity: 0;
  text-align: justify;
  top: 550px;
  left: 550px;
} */

/* #bonecho {
  width: 250px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  top: 660px;
  left: 865px;
  background-color: white; 
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #0075bf;
  color: #0075bf;
  opacity: 0;
  text-align: justify;
}

#pointpeele {
  width: 250px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  top: 772px;
  left: 1200px;
  background-color: white; 
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #0075bf;
  color: #0075bf;
  opacity: 0;
  text-align: justify;
} */

#heading1{
  color: #0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  top: 368px;
  left: 150px;
  font-weight: 600; 
  opacity: 0;
}

#heading2{
  color:#0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  padding-right: 30px;
  font-weight: 600; 
  top: 510px;
  left: 568px;
  opacity: 0;
}

#heading3{
  color: #0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  top: 626px;
  left: 865px;
  font-weight: 600; 
  opacity: 0;
}

#heading4{
  color: #0075bf;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  top: 740px;
  left: 1200px;
  font-weight: 600; 
  color: #0075bf;
  opacity: 0;
}

#start-btn {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  
  padding: 18px 40px;
  font-size: 18px;
  letter-spacing: 1.5px;
  font-weight: 600;
  
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px;
  
  cursor: pointer;
  z-index: 10;
  
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

#back-btn {
  width: 60px;
  height: 100px;
  background-color: #0075bf;;
  border-radius: 0 4px 4px 0;
  color: #fff;
  font-size: 74px;
  opacity: 0.75;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

/* Heading 3 */
#mainHeadingscr3{
    color: transparent;
    background-color: #0075bf;
    padding: 20px;
    font-size: 45px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    text-align: center;
    font-weight: 700;
    left: 50%;
    top: 8%;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

#heading5{
  color: #127453;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  text-transform: underline;
  margin: 730px 0px -450px 1190px;
  font-weight: 800;
}

#heading6{
  color: #127453;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  text-transform: underline;
  margin: 730px 0px -450px 1190px;
  font-weight: 800;
}

.reference-box {
  width: 432px;
  height: 378px;
  background-color: rgba(255, 255, 255, 0.7); /* White color with 60% opacity */
  position: absolute; /* Modify positioning as per requirement */
  top: 250px; /* Adjust based on your layout */
  left: 1450px; /* Adjust based on your layout */
}

#learnMore{
  color: #0075bf;
  font-family: 'Open Sans';
  font-size: 15px;
  left:1590px ;
  top: 600px;
  font-weight: 800;
}

#mainHeadingscr4{
     color: transparent;
    background-color: #0075bf;
    padding: 20px;
    font-size: 45px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    text-align: center;
    font-weight: 700;
    left: 50%;
    top: 8%;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;

}

.subheading-box {
  width: 729px;
  height: 94px;
  background-color:white;
  position: absolute; /* Modify positioning as per requirement */
  top: 180px; /* Adjust based on your layout */
  left: 1129px; /* Adjust based on your layout */
}

#migrateDesc{
  text-align: center;
  font-family:  'Open Sans', sans-serif;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
  left:1425px;
  top:390px;
}

#foodDesc{
  text-align: center;
  font-family:  'Open Sans', sans-serif;
  font-size: 20px;
  color: #fff;
  font-weight: 800;
  left:1295px;
  top:810px;
}

.descbox2-sc4 {
  width: 488px;
  height: 323px;
  background-color: #0075bf; /* Solid blue background */
  border: 3px solid white; /* White border */
  border-radius: 25px; /* Rounded corners */
  color: white; /* Text color */
  padding: 20px; /* Optional padding for the content */
  box-sizing: border-box; /* Ensures padding and border are included in width/height */
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  left: 1268px;
  top: 718px;
}
  
.subdescbox2-sc4 {
  width: 488px;
  height: 56px;
  background-color: white; /* Solid blue background */
  border: 3px solid white; /* White border */
  border-radius: 25px 25px 0px 0px; /* Rounded corners */
  padding: 20px; /* Optional padding for the content */
  box-sizing: border-box; /* Ensures padding and border are included in width/height */
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  color: #3f7ae4;
  left: 1268px;
  top: 718px;
  font-weight: 800;
  padding-left: 132px;
}

ul{
  font-size: 20px;
  margin-left: 200px;
}
  
#container {
  width: 600px;
  height: 220px;

}

#container_in {
  margin-top: 80px;
  margin-left: 40px;
} 

.heading {
  font-size: 24px;
  color: #0075bf;
  padding: 15px;
}

#header {
color: transparent;
  background-color: #0075bf;
  padding: 20px;
  font-size: 45px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
  text-align: center;
  font-weight: 700;
  left: 50%;
  top: 8%;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

#scn4{
 height: 400px;
}

.bird-slider-btn {
 position: absolute;
    top: 850px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #0075bf;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    padding: 14px 24px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

.bird-slider-btn:hover {
  transform: translateX(-50%) scale(1.02);
}

.blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  filter: blur(15px) grayscale(100%);
  background: rgba(0, 0, 0, 0.7);
  z-index: 15;
}
/* balck and white */
.black-and-white-container {
  /* Apply a 100% grayscale filter to the div and all its children */
  filter: grayscale(100%);
  /* For older Safari versions, use the -webkit- prefix */
  -webkit-filter: grayscale(100%);
  /* Optional: add a smooth transition for interactive effects, e.g., hover */
  transition: filter 0.5s ease;
}
.blur-overlay.hidden {
  display: none;
}

.bird-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.bird-layer.hidden {
  display: none;
}

.bird-layer-content {
  width: 1800px;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  overflow: hidden;
}

/* background layer */
.bird-layer-content::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url(./../img/modal-bg.jpg) center/cover no-repeat;

  filter: grayscale(100%);   /* black & white background only */

  z-index: 0;
}

/* keep content above background */
.bird-layer-content > * {
  position: relative;
  z-index: 1;
}
/* keep your existing grayscale layer */
.bird-layer-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(./../img/background--.jpg) center/cover no-repeat;
  filter: grayscale(100%);
  z-index: 0;
}

/* sunlight overlay */
.bird-layer-content::after {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top left,
    rgba(200, 141, 14, 0.6) 0%,
    rgba(255, 218, 8, 0.241) 20%,
    rgba(255, 255, 255, 0.1) 35%,
    transparent 60%
  );

  pointer-events: none;
  z-index: 1;
}

/* keep content above both layers */
.bird-layer-content > * {
  position: relative;
  z-index: 2;
}
.bird-layer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #103c7b;
  font-size: 30px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 30;
}

.bird-area {
  display: grid;
  grid-template-columns: 1fr 600px 1fr;
  gap: 20px;
  flex: 1;
  align-items: center;
  width: 100%;
  max-width: 1600px;
}
.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch; /* ensures equal height */
}

.bird-info {
      color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    line-height: 1.6;

  background: rgba(255, 255, 255, 0.15);   /* more transparent */
  backdrop-filter: blur(12px);             /* glass blur */
  -webkit-backdrop-filter: blur(12px);     /* Safari support */

  border-radius: 16px;
  padding: 20px;

  height: 300px;
  overflow-y: auto;

  border: 1px solid rgba(255, 255, 255, 0.3); /* subtle glass edge */
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bird-info-left {
  text-align: left;   /* usually better readability */
  justify-self: end;
  width: 400px;
}

.bird-info-right {
  justify-self: start;
  text-align: left;
   width: 400px;
}

.bird-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#bird-popup-image {
     width: auto;
    max-width: 120%;
    max-height: 630px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    left: 510px;
}

.bird-stand {
      position: absolute;
    bottom: -220px;
    left: 170%;
    transform: translateX(-50%);
    width: 400px;
    height: 60px;
    background: #666;
    border-radius: 15px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.35);
}

.bird-controls {
  position: absolute;
  bottom: -300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* arrows base */
.bird-arrow {
  font-size: 40px;
  background: rgba(6, 77, 115, 0.5);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}

/* push arrows outward */
#bird-prev {
  position: absolute;
  left: 40px;
}

#bird-next {
  position: absolute;
  right: 40px;
}

/* number stays centered */
#bird-number {
  font-size: 20px;
  color: #333;
}

.bird-arrow:hover {
  transform: scale(1.1);
}

#bird-number {
  font-weight: 700;
  color: #0f172a;
  font-size: 20px;
  background: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* #scn4 div{
  position: static;
} */

h3 {
  background-color: #0075bf;
  color: #fff;
  padding: 15px 20px;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.scn4-cont{
  margin-bottom: 20px;
  width:400px;
  height: 600px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  padding-bottom: 20px;
 
  border-radius: 20px;
  
}

.scn4-cont p{
  margin: 0 10px;
  font-size: 14px;
  color: #0075bf;
}

.scn4-cont>h5{
  margin: 0 10px;
  font-size: 14px;
  text-decoration: underline;
  font-weight: 600;
  color: #0075bf;
}

.scn4-cont>ul>li>p{
  font-size: 14px;
  color: #0075bf;
}
.scn4-cont>ul{
  list-style-type: disc;
  color: #0075bf;
}

.scn4-cont>ul>li>p>span{
  font-weight: 600;
}

#cornerBird{
  width: 800px;
  left: 1120px;
  top: 650px;
}

#flyingBird{
  width: 800px;
left: -150px;
  top: -50px;
  rotate: -20deg;
}

.bird-heading {
  -webkit-text-stroke: 0.50px white;
  font-size: 40px;
color: transparent;
}

#birdBoxOne {
  top: 100px;
  left: 200px;
}

#birdBoxTwo {
  top: 40px;
  left: 760px;
  width: 420px;
}

#birdBoxThree {
  top: 40px;
  left: 1300px;
  width: 550px;
}

#birdOne {
  margin-top: 220px;
}

#birdTwo {
  margin-top: 280px;
}

#birdThree {
  margin-top: 280px;
}

/* park modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  max-width: 820px;
  width: 88%;
  max-height: 760px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: left;
  font-family: 'Open Sans', sans-serif;
}

.modal-content, .modal-content * {
  position: static;
}

.modal-content {
  position: relative;
}

.modal-top-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 22px;
  cursor: pointer;
  line-height: 36px;
}


.modal-inner {
  padding: 24px 24px 30px;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

#modal-title {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.1;
  color: #0f172a;
  font-weight: 700;
}

.modal-close {
  border: none;
  background: #f5f5f5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 38px;
  cursor: pointer;
  color: #0f172a;
  font-weight: 700;
}

#modal-description {
  margin-top: 14px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #334155;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #64748b;
  font-size: 0.95rem;
}

.modal-meta .tag {
  background: #e2e8f0;
  color: #1e293b;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
}

.modal-action {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.modal-action button {
  padding: 11px 20px;
  background: #2563eb;
  border: none;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.modal-action button:hover {
  background: #1e40af;
}


/* start text */

.main-title-container {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  max-width: 620px;
  z-index: 5;
}

.main-title {
  font-size: 114px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 250px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.9)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));

}

.main-subtitle {
  font-size: 20px;
  line-height: 1.5;
  opacity: 0.9;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255,255,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
  }
}

#start-btn {
  animation: pulseGlow 2.5s infinite;
}

