:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --light-color: #fff4e6;
    --dark-color: #2d3436;
    --success-color: #00b894;
    --danger-color: #d63031;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    overflow-x: hidden;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: white;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: var(--primary-color);
}

.nav-link.dropdown-toggle::after {
    margin-left: 5px;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1554456854-55a089fd4cb2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-color);
    border-bottom: 3px solid var(--light-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* ========== COMMON CARD STYLES ========== */
.dog-card,
.product-card,
.breed-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.dog-card:hover,
.product-card:hover,
.breed-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Image container for all cards */
.dog-card .dog-image-container,
.product-card .dog-image-container,
.breed-card .breed-image-container,
.news-card .dog-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.dog-card .dog-image-container img,
.product-card .dog-image-container img,
.breed-card .breed-image-container img,
.news-card .dog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dog-card:hover .dog-image-container img,
.product-card:hover .dog-image-container img,
.breed-card:hover .breed-image-container img,
.news-card:hover .dog-image-container img {
    transform: scale(1.05);
}

/* Breed card specific image radius */
.breed-card .breed-image-container img {
    border-radius: 10px 10px 0 0;
}

/* Card body for all cards */
.dog-card .card-body,
.product-card .card-body,
.breed-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 180px;
}

/* Card title for all cards */
.dog-card .card-title,
.product-card .card-title,
.breed-card .card-title,
.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    height: 2.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    cursor: pointer;
    transition: color 0.3s;
    color: var(--dark-color);
}

.dog-card .card-title:hover,
.product-card .card-title:hover,
.breed-card .card-title:hover,
.news-card .card-title:hover {
    color: var(--primary-color);
}

/* Card text for all cards */
.dog-card .card-text,
.product-card .card-text,
.breed-card .card-text,
.news-card .card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ========== DOG CARD SPECIFIC ========== */
.dog-card {
    position: relative;
    overflow: hidden;
    background: white;
}

.dog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.dog-card:hover::before {
    left: 100%;
}

.dog-card .dog-image-container {
    position: relative;
    overflow: hidden;
}

.dog-card .dog-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
    pointer-events: none;
}

.dog-card:hover .dog-image-container::before {
    opacity: 1;
}

.dog-card .dog-image-container img {
    border-radius: 10px 10px 0 0;
}

