 /* Medical Professional CSS - COMPLETE IMPROVED VERSION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========== IMPROVED NAVIGATION ========== */
.navbar {
    background: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid #1e40af;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/*  LOGO -*/
.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    height: 30px !important;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 10px;
    border-radius: 5px;
    position: relative;
}

.nav-menu a:hover {
    color: #dc2626;
    background: #f8fafc;
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: #dc2626;
    /*background: #fef2f2;*/
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    /*background: #dc2626;*/
    border-radius: 2px;
}

/* ========== IMPROVED HERO SECTION ========== */
.hero-medical {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-medical::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 1000 1000" opacity="0.1"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-desc {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

/* ========== IMPROVED BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin: 0 15px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-medical {
    background: #059669;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-medical:hover {
    background: #047857;
    color: white;
}

/* ========== IMPROVED TRUST SECTION ========== */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.badge {
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #1e40af;
}

.badge span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.badge p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
}

/* ========== IMPROVED PRODUCTS SECTION ========== */
.products-section {
    padding: 100px 0;
    background: white;
}

.products-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #1e40af;
    font-weight: 800;
    position: relative;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #1e40af 0%, #dc2626 100%);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #f8fafc;
    padding: 30px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: #1e40af;
    font-weight: 700;
}

.product-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.product-card-content {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #059669;
    margin-bottom: 1rem;
}

.cart-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.btn-cart {
    flex: 1;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-cart:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
}

.btn-details {
    flex: 1;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-details:hover {
    background: linear-gradient(135deg, #3730a3 0%, #312e81 100%);
    transform: translateY(-2px);
}

.btn-product {
    display: block;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-product:hover {
    background: linear-gradient(135deg, #3730a3 0%, #312e81 100%);
    letter-spacing: 1px;
}

/* ========== NEW CONTENT SECTIONS ========== */
/* Mission Vision Section */
.mission-vision {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: #1e40af;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.mission-card h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #1e40af;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.1rem;
}

/* ========== IMPROVED SLIDER ========== */
/* ========== SLIDER STYLING ========== */
/* ========== SLIDER STYLING ========== */
.slider-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  margin-top: 80px;
}

.slider-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.slider-title {
  text-align: center;
  color: white;
  font-size: 3rem;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
}

/* === Slider Box === */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 3; /* 👈 matches ~2.66:1 ratio */
  max-height: 550px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  background: #000;
}

/* === Slide Track === */
.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

/* === Each Slide === */
.slide {
  flex: 0 0 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #000;
  border-radius: 20px;
}

/* === Text Overlay === */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: white;
  padding: 2.5rem;
  transition: transform 0.3s ease;
}

.slide:hover .slide-content {
  transform: translateY(-8px);
}

.slide-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.slide-content p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
}

/* === Buttons === */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* === Navigation Dots === */
.slider-nav {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255,255,255,0.5);
}

/* === RESPONSIVE BREAKPOINTS === */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .slider-section { padding: 60px 0; }
  .slider-title { font-size: 2.4rem; margin-bottom: 2rem; }
  .slider { aspect-ratio: 7 / 3; max-height: 400px; }
  .slide-content { padding: 2rem; }
  .slide-content h3 { font-size: 1.8rem; }
  .slide-content p { font-size: 1.1rem; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .slider-section { padding: 50px 0; margin-top: 60px; }
  .slider-container { padding: 0 15px; }
  .slider-title { font-size: 1.8rem; margin-bottom: 1.5rem; }
  .slider { aspect-ratio: 5 / 3; max-height: 320px; border-radius: 12px; }
  .slide-content { padding: 1.2rem; text-align: center; }
  .slide-content h3 { font-size: 1.3rem; }
  .slide-content p { font-size: 1rem; }
  .slider-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .slider-btn.prev { left: 10px; }
  .slider-btn.next { right: 10px; }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .slider { aspect-ratio: 1 / 1; max-height: 260px; }
  .slider-title { font-size: 1.5rem; }
  .slide-content { padding: 1rem; }
  .slide-content h3 { font-size: 1.1rem; }
  .slide-content p { font-size: 0.9rem; line-height: 1.4; }
  .slider-dot { width: 10px; height: 10px; }
}




/* ========== IMPROVED FOOTER ========== */
.medimint-footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #ffffff;
    padding: 70px 0 30px;
    font-family: 'Arial', sans-serif;
    width: 100%;
    margin: 0;
    position: relative;
}

.medimint-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 280px;
    margin-bottom: 30px;
    padding-right: 30px;
}

.footer-section h3 {
    color: #63b3ed;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #63b3ed 0%, #4299e1 100%);
    border-radius: 2px;
}

.footer-section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.footer-section strong {
    color: #63b3ed;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: block;
    padding: 5px 0;
}

.footer-section ul li a:hover {
    color: #63b3ed;
    transform: translateX(10px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1.1rem;
    background-color: #2d3748;
    color: white;
    border: 2px solid #4a5568;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #63b3ed;
}

.newsletter-form input::placeholder {
    color: #a0aec0;
}

.newsletter-form button {
    background: linear-gradient(135deg, #63b3ed 0%, #4299e1 100%);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    white-space: nowrap;
    font-size: 1.1rem;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    transform: translateX(2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2d3748;
    font-size: 1.1rem;
    color: #a0aec0;
    width: 100%;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== CART STYLES ========== */
.cart-count {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 0.8rem;
    margin-left: 8px;
    display: none;
    min-width: 20px;
    height: 20px;
    text-align: center;
    line-height: 1;
}

.cart-icon {
    display: flex;
    align-items: center;
    position: relative;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        color: #1e40af;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-desc {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 14px 30px;
        margin: 10px;
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 2rem;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        flex: 100%;
        padding-right: 0;
        min-width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 8px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .newsletter-form button {
        border-radius: 8px;
        padding: 15px;
        width: 100%;
    }
    
    .social-icons {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .nav-logo img {
        height: 60px !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-buttons {
        flex-direction: column;
    }
}

/* Additional Medical Styling */
.doctor-cta {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.medical-badges {
    margin-bottom: 2rem;
}

.badge-medical {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.certification-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid #1e40af;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.certification-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.certification-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #1e40af;
}

.resource-card h3 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.resource-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}
/* ========== PRODUCT GALLERY STYLES ========== */
.product-gallery {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.main-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

.image-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
    background: white;
    padding: 5px;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #1e40af;
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========== PRODUCT INFO IMPROVEMENTS ========== */
.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.rating-text {
    color: #666;
    font-weight: 600;
}

.product-price-section {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #1e40af;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 0.5rem;
}

.price-original {
    font-size: 1.3rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 1rem;
}

.discount {
    background: #dc2626;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: #059669;
    font-weight: 600;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #1e40af;
    background: white;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #1e40af;
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-buy {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 2;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-cart {
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-cart:hover {
    background: linear-gradient(135deg, #3730a3 0%, #312e81 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

/* ========== PRODUCT FEATURES GRID ========== */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e0f2fe;
    transform: translateY(-2px);
}

.feature i {
    color: #1e40af;
    font-size: 1.2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Make badges full-width on small screens */
@media (max-width: 768px) {
    .badge {
        min-width: 100%; /* Full width on mobile */
        max-width: 300px; /* Optional: limit size */
    }
}

.trust-badges {
    display: flex;
    flex-wrap: wrap; /* allows wrapping if needed */
    gap: 20px;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 15px 20px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 180px;  /* fixed size for all screens */
    max-width: 200px;  /* optional: prevent them from stretching too wide */
}



/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-features {
        grid-template-columns: 1fr 1fr;
    }
}