* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

@font-face {
  font-family: 'MyFont';
  src: url('/fonts/AreaExtended-Regular.woff2') format('woff2'),
       url('/fonts/AreaExtended-Regular.woff') format('woff'),
       url('/fonts/AreaExtended-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

#navbar_logo,
.navbar_links,
.navbar_btn .button {
  font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: #131313;
    height: 80px;   
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;   
    
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar_logo {
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip : text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    gap: 8px;
    align-items: center;
    display: flex;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.navbar_logo_img {
  height: 30px;       /* adjust to match font size */
  width: auto;
  margin-right: 8px;  /* space between logo and text */
}

.fa-gem {
    margin-right: 0.5rem;
    
}

.navbar_menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;

}


.navbar_item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
}

.navbar_links {
    color: #fff;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar_btn {
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;    
align-items: center;
text-decoration: none;
white-space: nowrap;
padding:10px 20px;
height: 75%;
width: 120px;
border: none;
outline: none;
border-radius: 4px;
background: #a2c9a7;
color: #fff;
}



.button:hover {
    background: #095540;
    color: #fff;
    transition: all 0.3s ease;

}

.navbar_links:hover {
    color: #095540;
    transition: all 0.3s ease;
}   

@media screen and (max-width: 960px) {
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar_menu {
        display: grid;
        grid-template-columns: 1fr;
        position: absolute;
        top: 80px; /* directly under the navbar */
        left: 0;
        width: 100%;
        background-color: #131313;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        z-index: 998;
    }
    
    .navbar_menu.active {
        opacity: 1;
        height: 50vh; /* adjust based on how much content you have */
    }
    

    #navbar_logo {
        padding: 0 1rem;
        
    }   

    #mobile-menu .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar_item {
        width: 100%;
    }

    .navbar_links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        
    }

    #mobile-menu {
        
            position: absolute;
            top: 20px;
            right: 20px;
            cursor: pointer;
            z-index: 1000;
        
        
    } 
    
    .navbar_btn {
        padding-bottom: 2rem;
    }

    .button {
        display:flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 60px;
        margin: 0;

    }

    .navbar_toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {  
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {  
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {  
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* MAIN SECTION */


.main_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background: #141414;    
    z-index: 1;
    width: 100%;    
    max-width: 1300px;
    padding: 0 50px;
}

.main_content h1 {
    font-size: 4rem;
    background-color: #a2c9a7;
   font-family: 'Montserrat', sans-serif;
    background-size: 100%;
    -webkit-background-clip : text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main_content p {
    margin-top: 1rem;
    font-family: 'MyFont', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight:700;
    color: #a2c9a7;
}

.main_btn {
    font-size: 1rem;
    background: #a2c9a7;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
    overflow: hidden;
}

.main_btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.main_btn:after {
    position: absolute;
    content: '';
    top:0;
    left: 0;
    width: 0;
    height: 100%;
    background: #095540;
    transition: all 0.35s;
    border-radius: 4px;
}

.main_btn:hover {
    color: #fff;
}

.main_btn:hover:after {
    width: 100%;
}

.main_img-container {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* prevents bleed when resizing */
}

#main_img {
  max-width: 80%;       /* scales responsively */
  height: auto;         /* keeps natural aspect ratio */
  object-fit: contain;  /* ensures no stretching */
  border-radius: 4px;

  opacity: 0; /* start invisible */
  animation: fadeIn 1.5s ease-in forwards; /* play once on load */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* MEDIA QUERIES(mobile responses) */
@media screen and (max-width: 768px) {
    .main_container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto; 
        height: 90vh;
        
    }

    .main_content  {
       text-align: center;
       margin-bottom: 4rem
    }

    .main_content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main_content p {
        margin-top: 1rem;
        font-size: 1.5rem;

        
    }

    #main_img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
  }
}   

@media screen and (max-width: 480px) {
    
    .main_content h1 {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .main_content p {
        margin-top: 2rem;
        font-size: 1.5rem;
    }

    .main_btn {
        padding: 12px 36px;
        margin: 2.5rem 0;   
    }

    
}

/* Announcements SECTION */
.announcements {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40vh;
    background: #141414;
}

.announcements h1 {
    background-color: #a2c9a7;
    
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip : text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.announcement_card {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    text-align: center;
    color: #e0e0e0;
}
.announcement_card p {
    margin: 10px 0;
    font-size: 1.2rem;
    font-family: 'MyFont', Arial, sans-serif;
    font-weight: 500;
    padding-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .announcements {
    margin-top: 4rem; /* adds breathing room */
    height: auto;     /* allows the section to expand naturally */
    padding-top: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .announcements {
    margin-top: 5rem; /* slightly more for very small screens */
    padding-top: 2.5rem;
  }
}



/* Services SECTION */

.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0; 
    background: #141414;
}

.services h1 {
    background-color: #a2c9a7;
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip : text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.services_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services_card {
    margin: 1rem;
    height: 525px;
    width: 400px;
    border-radius: 4px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.6) 100%), url('../images/cover.png');
    background-size: cover;
    position: relative;
    color: #fff;
}

.services_card:nth-child(2) {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.6) 100%), url('../images/AbtAuthorCover.jpg');
}   
.services_card:nth-child(3) {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.6) 100%), url('../images/getinvolved.jpg');
}

.services h2 {
    position: absolute;
    top: 350px;
    left: 30px;
}

.services_card p {
    position: absolute;
    top: 400px;
    left: 30px;
}

.services_card button {
    position: absolute;
    color: #fff;
    padding: 10px 20px;
    border: none;   
    outline: none;
    border-radius: 4px;
    background: #f77062;
    top: 440px;
    left: 30px;
    font-size: 1rem;
    cursor: pointer;
}

.services_card:hover {
    transform: scale(1.075);
    transition: 0.2s ease-in;
    cursor: pointer;
}

@media screen and (max-width: 960px) {
    .services {
       height: 1600px;
    }

    .services h1 {
        margin-top: 12rem;
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .services {
        height: 1400px;
    }

    .services h1 {
       
        font-size: 1.2rem;
    }

    .services_card {
        width: 300px;
        
    }

    
}

.connect {
        display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    background: #141414;
    }

    .connect h1 {
    background-color: #a2c9a7;
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip : text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.connect_socials {
  display: flex;
  justify-content: center;   /* center them nicely */
  align-items: center;
  gap: 3rem;                 /* space between icons */
  max-width: 800px;          /* let them breathe a little more */
  margin: 0 auto;
}

.connect_socials a {
  font-size: 2.8rem;          /* slightly larger */
  color: #a2c9a7;
  transition: transform 0.2s ease, color 0.2s ease;
}

.connect_socials a:hover {
  transform: scale(1.2);
  color: #095540;            /* hover effect with your darker green */
}
/* Footer Section */