/* ============================================
   MAFIAMEDS - Medical Website Template
   Premium UI/UX Enhanced Stylesheet
   ============================================ */

/* === IMPORT GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === ROOT VARIABLES === */
:root {
    --primary: #474c1f;
    --secondary: #3a3e19;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --text: #1F2937;
    --success: #198754;
    --error: #DC3545;
    --gray-light: #E5E7EB;
    --gray-medium: #6B7280;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(71, 76, 31, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(71, 76, 31, 0.02) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(71, 76, 31, 0.01) 10px, rgba(71, 76, 31, 0.01) 20px);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === UTILITY CLASSES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 3rem; 
    font-weight: 800;
    line-height: 1.2;
}
h2 { 
    font-size: 2.25rem; 
    font-weight: 700;
}
h3 { 
    font-size: 1.75rem; 
    font-weight: 600;
}
h4 { 
    font-size: 1.375rem; 
    font-weight: 600;
}
h5 { 
    font-size: 1.125rem; 
    font-weight: 600;
}
h6 { 
    font-size: 1rem; 
    font-weight: 600;
}

p {
    margin-bottom: 18px;
    color: var(--gray-medium);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-medium);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-height: 52px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background-color: var(--success);
    color: var(--white);
}

.btn-success:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 20px 44px;
    font-size: 18px;
    min-height: 60px;
}

/* === TOP BAR === */
.top-bar {
    background: linear-gradient(135deg, var(--text) 0%, #2D3748 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--primary);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-size: 0.85rem;
}

.top-bar-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

.top-bar-item:hover {
    color: var(--white);
}

.top-bar a.top-bar-item:hover {
    text-decoration: none;
}

/* === HEADER === */
.header {
    background-color: var(--background);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 32px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    font-size: 28px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
    background-color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    padding: 16px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-primary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.hero-buttons .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-image {
    text-align: center;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-image img {
    border-radius: var(--border-radius);
    max-height: 500px;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* === SLIDER BANNER === */
.slider-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: var(--text);
}

.slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 76, 31, 0.7) 0%, rgba(25, 135, 84, 0.7) 100%);
    z-index: 1;
}

.slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1920&h=1080&fit=crop');
}

.slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1631549916768-4119b2e5f926?w=1920&h=1080&fit=crop');
}

.slide:nth-child(2)::before {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.85) 0%, rgba(19, 108, 67, 0.75) 100%);
}

.slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?w=1920&h=1080&fit=crop');
}

.slide:nth-child(3)::before {
    background: linear-gradient(135deg, rgba(71, 76, 31, 0.9) 0%, rgba(25, 135, 84, 0.8) 100%);
}

