/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #27ae60;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #777;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

.btn-primary, .btn-secondary, .btn-small, .btn-contact, .btn-submit {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.9rem;
}

.btn-small:hover {
    background-color: #2980b9;
}

.btn-contact {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
}

.btn-contact:hover {
    background-color: #c0392b;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.logo i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9)), 
                url('https://images.unsplash.com/photo-1552728089-57bdde30beb3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
}

.parrot-flying {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.parrot {
    position: absolute;
    top: 20%;
    left: 10%;
    animation: flyParrot 20s linear infinite;
}

.parrot-body {
    width: 50px;
    height: 30px;
    background-color: #e74c3c;
    border-radius: 50% 50% 40% 40%;
    position: relative;
}

.parrot-wing {
    width: 30px;
    height: 40px;
    background-color: #c0392b;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 35px;
    animation: flapWing 1s ease-in-out infinite;
}

@keyframes flyParrot {
    0% {
        transform: translateX(-100px) translateY(0);
    }
    25% {
        transform: translateX(25vw) translateY(50px);
    }
    50% {
        transform: translateX(50vw) translateY(0);
    }
    75% {
        transform: translateX(75vw) translateY(100px);
    }
    100% {
        transform: translateX(100vw) translateY(50px);
    }
}

@keyframes flapWing {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(20deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.label {
    font-weight: 600;
    color: var(--text-light);
}

.about-image {
    position: relative;
}

.image-frame {
    border: 10px solid white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.image-placeholder {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.image-placeholder:hover {
    transform: scale(1.05);
}

/* Rescue Section */
.rescue {
    background-color: #f9f9f9;
}

.rescue-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.process-step {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    margin-top: 10px;
}

.featured-parrots h3 {
    text-align: center;
    margin-bottom: 40px;
}

.parrots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.parrot-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.parrot-card:hover {
    transform: translateY(-10px);
}

.parrot-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.parrot-info {
    padding: 20px;
}

.species, .age {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.description {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Care Section */
.care-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.care-tip {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.care-tip:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tip-content h3 {
    margin-bottom: 10px;
}

.emergency-care h3 {
    text-align: center;
    margin-bottom: 40px;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.emergency-item {
    background-color: #fff5f5;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.emergency-item h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Species Section */
.species-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.species-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.species-tab {
    padding: 10px 20px;
    background-color: var(--light-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.species-tab.active, .species-tab:hover {
    background-color: var(--primary-color);
    color: white;
}

.species-content {
    display: none;
}

.species-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.species-content ul {
    margin-top: 20px;
}

.species-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.species-content li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.species-image {
    position: sticky;
    top: 100px;
}

.image-display {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.species-img {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    transition: opacity 0.5s ease;
}

.species-img.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Volunteer Section */
.volunteer {
    background-color: #f9f9f9;
}

.volunteer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.option-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.option-card:hover {
    transform: translateY(-10px);
}

.option-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.option-card h3 {
    margin-bottom: 15px;
}

.option-card ul {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

.option-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.option-card li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.upcoming-events h3 {
    text-align: center;
    margin-bottom: 40px;
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
}

.event {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: var(--transition);
}

.event:hover {
    transform: translateX(10px);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.day {
    font-size: 2rem;
    font-weight: 700;
}

.event-info {
    padding: 20px;
    flex: 1;
}

.event-info h4 {
    margin-bottom: 10px;
}

.event-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-content h4 {
    margin-bottom: 10px;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
input{
    outline: none !important;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin: 20px 0;
    color: #bbb;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Nunito', sans-serif;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #219653;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #bbb;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-ok {
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .species-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .species-image {
        order: -1;
        position: static;
    }
    
    .image-display {
        height: 400px;
        margin-bottom: 30px;
    }
    .logo{
        font-size: 1rem;
    }
    .nav-menu li{
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 55px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .parrots-grid {
        grid-template-columns: 1fr;
    }
    
    .care-tip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .event {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        min-width: auto;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
}