/* Responsive Styles */

/* Tablet Styles */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        padding: 2rem;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .dosage-details {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .storage-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Tablet Styles */
@media (max-width: 1200px) {
    .hero-content {
        margin-left: 350px;
    }
    
    .hero-product-image {
        width: 320px;
        height: 440px;
    }
}

/* Mobile Styles */
@media (max-width: 968px) {
    .hero-wrapper {
        flex-direction: column;
        justify-content: center;
        padding: 100px 20px 40px;
    }
    
    .hero-content {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-product-image {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 280px;
        height: 380px;
        margin: 0 auto 30px;
        opacity: 0.9;
    }
    
    .box-product-name {
        font-size: 1.8rem;
    }
    
    .box-ingredient {
        font-size: 1rem;
    }
    
    .box-details {
        font-size: 0.7rem;
    }
    
    .alhavi-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .alhavi-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-product-image {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }

    .header-content {
        padding: 0.8rem 0;
    }

    .logo a {
        font-size: 1.5rem;
    }

    .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 100px 15px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .about-text .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .indications-text h3 {
        font-size: 1.5rem;
    }

    .indications-text p {
        font-size: 1rem;
    }

    .assessment-form {
        padding: 1.5rem;
    }

    .dosage-info h3 {
        font-size: 1.5rem;
    }

    .dosage-info > p {
        font-size: 1rem;
    }

    .dosage-instructions {
        padding: 1.5rem;
    }

    .dosage-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .side-effect-item {
        flex-direction: column;
        gap: 1rem;
    }

    .severity {
        align-self: flex-start;
    }

    .storage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo a {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .assessment-form {
        padding: 1rem;
    }

    .btn-download {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn-primary,
    .btn-secondary,
    .btn-download,
    .menu-toggle,
    .scroll-indicator {
        display: none;
    }

    .hero {
        min-height: auto;
        page-break-after: always;
    }

    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}

