/* Common Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: #28a745;
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    color: #218838;
    text-decoration: none !important;
}

.nav-logo a:focus,
.nav-logo a:active,
.nav-logo a:visited {
    text-decoration: none !important;
    color: #28a745;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    color: #28a745;
}

.nav-logo span {
    color: #28a745;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-link i {
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover i {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Medical Disclaimer Banner */
.medical-disclaimer-banner {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 5px solid #ff9800;
    padding: 1rem 1.5rem;
    margin: 1rem 0 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideDown 0.5s ease;
}

.medical-disclaimer-banner i {
    color: #ff9800;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.medical-disclaimer-content {
    flex: 1;
}

.medical-disclaimer-content strong {
    color: #e67e22;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.medical-disclaimer-content p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.medical-disclaimer-content p:not(:last-child) {
    margin-bottom: 0.5rem;
}

.medical-disclaimer-link {
    color: #d35400;
    text-decoration: underline;
    font-weight: 500;
}

.medical-disclaimer-link:hover {
    color: #e67e22;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: var(--text-white);
    padding: 4rem 0 1rem;
   
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    margin-right: 0.75rem;
    font-size: 2rem;
    color: #28a745;
}

.footer-logo span {
    color: #28a745;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Newsletter Section */
.footer-newsletter {
    max-width: 300px;
}

.footer-newsletter p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    margin-bottom: 2rem;
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7;
    font-size: 0.85rem;
}

.badge i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}
.nav-close-btn{
       display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .footer-section h4 {
        justify-content: center;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 80px 0 2rem;
        gap: 1rem;
        z-index: 9999;
        overflow-y: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(139, 195, 74, 0.05));
        z-index: -1;
    }
    
    /* Close button for mobile menu */
    .nav-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
        z-index: 10000;
     
    }
    
    .nav-close-btn:hover {
        background: var(--secondary-color);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    }
    
    .nav-close-btn:active {
        transform: scale(0.95);
    }

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

    .nav-link {
        padding: 1.5rem 2rem;
        justify-content: center;
        width: 100%;
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: 12px;
        margin: 0 2rem;
        transition: all 0.3s ease;
        color: var(--text-dark);
    }
    
    .nav-link:hover {
        background-color: var(--primary-color);
        color: var(--text-white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    }
    
    .nav-link i {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-badges {
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: var(--border-radius);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
/* ===== SIMPLE MODAL STYLES ===== */
.simple-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simple-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.simple-modal-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 320px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.simple-modal.show .simple-modal-content {
    transform: scale(1);
}

.simple-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.simple-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.simple-modal-header {
    text-align: center;
    margin-bottom: 1rem;
}

.simple-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.simple-modal-form {
    margin-bottom: 0;
}

.simple-modal-input-group {
    margin-bottom: 1rem;
}

.simple-modal-input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.simple-modal-input:focus {
    border-color: var(--primary-color);
}

.simple-modal-input.error {
    border-color: #e74c3c;
}

.simple-modal-input.success {
    border-color: #27ae60;
}

.simple-modal-error {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}

.simple-modal-error.show {
    display: block;
}

.simple-modal-submit {
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.simple-modal-submit:hover {
    background: #45a049;
}

.simple-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.simple-modal-submit .loading-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.simple-modal-submit.loading .loading-spinner {
    display: inline-block;
}

.simple-modal-success {
    display: none;
    text-align: center;
    padding: 1rem 0;
}

.simple-modal-success.show {
    display: block;
}

.simple-success-icon {
    width: 40px;
    height: 40px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    color: white;
    font-size: 1.2rem;
}

.simple-success-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #27ae60;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .simple-modal-content {
        padding: 1.2rem;
        margin: 1rem;
        max-width: 280px;
    }
    
    .simple-modal-title {
        font-size: 1.1rem;
    }
    
    .simple-success-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}