/* Custom properties for a warmer theme */
:root {
    /* Color Palette from your image */
    --gold-light: #F4E2D2;  /* A very light, creamy gold for main backgrounds */
    --gold-yellow: #E6A800; /* A vibrant, warm yellow for highlights */
    --gold-medium: #C18106; /* A balanced golden-brown for buttons and borders */
    --gold-dark: #A45101;   /* A deep, rich brown for accents and darker text */
    --gold-darkest: #580900; /* A deep reddish-brown, almost black, for strong contrast */
    
    /* Re-mapping to standard variables for easy implementation */
    --primary-color: var(--gold-medium);
    --secondary-color: var(--gold-dark);
    --accent-color: var(--gold-yellow);
    
    --text-dark: var(--gold-darkest);
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: var(--gold-light);

    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Headings and Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    color: var(--text-dark);
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-heading .subtitle {
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline-primary-colored {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary-colored:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
header {
    background-color: var(--white);
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease-in-out, box-shadow 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow);
}

header.hide {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 70px;
    vertical-align: middle;
}

header .main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header .main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
}

header .main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.hero .slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero .slide-1 {
    background-image: url('images/sld-1.png');
}

.hero .slide-2 {
    background-image: url('images/sld-2.jpg');
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: var(--white);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.slider-controls button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-controls button:hover {
    transform: scale(1.2);
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-stack {
    position: relative;
    justify-self: center;
}

.about-image-stack .main-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.about-content ul li i {
    color: var(--accent-color);
}

.quote-section {
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
    margin: 40px auto 0;
    max-width: 800px;
}

.quote-author {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Programs Section */
.programs-section {
    background-color: var(--bg-light);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease-in-out;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.program-card h3 {
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Impact Section */
.impact-section {
    background-color: var(--bg-light);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.impact-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.impact-item .counter-number {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.impact-item .counter-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -10px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.impact-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonial Section */
.testimonial-section {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 0;
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y;
}

.testimonial-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-slide img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.testimonial-slide h4 {
    margin: 0 0 5px 0;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.testimonial-slide p {
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-size: 1.15rem;
}

.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease, transform 0.3s ease;
    cursor: pointer;
}
.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}
.dot:hover {
    background-color: var(--accent-color);
}

/* Get Involved Section */
.get-involved-section {
    background-color: var(--bg-light);
}

.get-involved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.get-involved-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.get-involved-card:hover {
    transform: translateY(-10px);
}

.get-involved-card {
    border-top: 5px solid var(--primary-color);
}

.get-involved-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.get-involved-card h4 {
    color: var(--text-dark);
}

.get-involved-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

@media (min-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info h3,
.contact-form-container h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info {
    text-align: center;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.contact-info .info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s, background-color 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    border: 2px solid var(--primary-color);
}

.social-icons a:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form-container .btn {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
}

/* Contact Map */
.contact-map {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-map h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

footer .logo img {
    height: 80px;
    margin-bottom: 15px;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

footer h5 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer ul a:hover {
    color: var(--text-dark);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s, opacity 0.3s;
    transform: scale(0);
    opacity: 0;
    text-decoration: none;
}

.whatsapp-btn.visible {
    transform: scale(1);
    opacity: 1;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow);
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

.close-btn {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--white);
    text-decoration: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    text-align: center;
    margin: -20px -20px 20px -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-header .modal-icon {
    font-size: 3rem;
}

.modal-header.donate {
    background-color: var(--accent-color);
}

.modal-header.adopt {
    background-color: var(--secondary-color);
}

.modal-header.volunteer {
    background-color: var(--primary-color);
}

.modal-header.partner {
    background-color: var(--secondary-color);
}

.modal-header.report {
    background-color: #f44336;
}

.modal-body p {
    text-align: center;
}

.modal-form {
    display: flex;
    flex-direction: column;
}

.tax-info {
    text-align: center;
    background-color: #e0f7fa;
    color: #00796b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.modal-form .form-group input,
.modal-form .form-group textarea {
    padding: 10px;
}

.modal-form .btn {
    margin-top: 10px;
    padding: 15px;
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.selected-files-list {
    list-style: none;
    margin-top: 10px;
    padding: 0;
}

.selected-files-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.remove-file {
    color: #f44336;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}