/* ==========================================
   HOME PAGE ENHANCEMENTS
   ========================================== */

/* Best Services Section */
.best-services {
    padding: 80px 0;
    background: #fff;
}

.best-head {
    margin-bottom: 50px;
}

.best-head h3 {
    color: #f47d9d;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.best-head h4 {
    color: #666;
    font-size: 22px;
    font-weight: 400;
}

.best-head h4 span {
    color: #ecb6b5;
    font-weight: 600;
}

.best-conn {
    padding: 30px;
    background: #fafbfc;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.best-conn p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0;
}

/* Member Cards in Carousel */
.best-box {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: #fff;
}

.best-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(244, 125, 157, 0.25);
}

.best-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.best-box:hover img {
    transform: scale(1.1);
}

.boxContent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 25px;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.best-box:hover .boxContent {
    transform: translateY(0);
}

.boxContent h3.title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.boxContent h3.title a {
    color: #fff;
    text-decoration: none;
}

.boxContent p {
    color: #ecb6b5;
    font-size: 14px;
    margin: 5px 0;
}

.boxContent .links {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.boxContent .links li {
    display: inline-block;
}

.boxContent .links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.boxContent .links li a:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 5px 15px rgba(244, 125, 157, 0.5);
}

/* Hero Buttons Section Enhancement */
.hero-buttons-section {
    padding: 80px 0;
    background: #fff;
}

.hero-buttons-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    flex: 1;
    max-width: 450px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f47d9d, #ecb6b5);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hero-button:hover::before {
    transform: scaleX(1);
}

.hero-button-primary {
    border-color: #f47d9d;
}

.hero-button-secondary {
    border-color: #ecb6b5;
}

.hero-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(244, 125, 157, 0.25);
    border-color: #f47d9d;
}

.hero-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.hero-button:hover .hero-icon-wrapper {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(244, 125, 157, 0.4);
}

.hero-icon-wrapper i {
    color: #fff;
    font-size: 36px;
}

.hero-button h3 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-button:hover h3 {
    color: #f47d9d;
}

.hero-button p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.hero-arrow {
    margin-top: auto;
}

.hero-arrow i {
    color: #ecb6b5;
    font-size: 24px;
    transition: all 0.3s ease;
}

.hero-button:hover .hero-arrow i {
    color: #f47d9d;
    transform: translateX(-5px);
}

/* Questions/Contact Section */
.questions {
    padding: 0;
    background: #fff;
}

.questions-con {
    padding: 60px 40px;
    background: #fafbfc;
}

.queations-form {
    position: relative;
    z-index: 2;
}

.last-head h5 {
    color: #f47d9d;
    font-size: 18px;
    margin-bottom: 10px;
}

.last-head h4 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.last-head h4 span {
    color: #ecb6b5;
}

.questions-con .form-group .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 18px;
    transition: all 0.3s ease;
    background: #fff;
}

.questions-con .form-group .form-control:focus {
    border-color: #f47d9d;
    box-shadow: 0 0 0 4px rgba(244, 125, 157, 0.1);
    outline: none;
}

.questions-con .form-group textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.questions-con button[type="submit"] {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 125, 157, 0.3);
    width: 100%;
}

.questions-con button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 125, 157, 0.5);
    background: linear-gradient(135deg, #ecb6b5, #f47d9d);
}

/* Clients/Opinions Section */
.clients {
    padding: 80px 0;
    background: #fff;
}

.client-con {
    text-align: center;
    transition: all 0.3s ease;
}

.client-img img {
    width: 100px;
    height: 150px;
    border: 4px solid #ecb6b5;
    object-fit: cover;
    transition: all 0.3s ease;
}

.client-con:hover .client-img img {
    transform: scale(1.1);
    border-color: #f47d9d;
    box-shadow: 0 5px 20px rgba(244, 125, 157, 0.3);
}

.client-info h4 a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.client-info h4 a:hover {
    color: #f47d9d;
}

.s-client-con {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.s-client-con .i1,
.s-client-con .i2 {
    color: #ecb6b5;
    font-size: 36px;
    opacity: 0.3;
}

.s-client-con h5 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.s-client-con h4 {
    color: #333;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.s-client-con h4 span {
    color: #f47d9d;
}

.s-client-con p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* Subscribe Section */
.subscribe-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
}

.subscribe-section h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.subscribe-section p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 30px;
}

.subscribe-section .form-control {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.9);
}

.subscribe-section .form-control:focus {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}

.subscribe-section button {
    background: #fff;
    color: #f47d9d;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.4);
}

/* ==========================================
   MEMBER CARDS / PRODUCTS GRID
   ========================================== */

.products-grid {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    position: relative;
}

.products-grid:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(244, 125, 157, 0.25);
}

.products-grid .btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.products-grid .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.products-grid .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.products-grid .btn:hover {
    transform: scale(1.05);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.products-grid:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
    background: #fff;
}

.product-content .title {
    margin-bottom: 15px;
}

.product-content .title a {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-content .title a:hover {
    color: #f47d9d;
}

.product-content .price {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-content .price i {
    color: #ecb6b5;
    font-size: 14px;
}

.product-content .price span {
    font-weight: 600;
    color: #333;
}

.add-to-cart {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
}

.add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(244, 125, 157, 0.4);
    background: linear-gradient(135deg, #ecb6b5, #f47d9d);
    color: #fff;
}

.shap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f47d9d, #ecb6b5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.products-grid:hover .shap {
    transform: scaleX(1);
}

/* ==========================================
   SEARCH FORM ENHANCEMENT
   ========================================== */

.search-page {
    background: #fff;
    padding: 60px 0;
}

.search-form {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 40px;
}

.search-form h3 {
    color: #4f3445;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.search-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f47d9d, #ecb6b5);
}

.search-form .form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 14px;
}

.search-form .form-control,
.search-form select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.search-form .form-control:focus,
.search-form select:focus {
    border-color: #f47d9d;
    box-shadow: 0 0 0 4px rgba(244, 125, 157, 0.1);
    outline: none;
}

.search-form .form-control:hover,
.search-form select:hover {
    border-color: #ecb6b5;
}

.search-form button[type="submit"] {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 125, 157, 0.3);
}

.search-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 125, 157, 0.5);
    background: linear-gradient(135deg, #ecb6b5, #f47d9d);
}

/* ==========================================
   PAGINATION ENHANCEMENT
   ========================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    background: #fff;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    border-color: #f47d9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 125, 157, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #f47d9d, #ecb6b5);
    color: #fff;
    border-color: #f47d9d;
    box-shadow: 0 4px 12px rgba(244, 125, 157, 0.3);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .best-services,
    .hero-buttons-section,
    .clients {
        padding: 40px 0;
        background: #fff;
    }

    .best-head h3 {
        font-size: 28px;
    }

    .best-head h4 {
        font-size: 18px;
    }

    .hero-buttons-container {
        flex-direction: column;
    }

    .hero-button {
        max-width: 100%;
        padding: 30px 20px;
    }

    .hero-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .hero-icon-wrapper i {
        font-size: 28px;
    }

    .hero-button h3 {
        font-size: 20px;
    }

    .best-box {
        margin-bottom: 20px;
    }

    .products-grid {
        margin-bottom: 20px;
    }

    .search-form {
        padding: 25px;
    }

    .questions-con {
        padding: 40px 20px;
    }
}

