:root {
    --primary-color: #4da6ff;
    --secondary-color: #e6f5ff;
    --accent-color: #a8d5ff;
    --dark-color: #2a4d69;
    --light-color: #f0f9ff;
    --text-color: #666;
    --success-color: #4CAF50;
    --error-color: #ff4444;
    --border-radius: 12px;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    --primary-gradient: linear-gradient(135deg, #4da6ff, #2a7db8);
}

.temporales-content {
    position: relative;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideLeft 0.8s ease forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideRight 0.8s ease forwards;
}

.animate-pulse {
    animation: subtlePulse 2s infinite ease-in-out;
}

.animate-rotate {
    animation: rotate 10s infinite linear;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-trail {
    animation: trail 4s infinite linear;
}

.animate-heartbeat {
    animation: heartbeat 2s infinite ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes trail {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes trail0 {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; height: auto; }
    to { opacity: 0; height: 0; margin: 0; padding: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    position: relative;
}

.intro-box {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    flex: 1 1 50%;
    min-width: 300px;
    margin: 0 10px;
    position: relative;
    z-index: 1;
}

.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.intro-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(77, 166, 255, 0.5);
}

.intro-image {
    flex: 1 1 40%;
    min-width: 300px;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.intro-image img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.intro-decor {
    position: absolute;
    opacity: 0.2;
    font-size: 100px;
}

.left-paw {
    top: 5%;
    left: 2%;
    transform: rotate(-20deg);
}

.right-paw {
    bottom: 5%;
    right: 2%;
    transform: rotate(20deg);
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    border: 3px solid #03b4ef34;
    position: relative;
}

.about-image {
    flex: 1 1 40%;
    min-width: 300px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    order: 1;
}

.about-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content {
    flex: 1 1 50%;
    min-width: 300px;
    margin: 0 10px;
    order: 2;
}

.title-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
}

.section-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: #444343;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-decor {
    width: 70px;
    height: 70px;
    background: url(../assets/images/temporales/paw.png) no-repeat center;
    background-size: contain;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.importance-section {
    padding: 40px 20px;
    position: relative;
}

.importance-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.importance-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    width: 280px;
    box-shadow: var(--box-shadow);
    transition: transform 0.5s ease !important;
}

.importance-item:hover {
    transform: translateY(-10px) !important;
}

.importance-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.importance-decor {
    width: 50px;
    height: 50px;
    background: url(../assets/images/temporales/heartpaw.png) no-repeat center;
    background-size: contain;
    opacity: 0.5;
    animation: heartbeat 2s infinite;
}

.importance-item.animate-slide-left,
.importance-item.animate-slide-right {
    animation-fill-mode: forwards;
}

.middle-sections-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.resources-section {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 40px 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
}

.rules-section {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 40px 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.rules-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
}

.rules-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 20px auto 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.rule-item {
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 10px 0 10px 40px;
    position: relative;
    flex: 1 1 45%;
    min-width: 300px;
}

.rule-item:before {
    content: "🐾";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.rules-decor {
    position: absolute;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, transparent, #01498c, transparent);
    opacity: 0.4;
    bottom: 15px;
    left: 0;
    animation: trail 4s infinite linear;
}

.rules-decor0 {
    position: absolute;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, transparent, #01498c, transparent);
    opacity: 0.4;
    top: 15px;
    left: 0;
    animation: trail0 4s infinite linear;
}

.care-section {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 40px 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.care-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
}

.care-message-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.care-message p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

form, form * {
    cursor: inherit;
}

.form-call-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
}

.form-call-content {
    flex: 1 1 50%;
    min-width: 300px;
    margin: 0 10px;
    text-align: center;
}

.form-call-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-call-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(77, 166, 255, 0.5);
}

.form-call-image {
    flex: 1 1 40%;
    min-width: 300px;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.form-call-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-section {
    display: none;
    padding: 20px;
    background: var(--light-color);
}

.form-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin: 0 auto;
    max-width: 850px;
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary-gradient);
}