.slide-content {
    max-width: 1200px;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.slide-text h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.slide-text p {
    font-size: 1.35rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.slide-image {
    display: none;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(71, 76, 31, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: var(--primary);
    width: 36px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* === FEATURES SECTION === */
.features {
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 48px 36px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(71, 76, 31, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-section .btn:hover {
    background-color: var(--background);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* === PAGE HERO SECTIONS === */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 76, 31, 0.9) 0%, rgba(25, 135, 84, 0.85) 100%);;
    z-index: 1;
}

.page-hero.products-hero {
    background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&h=600&fit=crop');
}

.page-hero.about-hero {
    background-image: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?w=1920&h=600&fit=crop');
}

.page-hero.about-hero::before {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.88) 0%, rgba(19, 108, 67, 0.82) 100%);
}

.page-hero.contact-hero {
    background-image: url('https://images.unsplash.com/photo-1582560469781-1965b9af903d?w=1920&h=600&fit=crop');
}

.page-hero.contact-hero::before {
    background: linear-gradient(135deg, rgba(71, 76, 31, 0.9) 0%, rgba(25, 135, 84, 0.85) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.page-hero h1 i {
    color: var(--white);
    opacity: 0.9;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--background);
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(71, 76, 31, 0);
    transition: var(--transition);
}

.product-card:hover .product-image::after {
    background: rgba(71, 76, 31, 0.1);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
}

.product-info p {
    margin-bottom: 20px;
    font-size: 0.9375rem;
    flex-grow: 1;
}

.product-dosage {
    display: inline-block;
    background: linear-gradient(135deg, rgba(71, 76, 31, 0.1) 0%, rgba(25, 135, 84, 0.1) 100%);
    color: var(--primary);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    border: 1px solid rgba(71, 76, 31, 0.2);
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-dark);
    font-size: 0.875rem;
    margin-bottom: 14px;
    font-weight: 500;
}

.product-category i {
    color: var(--success);
    font-size: 0.75rem;
}

.product-description {
    color: var(--gray-medium);
    line-height: 1.65;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(71, 76, 31, 0.3);
    backdrop-filter: blur(10px);
}

/* === VERIFICATION PAGE === */
.verify-section {
    background-color: var(--background);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.verify-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 60px 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    animation: fadeInUp 0.6s ease;
}

.verify-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(71, 76, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: var(--primary);
}

.verify-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    min-height: 52px;
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(71, 76, 31, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.verify-result {
    margin-top: 36px;
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
    border: 2px solid;
}

.verify-result.success {
    background-color: rgba(25, 135, 84, 0.08);
    border-color: var(--success);
    color: var(--success);
}

.verify-result.error {
    background-color: rgba(220, 53, 69, 0.08);
    border-color: var(--error);
    color: var(--error);
}

.verify-result h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.verify-result.success h3 {
    color: var(--success);
}

.verify-result.error h3 {
    color: var(--error);
}

.verify-result .result-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.verify-result.success .result-icon {
    background-color: var(--success);
    color: var(--white);
}

.verify-result.error .result-icon {
    background-color: var(--error);
    color: var(--white);
}

/* === ABOUT PAGE === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-image img {
    border-radius: 12px;
    width: 100%;
}

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
}

/* === CONTACT PAGE === */
.contact-section {
    background-color: var(--background);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
}

/* === FOOTER === */
.footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* === TABLET RESPONSIVE === */
@media (max-width: 992px) {
    .container {
        padding: 0 16px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-img {
        height: 38px;
    }
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero-text h1 { font-size: 2.2rem; }
    
    /* Page Hero */
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        gap: 12px;
        font-size: 0.8rem;
    }
    
    .top-bar-right {
        display: none;
    }

    /* Header */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 15px;
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Verification */
    .verify-section {
        padding: 30px 0;
        min-height: auto;
    }
    
    .verify-container {
        padding: 30px 20px !important;
    }
    
    .verify-icon {
        width: 70px !important;
        height: 70px !important;
        font-size: 36px !important;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Product Detail Mobile */
    .product-detail-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .product-gallery {
        position: static !important;
    }
    
    .product-detail-info h1 {
        font-size: 1.75rem;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-brand-info {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .brand-item {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .brand-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .tabs-nav {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }
    
    .tab-btn {
        text-align: left;
        padding: 14px 16px;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .tab-btn.active::after {
        display: none;
    }
    
    .specifications-table td:first-child {
        width: 110px;
        font-size: 0.875rem;
    }
    
    .specifications-table td {
        padding: 12px 8px;
        font-size: 0.875rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }

    /* Verification */
    .verify-container {
        padding: 30px 20px;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 1.75rem; }
    .hero-text h1 { font-size: 1.9rem; }
    
    .product-image {
        height: 220px;
    }
    
    /* Product Detail Very Small Screens */
    .product-detail-info h1 {
        font-size: 1.5rem;
    }
    
    .product-main-image {
        height: 250px;
    }
    
    .product-dosage-badge,
    .product-category-badge {
        font-size: 0.8125rem;
        padding: 8px 14px;
    }
    
    .brand-item i {
        font-size: 22px;
    }
    
    .brand-item span {
        font-size: 0.875rem;
    }
    
    .product-info-tabs {
        margin-top: 40px;
    }
    
    .tab-btn {
        font-size: 14px;
        padding: 12px 12px;
    }
    
    /* Certification cards mobile */
    .certification-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 16px;
    }
    
    .cert-card {
        padding: 16px;
    }
    
    .cert-card i {
        font-size: 28px !important;
    }
    
    .cert-card h4 {
        font-size: 1rem;
    }
    
    .cert-card p {
        font-size: 0.875rem;
    }

    .product-gallery {
        position: static !important;
    }
    
    /* Top Bar - Show only contact on mobile */
    .top-bar {
        padding: 6px 0;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 6px;
    }
    
    .top-bar-item {
        font-size: 0.75rem;
    }
    
    /* Verify Section Compact */
    .verify-container {
        padding: 25px 18px !important;
    }
    
    .verify-container h1 {
        font-size: 1.5rem !important;
    }
    
    .verify-container p {
        font-size: 0.9rem !important;
    }
    
    .verify-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 28px !important;
        margin-bottom: 16px !important;
    }
    
    /* Page Hero Mobile */
    .page-hero {
        padding: 60px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .slide-text h2 {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }
    
    .slide-text p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .slider-banner {
        height: 500px;
    }
    
    .slider-controls {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 28px;
    }

    .stat-number {
        font-size: 2rem;
    }


    .verify-container {
        padding: 30px 20px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-text h2 {
        font-size: 2.2rem;
    }
    
    .slide-text p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .slider-banner {
        height: 550px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    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);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* === PRODUCT DETAIL PAGE === */
.product-detail-hero {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-light);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--background);
    border: 1px solid var(--gray-light);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.product-thumbnail {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.product-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-light);
    flex-wrap: wrap;
}

.product-dosage-badge,
.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.product-dosage-badge {
    background: linear-gradient(135deg, rgba(71, 76, 31, 0.1) 0%, rgba(25, 135, 84, 0.1) 100%);
    color: var(--primary);
    border: 1px solid rgba(71, 76, 31, 0.2);
}

.product-category-badge {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.product-brand-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--background);
    border-radius: var(--border-radius);
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-item i {
    font-size: 28px;
    color: var(--primary);
}

.brand-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-item strong {
    font-size: 0.8125rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-item span {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFA500;
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-weight: 600;
}

.product-price-box {
    background-color: var(--background);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.product-price-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-price-original {
    font-size: 1.5rem;
    color: var(--gray-medium);
    text-decoration: line-through;
    margin-right: 12px;
}

.product-description {
    margin-bottom: 32px;
}

.product-description h3 {
    margin-bottom: 16px;
}

.product-description ul {
    list-style: none;
    padding: 0;
}

.product-description ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.product-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.quantity-label {
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    background-color: var(--background);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text);
    transition: var(--transition);
}

.quantity-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.quantity-input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-left: 2px solid var(--gray-light);
    border-right: 2px solid var(--gray-light);
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.product-info-tabs {
    margin-top: 60px;
    border-top: 1px solid var(--gray-light);
    padding-top: 40px;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--gray-light);
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-medium);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid var(--gray-light);
}

.specifications-table td {
    padding: 16px;
}

.specifications-table td:first-child {
    font-weight: 600;
    width: 200px;
}
