/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn-primary {
    display: inline-block;
    background-color: #2a9d8f;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #21867a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2a9d8f;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #2a9d8f;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2a9d8f;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

.highlight {
    color: #2a9d8f;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #264653;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Top Header */
.top-header {
    background-color: #264653;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 25px;
}

.contact-info i, .header-links i {
    margin-right: 8px;
}

.header-links a {
    color: white;
    margin-left: 20px;
}

.header-links a:hover {
    color: #2a9d8f;
}

/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #264653;
    margin-left: 10px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
    position: relative;
}

.main-nav a {
    font-weight: 600;
    color: #495057;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: #2a9d8f;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2a9d8f;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.header-actions {
    display: flex;
    align-items: center;
}

.cart-btn {
    position: relative;
    margin-right: 20px;
    font-size: 22px;
    color: #264653;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e76f51;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #264653;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e9f5f3 0%, #d8f0ed 100%);
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.2rem;
    color: #264653;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-bottom: 15px;
    background-color: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.feature i {
    color: #2a9d8f;
    margin-right: 10px;
    font-size: 18px;
}

.feature span {
    font-weight: 600;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 300px;
    margin: 0 15px 30px;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #2a9d8f;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 48px;
    color: #2a9d8f;
    margin-bottom: 20px;
}

.step h3 {
    color: #264653;
    margin-bottom: 15px;
}

/* Medications Table */
.medications {
    background-color: #f8f9fa;
}

.table-container {
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    background-color: white;
}

.medications-table {
    width: 100%;
    border-collapse: collapse;
}

.medications-table thead {
    background-color: #264653;
    color: white;
}

.medications-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
}

.medications-table tbody tr {
    border-bottom: 1px solid #eee;
}

.medications-table tbody tr:hover {
    background-color: #f8f9fa;
}

.medications-table td {
    padding: 20px 15px;
}

.med-name {
    display: flex;
    align-items: center;
}

.med-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: #e9f5f3;
    border-radius: 50%;
    padding: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 600;
}

.new-price {
    color: #2a9d8f;
    font-weight: 700;
    font-size: 1.2rem;
}

.savings-badge {
    background-color: #e9f5f3;
    color: #2a9d8f;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.btn-table {
    display: inline-block;
    background-color: #2a9d8f;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.btn-table:hover {
    background-color: #21867a;
}

.table-note {
    margin-top: 20px;
    background-color: #e9f5f3;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.table-note i {
    color: #2a9d8f;
    margin-right: 10px;
    font-size: 20px;
}

/* Reviews */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.review-card {
    flex: 1;
    min-width: 250px;
    margin: 0 15px 30px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.review-rating {
    color: #ffc107;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.review-author h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.review-author span {
    color: #6c757d;
    font-size: 14px;
}

/* Benefits */
.benefits {
    background-color: white;
}

.benefits-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.benefits-text {
    flex: 1;
    max-width: 600px;
}

.benefits h2 {
    font-size: 2.5rem;
    color: #264653;
    margin-bottom: 20px;
}

.benefits p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.benefits-list i {
    color: #2a9d8f;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 18px;
}

.benefits-image {
    flex: 1;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #264653;
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin: 0 15px 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-right: 10px;
}

.footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #ced4da;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #2a9d8f;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #2a9d8f;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ced4da;
}

.footer-col ul li a:hover {
    color: #2a9d8f;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
}

.newsletter-form button {
    background-color: #2a9d8f;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #21867a;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
}

.social-links a:hover {
    background-color: #2a9d8f;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px 10px;
    color: #ced4da;
}

.footer-links a:hover {
    color: #2a9d8f;
}

.copyright p {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.6;
}

.copyright-link {
    color: #2a9d8f !important;
    font-weight: 600;
}

.copyright-link:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 13px !important;
    margin-top: 15px;
    font-style: italic;
    color: #6c757d !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .benefits-content {
        flex-direction: column;
    }
    
    .benefits-text {
        margin-bottom: 50px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-contact {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .contact-info span {
        display: block;
        margin: 0 0 10px;
    }
    
    .header-links a {
        margin: 0 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .steps-container, .reviews-container {
        flex-direction: column;
    }
    
    .step, .review-card {
        margin: 0 0 30px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-col {
        margin: 0 0 40px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature {
        width: 100%;
        margin-right: 0;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}