/*General */


@import url("https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap");


*{
    /*Removes all generated whitespace, ensures padding/margins is ones that we want*/
    margin: 0;
    padding: 0;
}

/*Apply styles to the body*/
body {
    /*Type of font for the body*/
    font-family: "Sanista";
    /*backround color/image of whole page is done here*/
}

html{
    /*scroll when navigating is smooth rather than instant*/
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}

/*TRANSITION for all links */

a,
.btn {
    transition: all 300ms ease;

}

/*DESKTOP NAV*/

.pretty-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    padding: 0 4%;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
    border-radius: 10%;
}

.nav-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #003366;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background: #f1f1f1;
    color: #0055aa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-links .highlight {
    background: #FFD166;
    color: #222;
    font-weight: 600;
}

.nav-links .highlight:hover {
    background: #efb300;
    color: black;
}

a{
    /*Change color of links*/
    color: blue;
    text-decoration: none;
    text-decoration-color:white;
}

/*Link elements display when a user hovers over them*/
a:hover{
    color: gold;
    /*Adds underline under links when hovered over*/
    text-decoration: underline;
    /*Spaces the underline further from text*/
    text-underline-offset: 1rem;
    text-decoration-color: rgb(21, 21, 21);
}

.donate{
    color: #fff;
    text-shadow: 2px 1px 2px rgba(46, 46, 46, .3);
    background-color: #fbb713;
    border-color: #fbb713;
    text-decoration: none !important;
}
.donate:hover{
    color: lightgrey !important;
}

/*Name*/
.logo {
    display: flex;
    justify-content: center;
    height: 17vh;
}

/*When person hovers over name (logo)*/
.logo:hover{
    /*makes the cursor remain normal when hovering*/
    cursor: default;
}

/*HAMBURGER MENU*/

#hamburger-nav{
    /*In desktop menu, not displayed*/
    display: none;
}

.hamburger-menu {
    position: relative;
    z-index: 1000;
}

