*{
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    max-width: 1600px;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
}

h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    letter-spacing: -1px;
}

h1, h2, h3 {
    /* font-weight: 800; */
    color: rgb(22, 1, 66);
}

p, a {
    color:#666;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Navigation */
.header {
    position: sticky;
    top: 0;
    max-width: 1700px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    background: white;
    padding: 0 25px;
    transition: 0.3s;
    margin: 0 0 100px 0;
    box-shadow: 1px 1px 1px 1px darkgreen;
    z-index: 2000;
}

.logo img {
    display: block;
    width: 160px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.menu {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    z-index: 1;
    transition: 0.5s;
}

.menu li a {
    display: block;
    padding: 40px 25px;
    font-size: 18px;
    line-height: 1;
    transition: 0.3s;
    color: darkgreen;
    margin: 0;
}

.menu li a:hover {
    padding: 35px 25px 45px 25px;
    font-weight: 400;
    background-color: green;
    color: white;
}

.menu .nav-cta {
    background-color: darkgreen;
    padding: 15px 15px;
    color: white;
    border-radius: 10px;
}

.menu .nav-cta:hover {
    background-color: lightgreen;
    padding: 15px 15px;
    color: #2a2727;
}

.hamburger {
    position: relative;
    width: 30px;
    height: 4px;
    background: darkgreen;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
}

.hamburger:before,
.hamburger:after {
    content: "";
    position: absolute;
    height: 4px;
    right: 0;
    background: darkgreen;
    transition: 0.3s;
}

.hamburger:before {
    top: -10px;
    width: 20px;
    border-radius: 10px;

}

.hamburger:after {
    top: 10px;
    width: 25px;
    border-radius: 10px;
}

.toggle-menu {
    position: absolute;
    width: 30px;
    height: 100%;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
}

.hamburger,
.toggle-menu {
    display: none;
}

.navigation input:checked ~ .hamburger {
    background: transparent;
}

.navigation input:checked ~ .hamburger:before {
    top: 0;
    transform: rotate(-45deg);
    width: 30px;
}

.navigation input:checked ~ .hamburger:after {
    top: 0;
    transform: rotate(45deg);
    width: 30px;
}

.navigation input:checked ~ .menu {
    right: 0;
    box-shadow: -20px 0 40px rgba(0,0,0,0.3);
}

.home-section {
    display: flex;
    gap: 30px;
    margin-inline: 50px;
    margin-bottom: 150px;
}

.welcome-text {
    flex: 3;
}

.hero-img {
    flex: 2;
}

.home-section img {
    width: 100%;
    border-radius: 15px;
}

.home-section ul {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.home-section ul a {
    display: inline-block;
    padding: 10px 15px;
    background-color: green;
    border-radius: 5px;
    color: white;
}

.home-section ul .cta {
    padding: 10px 20px;
    background-color: green;
    border-radius: 5px;
    color: white;
}

.home-section ul a:hover {
    background-color: darkgreen;
    color: black;
}

blockquote {
    margin: 100px 20px 100px 20px;
    padding: 20px 30px;
    border-left: 4px solid green;
    background-color: #e9fbe0;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
    color: #2a2727;
}

blockquote a {
    color: green;
    display: block;
    text-align: center;
    padding: 10px;
}

blockquote a:hover {
    color: black;
}

#hero-section {
    scroll-margin-top: 120px;
}

main .hero-section {
    margin-top: 160px;
    text-align: center;
    margin-bottom: 100px;
}

main .hero-section .steps {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    margin-left: 70px;
    margin-right: 70px;
    margin-bottom: 100px;
}

.steps-card {
    max-width: 300px;
}

#card-2 h3 {
    padding-top: 50px;
    color: green;
}

#card-1 h3 {
    padding-top: 60px;
    color: green;
}

#card-3 h3{
    color: green;
}

.steps-card img {
    width: 100%;
}

.last-card {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.cta-card {
    background-color: rgb(172, 207, 172);
    text-align: center;
    align-content: center;
    width: 400px;
    height: 250px;
    border-radius: 10px;
    /* box-shadow: 2px 2px 2px 2px black; */
}

.cta-card ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
}

.cta-card h4 {
    margin-bottom: 20px;
}

.cta-card .primary-btn, .secondary-btn {
    background-color: green;
    padding: 10px 5px;
    display: inline-block;
    border-radius: 10px;
    color: white;
}

.cta-card .primary-btn:hover, .secondary-btn:hover {
    background-color: darkgreen;
    color: black;
}

.socials {
    width: 400px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: auto;
    gap: 40px;
}

.socials img {
    width: 40px;
    transition: transform 0.5s ease-out;
}

.socials img:hover {
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
footer {
    align-items: center;
    align-content: center;
    text-align: center;
}

.upper-footer {
    margin: 50px 0 80px 0;
}

footer .upper-footer a {
    font-size: 14px;
}

footer .upper-footer a:hover {
    color: darkgreen;
    font-weight: 700;
}

footer p{
    font-size: 12px;
    text-align: center;
}

/* Gallery section */
.gallery-heading {
    height: 100px;
    text-align: center;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 50px;
}

.gallery-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

#last-card {
    margin: 50px 50px;
}

