
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2a7de1;
    --secondary: #4CAF50;
    --accent: #FF9800;
    --light: #f8f9fa;
    --dark: #343a40;
    --text: #333;
    --text-light: #6c757d;
}

body {
    background-color: #f5f5f5;
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1535914254981-b5012eebbd15?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e68900;
    transform: translateY(-3px);
}

/* Main Content */
.main-content {
    padding: 50px 0;
    flex: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-img {
    height: 200px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Affiliate Section */
.affiliate-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.affiliate-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 180px;
    background-color: #f5f5f5;
    background-position: center;
    background-size: cover;
}

.product-content {
    padding: 15px;
}

.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.product-link:hover {
    background: #1c68c7;
}

/* Blog Section */
.blog-section {
    margin-bottom: 50px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 200px;
    background-color: #ddd;
    background-position: center;
    background-size: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* YouTube Section */
.youtube-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 20px auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Page Content Styles */
.page-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.page-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.page-content p {
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Blog Post */
.blog-post {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-post h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.blog-post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Blog Menu */
.blog-menu {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.blog-menu h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-categories a {
    background: var(--light);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.blog-categories a:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}
/* Blog Article Styles */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.blog-featured-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}

.blog-content h3 {
    color: var(--secondary);
    margin: 25px 0 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content strong {
    color: var(--dark);
}

/* Article Footer */
.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-share {
    margin-bottom: 30px;
}

.social-share span {
    font-weight: 600;
    margin-right: 15px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: var(--dark);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.article-navigation {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-featured-img {
        height: 250px;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .social-share span {
        display: block;
        margin-bottom: 10px;
    }
}