.hamburger-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span{
    width:100%;
    height: 2px;
    background-color: black;
    /*Make hamburger method turn into x when clicked*/
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;

    /* Add these 👇 */
    z-index: 999;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li{
    /*Remove bullet points*/
    list-style: none;
}

.menu-links.open{
    max-height: 300px;
}

/*For the span element, when open is activated*/
.hamburger-icon.open span:first-child{
    /*Transforming line by rotating it into an x, move it over since it will be screwed when rotated*/
    transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2){
    /*Remove line*/
    opacity: 0;
}
.hamburger-icon.open span:nth-child(3){
    /*Transforming line by rotating it into an x, move it over since it will be screwed when rotated (opposite of first span*/
    transform: rotate(-45deg) translate(10px, -5px);
}

/*When open is not activated*/
.hamburger-icon span:first-child{
    transform: none;
}
.hamburger-icon span:nth-child(2){
    opacity: 1;
}
.hamburger-icon span:nth-child(3){
    transform: none;
}

/*SECTIONS*/

section {
    padding-top: 2vh;
    height: auto;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container{
    display: flex;
}

/*PROFILE SECTION*/

#profile {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0,0,0,0.4)),
                 url('./assets/groupPicture.jpg') center 25% / cover no-repeat;
    /* background: url('./assets/groupPicture.jpg') center 25% / cover no-repeat; */
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

/* Fade-slide animation */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonPop {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Format of profile picture*/
.section_pic-container{
    display: flex;
    height: 65vh;
    width: auto;
    margin: auto 0;
}

.section__text{
    align-self: center;
    text-align: center;
}

.section__text p{
    font-weight: 600;
}

.section__text_p1{
    text-align: center;
}
.section__text__p2{
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.section__text_p3{
    font-size: 1.5rem;
    /*margin-bottom: 1rem;*/
    align-self: center;
    width: 35rem;
}

.title{
    font-size: 3rem;
    text-align: center;
    padding-bottom: 3rem;
    padding-top: 2rem;
    margin: 0;
}

/*BUTTONS*/
.btn-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Base button style */
.btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  /* Blue button */
  .btn-color-1 {
    background-color: #0052cc; /* UA deep blue */
    color: white;
  }

  .btn-color-1:hover {
    background-color: #003d99;
    transform: translateY(-2px);
  }

  /* Yellow button */
  .btn-color-2 {
    background-color: #FFD166; /* UA yellow */
    color: white;
  }

  .btn-color-2:hover {
    background-color: #e0ac00;
    transform: translateY(-2px);
  }

/*ABOUT SECTION*/

.landing-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    animation: fadeInSlide 1s ease-out forwards;
}

.landing-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #f2f2f2;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    animation: fadeInSlide 1.2s ease-out forwards;
}

.landing-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInSlide 1.4s ease-out forwards; 
}

.landing-btn {
    background-color: #FFD166;
    border: none;
    color: #222;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: buttonPop 0.5s ease-out 1.6s forwards;
    transform: scale(0.95);
    animation-fill-mode: forwards;
}

.landing-btn:hover {
    background-color: #efb300;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

#about{
    position:relative;
    height: 95vh;
    margin: 0;
}


.about-section-container {
    display: flex;             /* Enables Flexbox */
    height: 80%;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.about-pic {
    height: 65vh;             /* Maintain aspect ratio */
    width: auto;             /* Image size */
    flex-shrink: 0;             /* Prevent the image from shrinking */
    border-radius: 12%;
    margin: 15px;
}
.about-text{
    display: flex;
    justify-content: center;

    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.details-container{
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}

.section__pic-container{
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

/*CONTACT*/

#contact{
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 10vh !important;
    margin: 0;
}

.contact-info-upper-container{
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53,53,53) 0.1rem solid;
    border-color: rgb(163,163,163);
    background: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
}

.contact-info-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.contact-info-container p{
    font-size: larger;
}

.email-icon{
    height: 2rem;
    width: auto;
    margin: .71rem;
}

.instagram-icon{
    height: 2rem;
    width: auto;
    margin: .71rem;
}
.facebook-icon{
    height: 3rem !important;
    width: auto;

}

.hogsync-icon{
    height: 3rem !important;
    width: auto;
}


/*FOOTER SECTION*/

footer{
    height:26vh;
    margin: 0 1rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

footer p{
    text-align: center;
    font-size: 0.5rem;
}

/*ICON*/

.icon{
    cursor: pointer;
    height: 2rem;
}

/*RAISERS*/



  #raiserIntro {
    padding: 4rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Pull content to the top */
    background: linear-gradient(135deg, #dbeeff, #ffffff);
    border-radius: 2rem;
    /*box-shadow: 0 6px 20px rgba(252, 182, 159, 0.3);*/
    min-height: 40vh;
  }

  #raiserIntro .title {
    font-size: 3rem;
    color: #333;
    text-align: center;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeSlideUp 1s ease forwards;
    opacity: 0;
  }

  .intro_text_container {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    animation: fadeSlideUp 1.3s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
  }

  .intro_text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255 255 255 / 0.9);
    margin: 0 2rem;
  }

  /* Buttons container */
  #raiserIntro .btn-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeSlideUp 1.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
  }

  /* Pulsing glowing buttons */
  #raiserIntro .btn {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    border-radius: 2rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
  }

  /* Become a Raiser button - coral orange with glow */


  /* Support Raisers button - soft blue with glow */

  /* Animations */

  @keyframes fadeSlideUp {
    0% {
      opacity: 0;
      transform: translateY(25px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulseGlow {
    0%, 100% {
      box-shadow: 0 0 15px #ff6f61;
    }
    50% {
      box-shadow: 0 0 30px #ff6f61;
    }
  }

  @keyframes pulseGlowBlue {
    0%, 100% {
      box-shadow: 0 0 15px #4a90e2;
    }
    50% {
      box-shadow: 0 0 30px #4a90e2;
    }
  }

/* --------- */



#currentRaisers, .title{
    padding-bottom: 0;
}

#pastRaisers, .title{
    padding-bottom: 0;
}


.card{
    width: 250px;
    height:368px;
    margin:50px auto 0;
    perspective: 1000px;
    display: inline-block;
    padding-right: 7rem;
    padding-left: 7rem;
    padding-bottom: 10rem;
}

.card-inner{
    width:100%;
    height:100%;
    position:relative;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.front, .back{
    width:100%;
    height: 100%;
    border-radius: 15px;
    position:absolute;
    backface-visibility: hidden;
}

/*Raiser list. Copy for each new raiser and change backround to specified image*/
.frontChia{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/chiaProfile.PNG);
    background-size: cover;
    background-position: center;
}

.frontCarina{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/carinaProfile.jpg);
    background-size: cover;
    background-position: center;
}

.frontKlancy{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/klancyProfile.jpg);
    background-size: cover;
    background-position: center;
}