.dog-card .location-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.dog-card:hover .location-info {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.dog-card .location-info small {
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.dog-card:hover .location-info small {
    transform: translateX(3px);
}

.dog-card .location-info i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 8px;
    font-size: 0.9rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
}

.dog-card:hover .location-info i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure buttons stay at bottom */
.dog-card .d-flex.justify-content-between,
.product-card .d-flex.justify-content-between {
    margin-top: auto;
    padding-top: 10px;
}

.dog-card .btn-primary-custom {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dog-card .btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.dog-card .btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.dog-card .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.dog-card .fw-bold.text-primary {
    font-size: 1.1rem;
    color: var(--primary-color) !important;
}

/* Dog Section Title Enhancement */
#dogs .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#dogs .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#dogs .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

/* Add subtle overlay on dog image hover */
.dog-card .dog-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.dog-card .dog-image-container > a {
    display: block;
    position: relative;
    z-index: 3;
}

.dog-card:hover .dog-image-container::after {
    opacity: 1;
}

/* ========== SERVICE CARD ========== */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    background: white;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.service-card .service-icon-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.service-card .service-icon-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.service-card:hover .service-icon-container::before {
    opacity: 1;
}

.service-icon {
    font-size: 5rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
    z-index: 3;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 180px;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: color 0.3s;
}

.service-card:hover h4 {
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.service-card .btn-primary-custom {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: auto;
}

.service-card .btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.service-card .btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.service-card .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Service Section Title Enhancement */
#services .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#services .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#services .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

/* ========== PRODUCT CARD SPECIFIC ========== */
.product-card {
    position: relative;
    overflow: hidden;
    background: white;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    left: 100%;
}

.product-card .dog-image-container {
    position: relative;
    overflow: hidden;
}

.product-card .dog-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.product-card:hover .dog-image-container::before {
    opacity: 1;
}

.product-card .dog-image-container img {
    border-radius: 10px 10px 0 0;
}

.product-card .btn-primary-custom {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-card .btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.product-card .btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.product-card .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.product-card .fw-bold.text-primary {
    font-size: 0.95rem;
    color: var(--primary-color) !important;
}

/* Shop Section Title Enhancement */
#shop .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#shop .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#shop .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

/* Add subtle overlay on product image hover */
.product-card .dog-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .dog-image-container::after {
    opacity: 1;
}

/* ========== BREED CARD SPECIFIC ========== */
.breed-card {
    position: relative;
    overflow: hidden;
    background: white;
}

.breed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.breed-card:hover::before {
    left: 100%;
}

.breed-card .breed-image-container {
    position: relative;
    overflow: hidden;
}

.breed-card .breed-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
    pointer-events: none;
}

.breed-card:hover .breed-image-container::before {
    opacity: 1;
}

.breed-card .breed-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.breed-card:hover .breed-info {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.breed-card .breed-info small {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.breed-card:hover .breed-info small {
    transform: translateX(3px);
}

.breed-card .breed-info i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 8px;
    font-size: 0.9rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
}

.breed-card:hover .breed-info i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.breed-card .btn-primary-custom {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.breed-card .btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.breed-card .btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.breed-card .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Breed Section Title Enhancement */
#breeds .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#breeds .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#breeds .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

/* ========== NEWS CARD ========== */
.news-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.news-card .dog-image-container {
    position: relative;
    overflow: hidden;
}

.news-card .dog-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
    pointer-events: none;
}

.news-card:hover .dog-image-container::before {
    opacity: 1;
}

.news-card .card-body {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .rounded-start {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 0 !important;
}

.news-meta {
    font-size: 0.85rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.news-card:hover .news-meta {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.news-meta small {
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.news-card:hover .news-meta small {
    transform: translateX(3px);
}

.news-meta i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 8px;
    font-size: 0.9rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
}

.news-card:hover .news-meta i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.news-card .btn-outline-primary {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.news-card .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.news-card .btn-outline-primary:hover::before {
    width: 300px;
    height: 300px;
}

.news-card .btn-outline-primary:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Ensure proper card height in grid */
#news .col-md-6 {
    display: flex;
}

/* Fix for news card text truncation */
.news-card .card-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* News Section Title Enhancement */
#news .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#news .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#news .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

/* Add subtle overlay on news image hover */
.news-card .dog-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.news-card .dog-image-container > a {
    display: block;
    position: relative;
    z-index: 3;
}

.news-card:hover .dog-image-container::after {
    opacity: 1;
}

/* ========== WHATSAPP ========== */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-btn:hover {
    color: white;
    background-color: #128C7E;
    transform: scale(1.05);
}

.whatsapp-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 280px;
    padding: 20px;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.whatsapp-popup.show {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.whatsapp-popup-header i {
    color: #25D366;
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-popup-header h5 {
    margin: 0;
    color: #075E54;
    font-weight: 600;
}

.cs-list {
    max-height: 300px;
    overflow-y: auto;
}

.cs-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.cs-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.cs-photo {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    flex: 0 0 50px;
    aspect-ratio: 1 / 1;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #25D366;
}

.cs-photo img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.cs-info h6 {
    margin: 0;
    font-weight: 600;
    color: #075E54;
}

.cs-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

.cs-whatsapp {
    margin-left: auto;
    color: #25D366;
    font-size: 20px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.close-popup:hover {
    color: #ff6b35;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #2d3436 0%, #1a1e20 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
    text-decoration: none;
}

.footer-logo {
    /* display: flex;
            align-items: center; */
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    margin-right: 12px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
}

.footer-logo h5 {
    margin-bottom: 0;
}

/* .footer-logo h5::after {
            display: none;
        } */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    border-color: var(--primary-color);
}

.footer-social a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.footer-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.footer-social a.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.footer-social a.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.footer-social a.disabled,
.footer-social a[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-newsletter:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.footer-newsletter h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.copyright-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.copyright-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.copyright-links a:hover {
    color: var(--primary-color);
}

.copyright-links a::after {
    content: '|';
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.copyright-links a:last-child::after {
    display: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
        margin-top: 50px;
    }

    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .copyright {
        padding: 20px 0;
        margin-top: 30px;
    }

    .copyright-links {
        flex-direction: column;
        gap: 10px;
    }

    .copyright-links a::after {
        display: none;
    }
}

/* ========== FAQ SECTION ========== */
#faq .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#faq .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#faq .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

.accordion {
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: white;
}

.accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.accordion-item:last-of-type {
    margin-bottom: 0;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 25px;
    color: var(--dark-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.05) 100%);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::before {
    opacity: 1;
}

.accordion-button:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(247, 147, 30, 0.03) 100%);
}

.accordion-button::after {
    width: 24px;
    height: 24px;
    background-size: 20px;
    background-color: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    padding: 2px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-color: var(--primary-color);
    transform: rotate(-180deg);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    background: white;
    border-top: 1px solid #f0f0f0;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-body::before {
    content: none;
}

/* Accordion button — no icon prefix */
.accordion-button {
    padding-left: 25px;
}

.accordion-button::before {
    content: none;
}

.accordion-button:not(.collapsed)::before {
    content: none;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 0.95rem;
        padding: 18px 20px 18px 50px;
    }

    .accordion-body {
        padding: 18px 20px;
        font-size: 0.9rem;
    }

    .accordion-button::before {
        left: 15px;
        font-size: 1.1rem;
    }
}

/* ========== CONTACT SECTION ========== */
#contact .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#contact .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#contact .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.contact-form-card:hover::before {
    left: 100%;
}

.contact-form-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-form-card .form-label i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
    height: 100%;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.08), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.contact-info-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.contact-info-card .card-title i {
    margin-right: 12px;
    font-size: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-info-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(247, 147, 30, 0.08) 100%);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.contact-info-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 15px;
    margin-top: 3px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-item p {
    margin: 0;
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.contact-info-item strong {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}

.social-links h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links .d-flex {
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    border-color: var(--primary-color);
}

.social-links a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.social-links a.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-links a.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.contact-form-card .btn-primary-custom {
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form-card .btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.contact-form-card .btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form-card .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.contact-form-card .btn-primary-custom i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.contact-form-card .btn-primary-custom:hover i {
    transform: translateX(5px);
}

.contact-feedback-modal .modal-content {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.contact-feedback-modal .modal-body {
    padding: 34px 28px 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 107, 53, 0.12), transparent 45%),
        radial-gradient(circle at bottom left, rgba(247, 147, 30, 0.12), transparent 40%),
        #fff;
}

.contact-feedback-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.contact-feedback-icon.is-success {
    color: #0f8a40;
    background: linear-gradient(135deg, #e8fff2 0%, #c6f3dc 100%);
}

.contact-feedback-icon.is-error {
    color: #bb2124;
    background: linear-gradient(135deg, #ffe9e9 0%, #ffd1d1 100%);
}

.contact-feedback-title {
    margin-bottom: 8px;
    color: #1f2937;
    font-weight: 800;
    font-size: 1.4rem;
}

.contact-feedback-lead {
    margin-bottom: 12px;
    color: #4b5563;
    font-weight: 500;
}

.contact-feedback-message {
    margin: 0 auto 20px;
    padding: 12px 14px;
    max-width: 440px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.22);
    background: rgba(255, 255, 255, 0.78);
    color: #374151;
    line-height: 1.55;
}

.contact-feedback-actions {
    display: flex;
    justify-content: center;
}

@media (max-width: 576px) {
    .contact-feedback-modal .modal-body {
        padding: 28px 18px 22px;
    }

    .contact-feedback-title {
        font-size: 1.2rem;
    }
}

/* Map container styling (if you want to add map later) */
.contact-map {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
}

/* ========== OTHER SECTIONS ========== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: #000;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.3s;
    z-index: 1;
    pointer-events: none;
}

.video-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.video-container:hover::before {
    border-color: var(--primary-color);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.video-card:hover::before {
    left: 100%;
}

.video-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 15px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.video-card:hover .video-card-title {
    color: var(--primary-color);
}

.video-card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.video-card-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Video Section Title Enhancement */
#videos .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

#videos .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

#videos .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 70px;
    width: 30px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    opacity: 0.5;
}

/* Modal Styling */
.modal-header {
    background-color: var(--primary-color);
    color: white;
}

.auth-tabs .nav-link {
    color: var(--primary-color);
}

.auth-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Dashboard Styling */
.sidebar {
    background-color: var(--dark-color);
    color: white;
    min-height: 100vh;
    padding-top: 20px;
}

.sidebar .nav-link {
    color: var(--light-color);
    padding: 10px 20px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--secondary-color);
}

.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Admin Styling */
.permission-group {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
}

.permission-module {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
}

.admin-type-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Tooltip Custom Styling */
.tooltip {
    --bs-tooltip-bg: var(--primary-color);
    --bs-tooltip-color: white;
}

.tooltip-inner {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    max-width: 300px !important;
    box-shadow: var(--shadow-md);
}

.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--primary-color) !important;
}

.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--primary-color) !important;
}

.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--primary-color) !important;
}

