html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.zoo-header {
    background-color: #8eb4a9; 
    padding: 10px 40px;
    height: 100px;
    display: flex;
    align-items: center;
}


.header-content {
    display: flex;
    width: 100%;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}


.logo-area {
    flex: 1;
}

.main-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.1));
}


.main-nav {
    flex: 3;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #2d4a43; 
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ffffff;
}


.page-container {
    padding-top: 10px;
}


.zoo-footer {
    background-color: #8eb4a9; 
    color: #2d4a43; 
    padding: 40px 20px 20px;
    width: 100%;
    margin-top: auto;
}


.footer-top {
    text-align: center;
    margin-bottom: 40px;
}

.footer-top p {
    margin: 5px 0;
    font-size: 15px;
    cursor: pointer;
}


.footer-bottom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100000px;
    margin: 0 auto;
    border-top: 1px solid rgba(45, 74, 67, 0.2); 
}

.footer-logo {
    height: 110px;
    width: auto;
    
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1));
}

.footer-contact {
    text-align: center;
}

.footer-contact p {
    margin: 1px 0;
}

.footer-contact .email {
    font-weight: 500;
}


.main-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.signup-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
}


.divider {
    width: 2px;
    height: 350px;
    background-color: #e0e0e0;
}


.feature-icon {
    width: 400px; 
    height: auto;
}


.form-column {
    text-align: center;
}

.form-column h2 {
    color: #555;
    font-weight: 400;
    margin-bottom: 30px;
}


.pill-input-container {
    position: relative;
    margin-bottom: 20px;
}

.pill-input-container input {
    width: 350px;
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    background-color: #dcdcdc; 
    font-size: 16px;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
    outline: none;
}

.input-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}


.signup-submit-btn {
    background-color: #8eb4a9; 
    color: white;
    width: 180px;
    padding: 15px;
    border-radius: 50px;
    border: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    transition: background 0.3s;
}

.signup-submit-btn:hover {
    background-color: #7a9d93;
}

.already-account, .terms-text {
    color: #aaa;
    font-size: 14px;
    margin-top: 15px;
    text-decoration: underline;
}


.dropdown {
    position: relative;
    display: inline-block;
}


.dropdown-content {
    display: none; 
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); 
}


.dropdown-content a {
    color: #2d4a43;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.3s;
}


.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #8eb4a9;
}


.dropdown:hover .dropdown-content {
    display: block;
}

/* Our Animals page */

.animals-intro {
    background: linear-gradient(135deg, #d8e7dd, #f7fbf5);
    padding: 40px 20px 30px;
}

.animals-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.animals-intro-text h1 {
    margin: 0 0 10px;
    font-size: 30px;
    color: #2d4a43;
}

.animals-intro-text p {
    margin: 0 0 18px;
    line-height: 1.6;
    color: #445b54;
}

.animals-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.animals-badge {
    padding: 6px 14px;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid rgba(45, 74, 67, 0.12);
    font-size: 12px;
    font-weight: 600;
    color: #45665b;
}

.animals-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.animals-cta-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background-color: #8eb4a9;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.animals-secondary-link {
    font-size: 14px;
    color: #2d4a43;
    text-decoration: underline;
}

.animals-intro-image {
    justify-self: stretch;
}

.animals-intro-photo {
    border-radius: 24px;
    height: 230px;
    background-image: url("giraffes_ouranimals.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.animals-quick-info {
    background-color: #628b63;
    padding: 18px 16px 26px;
}

.animals-quick-info-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.animals-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
}

.animals-pill-btn {
    background-color: transparent;
    color: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    min-width: 140px;
}

.animals-pill-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.animals-gallery-section {
    background-color: #cfded0;
    padding: 32px 15px 48px;
}

.animals-gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.animals-gallery-title {
    margin: 0 0 18px;
    font-size: 22px;
    color: #2d4a43;
}

.animals-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.animal-card {
    background-color: #f5f5f5;
    padding: 10px 10px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.animal-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 8px;
}

.animal-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #2d4a43;
}

.animal-card p {
    margin: 0;
    font-size: 13px;
    color: #5b6d67;
}

/* Home page */

.home-hero {
    background: linear-gradient(135deg, #e1efe5, #f7fbf5);
    padding: 40px 20px 36px;
}

.home-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.home-hero-text h1 {
    margin: 0 0 12px;
    font-size: 32px;
    color: #2d4a43;
}

.home-hero-text p {
    margin: 0 0 18px;
    line-height: 1.6;
    color: #445b54;
}

.home-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.home-primary-btn,
.home-secondary-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.home-primary-btn {
    background-color: #8eb4a9;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.home-secondary-btn {
    background-color: #ffffff;
    color: #2d4a43;
    border: 1px solid rgba(45, 74, 67, 0.24);
}

.home-hero-list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #4c615a;
    font-size: 14px;
}

.home-hero-image {
    justify-self: stretch;
}

.home-hero-photo {
    border-radius: 26px;
    height: 240px;
    background-image: url("zebras.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.home-info-strip {
    background-color: #8eb4a9;
    color: #2d4a43;
    padding: 24px 18px 30px;
}

.home-info-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.home-info-item h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.home-info-item p {
    margin: 0;
    font-size: 14px;
}

.home-feature-grid {
    background-color: #f6f7f6;
    padding: 28px 18px 42px;
}

.home-feature-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.home-feature-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 16px 18px 18px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.home-feature-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #2d4a43;
}

.home-feature-card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #556862;
}

.home-feature-card a {
    font-size: 14px;
    color: #2d4a43;
    text-decoration: underline;
}