/* Enhanced Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 81px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/img/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 65%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(201, 160, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(11, 91, 54, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(201, 160, 55, 0.05) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
}

.hero-text {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 160, 55, 0.2);
    color: #f7fafc;
    padding: 5px 15px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(201, 160, 55, 0.3);
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.hero-title {
    font-size: 48px;
    font-weight: 700 !important;
    color: #f7fafc;
    line-height: 1;
    letter-spacing: 1px;
    margin: 0px;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #c9a037 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: #cbd5e0;
    margin-bottom: 0px;
    line-height: var(--line-height);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0px;
    width: 100%;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f7fafc;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #f7fafc;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #c9a037 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Breeds Section */
.breeds-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    padding: 70px 0;
    overflow: hidden;
}

.breeds-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="breeds-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23cbd5e1" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23breeds-pattern)"/></svg>');
    poInter-events: none;
}


.breeds-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing);
    margin-top: 25px;
}

.breed-stat {
    text-align: center;
}

.breed-stat .stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #aaaaaa;
}

.how-it-works {
    background: linear-gradient(90deg, #e0e0e0 0%, #f5f5f5 125%);
    padding: 70px 0 80px 0px;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23cbd5e1" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    poInter-events: none;
}

.how-it-works-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

.how-it-works .steps-container {
    position: relative;
    z-index: 1;
}

.how-it-works .steps-container .steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--spacing);
    margin: 0px auto;
}

.how-it-works .steps-container .steps-timeline .step-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: var(--spacing);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.how-it-works .steps-container .steps-timeline .step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.how-it-works .steps-container .steps-timeline .step-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.how-it-works .steps-container .steps-timeline .step-card:hover .step-icon {
    transform: scale(1.1);
}

.how-it-works .steps-container .steps-timeline .step-card:hover::before {
    opacity: 1;
}

.how-it-works .steps-container .steps-timeline .step-card .step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(22, 163, 74, 0.1);
    line-height: var(--line-height);
}

.how-it-works .steps-container .steps-timeline .step-card .step-content {
    position: relative;
    z-index: 1;
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-icon-wrapper {
    margin-bottom: 2rem;
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-icon-wrapper .step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-size);
    transition: all var(--transition);
    margin: 0px auto;
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-icon-wrapper .step-icon svg {
    width: 28px;
    height: 28px;
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-title {
    font-size: var(--text-size);
    font-weight: 600;
    color: rgb(0, 0, 0);
    line-height: var(--line-height);
    margin: 0 0 1rem 0;
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-desc {
    color: #000;
    line-height: var(--line-height);
    min-height: 67px;
    margin-bottom: var(--spacing);
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0px auto;
}

.how-it-works .steps-container .steps-timeline .step-card .step-content .step-features .feature-tag {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    padding: 2px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.trust-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots-trust" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23cbd5e1" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-trust)"/></svg>');
    poInter-events: none;
}

.trust-section .trust-header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.trust-section .trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: var(--spacing);
    position: relative;
    z-index: 1;
}

.trust-section .trust-features .trust-feature-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: var(--spacing);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trust-section .trust-features .trust-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 50%, #16a34a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-section .trust-features .trust-feature-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.trust-section .trust-features .trust-feature-card:hover::before {
    opacity: 1;
}

.trust-section .trust-features .trust-feature-card .trust-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0px auto 2rem auto;
    transition: all var(--transition);
}

.trust-section .trust-features .trust-feature-card:hover .trust-feature-icon {
    transform: scale(1.1);
}

.trust-section .trust-features .trust-feature-card .trust-feature-icon svg {
    width: 28px;
    height: 28px;
}

.trust-section .trust-features .trust-feature-card .trust-feature-content h3 {
    font-size: var(--text-size);
    font-weight: 600;
    color: rgb(0, 0, 0);
    line-height: var(--line-height);
    margin: 0 0 1rem 0;
}

.trust-section .trust-features .trust-feature-card .trust-feature-content p {
    color: #000;
    margin-bottom: 1rem;
    min-height: 105px;
}

/* Responsive Design for Hero */


@media(max-width: 768px) and (max-width: 991.98px) {
    .breeds-section,
    .featured-section,
    .how-it-works,
    .trust-section {
        padding: 40px 0;
    }

    .breeds-grid {
        margin: 0px auto 40px auto;
    }

    .how-it-works .steps-container .steps-timeline {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .breed-image-wrapper {
        height: 140px;
    }

    .breed-content h3 {
        font-size: 14px;
    }

    .breed-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trust-section .trust-features {
        grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: calc(100vh - 152px);
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 165px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .breeds-section,
    .featured-section,
    .how-it-works,
    .trust-section {
        padding: 40px 0;
    }

    .breeds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing);
        margin: 0px auto 25px auto;
    }

    .breeds-grid .breed-card {
        flex-direction: column;
        text-align: center;
    }

    .breed-image-wrapper {
        height: 160px;
    }

    .breed-name {
        font-size: 14px !important;
        letter-spacing: 0px !important;
    }

    .breed-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .featured-grid {
        margin: 0px auto 25px auto;
    }

    .trust-section .trust-features .trust-feature-card .trust-feature-content p {
        margin-bottom: 0px;
        min-height: unset;
    }
}

@media(min-width: 550px) and (max-width: 767.98px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .how-it-works .steps-container .steps-timeline .step-card .step-content .step-desc {
        min-height: unset;
    }

    .trust-section .trust-features {
        grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    }
}