.frontOllie{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/ollieProfile.png);
    background-size: cover;
    background-position: center;
}
.frontRocket{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/rocketProfile.png);
    background-size: cover;
    background-position: center;
}

.frontStash{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/stashProfile.jpg);
    background-size: cover;
    background-position: center;
}
.frontTiki{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/tikiProfile.jpg);
    background-size: cover;
    background-position: center;
}

.frontPoke{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/pokeProfile.jpg);
    background-size: cover;
    background-position: center;
}
.frontFleur{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/fleurProfile.png);
    background-size: cover;
    background-position: center;
}

.frontRainbow{
    padding: 60px 40px;
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    color:#fff;
    background:url(assets/rainbowProfile.jpg);
    background-size: cover;
    background-position: center;
}

.front h2{
    font-weight: 500;
}

.front p{
    color: white;
    font-size:13px;
}

.front button{
    width: 120px;
    border:1px solid #fff;
    background: transparent;
    border-radius: 50px;
    padding: 8px 20px;
    cursor: pointer;
    margin-top: 20px;
    color:white;
}

.back{
    background:rgb(240, 239, 239);
    color: #333;
    padding: 60px 40px;
    transform: rotateY(180deg);
}

.back h1{
    font-size: 35px;
    line-height: 55px;
    margin-bottom: 10px;
}
.back h1 span{
    font-weight: 400;
}
.back p{
    font-size: 14px;
}
.back p span{
    font-weight: 600;
}
.back img{
    width: 60px;
    border-radius: 12px;
}
.row{
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.col{
    flex: 1;
    text-align: center;
    color: #555;
    font-size: 12px;
    position: relative;
}
.col h2{
    font-size: 20px;
}
.col::after{
    content: '';
    width: 1.5px;
    height:20px;
    background: black;
    position: absolute;
    top: 5px;
    right: 0;
}
.col:last-child:after{
    display: none;
}
.col p{
    margin-top: 5px;
}
.back button{
    background:black;
    color:white;
    border: 0;
    outline: 0;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 14px;
    margin-right: 15px;
    box-shadow: 0 8px 10px rgba(120, 0, 173, 0.3);
}
.back a{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    background-size: cover;
}
.back a img{
    width: 90%;
}
.card:hover .card-inner{
    transform: translate(70px) rotateY(180deg);
    transform-origin: center;
}

/*Support*/
.donate-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px;
    animation: fadeIn 0.8s ease-out;
    background: linear-gradient(135deg, #dbeeff, #ffffff);
  }

  .donate-side-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }

  .donate-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 2px solid #e0e0e0;
    text-align: center;
  }

  .donate-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .donate-text {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.6;
    color: #555;
  }

  .donate-button {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 14px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-left: 10px;
    margin-right: 10px;
  }

  .donate-button:hover {
    background-color: #357ab8;
  }