/* === Contact Section === */
.contact-section {
    width:100%;
    padding:80px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.contact-card {
    width:100%;
    max-width:850px;
    background:#fff;
    padding:50px;
    border-radius:18px;
    box-shadow:
        0 15px 45px rgba(0,0,0,.08);
}

.contact-header {
    text-align:center;
    margin-bottom:45px;
}

.contact-header h1 {
    font-size:2rem;
    color: rgb(22, 1, 66);
    margin-bottom:15px;
}

.contact-header p {
    color:#666;
    font-size:15px;
    max-width:600px;
    margin:auto;
}

.nowrap {
  white-space: nowrap;
}


form {
    display:flex;
    flex-direction:column;
    gap:28px;
}

.form-group {
    display:flex;
    flex-direction:column;
}

label {
    font-weight:600;
    margin-bottom:10px;
    color: darkgreen;
}

input,
select,
textarea {
    width:100%;
    padding:15px 18px;
    border:1px solid #d7d7d7;
    border-radius:10px;
    font-size:15px;
    font-family:'Poppins',sans-serif;
    background:#fafafa;
    transition:.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline:none;
    border-color:#2E8B57;
    background:#fff;
    box-shadow:
    0 0 0 4px rgba(46,139,87,.15);
}

textarea {
    resize:vertical;
    min-height:170px;
}

.checkbox-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:10px;
}

.check-item {
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border:1px solid #ddd;
    border-radius:10px;
    cursor:pointer;
    transition:.25s;
    background:#fafafa;
}

.check-item:hover {
    background:#eef8f1;
    border-color:#2E8B57;
}

.check-item input {
    width:18px;
    height:18px;
    accent-color:#2E8B57;
    cursor:pointer;
}

.check-item span {
    font-size:15px;
}

.submit-btn {
    border:none;
    background:#2E8B57;
    color:#fff;
    padding:18px;
    font-size:16px;
    font-weight:600;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.submit-btn:hover {
    background:#246c45;
    transform:translateY(-2px);
    box-shadow:
    0 12px 25px rgba(46,139,87,.30);
}

.submit-btn:active {
    transform:scale(.98);
}



::placeholder {
    color:#999;
}

/* birds */
.birds {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

#birds {
    scroll-margin-top: 80px;
}

.bird-species {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.bird-species img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.birds h3 {
    position: absolute;
    left: 20px;
    top: 80px;
    color: white;
    font-size: 24px;
    z-index: 2;
    transition: opacity .3s;
    text-shadow: black 2px 2px 2px;
}

.bird-info {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 24px;
  box-sizing: border-box;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.2)
  );

  color: #fff;
  text-shadow: black 2px 2px;
  transition: bottom 0.4s ease;
}

.bird-info h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.bird-info p {
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 16px;
  color: white;
}

.bird-species:hover .bird-info {
  bottom: 0;
  align-content: center;
}

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


/* Responsive */
@media (max-width: 1020px){
    .logo img {
        width: 120px;
    }

    main {
        margin-bottom: 400px;
    }

    .home-section {
        margin-top: 100px;
    }

    h1 {
        font-size: 35px;
    }
        
    .need {
        margin-top: 0px;
    }


    .steps {
        flex-direction: column;
        justify-content: center;
        gap: 100px;
        height: 800px;
        align-items: center;
    }

    #card-2 h3 {
    padding-top: 20px;
    }

    #card-1 h3 {
    padding-top: 20px;
    }

    #card-3 h3{
    padding-top: 20px;
    }

    .gallery-images {
        margin-bottom: 200px;
    }

    .form-container {
    margin-bottom: 200px;
    }
}

@media (max-width: 950px) {
    .home-section {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .home-section img {
        max-width: 650px;
    }

    h1 {
        font-size: 40px;
    }

    .steps-card {
    max-width: 200px;
    }
}

@media (max-width: 800px) {
    h1 {
        font-size: 30px;
    }

    p {
        font-size: 16px;
    }

    .hero-section .text {
        margin-top: 0px;
    }

    .contact-card {
        padding:30px 22px;
    }

    .contact-header h1 {
        font-size:1.6rem;
    }

    .checkbox-grid {
        grid-template-columns:1fr;
    }

    input,
    select,
    textarea {
        padding:14px;
    }

    .submit-btn {
        width:100%;
    }
}

@media screen and (max-width:650px) {
    .hamburger,
    .toggle-menu {
    display: block;
    }

    .header {
        padding: 20px 10px;
    }

    .menu {
        justify-content: start;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        right: -300px;
        background-color: white;
        width: 200px;
        height: 100%;
        padding-top: 65px;
        transition: 0.3s;
    }

    .menu li {
        width: 100%;
    }

    .menu li a {
        padding: 22px;
        font-size: 16px;
    }

    .menu li a:hover {
        padding: 22px 22px 22px 40px;
        font-weight: 400;
        background-color: green;
        color: white;
    }

}

@media (max-width: 600px){

    h1 {
        font-size: 28px;
        
    }

    h2 {
        font-size: 32px;
    }

    p , a {
        font-size: 16px;
    }

    h3 {
        font-size: 23px;
    }

    .form-container {
    margin-bottom: 200px;
    }
}

@media(max-width:480px){

.contact-section{

    padding:40px 12px;

}

.contact-card{

    border-radius:14px;

    padding:25px 18px;

}

.contact-header h1{

    font-size:1.4rem;

}

.contact-header p{

    font-size:14px;

}

label{

    font-size:14px;

}

input,
select,
textarea{

    font-size:14px;

}

.submit-btn{

    font-size:15px;

}

}