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

:root {
    --primary-color: #2a7a6d;
    --primary-dark: #1f5d53;
    --primary-light: #3a9c8c;
    --secondary-color: #f8b739;
    --secondary-dark: #e09b20;
    --accent-color: #e76f51;
    --light-bg: #f5f9f8;
    --dark-text: #264653;
    --medium-text: #495057;
    --light-text: #6c757d;
    --border-color: #dee2e6;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--medium-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.highlight {
    color: var(--primary-color);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}

.announcement-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.announcement-bar i {
    margin-right: 8px;
}

/* Top Header */
.top-header {
    background-color: var(--light-bg);
    color: var(--medium-text);
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-info span {
    display: flex;
    align-items: center;
}

.contact-info i, .header-links i {
    margin-right: 8px;
    color: var(--primary-color);
}

.header-links a {
    color: var(--medium-text);
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
}

.header-links a:hover {
    color: var(--primary-color);
}

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

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

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

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 28px;
    margin-bottom: 0;
    color: var(--dark-text);
}

.tagline {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

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

.main-nav li {
    position: relative;
}

.main-nav a {
    font-weight: 600;
    color: var(--dark-text);
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
    background-color: rgba(42, 122, 109, 0.05);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    min-width: 450px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 20px;
    display: flex;
    gap: 30px;
}

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

.dropdown-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.dropdown-column a {
    display: block;
    padding: 8px 0;
    color: var(--medium-text);
    border-bottom: 1px solid transparent;
}

.dropdown-column a:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

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

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: 50px;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 5px 10px;
    width: 180px;
    outline: none;
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 16px;
}

.cart-btn {
    position: relative;
    font-size: 22px;
    color: var(--dark-text);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-text);
    cursor: pointer;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('assets/pattern.png') repeat;
    opacity: 0.05;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

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

.hero h2 {
    font-size: 3.2rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: var(--light-text);
    font-weight: 600;
}

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

.feature {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--medium-text);
}

.badge i {
    color: var(--secondary-color);
}

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

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.image-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(231, 111, 81, 0.3);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 12px;
    font-weight: 600;
}

.badge-discount {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
}

/* How It Works */
.how-it-works {
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(42, 122, 109, 0.3);
}

