@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e53e3e;
}

.cta-btn {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fed7d7, #ffeaa7);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: #e53e3e;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.product-intro {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-highlight {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.doctor-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.trending-badge {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.badge-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    color: white;
}

.btn-secondary {
    border: 2px solid #e53e3e;
    color: #e53e3e;
    background: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.product-hero-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.benefit-card p {
    color: #4a5568;
    line-height: 1.6;
}

.product-showcase {
    margin-top: 4rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.showcase-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Ingredients Section */
.ingredients {
    padding: 80px 0;
    background: white;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ingredient-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid #e53e3e;
}

.ingredient-number {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ingredient-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.ingredient-list {
    list-style: none;
}

.ingredient-list li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.ingredients-visual {
    text-align: center;
    margin-top: 4rem;
}

.ingredients-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Before After Section */
.before-after {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
}

.before-after-content {
    text-align: center;
    margin-bottom: 4rem;
}

.before-after-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.feature-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Usage Section */
.usage {
    padding: 80px 0;
    background: white;
}

.usage-steps {
    margin-bottom: 4rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 15px;
}

.step-number {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
}

.special-tips {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #e53e3e;
    margin-bottom: 4rem;
}

.special-tips h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    margin-bottom: 1rem;
    padding-left: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.usage-visual {
    margin-top: 4rem;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.usage-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #e53e3e, #fc8181);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.expert-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.phone-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.phone-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.service-hours {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.service-hours h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.logo-text {
    background: #e53e3e;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e53e3e;
}

.contact-details p,
.product-features li {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

.product-features {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
}

/* Responsive Design */
/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
}

.nav-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
}

.nav-open .nav-link,
.nav-open .cta-btn {
    margin-bottom: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .nav {
        display: none;
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .benefits-grid,
    .ingredients-grid,
    .features-grid,
    .visual-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .phone-numbers {
        align-items: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Loading Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[src=""], img:not([src]) {
    opacity: 0;
    background: #f0f0f0;
    position: relative;
}

img[src=""]:before, img:not([src]):before {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
}

/* Ensure images load properly */
.product-hero-img,
.showcase-img,
.ingredients-img,
.before-after-img,
.feature-img,
.usage-img,
.contact-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #f8f8f8;
    min-height: 200px;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image placeholder while loading */
@keyframes pulse {
    0% { background-color: #f0f0f0; }
    50% { background-color: #e0e0e0; }
    100% { background-color: #f0f0f0; }
}

.image-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-content,
.benefit-card,
.ingredient-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.showcase-img:hover,
.feature-img:hover,
.usage-img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e53e3e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c53030;
}

/* Order Form Styles */
.order-form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.form-title {
    color: #e53e3e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid #e53e3e;
    padding-bottom: 15px;
}

.order-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.price-summary {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    border: 2px solid #e2e8f0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #ca3232;
}

.price-row .discount {
    text-decoration-line: line-through;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total-price {
    font-weight: 700;
    font-size: 20px;
    color: #e53e3e;
    border-top: 2px solid #e53e3e;
    margin-top: 10px;
    padding-top: 15px;
}

.order-btn {
    width: 100%;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.order-btn:hover {
    background: linear-gradient(135deg, #c53030 0%, #9c2727 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.order-btn:active {
    transform: translateY(0);
}

.order-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.order-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}

.order-success .success-message h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.order-success .success-message p {
    font-size: 16px;
    line-height: 1.6;
}

.alternative-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.alternative-contact .contact-subtitle {
    text-align: center;
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 20px;
}

/* Loading State */
.order-btn.loading {
    position: relative;
    color: transparent;
}

.order-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e53e3e;
    background-color: #fed7d7;
}

.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .order-form-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .order-btn {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .price-row {
        font-size: 14px;
    }
    
    .price-row.total-price {
        font-size: 18px;
    }
}