/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, serif;
    font-size: 17px;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Links - Only for non-Bootstrap links */
body a:not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.btn) {
    text-decoration: none;
    text-transform: capitalize;
    color: #000000;
    font-size: 16px;
}

main {
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

/* ============================================
   SEARCH
   ============================================ */
.search-container {
    position: relative;
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
}

#searchResults .list-group-item:hover {
    background-color: #f8f9fa;
}

.search-form .form-control {
    padding: 5px 10px;
    font-size: 14px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: #e6e6e6;
    border-radius: 20px;
    padding: 50px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 18px;
    color: #004d4d;
    margin-bottom: 25px;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 15px;
}

.img-fluid{
    width: 350px;
}
.btn-view {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    width: 100%;
    transition: background 0.2s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-view:hover {
    background: #0056b3;
    color: white;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    gap: 10px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    border-left: none;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
    display: inline-block;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.testimonial-text {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0.5rem 0;
    flex-grow: 1;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.testimonialImg {
    border-radius: 15px;
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.testimonials {
    text-align: center;
}

.testimonialTit {
    background: #e0e0eb;
    padding: 5px;
    text-align: center;
}

.card-body {
    text-align: center;
}

.card-body a {
    background-color: #1866c8;
    color: #ffffff;
}

.card-title {
    text-transform: uppercase;
    text-decoration: none;
}

/* ============================================
   CART BADGE
   ============================================ */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.nav-link .bi-cart {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* ============================================
   USER DASHBOARD & LOGIN
   ============================================ */
.user_dash {
    background: #404040;
    color: #ffffff;
}

.login {
    background: #33aaaa;
    color: #f9f9f9;
}

/* ============================================
   POSTS & FRONTEND
   ============================================ */
.frontPostTitle {
    font-size: 35px;
    font-family: "Arial Black";
}

/* ============================================
   BOTTOM SECTION
   ============================================ */
.bottom {
    background: #e0e0eb;
}

.bottomInner {
    background: #e0e0eb;
    border-radius: 12px;
    color: #000;
    padding: 15px;
    margin: 10px;
}

.bottomInner a {
    text-decoration: none;
    text-transform: uppercase;
    color: #cc0000;
}

.midle_tbox {
    margin-top: 10px;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    color: white;
    line-height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-consult {
    background: #007bff;
    color: #fff;
    text-decoration: none;
    bottom: 90px;
    font-size: 25px;
    width: auto;
    padding: 0 15px;
    border-radius: 30px;
    line-height: 60px;
}

/* ============================================
   CONSULTATION STYLES
   ============================================ */
.cons_h5 {
    color: #800033;
    font-size: 24px;
}

.cons_h5 a {
    color: #800033;
    font-size: 24px;
    text-decoration: none;
}

.live_h5 {
    color: #009933;
    font-size: 24px;
}

.live_h5 a {
    color: #009933;
    font-size: 24px;
    text-decoration: none;
}

.what_h5 {
    color: #00334d;
}

/* ============================================
   FOOTER
   ============================================ */
.footer_area {
    background: #0c0d0d;
    color: #fff;
    padding-top: 10px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (min-width: 576px) {
    .hero-section {
        padding: 3rem 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 4rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .hero-section {
        padding: 5rem 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .product-title {
        font-size: 16px;
        min-height: auto;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .product-image-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .bg-custom {
    background-color: #e6e6e6 !important;
    color: #0f3d0f;
}
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .btn-view {
        padding: 10px 16px;
    }
    
    .section-header a {
        padding: 8px 0;
    }
    
    .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }
    
    .col-6,
    .col-sm-6,
    .col-md-4,
    .col-lg-3,
    .col-lg-2 {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
    
    .search-form .input-group {
        width: 100%;
        margin-top: 10px;
    }
    
    .cart-badge {
        top: 5px;
        right: 5px;
    }
}
.footer{
    background-color: #d9d9d9;
    padding:15px;
    text-align:center;
    color:#001a00;
    font-size: 18px;
}
@media (max-width: 576px) {
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    .btn-view {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .product-title {
        font-size: 0.875rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

/* ============================================
   CAROUSEL STYLES
   ============================================ */
.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 250px;
    }
    
    .carousel-caption {
        font-size: 0.9em;
        left: 15px;
        bottom: 10px;
    }
}

/* Reset conflicting custom slider CSS */
.prev, .next, .dots, .dot {
    display: none !important;
}

/* ============================================
   MISC
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* Search responsive */
@media (max-width: 992px) {
    .search-form .input-group {
        width: 100%;
        margin-top: 10px;
    }
}