.form-header {
    text-align: center;
    padding: 30px 30px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(230, 245, 255, 0.8) 0%, rgba(240, 249, 255, 0.8) 100%);
}

.form-header h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-header p {
    color: var(--text-color);
    font-size: 1.2rem;
    max-width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-header::before {
    content: "🐾";
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 100px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.form-header::after {
    content: "🐾";
    position: absolute;
    bottom: 20%;
    right: 5%;
    font-size: 100px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    padding: 0 40px;
    transition: opacity 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.form-group.hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.form-group:first-child {
    margin-top: 40px;
}

#fullName, #address, #petDetails, #petDewormed, #familyMembers {
    width: 100%;
    min-width: 300px;
    max-width: 100%;
    height: auto;
    min-height: 50px;
    max-height: 150px;
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9fdff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    resize: none;
    overflow-y: auto;
}

#address, #petDetails, #petDewormed, #familyMembers {
    line-height: 1.5;
}

#fullName:focus, #address:focus, #petDetails:focus, #petDewormed:focus, #familyMembers:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0);
    background-color: white;
}

input[type="number"], input[type="tel"], input[type="text"]:not(#fullName):not(#selectedPet) {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9fdff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="number"]:focus, input[type="tel"]:focus, input[type="text"]:not(#fullName):not(#selectedPet):focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0);
    background-color: white;
}

.selected-pet-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#selectedPet {
    width: 250px;
    padding: 15px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    background-color: #e6f5ff;
    cursor: not-allowed;
    text-align: center;
}

