/* =============================================
   Clean Service Cards & Homepage Components
   Consistent Color Scheme: Blue Primary
   ============================================= */

/* Color Variables Reference:
   Primary Blue: #0066CC
   Primary Dark: #004C99
   Light BG: #f8f9fa
   Text Dark: #1f2937
   Text Muted: #6b7280
   Border: #e5e7eb
*/

/* ---- Service Cards Premium - Matching Reference Design ---- */
.service-card-simple {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(135deg, #00d4ff 0%, #0099ff 25%, #e8f4fc 50%, #0099ff 75%, #00d4ff 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.08);
}

.service-card-simple:hover {
    box-shadow: 0 12px 40px rgba(0, 180, 255, 0.2);
    transform: translateY(-6px);
}

/* Icon Box - Blue Square with White Icon */
.service-icon-box {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0077CC 0%, #0099FF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.service-icon-box i {
    font-size: 1.75rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.service-card-simple:hover .service-icon-box {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.35);
}

/* Service Name - Blue Color */
.service-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0066CC;
    margin-bottom: 12px;
}

/* Service Description - Gray */
.service-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Service Footer */
.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f4f8;
    gap: 16px;
}

/* Price Styling - Orange/Gold Color */
.service-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-price .price-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.service-price .price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #D97706;
}

/* Book Button - Dark Blue Rounded */
.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-book:hover {
    background: linear-gradient(135deg, #2d4a73 0%, #1a3d5c 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-book i {
    transition: transform 0.3s ease;
}

.btn-book:hover i {
    transform: translateX(4px);
}

/* ---- Category Cards Modern ---- */
.category-card-modern {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-card-modern:hover {
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
    transform: translateY(-6px);
}

.category-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card-modern:hover .category-image-wrapper img {
    transform: scale(1.08);
}

.category-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 204, 0);
    transition: background 0.3s ease;
}

.category-card-modern:hover .category-image-overlay {
    background: rgba(0, 102, 204, 0.1);
}

.category-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.category-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.category-count {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 2px;
    display: block;
}

.category-arrow {
    width: 36px;
    height: 36px;
    background: #e6f0fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066CC;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card-modern:hover .category-arrow {
    background: #0066CC;
    color: #ffffff;
}

.category-content>div {
    flex: 1;
}

/* ---- Product Cards ---- */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
}

.product-image img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc3545;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-action-btn:hover {
    background: #0066CC;
    border-color: #0066CC;
    color: #ffffff;
}

.product-body {
    padding: 20px;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
}

.product-title a {
    color: #1f2937;
    text-decoration: none;
}

.product-title a:hover {
    color: #0066CC;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
}

.product-rating i {
    font-size: 0.75rem;
    color: #fbbf24;
}

.product-rating span {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-left: 4px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price .current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0066CC;
}

.product-price .original-price {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-footer {
    padding: 0 20px 20px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #0066CC;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #004C99;
}

/* ---- Product Card V2 (Upgraded) ---- */
.product-card-v2 {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
}

.product-card-v2:hover {
    border-color: #0066CC;
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.12);
    transform: translateY(-4px);
}

.product-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0066CC;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 2;
}

.product-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.product-wishlist-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image-v2 {
    background: #f8f9fa;
    position: relative;
    padding-top: 100%;
    /* Square aspect ratio */
    overflow: hidden;
}

.product-image-v2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-v2:hover .product-image-v2 img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-cat {
    font-size: 0.7rem;
    color: #0066CC;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 6px 0 8px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
}

.product-name a {
    color: #1f2937;
    text-decoration: none;
}

.product-name a:hover {
    color: #0066CC;
}

.product-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
}

.product-stars i {
    font-size: 0.7rem;
    color: #fbbf24;
}

.product-stars span {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-left: 4px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.price-group {
    display: flex;
    flex-direction: column;
}

.sale-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0066CC;
}

.regular-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.quick-add-btn {
    width: 40px;
    height: 40px;
    background: #0066CC;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-add-btn:hover {
    background: #004C99;
    transform: scale(1.1);
}

/* ---- Feature Icon (Why Choose Us) ---- */
.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #e6f0fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.2rem;
    color: #0066CC;
}

/* ---- Testimonial Cards ---- */
.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-right: 2px;
}

.testimonial-content {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0066CC;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ---- Hero Section Clean ---- */
.hero-section {
    background: #f8f9fa;
    padding-top: 60px;
    padding-bottom: 60px;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-image img {
    border-radius: 12px;
}

/* ---- CTA Section ---- */
.cta-section {
    background: #0066CC;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* ---- Section Titles ---- */
.section-title {
    color: #1f2937;
}

.section-subtitle {
    color: #6b7280;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .service-card-simple {
        padding: 20px;
    }

    .service-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .btn-book {
        width: 100%;
        justify-content: center;
    }


    .hero-section {
        padding-top: 100px;
    }
}

/* ---- Premium Testimonial Card ---- */
.testimonial-card-premium {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.testimonial-card-premium:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #0066CC;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.testimonial-content {
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: #f0f7ff;
    color: #0066CC;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e6f0fa;
}

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #1f2937;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ---- Premium Footer ---- */
.footer-premium {
    background-color: #0f172a;
    padding-top: 80px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo i {
    font-size: 1.8rem;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #0066CC;
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(5px);
}

.contact-icon {
    width: 24px;
    color: #38bdf8;
    flex-shrink: 0;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: #0066CC;
    border-color: #0066CC;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.footer-bottom {
    background: #0b1120;
}

.footer-legal a:hover {
    color: #38bdf8 !important;
}