.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--primary-color) !important;
}

/* ========== RESPONSIVE STYLES ========== */
/* Tablet Optimization (768px - 992px) */
@media (max-width: 992px) and (min-width: 768px) {

    /* Grid layout for all card sections */
    #dogs .row,
    #breeds .row,
    #shop .row,
    #news .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Remove Bootstrap column padding */
    #dogs .col-md-4,
    #breeds .col-md-3,
    #shop .col-md-3,
    #news .col-md-6 {
        width: 100%;
        padding: 0;
    }

    /* Adjust image container height for tablets */
    .dog-card .dog-image-container,
    .breed-card .breed-image-container,
    .product-card .dog-image-container,
    .news-card .dog-image-container {
        height: 180px;
    }

    /* Adjust card body padding */
    .dog-card .card-body,
    .breed-card .card-body,
    .product-card .card-body,
    .news-card .card-body {
        padding: 15px;
    }

    /* Adjust font sizes for tablets */
    .dog-card .card-title,
    .breed-card .card-title,
    .product-card .card-title,
    .news-card .card-title {
        font-size: 1rem;
        height: 2.2rem;
        margin-bottom: 8px;
    }

    .dog-card .card-text,
    .breed-card .card-text,
    .product-card .card-text,
    .news-card .card-text {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    /* Adjust info sections */
    .dog-card .location-info,
    .breed-card .breed-info {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    /* Adjust button size */
    .dog-card .btn,
    .breed-card .btn,
    .product-card .btn,
    .news-card .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Adjust price font size */
    .dog-card .fw-bold.text-primary,
    .product-card .fw-bold.text-primary {
        font-size: 1rem;
    }

    /* Adjust section margins */
    section {
        margin-bottom: 30px !important;
    }

    /* Adjust section title */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 8px;
    }

    /* Hero section adjustments */
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p.lead {
        font-size: 1.1rem;
    }

    /* Adjust form in hero section */
    .hero-section form {
        flex-direction: column;
    }

    .hero-section .form-control {
        margin-bottom: 10px;
        margin-right: 0;
    }

    /* News card specific for tablets */
    .news-card .row {
        flex-direction: column !important;
    }

    .news-card .col-md-5 {
        width: 100%;
        height: 180px;
    }

    .news-card .col-md-7 {
        width: 100%;
    }

    .news-card .rounded-start {
        border-top-left-radius: calc(0.375rem - 1px) !important;
        border-top-right-radius: calc(0.375rem - 1px) !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .news-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
    }

    .news-meta small {
        font-size: 0.8rem;
    }
}

