/* Arvik Medical Systems - Final Fixed Styles (Big Logo, No Buttons on Cards, Footer Border) */

:root {
    --primary-color: #ff6d00;       /* Orange */
    --primary-dark: #e65100;
    --secondary-color: #ffea00;     /* Yellow */
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}
/* =========================================
   FIXED PAGE HEADERS (Sleek & Professional)
   ========================================= */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 25px 0; /* Reduced from 4rem (64px) to 25px - Sleek look */
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

/* Subtle pattern overlay */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="white" fill-opacity="0.05"/></svg>');
    opacity: 0.1;
}

.page-header h1 {
    font-size: 24px; /* Reduced font size for better proportion */
    font-weight: 700;
    text-transform: uppercase;
    color: #fff !important;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-header p.lead {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-top: 5px;
    margin-bottom: 0;
}
/* =========================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================= */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: var(--dark-color);
    text-transform: uppercase;
}

.section-padding {
    padding: 60px 0;
}

/* Button Resets (In case they are used elsewhere) */
.btn {
    padding: 8px 20px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}
.btn-lg { padding: 12px 30px !important; font-size: 16px !important; }
.btn-primary { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; color: #fff !important; }
.btn-primary:hover { background-color: #000 !important; border-color: #000 !important; }
.btn-secondary { background-color: var(--secondary-color) !important; border-color: var(--secondary-color) !important; color: #000 !important; }
.btn-secondary:hover { background-color: #000 !important; color: #fff !important; }

/* =========================================
   2. HEADER & FOOTER FIXES (Logo Size & Footer Border)
   ========================================= */
/* BIGGER LOGO */
.navbar-logo {
    height: 85px; /* Increased from 55px */
    width: auto;
    transition: transform 0.3s ease;
}
.navbar-brand:hover .navbar-logo { transform: scale(1.05); }

.nav-link {
    font-weight: 700;
    font-size: 15px !important;
    text-transform: uppercase;
    color: #333 !important;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }

/* FOOTER WITH THICK BORDER */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    /* THICK TOP BORDER ADDED HERE */
    border-top: 2px solid var(--primary-color); 
}
.footer h6 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
}
.footer a { color: #bbb; text-decoration: none; font-size: 14px; line-height: 2; transition: all 0.3s ease;}
.footer a:hover { color: var(--primary-color); padding-left: 5px; }

/* =========================================
   3. UNIFIED PRODUCT CARD (Global - No Button, Big Image)
   ========================================= */
/* This single style should be used on ALL product listing pages */
.product-card-unified {
    display: block; /* Makes the whole <a> tag a block element */
    background: #fff;
    border: 1px solid #e0e0e0; /* Clean light border */
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    text-decoration: none; /* Removes underline from link */
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.product-card-unified:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color); /* Orange border on hover */
}

/* MUCH BIGGER IMAGE AREA (Since button is gone) */
.product-img-box-unified {
    height: 400px; /* Increased significantly for big images */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px; /* More padding for clean look */
    background: #fff;
}

.product-img-box-unified img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Ensures full image is seen clearly */
    transition: transform 0.3s ease;
}

.product-card-unified:hover .product-img-box-unified img {
    transform: scale(1.08); /* Zoom effect */
}

/* PRODUCT TITLE */
.product-title-unified {
    font-size: 18px;
    font-weight: 200;
    text-align: center;
    padding: 15px 10px;
    margin: 0;
    background: #fff;
    border-top: 1px solid #f0f0f0; /* Subtle separator */
    color: #333;
    transition: color 0.3s ease;
}

.product-card-unified:hover .product-title-unified {
    color: var(--primary-color); /* Title turns orange on hover */
}

/* =========================================
   4. CAROUSEL & SECTION STYLES
   ========================================= */
.hero-section { position: relative; overflow: hidden; margin-bottom: 40px; }
.carousel-item { height: 85vh; min-height: 500px; position: relative; background-color: #f8fafc; }
.carousel-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 8s ease; }
.carousel-item.active .carousel-bg { transform: scale(1.1); }
.carousel-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%); }
.carousel-content { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); z-index: 2; padding-left: 50px; }

.home-section { padding: 80px 0; background-color: #fff; }
.home-about-section { background-color: #f8fafc; }
.rounded.shadow { border-radius: 12px !important; box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }



@media (max-width: 767.98px) {
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
        .product-img-box-unified { height: 280px; } /* Smaller on mobile, but still big */

    .carousel-content h1 {
        font-size: 2.5rem;
        
    }
    .carousel-content { position: absolute; top: 90%; left: 0; width: 100%; transform: translateY(-50%); z-index: 2; padding-left: 20px; }

.btn-lg {
    padding: 7px 7px !important;
    font-size: 11px !important;
}
   
    .contact-form-wrapper,
    .map-wrapper {
        padding: 2rem;
    }
    
    .feature-icon,
    .contact-icon,
    .cert-icon {
        width: 70px;
        height: 70px;
    }
        .navbar-logo { height: 60px; } /* Slightly smaller logo on mobile */

    .feature-icon i,
    .contact-icon i,
    .cert-icon i {
        font-size: 2rem;
    }
}
