*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header {
    min-height: 100vh;
    width: 100%;
    background-color: #009688; /* teal green */
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

nav{
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 110px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #4DB6AC;
    display: block;
    margin: auto;
    transition: .5s;    
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 20px 0 40px;
    font-size: 14px;
    color: #fff;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero-btn:hover{
    background: rgba(255, 255, 255, 0.4); /* less transparent on hover */
    border: 1px solid #fff; /* keep border white */
    /*color: #000; /* optional: dark text on hover for readability */
}

nav .fa{
    display: none;
}

@media(max-width: 700px)
{
    .text-box h1{
        font-size: 20px;
    }
   .nav-links ul li{
        display: block;
    }
    .nav-links
    {
        position: absolute;
        background: #009688;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        border: 1px solid #fff; /* optional: add a white border */
    }

    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
    }

    .nav-links ul{
        padding: 30px;
    }
}

/*---------- gallery --------*/

.gallery{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

.gallery p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.image-row {
  display: flex;
  overflow-x: auto;      /* scroll horizontal */
  gap: 15px;
  padding: 10px;
  scroll-snap-type: x mandatory; 
}

.image-row img {
  height: 200px;
  border-radius: 10px;
  flex-shrink: 0;
  scroll-snap-align: start;
  object-fit: cover;
}

@media (max-width:700px){
    .row{
        flex-direction: column;
    }
} 

/*--------------Footer---------------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: #009688;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: #009688;
}


/*--------------- About Us Page --------------*/


.sub-header{
    height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/group_banner.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 160px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    display: flex;              /* makes text + image sit side by side */
    align-items: center;        /* vertically centers content */
    justify-content: space-between;
    flex-wrap: wrap; 
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}

/* Teal button variation */
.teal-btn {
    background: #009688;   /* solid teal */
    border: 1px solid #009688;
    color: #fff;           /* keep text white */
}

/* Hover for teal button */
.teal-btn:hover {
    background: #00796B;   /* slightly darker teal on hover */
    border: 1px solid #00796B;
    color: #fff;
}

/*---------- officers --------*/

.officers {
  text-align: center;
  padding: 50px 20px;
}

.officer-row {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.officer-card {
  width: 250px;
  height: 300px;
  perspective: 1000px;
}

.officer-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 2s;
  transform-style: preserve-3d;
}

.officer-card:hover .officer-inner {
  transform: rotateY(180deg);
}

.officer-front,
.officer-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.officer-front {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
}

.officer-front img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  border-radius: 10px;
}

.officer-front h3 {
  margin: 10px 0 5px;
  color: #009688;
}

.officer-front p {
  font-size: 14px;
  color: #555;
}

.officer-back {
  background: #009688;
  color: #fff;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


@media (max-width:700px){
    .row{
        flex-direction: column;
    }
} 

/*---------- Get Involved Page -------------*/

.get-involved-intro {
    max-width: 1200px;   
    margin: 0 auto;
    padding: 30px 2px;
    text-align: center;
}

.get-involved-intro h1 {
    font-size: 35px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.get-involved-intro p {
    font-size: 18px;
    font-weight: 500;
}

.get-involved-content {
    width: 80%;
    margin: auto;
    padding-bottom: 60px;
}

.get-involved-content h2 {
    color: #009688;
    margin-top: 40px;
    margin-bottom: 15px;
}

.get-involved-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.get-involved-list li {
    font-size: 16px;
    margin-bottom: 15px;
}

.get-involved-list li strong {
    color: #009688;
}

/* Reuse your hero-btn and teal-btn styles for the CTA */
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 16px;
    background: #009688;
    cursor: pointer;
    transition: 0.5s;
    margin-top: 30px;
}

.hero-btn:hover {
    background: #00796B;
    border: 1px solid #00796B;
    color: #fff;
}


@media (max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
} 


/*------- Contact Us Page ------------*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #009688;
    margin: 10px;
    margin-right: 30px;
}
    
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}

.footer-link{
    text-decoration: none;
    color: #777;
}