/* Additional tablet improvements (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .news-card .col-md-5 {
        height: 200px;
    }

    .news-card .dog-image-container {
        height: 200px;
    }

    .news-card .card-body {
        padding: 18px;
    }

    .news-card .card-title {
        font-size: 1.05rem;
        height: 2.2rem;
    }

    .news-card .card-text {
        font-size: 0.85rem;
    }
}

/* Mobile Optimization (max-width: 767px) */
@media (max-width: 767px) {

    /* Single column layout for mobile */
    #dogs .row,
    #breeds .row,
    #shop .row,
    #news .row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Full width for mobile */
    #dogs .col-md-4,
    #breeds .col-md-3,
    #shop .col-md-3,
    #news .col-md-6 {
        width: 100%;
        padding: 0;
    }

    /* Adjust image height for mobile */
    .dog-card .dog-image-container,
    .breed-card .breed-image-container,
    .product-card .dog-image-container,
    .news-card .dog-image-container {
        height: 200px;
    }

    /* News card adjustments for mobile */
    .news-card .row {
        flex-direction: column !important;
    }

    .news-card .col-md-5 {
        width: 100%;
        height: 180px;
    }

    .news-card .col-md-7 {
        width: 100%;
    }

    .news-card .rounded-start {
        border-top-left-radius: calc(0.375rem - 1px) !important;
        border-top-right-radius: calc(0.375rem - 1px) !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    /* Adjust button sizes for mobile */
    .btn-primary-custom,
    .btn-outline-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Adjust card body padding for mobile */
    .card-body {
        padding: 15px;
    }

    /* Breed info single column on mobile */
    .breed-card .breed-info {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    /* News meta adjustments */
    .news-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
    }

    .news-card .btn-outline-primary {
        width: 100%;
        padding: 8px 0;
        text-align: center;
    }
}

/* General tablet improvements */
@media (max-width: 992px) {

    /* Improve card layout */
    .card {
        border-radius: 10px;
        overflow: hidden;
    }

    /* Better spacing between cards */
    .row {
        row-gap: 20px;
    }

    /* Improve tooltip visibility on tablets */
    .tooltip {
        font-size: 0.9rem;
    }

    /* Improve card badge visibility */
    .card-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        top: 8px;
        right: 8px;
    }

    /* Breed info grid layout */
    .breed-card .breed-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    /* Ensure consistent height for news cards */
    #news .row {
        align-items: stretch;
    }

    /* Fix for news card hover effects */
    .news-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    /* Improve section spacing */
    #news {
        margin-bottom: 40px !important;
    }

    #news .section-title {
        margin-bottom: 25px;
        font-size: 1.6rem;
    }
}

/* Desktop specific */
@media (min-width: 768px) {
    .breed-card .breed-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Add subtle overlay on image hover */
.breed-card .breed-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.breed-card .breed-image-container > a {
    display: block;
    height: 100%;
    position: relative;
    z-index: 3;
}

.breed-card:hover .breed-image-container::after {
    opacity: 1;
}