/*Get Involved*/
.info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5faff, #ffffff);

  }

  .info-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #d6e0f5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 75px;
    animation: fadeIn 0.8s ease-out;
  }

  .info-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .info-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #003d80;
    font-weight: 700;
  }

  .info-text {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .info-button {
    padding: 12px 24px;
    background-color: #0053ba;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .info-button:hover {
    background-color: #003f91;
    transform: scale(1.03);
  }

  /*Events*/
  .events-page {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #dbeeff, #ffffff);
  }

  .events-wrapper {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
  }

  .events-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #003366;
  }

  .events-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #333;
  }

  .calendar-container {
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #4a90e2;
    box-shadow: 0 4px 24px rgba(74, 144, 226, 0.3);
    transition: transform 0.3s ease;
  }

  .calendar-container:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 28px rgba(74, 144, 226, 0.4);
  }

  .calendar-container iframe {
    width: 100%;
    height: 600px;
    border: none;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* --- Media Queries for Mobile Responsiveness --- */

/* For screens smaller than 768px (common tablet/mobile breakpoint) */
@media screen and (max-width: 768px) {
    /* Navigation Bar */
    .pretty-nav {
        height: 10vh; /* Adjust height for smaller screens */
        padding: 0 2%; /* Reduce horizontal padding */
    }

    .nav-logo {
        gap: 0.5rem; /* Reduce gap between logo and title */
    }

    .nav-logo img {
        height: 40px; /* Smaller logo for mobile */
    }

    .nav-title {
        font-size: 1.5rem; /* Smaller title font size */
    }

    .nav-links {
        display: none; /* Hide desktop nav links on mobile */
    }

    #desktop-nav {
        display: none;
    }
    #hamburger-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    /* Profile Section */
    #profile {
        height: auto; /* Allow height to adjust based on content */
        padding: 2rem 1rem; /* Adjust padding */
        justify-content: flex-start; /* Align content to the top */
    }

    .section_pic-container {
        height: 40vh; /* Adjust image height for mobile */
        margin-bottom: 2rem; /* Add some space below the image */
    }

    .section__text_p2 {
        font-size: 1.25rem; /* Smaller subtitle font size */
        margin-bottom: 1rem;
    }

    .section__text_p3 {
        font-size: 1rem; /* Smaller description font size */
        width: 100%; /* Full width for text on mobile */
        padding: 0 1rem; /* Add padding to prevent text from touching edges */
        box-sizing: border-box; /* Include padding in the width calculation */
    }

    .title {
        font-size: 2.2rem; /* Smaller main title font size */
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .landing-title {
        font-size: 2.5rem; /* Adjust landing title for mobile */
    }

    .landing-subtitle {
        font-size: 1.1rem; /* Adjust landing subtitle for mobile */
    }

    .landing-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 1rem;
        opacity: 1;
        
    }

    .landing-btn {
        background-color: #FFD166;
        border: none;
        color: #222;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 2rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        
        transform: scale(0.95);
        animation: buttonPop 0.5s ease-out 1.6s forwards;
        animation-fill-mode: forwards; /* This makes sure the 100% state sticks */

        /* Keep existing styles */
        opacity: 1 !important; /* Force it to be visible */
        animation: none !important; /* Temporarily disable the animation */
    /* REMOVE THIS LINE AFTER TESTING: animation-fill-mode: forwards; */
    }


    /* About Section */