.selected-pet-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.form-group:hover {
    transform: translateY(-2px);
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.form-group .required:after {
    content: " *";
    color: var(--error-color);
    font-size: 1.2em;
}

.form-group.highlight-error {
    border: 2px solid var(--error-color);
    box-shadow: 0 0 10px var(--error-color);
    background-color: rgba(255, 68, 68, 0.1); 
}

.radio-group {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option {
    position: relative;
    padding: 10px 15px;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    flex-basis: calc(50% - 15px);
    transition: transform 0.2s;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    background-color: #f9fdff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.radio-option:hover {
    transform: translateX(5px);
}

.radio-option input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.radio-option label {
    margin-bottom: 0;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-custom {
    position: relative;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f9fdff;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-option:hover input ~ .radio-custom {
    background-color: var(--light-color);
    border-color: var(--primary-color);
}

.radio-option input:checked ~ .radio-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(77, 166, 255, 0.3);
}

.radio-option input:checked ~ .radio-custom:after {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

.radio-option.selected {
    background-color: #cce6ff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(77, 166, 255, 0.3);
}

.btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    transition: all 0.3s ease;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(77, 166, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 166, 255, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(77, 166, 255, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-select {
    background: linear-gradient(135deg, var(--light-color), var(--secondary-color));
    color: var(--dark-color);
    border: 2px solid transparent;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-select:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--light-color));
    border-color: var(--primary-color);
}

.btn-submit {
    margin-top: 5px;
    background: var(--primary-gradient);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2a7db8, #4da6ff);
}

.btn-back {
    background: var(--dark-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-back:hover {
    background: #3b5e7e;
    transform: translateY(-3px);
}

.form-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
    padding-left: 10px;
    position: relative;
    animation: shake 0.5s ease;
}

.error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.pets-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.pet-card {
    width: 220px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pet-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.pet-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pet-card:hover .pet-image {
    transform: scale(1.1);
}

.pet-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.pet-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-align: center;
}

.pet-traits {
    list-style-type: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.pet-traits li {
    padding: 6px 0;
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
}

.pet-traits li:before {
    content: '\f1b0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.btn-select-pet {
    background: var(--primary-gradient);
    color: white;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-select-pet:hover {
    background: linear-gradient(135deg, #2a7db8, #4da6ff);
}

.modal-title {
    text-align: center;
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(230, 245, 255, 0.8), rgba(240, 249, 255, 0.8));
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.success-popup, .error-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    max-width: 90%;
    width: 400px;
    text-align: center;
    transition: none;
    opacity: 0;
}

.success-popup.show, .error-popup.show {
    display: block;
    opacity: 1;
    animation: popupFadeIn 0.5s ease forwards;
}

.success-popup {
    background: linear-gradient(135deg, #ffffff, #e6f5ff);
}

.error-popup {
    background: linear-gradient(135deg, #ff6b6b, #d32f2f);
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.popup-text {
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.6;
}

.error-popup .popup-text {
    color: white;
}

@keyframes popupFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.success-popup:hover, .error-popup:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

.btn-close-popup {
    background: var(--primary-gradient);
    color: white;
    margin-top: 15px;
}

@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes formExpand {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes formShrink {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -70%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.filter-btn {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--secondary-color);
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}

.error-summary {
    display: none;
    background-color: #ffe6e6;
    border: 2px solid var(--error-color);
    padding: 15px;
    margin: 0 40px 20px 40px;
    border-radius: var(--border-radius);
    color: var(--error-color);
    font-family: 'Nunito', sans-serif;
}

.error-summary.show {
    display: block;
}

.error-summary ul {
    list-style-type: none;
    padding-left: 0;
}

.error-summary li:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--error-color);
    padding-left: 0;
}

.error-summary li {
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 1em;
}

.error-summary li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .intro-section, .about-section, .form-call-section {
        flex-direction: column;
        padding: 20px 10px;
    }
    .middle-sections-container {
        flex-direction: column;
        padding: 20px 10px;
    }
    .intro-box, .about-content, .form-call-content, .resources-section, .rules-section {
        flex: 1 1 100%;
        margin: 0;
    }
    .intro-image, .about-image, .form-call-image {
        flex: 1 1 100%;
        margin: 20px 0 0;
        order: 2;
    }
    .about-content { order: 1; }
    .intro-image img, .about-image img, .form-call-image img {
        max-height: 200px;
    }
    .rule-item {
        flex: 1 1 100%;
    }
    .form-container { margin: 0; }
    .form-group { padding: 0 20px; }
    #fullName, #address, #petDetails, #familyMembers { min-width: 100%; }
    .modal-content { width: 95%; margin: 5% auto; }
    .pet-card { width: 100%; max-width: 220px; }
    .radio-option { flex-basis: 100%; }
    .success-popup, .error-popup { width: 90%; }
    .intro-title, .section-title { font-size: 2rem; }
    .form-buttons { flex-direction: column; gap: 15px; }
    .about-decor, .importance-decor { width: 40px; height: 40px; }
    .error-summary {
        margin: 0 20px 20px 20px;
        padding: 10px;
    }
    .error-summary li:first-child {
        font-size: 1.3rem;
    }
    .error-summary li {
        font-size: 0.95rem;
        padding: 3px 0 3px 20px;
    }
}

@media (min-width: 769px) {
    .middle-sections-container {
        flex-direction: row;
    }
}

@media (max-width: 659px) {
    .importance-item { width: 48%; }
    .error-summary {
        margin: 0 10px 15px 10px;
        padding: 8px;
    }
    .error-summary li:first-child {
        font-size: 1.2rem;
    }
    .error-summary li {
        font-size: 0.9rem;
        padding: 2px 0 2px 15px;
    }
    .error-summary li:not(:first-child)::before {
        font-size: 0.9rem;
    }
}

@media (max-width: 598px){
    .intro-title, .section-title{
        font-size: 1.6rem;
    }
    .section-text{
        font-size: 1rem;
    }
    .importance-item{
        width: 47%;
    }
    .importance-item h3{
        font-size: 1.2rem;
    }
    .rule-item, .care-message p, .importance-item p{
        font-size: 0.9rem;
    }
    .care-message-title{
        font-size: 1.6rem;
    }
    .temporales-content{
        padding: 10px;
    }
}