.step-icon {
    font-size: 60px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.step p {
    color: var(--medium-text);
}

.step-line {
    position: absolute;
    top: 30px;
    left: 25%;
    right: 25%;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.cta-content h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.cta-content p {
    opacity: 0.9;
    max-width: 600px;
}

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

.cta-box .btn-primary:hover {
    background-color: var(--light-bg);
}

/* Medications Section */
.medications {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tab-btn {
    padding: 10px 25px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--medium-text);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.table-container {
    overflow-x: auto;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    background-color: var(--white);
    margin-bottom: 30px;
}

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

.medications-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.medications-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.medications-table tbody tr:hover {
    background-color: rgba(42, 122, 109, 0.03);
}

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

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

.med-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    padding: 5px;
}

.med-info {
    display: flex;
    flex-direction: column;
}

.med-dosage {
    font-size: 14px;
    color: var(--light-text);
    margin-top: 5px;
}

.old-price {
    text-decoration: line-through;
    color: var(--light-text);
    font-weight: 600;
    font-size: 16px;
}

.new-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.savings {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.savings-badge {
    background-color: rgba(42, 122, 109, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    width: fit-content;
}

.savings-amount {
    font-size: 14px;
    color: var(--light-text);
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-table {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    min-width: 100px;
}

.btn-table:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 18px;
}

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

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: rgba(42, 122, 109, 0.05);
    padding: 20px;
    border-radius: var(--radius);
    flex: 1;
    max-width: 700px;
}

.disclaimer i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.disclaimer p {
    font-size: 14px;
    color: var(--medium-text);
}

.view-all {
    text-align: center;
}

/* Reviews Section */
.reviews {
    background-color: var(--white);
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
}

.rating-text {
    font-weight: 700;
    color: var(--dark-text);
    margin-left: 5px;
}

.review-date {
    font-size: 14px;
    color: var(--light-text);
}

.review-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.review-text {
    color: var(--medium-text);
    margin-bottom: 25px;
    line-height: 1.7;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

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

.author-info h5 {
    margin-bottom: 5px;
    font-size: 16px;
}

.author-info span {
    font-size: 14px;
    color: var(--light-text);
}

.verified {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 5px;
}

.reviews-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: var(--radius);
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.overall-rating {
    text-align: center;
}

.rating-score {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    color: var(--secondary-color);
    font-size: 20px;
    margin: 10px 0;
}

.rating-count {
    font-size: 14px;
    color: var(--light-text);
}

.rating-bars {
    flex: 1;
    min-width: 250px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.rating-bar span:first-child {
    width: 60px;
    font-size: 14px;
    color: var(--light-text);
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--dark-text);
}

.bar-container {
    flex: 1;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
}

/* Benefits Section */
.benefits {
    background-color: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--medium-text);
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.faq-text {
    flex: 1;
}

.faq-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.faq-text > p {
    color: var(--medium-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--light-bg);
}

.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.faq-image img:hover {
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-feature i {
    color: var(--secondary-color);
}

.cta-form {
    flex: 0 0 400px;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-hover);
}

.cta-form h3 {
    color: var(--dark-text);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.cta-form > p {
    color: var(--medium-text);
    margin-bottom: 25px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 122, 109, 0.1);
}

.form-note {
    font-size: 13px;
    color: var(--light-text);
    margin-top: 20px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: #adb5bd;
    padding: 70px 0 20px;
}

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

.footer-col {
    flex: 1;
    min-width: 250px;
}

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

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 24px;
}

.footer-logo .tagline {
    color: var(--primary-light);
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-description {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #adb5bd;
}

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

.footer-contact i {
    color: var(--primary-light);
    width: 20px;
}

.payment-methods h4 {
    color: var(--white);
    font-size: 16px;
    margin: 25px 0 15px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 28px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-col ul li a {
    color: #adb5bd;
    transition: var(--transition);
}

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

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

.input-group {
    display: flex;
    background-color: #2c3e50;
    border-radius: 50px;
    overflow: hidden;
}

.input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: var(--white);
    outline: none;
}

.input-group button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: var(--transition);
}

.input-group button:hover {
    background-color: var(--primary-dark);
}

.social-links h4 {
    margin-bottom: 15px;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2c3e50;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #2c3e50;
    padding-top: 25px;
}

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

.footer-links a {
    color: #adb5bd;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

.copyright a {
    color: var(--primary-light);
}

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

.copyright-link {
    margin: 15px 0;
    font-size: 16px;
}

.highlight-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
}

.disclaimer {
    font-size: 12px !important;
    margin-top: 20px;
    font-style: italic;
    color: #6c757d !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(42, 122, 109, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content, .cta-container, .faq-content {
        gap: 40px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero-content, .cta-container, .faq-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .cta-content, .faq-text {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .hero-stats, .hero-features, .hero-actions, .trust-badges {
        justify-content: center;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .step-line {
        display: none;
    }
    
    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-box {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .cta-form {
        width: 100%;
        max-width: 500px;
    }
    
    .faq-image {
        order: -1;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 20px 0 0 20px;
        min-width: auto;
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions .search-box {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info span {
        justify-content: center;
    }
    
    .header-links {
        display: flex;
        gap: 20px;
    }
    
    .header-links a {
        margin: 0;
    }
    
    .reviews-footer {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .rating-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-col {
        width: 100%;
    }
    
    .image-badge {
        width: 100px;
        height: 100px;
        top: -15px;
        right: -15px;
    }
    
    .badge-discount {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .section-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .table-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для скрывающегося header */
:root {
    --header-height: 140px;
    --header-reduced-height: 80px;
    --announcement-height: 40px;
}

body {
    padding-top: var(--header-height);
    transition: padding-top 0.3s ease;
}

body.header-scrolled {
    padding-top: var(--header-reduced-height);
}

.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    transition: transform 0.3s ease;
}

.top-header {
    position: fixed;
    top: var(--announcement-height);
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.main-header {
    position: fixed;
    top: calc(var(--announcement-height) + 40px);
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease, top 0.3s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

.header-scrolled .announcement-bar {
    transform: translateY(-100%);
}

.header-scrolled .top-header {
    transform: translateY(-100%);
}

.header-scrolled .main-header {
    top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Улучшения для фиксированного header */
.header-container {
    background-color: var(--white);
    padding: 15px 0;
}

/* Увеличение z-index для выпадающих меню */
.dropdown-menu {
    z-index: 1003;
}

/* Корректировка для hero section */
.hero {
    margin-top: 0;
}

/* Адаптивные стили для скрывающегося header */
@media (max-width: 992px) {
    :root {
        --header-height: 180px;
        --header-reduced-height: 70px;
    }
    
    .main-header {
        top: calc(var(--announcement-height) + 30px);
    }
    
    .header-scrolled .main-header {
        top: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--dark-text);
        cursor: pointer;
        z-index: 1004;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--white);
        z-index: 1003;
        padding: 80px 20px 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-nav a.active {
        color: var(--primary-color);
        background-color: rgba(42, 122, 109, 0.05);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        background-color: var(--light-bg);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a::after {
        transform: rotate(180deg);
    }
    
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 200px;
        --header-reduced-height: 60px;
    }
    
    .top-header .header-contact {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-info span {
        justify-content: center;
    }
    
    .header-links {
        display: flex;
        gap: 15px;
        justify-content: center;
    }
    
    .header-actions .search-box {
        display: none;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Стили для активной ссылки в навигации */
.main-nav a.active {
    color: var(--primary-color);
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Кнопка закрытия мобильного меню */
.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-text);
    cursor: pointer;
    z-index: 1004;
}

@media (max-width: 992px) {
    .close-menu {
        display: block;
    }
}

/* Анимация для кнопки корзины */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-btn.animate {
    animation: cartBounce 0.5s ease;
}