/* About Section */
    #about {
        height: auto;
        padding-bottom: 0rem; /* Add bottom padding */
    }

    .about-section-container {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center; /* Center items */
        padding: 0 1rem; /* Add horizontal padding */
    }

    .about-text {
        order: -1; /* This makes the text appear first (on top) */
        max-width: 100%; /* Allow text to take full width */
        padding: 0 1rem;
        box-sizing: border-box;
        text-align: center;
    }

    .about-pic {
        order: 1; /* This makes the picture appear after the text (on bottom) */
        height: 45vh; /* Adjust image height for mobile */
        margin: 1rem 0; /* Adjust margin */
    }

    .details-container {
        width: 90%; /* Adjust width for better fit on mobile */
        margin: 1rem auto; /* Center containers */
    }

    /* Contact Section */
    #contact {
        height: auto !important; /* Allow height to adjust for content */
        padding: 2rem 0; /* Add top/bottom padding */
    }

    .contact-info-upper-container {
        flex-direction: row; /* Stack contact info vertically */
        padding: 1rem;
        width: 90%; /* Adjust width */
        /*Extra Comment*/
    }

    .contact-info-container {
        flex-direction: column; /* Stack icon and text */
        gap: 0.5rem;
        margin-bottom: 1rem; /* Add space between contact items */
    }

    /* .email-icon,
    .instagram-icon,
    .facebook-icon,
    .hogsync-icon {
        height: 2.5rem !important; 
        margin: 0;
    } */

    .contact-info-container p {
        font-size: 1rem; /* Smaller font size for contact text */
    }

    /* Footer */
    footer {
        height: auto; /* Allow footer height to adjust */
        padding: 1rem 0;
    }

    footer p {
        font-size: 0.7rem; /* Increase font size for readability */
    }

    /* Raisers Section (Intro) */
    #raiserIntro {
        padding: 2rem 1rem;
        min-height: auto;
    }

    #raiserIntro .title {
        font-size: 2.2rem;
    }

    .intro_text_container {
        margin: 0 auto 1.5rem auto;
    }

    .intro_text {
        font-size: 1rem;
        margin: 0 1rem;
    }

    #raiserIntro .btn-container {
        flex-direction: column;
        gap: 1rem;
    }

    #raiserIntro .btn {
        width: 90%;
        font-size: 1rem;
        padding: 0.6rem 2rem;
    }

    /* Media Query Raiser Cards (unchanged functionality, but layout adjustment) */
    #currentRaisers, #pastRaisers {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 2rem;
    }
    .card {
        width: 100%;
        max-width: 300px;
        height: 368px;
        margin: 1rem auto;
        perspective: 1000px;
        display: block;
        padding: 0;
    }
    
    .card-inner {
        width: 100%;
        height: 100%;
        position: relative;
        transition: transform 1s;
        transform-style: preserve-3d;
        box-sizing: border-box;
    }
    
    .front, .back {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        position: absolute;
        backface-visibility: hidden;
        box-sizing: border-box;
    }

    /* Support Page */
    .donate-page-wrapper {
        padding: 30px 15px;
        flex-direction: column; /* Stack image and content vertically */
    }

    .donate-side-image {
        max-width: 90%; /* Make image take more width */
    }

    .donate-container {
        padding: 30px 20px;
        width: 90%; /* Adjust width */
    }

    .donate-title {
        font-size: 2rem;
    }

    .donate-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .donate-button {
        padding: 12px 20px;
        font-size: 1rem;
        margin-left: 5px;
        margin-right: 5px;
    }

    /* Get Involved Page */
    .info-wrapper {
        grid-template-columns: 1fr; /* Single column for containers */
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .info-container {
        padding: 2rem;
        margin-bottom: 20px; /* Adjust margin */
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-text {
        font-size: 0.95rem;
    }

    .info-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Events Page */
    .events-page {
        padding: 30px 15px;
    }

    .events-wrapper {
        padding: 30px 20px;
    }

    .events-title {
        font-size: 2rem;
    }

    .events-description {
        font-size: 1rem;
    }

    .calendar-container iframe {
        height: 400px; /* Reduce iframe height for smaller screens */
    }
}

/* For even smaller screens (e.g., small phones) */
@media screen and (max-width: 480px) {
    /* General adjustments */
    body {
        font-size: 14px; /* Slightly smaller base font size */
    }
    #raisers{
        height: auto;
    }
    .pretty-nav {
        padding: 0 1rem;
    }

    .nav-logo img {
        height: 35px;
        /*reupload*/
    }

    .nav-title {
        font-size: 1.3rem;
    }

    .menu-links a {
        font-size: 1.2rem;
    }

    .section__text_p2 {
        font-size: 1rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* About Section */
    .about-pic {
        height: 35vh;
    }

    .details-container {
        padding: 1rem;
    }

    /* Contact Section */
    /* .contact-info-upper-container {
        margin: 1rem auto;
    }

    .contact-info-container {
        margin-bottom: 0.5rem;
    }

    .email-icon,
    .instagram-icon,
    .facebook-icon,
    .hogsync-icon {
        height: 2rem !important;
    } */

    /* Raiser Cards */
    .card {
        width: 95%; /* Make cards take more width on very small screens */
        padding-bottom: 5rem;
        padding-top: 5rem;
        margin: 30px auto 0;
    }

    .card:hover .card-inner{
        transform: translate(0) rotateY(180deg); /* Adjust transform for stacked cards */
    }

    /* Support Section */
    .donate-page-wrapper {
        padding: 20px 10px;
    }

    .donate-container {
        padding: 25px 15px;
    }

    .donate-title {
        font-size: 1.8rem;
    }

    .donate-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .donate-button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* Get Involved Section */
    .info-container {
        padding: 1.5rem;
    }

    .info-title {
        font-size: 1.3rem;
    }

    .info-text {
        font-size: 0.85rem;
    }

    .info-button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    /* Events Section */
    .events-page {
        padding: 20px 10px;
    }

    .events-wrapper {
        padding: 25px 15px;
    }

    .events-title {
        font-size: 1.8rem;
    }

    .events-description {
        font-size: 0.9rem;
    }

    .calendar-container iframe {
        height: 300px;
    }
    .intro_text_container {
        max-width: 900px;
        margin: 0 auto 2rem auto;
        animation: fadeSlideUp 1.3s ease forwards;
        animation-delay: 0.3s;
        opacity: 0;
        padding-bottom: 2rem;
      }
      .card-logo{
        display: none;
      }
      .back{
        height: fit-content;
      }

      .landing-title {
        font-size: 2rem; /* Further reduce title size */
        padding: 0 0.5rem; /* Reduce padding slightly */
    }

    .landing-subtitle {
        font-size: 1rem; /* Further reduce subtitle size */
        padding: 0 0.5rem; /* Reduce padding slightly */
    }

    .landing-btn {
        width: 95%; /* Even wider buttons */
    }
    #raiserIntro {
        padding: 2rem 1rem;
        min-height: auto;
        margin-bottom: 2rem;
    }
    #currentRaisers{
        padding-top: 2rem;
        padding-bottom: 0rem;
    }
}
