/* ===== CSS Variables ===== */
:root {
    --primary: #ff6b6b;
    --primary-dark: #ee5a5a;
    --secondary: #4ecdc4;
    --secondary-dark: #3dbdb5;
    --accent: #ffe66d;
    --dark: #2d3436;
    --dark-light: #636e72;
    --gray: #b2bec3;
    --gray-light: #dfe6e9;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.paw-loader {
    font-size: 4rem;
    color: var(--primary);
    animation: pawBounce 1s infinite;
}

@keyframes pawBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 107, 0.05);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-success {
    background: var(--secondary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fff5f5 0%, #f0fffe 100%);
    z-index: -1;
}

.floating-paws {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-paws i {
    position: absolute;
    color: rgba(255, 107, 107, 0.1);
    animation: floatPaw 6s infinite ease-in-out;
}

.paw-1 { top: 10%; left: 5%; font-size: 3rem; animation-delay: 0s; }
.paw-2 { top: 30%; right: 10%; font-size: 2rem; animation-delay: 1s; }
.paw-3 { bottom: 20%; left: 15%; font-size: 2.5rem; animation-delay: 2s; }
.paw-4 { top: 60%; left: 40%; font-size: 1.5rem; animation-delay: 3s; }
.paw-5 { bottom: 30%; right: 20%; font-size: 2rem; animation-delay: 4s; }

@keyframes floatPaw {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--dark);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--dark-light);
    margin-bottom: 35px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-light);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.5s both;
}

.image-wrapper {
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-card .card-image {
    height: 350px;
    overflow: hidden;
}

.hero-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-card:hover .card-image img {
    transform: scale(1.05);
}

.hero-card .card-info {
    padding: 20px;
}

.hero-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.hero-card p {
    color: var(--dark-light);
    font-size: 0.9rem;
}

.badge.available {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: floatCard 4s infinite ease-in-out;
}

.floating-card i {
    color: var(--primary);
}

.card-1 {
    top: 20px;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -50px;
    animation-delay: 1s;
}

.card-2 i {
    color: var(--secondary);
}

.card-3 {
    bottom: 80px;
    left: -30px;
    animation-delay: 2s;
}

.card-3 i {
    color: var(--accent);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--dark-light);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--dark-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--dark-light);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    color: var(--dark-light);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--dark-light);
    margin: 0;
}

.image-collage {
    position: relative;
    height: 500px;
}

.image-collage img {
    position: absolute;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    transition: var(--transition);
}

.image-collage img:hover {
    transform: scale(1.05);
    z-index: 10;
}

.collage-1 {
    width: 60%;
    height: 300px;
    top: 0;
    left: 0;
}

.collage-2 {
    width: 50%;
    height: 200px;
    top: 50px;
    right: 0;
}

.collage-3 {
    width: 55%;
    height: 220px;
    bottom: 0;
    right: 20%;
}

.experience-badge {
    position: absolute;
    bottom: 100px;
    left: 30%;
    background: var(--gradient);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 20;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===== Pets Section ===== */
.pets {
    padding: 100px 0;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-light);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 20px 12px 45px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    width: 250px;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    outline: none;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ===== Pet Cards ===== */
.pet-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.pet-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pet-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pet-card:hover .pet-image img {
    transform: scale(1.1);
}

.pet-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pet-badge.urgent {
    background: var(--primary);
}

.pet-badge.new {
    background: var(--accent);
    color: var(--dark);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gray);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.favorite-btn:hover,
.favorite-btn.active {
    color: var(--primary);
}

.favorite-btn.active i {
    font-weight: 900;
}

.pet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 52, 54, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.pet-card:hover .pet-overlay {
    opacity: 1;
}

.pet-info {
    padding: 20px;
}

.pet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pet-header h3 {
    font-size: 1.2rem;
    color: var(--dark);
}

.pet-gender {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.pet-gender.male {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.pet-gender.female {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
}

.pet-breed {
    font-size: 0.9rem;
    color: var(--dark-light);
    margin-bottom: 12px;
}

.pet-breed i {
    margin-right: 5px;
    color: var(--primary);
}

.pet-details {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--dark-light);
}

.pet-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pet-details i {
    color: var(--secondary);
}

.pet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tag {
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--dark-light);
}

.pet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.pet-location {
    font-size: 0.8rem;
    color: var(--dark-light);
}

.pet-location i {
    color: var(--primary);
    margin-right: 5px;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== Process Section ===== */
.process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gray-light);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 10;
    margin: 0 40px;
    flex-shrink: 0;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--gradient);
    color: var(--white);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* ===== Stories Section ===== */
.stories {
    padding: 100px 0;
}

.stories-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.story-card {
    min-width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.story-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.story-content {
    padding: 20px;
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
}

.stars i {
    margin-right: 3px;
}

.quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 30px;
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--dark-light);
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--gradient);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: var(--gray-light);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--gradient);
    width: 30px;
    border-radius: 6px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 107, 107, 0.03);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--dark-light);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--dark-light);
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-content p {
    font-size: 0.9rem;
    color: var(--dark-light);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    padding-left: 45px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group textarea {
    resize: none;
    padding-left: 20px;
}

.form-group select {
    padding-left: 20px;
    appearance: none;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group > i {
    position: absolute;
    left: 18px;
    top: 48px;
    color: var(--gray);
}

/* ===== Newsletter Section ===== */
.newsletter {
    padding: 80px 0;
    background: var(--gradient);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form .input-group {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 16px 25px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    width: 350px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn-white {
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: var(--gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom i {
    color: var(--primary);
}

/* ===== Modal Styles ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-sm {
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-header {
    text-align: center;
    padding: 40px 40px 20px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--dark-light);
}

.modal-body {
    padding: 20px 40px 40px;
}

/* ===== Adoption Form ===== */
.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    height: 6px;
    background: var(--gray-light);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    width: 33.33%;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-steps .step {
    width: 35px;
    height: 35px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--dark-light);
    transition: var(--transition);
}

.progress-steps .step.active {
    background: var(--gradient);
    color: var(--white);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-step h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step h3 i {
    color: var(--primary);
}

.adoption-form .form-group input,
.adoption-form .form-group select,
.adoption-form .form-group textarea {
    padding-left: 20px;
}

.radio-group {
    display: flex;
    gap: 30px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-light);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.radio-label input:checked + .radio-custom {
    border-color: var(--primary);
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dark-light);
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.7rem;
}

.checkbox-label a {
    color: var(--primary);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

/* ===== Success Modal ===== */
.success-content {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-content h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--dark-light);
    margin-bottom: 30px;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .pets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-subtitle {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-collage {
        height: 400px;
    }
    
    .pets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-line {
        left: 40px;
    }
    
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: row;
    }
    
    .step-icon {
        margin: 0 30px 0 0;
    }
    
    .story-card {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .pets-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form input {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .modal-container {
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}